/* ============================================
   BLOCK-OUT LANDING PAGE - LIGHT & FRESH STYLES
   ============================================ */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --accent: #f59e1a;
    --accent-light: #fbbf24;
    --dark: #1f2937;
    --gray: #6b7280;
    --light-gray: #f3f4f6;
    --card-bg: #ffffff;
    --success: #10b981;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --radius-sm: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 0 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

.nav-logo {
    /* Desktop: Static position (left) */
    position: static;
    transform: none;
    z-index: 10;
}

.nav-logo img {
    height: 90px;
    /* Desktop: smaller than 138px but visible */
    width: auto;
    margin-top: 10px;
    /* Slight push down to overlap nicely */
}

/* Hamburger Menu Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger active state */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.75rem;
    margin-left: 1rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.lang-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.2s;
    opacity: 0.6;
    filter: grayscale(0.5);
}

.lang-btn svg {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lang-btn:hover {
    opacity: 1;
    filter: grayscale(0);
    background: var(--light-gray);
    transform: translateY(-1px);
}

.lang-btn.active {
    opacity: 1;
    filter: grayscale(0);
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
            #eff6ff 0%,
            #dbeafe 50%,
            #bfdbfe 100%);
    position: relative;
    overflow: hidden;
    padding: 160px 2rem 80px;
}

/* Decorative circles */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

/* Modern Mesh Gradient Background */
.hero::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0) 70%);
    top: -200px;
    right: -200px;
    filter: blur(60px);
}

.hero::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 26, 0.15) 0%, rgba(245, 158, 26, 0) 70%);
    bottom: -100px;
    left: -100px;
    filter: blur(60px);
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
    animation: float 6s ease-in-out infinite;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: 400;
    max-width: 550px;
    margin: 0 0 2.5rem;
    line-height: 1.7;
}

.tagline strong {
    color: var(--dark);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    background: #ffffff;
    padding: 100px 2rem;
    position: relative;
}



.features h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-it-works {
    background: #f8fafc;
    padding: 100px 2rem;
    border-top: 1px solid #e5e7eb;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.step h3 {
    color: var(--dark);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.step p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ============================================
   INFO SECTION
   ============================================ */

.info-section {
    background: #ffffff;
    padding: 100px 2rem;
    border-top: 1px solid #e5e7eb;
}

.info-section h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: #f8fafc;
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.info-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.info-card strong {
    color: var(--dark);
}

/* Premium highlight card */
.info-card.highlight-card {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #f59e0b;
}

.info-card.highlight-card h3 {
    color: #92400e;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg,
            var(--primary) 0%,
            var(--primary-light) 100%);
    padding: 100px 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative circles */
.cta-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -50px;
    animation: rotate 20s linear infinite;
    opacity: 0.2;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ============================================
   STORE BUTTONS
   ============================================ */

.btn-store {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-store:hover {
    transform: scale(1.08) translateY(-3px);
}

.btn-store img {
    height: 55px;
    width: auto;
    border-radius: 10px;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--dark);
    padding: 50px 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-legal {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-legal a:hover {
    color: white;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* ============================================
   LEGAL CONTENT PAGES
   ============================================ */

.legal-content {
    max-width: 800px;
    margin: 100px auto 40px;
    background: white;
    border-radius: var(--radius);
    padding: 3.5rem;
    box-shadow: var(--shadow);
}

.legal-content .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: gap 0.3s;
}

.legal-content .back-link:hover {
    gap: 0.75rem;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.legal-content .update-date {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-content .intro {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-content ul {
    color: var(--gray);
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Contact Card */
.contact-card {
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary);
}

.contact-card h2 {
    margin-top: 0;
}

.contact-card p {
    margin-bottom: 0.5rem;
}

/* FAQ Items */
.faq-item {
    border-bottom: 1px solid var(--light-gray);
    padding: 1.5rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    color: var(--dark);
    margin-top: 0;
}

.faq-item p {
    margin-bottom: 0;
}

/* Warning boxes for terms */
.warning-box {
    background: linear-gradient(145deg, #fef3c7, #fde68a);
    border: 2px solid #f59e0b;
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin: 1rem 0;
}

.warning-box strong {
    color: #92400e;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(20px, -20px) scale(1.02);
    }

    50% {
        transform: translate(0, 20px) scale(1);
    }

    75% {
        transform: translate(-20px, -10px) scale(0.98);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 1rem;
}

/* Adjust for mobile menu */
@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }
}

.lang-btn {
    background: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.2s ease;
    opacity: 0.6;
    filter: grayscale(100%);
    line-height: 1;
}

.lang-btn:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
    background-color: rgba(0, 0, 0, 0.03);
}

.lang-btn.active {
    opacity: 1;
    filter: grayscale(0%);
    border-color: rgba(0, 0, 0, 0.08);
    background-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Animation Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

/* ============================================
   WAVE DIVIDERS
   ============================================ */

.custom-shape-divider-bottom-16899 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-16899 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.custom-shape-divider-bottom-16899 .shape-fill {
    fill: #FFFFFF;
}

/* Gray fill for sections transitioning to gray */
.custom-shape-divider-bottom-16899.gray-fill .shape-fill {
    fill: #f8fafc;
}

/* White fill for sections transitioning to white */
.custom-shape-divider-bottom-16899.white-fill .shape-fill {
    fill: #FFFFFF;
}

/* Section Background Adjustments for Waves */
.features {
    padding-bottom: 120px;
    /* Space for wave */
}

.how-it-works {
    padding-bottom: 120px;
    /* Space for wave */
    position: relative;
}

/* Responsive adjustments for waves */
@media (max-width: 768px) {
    .custom-shape-divider-bottom-16899 svg {
        height: 40px;
    }

    .features,
    .how-it-works {
        padding-bottom: 80px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
    }

    /* Mobile: Logo Centered and Big */
    .nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .nav-logo img {
        height: 110px;
        /* Mobile: Bigger, overflows header */
        margin-top: 15px;
        /* Adjust overlap */
    }

    .nav-toggle {
        display: flex;
        position: absolute;
        /* Position toggle on right */
        right: 1.5rem;
    }

    .navbar {
        padding: 0 1.5rem;
    }

    .nav-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: var(--light-gray);
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: absolute;
        right: .5rem;
    }

    .nav-toggle:hover {
        background: #e5e7eb;
        transform: scale(1.05);
    }

    .nav-toggle span {
        width: 22px;
        height: 2.5px;
        background: var(--dark);
        border-radius: 10px;
        position: absolute;
        transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    }

    .nav-toggle span:nth-child(1) {
        transform: translateY(-7px);
    }

    .nav-toggle span:nth-child(2) {
        width: 16px;
        transform: translateX(-3px);
    }

    .nav-toggle span:nth-child(3) {
        transform: translateY(7px);
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: auto;
        min-width: 260px;
        max-width: 85%;
        height: 100vh;
        height: 100dvh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 80px 1.5rem 3rem;
        gap: 0;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.1);
        transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 2000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        right: 0;
        display: flex;
        /* Ensure it stays flex */
    }

    .nav-links a {
        padding: 1.25rem 0.5rem;
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--dark);
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.2s;
    }

    .nav-links a::after {
        content: '→';
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.2s;
        font-weight: 400;
        color: var(--primary);
    }

    .nav-links a:hover {
        color: var(--primary);
        padding-left: 1rem;
        background: #f8fafc;
    }

    .nav-links a:hover::after {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links a:last-of-type {
        border-bottom: none;
    }

    .lang-switcher {
        margin-left: 0;
        margin-top: 2.5rem;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #f1f5f9;
        padding-top: 2rem;
        width: 100%;
        gap: 0.75rem;
        display: flex;
        flex-direction: column;
    }

    .lang-btn {
        padding: 12px 16px;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        gap: 12px;
        opacity: 1;
        filter: none;
        background: #f8fafc;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .lang-btn svg {
        width: 26px;
        height: 26px;
    }

    .lang-btn::after {
        content: attr(aria-label);
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--dark);
    }

    .lang-btn.active {
        border-color: var(--primary);
        background: #eff6ff;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    }

    .lang-btn.active::after {
        color: var(--primary);
    }

    .lang-btn svg {
        flex-shrink: 0;
    }



    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .features,
    .how-it-works,
    .info-section,
    .cta-section {
        padding: 70px 1.5rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-image img {
        max-height: 300px;
    }

    .features h2,
    .how-it-works h2,
    .info-section h2,
    .cta-section h2 {
        font-size: 2rem;
    }

    .legal-content {
        margin: 80px 1rem 20px;
        padding: 2rem 1.5rem;
    }

    .legal-content h1 {
        font-size: 1.75rem;
    }

    .btn-store img {
        height: 48px;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   MODAL STYLES
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.2s;
    z-index: 10;
}

.modal-close:hover {
    color: var(--dark);
}

.modal-header h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--dark);
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Adjust card styles for modal */
.modal-grid .info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
   INFO BUTTON SECTION
   ============================================ */

.info-button-section {
    background: #f8fafc;
    padding: 3rem 2rem;
    text-align: center;
}

.btn-info {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn-info:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.btn-info:active {
    transform: translateY(0) scale(1);
}

/* Modal Accept Button */
.modal-accept-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-accept-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* PWA Link in CTA */
.pwa-link {
    display: block;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.pwa-link:hover {
    color: white;
    text-decoration: underline;
}

/* ============================================
   iOS MODAL STYLES
   ============================================ */

.ios-modal-content {
    max-width: 450px;
    text-align: center;
    padding: 2.5rem 2rem;
}

.ios-modal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.ios-modal-content p {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.ios-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.ios-modal-btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.cancel-btn {
    background: #f3f4f6;
    color: var(--dark);
}

.cancel-btn:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.access-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.access-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

@media (max-width: 480px) {
    .ios-modal-buttons {
        flex-direction: column;
        width: 100%;
    }

    .ios-modal-btn,
    .btn-primary {
        width: 100%;
    }
}

/* ============================================
   BETA MODAL STYLES (MATCHING ORACOOL)
   ============================================ */

/* ============================================
   BETA MODAL STYLES (MULTI-STEP FLOW)
   ============================================ */

.beta-modal-content {
    max-width: 420px;
    width: 90%;
    height: 75vh;
    max-height: 560px;
    padding: 0 !important;
    /* Managed by steps */
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--dark);
    z-index: 100;
    transition: background 0.2s;
    line-height: 1;
}

.beta-step-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 2rem;
    transition: background 0.4s ease;
    height: 100%;
    width: 100%;
    position: relative;
}

.beta-visual {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.beta-visual img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.beta-visual.floating img {
    animation: float-mini 3s ease-in-out infinite;
}

@keyframes float-mini {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.beta-step-container h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.beta-step-container p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.beta-action-btn {
    width: 100%;
    max-width: 260px;
    padding: 1rem;
    border-radius: 14px;
    border: none;
    color: white;
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
}

.beta-action-btn:hover {
    transform: translateY(-2px);
}

.beta-dots {
    display: flex;
    gap: 8px;
    margin-top: 2.5rem;
}

.beta-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.beta-dot.active {
    width: 20px;
    background: var(--dark);
}

.beta-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 36px;
    border: none;
    background: white;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 90;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 0;
    line-height: 1;
}

.beta-nav-left {
    left: 0.8rem;
}

.beta-nav-right {
    right: 0.8rem;
}

/* Android versions specific styles */
.step-join-badge {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 480px) {
    .beta-modal-content {
        height: 80vh;
        max-height: 520px;
    }
}