:root {
    --primary-color: #00a0d6;
    /* Updated to requested color */
    --secondary-color: #0088b6;
    --text-color: #2d3436;
    --bg-color: #ffffff;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --dark: #1e272e;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-bg);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 0.65rem 5%;
    /* Reduced by ~20% from 0.8rem */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 5%;
    /* Reduced by ~20% from 0.6rem */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 28px;
    /* Reduced by ~10% from 36px */
    width: auto;
    margin-bottom: -10px;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 1.5rem;
    /* Slightly reduced gap */
}

nav a {
    font-weight: 600;
    /* Made slightly bolder */
    font-size: 0.9rem;
    color: var(--text-color);
}

nav a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5% 4rem;
    /* Top padding for fixed header */
    /* Added subtle angled gray gradient */
    background: linear-gradient(160deg, #ffffff 0%, #f4f4f4 40%, #e0e0e0 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 2;
    max-width: 850px;
    /* Slightly increased max-width to accommodate larger mascot */
    z-index: 2;
    position: relative;
}

.hero-text-mascot {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    /* Increased gap slightly */
    margin-bottom: 2rem;
}

.hero-text {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 800;
}

.hero p {
    font-size: 1.1rem;
    color: #636e72;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--primary-color);
    /* Use primary color */
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-download:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-download i {
    font-size: 1.5rem;
}

.qr-codes-container {
    margin-top: 2rem;
    display: flex;
    gap: 3rem;
    /* Increased gap */
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.qr-placeholder {
    width: 100px;
    /* Increased from 80px */
    height: 100px;
    /* Increased from 80px */
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-placeholder i {
    font-size: 4.5rem;
    /* Increased icon size */
    color: #2d3436;
}

.small {
    font-size: 0.85rem;
    color: #636e72;
    font-weight: 600;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.phone-mockup {
    position: relative;
    width: 760px;
    /* Enlarged by 20% from 600px */
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -150px;
    margin-right: -150px;
}

.phone-mockup img.device {
    width: 100%;
    /* Now uses the full merged asset */
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

/* Screen styles removed as we are using a merged asset */

.mascot {
    width: 395px;
    /* Enlarged by ~25% from 250px */
    z-index: 3;
    animation: none;
    flex-shrink: 0;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatDelayed {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Legal Pages */
.legal-page {
    padding: 8rem 5% 4rem;
    max-width: 900px;
    margin: 0 auto;
    min-height: 80vh;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.legal-page h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 600;
}

.legal-page p {
    margin-bottom: 1rem;
    color: #636e72;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 5%;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links a {
    margin-left: 2rem;
    color: #b2bec3;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 968px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 1.5rem 5%;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        gap: 1.2rem;
        z-index: 999;
    }

    nav ul.active {
        display: flex;
    }

    nav a {
        font-size: 1.1rem;
        width: 100%;
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 7rem;
        gap: 3rem;
        min-height: auto;
    }

    .hero-content {
        margin-bottom: 0;
        max-width: 100%;
    }

    .hero-text-mascot {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .mascot {
        display: block !important;
        /* Re-show mascot on mobile */
        width: 180px;
        /* Smaller size for mobile */
        margin: 2rem auto 0;
        /* Center and add space above */
        order: 3;
        /* Ensure it appears after the phone if needed */
    }

    .cta-buttons {
        justify-content: center;
        flex-direction: column;
        /* Stack buttons on mobile */
        width: 100%;
    }

    .btn-download {
        justify-content: center;
        width: 100%;
    }

    .qr-codes-container {
        justify-content: center;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .phone-mockup {
        width: 100%;
        max-width: 320px;
        /* Limit size on mobile */
        height: auto;
    }

    .phone-mockup img.device {
        width: 100%;
        /* Reset scale for mobile to avoid cropping */
        transform: none;
        position: relative;
        left: 0;
        top: 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        display: flex;
        gap: 1.5rem;
        justify-content: center;
    }

    .footer-links a {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .qr-codes-container {
        flex-direction: column;
        align-items: center;
    }
}