/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Mode Colors */
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --secondary: #3b82f6;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --whatsapp: #25D366;
    
    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --bg-nav: rgba(255, 255, 255, 0.95);
    
    /* Text */
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    
    /* Borders */
    --border-color: #e2e8f0;
    --border-light: rgba(0, 0, 0, 0.05);
}

.dark-mode {
    /* Dark Mode Colors */
    --primary: #10b981;
    --primary-dark: #34d399;
    --primary-light: #059669;
    --secondary: #60a5fa;
    --dark: #f8fafc;
    --dark-light: #e2e8f0;
    --light: #0f172a;
    --gray: #94a3b8;
    --gray-light: #1e293b;
    --white: #0f172a;
    --whatsapp: #25D366;
    
    /* Backgrounds */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --bg-nav: rgba(15, 23, 42, 0.95);
    
    /* Text */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    /* Borders */
    --border-color: #334155;
    --border-light: rgba(255, 255, 255, 0.05);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== LOGO STYLES ===== */
.logo-img {
    height: 45px;
    width: auto;
    display: block;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    display: block;
    margin-bottom: 15px;
}

/* ===== BUTTONS ===== */
button {
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.dark-mode .btn-primary {
    background: #10b981;
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.05);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-service {
    width: 100%;
    margin-top: 20px;
    background: var(--bg-secondary);
    color: var(--primary);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-service:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Hero Buttons */
.btn-hero-primary {
    background: #25D366;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.3);
}

.btn-hero-primary small {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-left: 8px;
    color: white;
}

.dark-mode .btn-hero-primary {
    background: #25D366;
    color: white;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.dark-mode .btn-hero-primary small {
    color: white;
    opacity: 0.9;
}

.btn-hero-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    border-color: #25D366;
    color: #25D366;
}

.dark-mode .btn-hero-secondary {
    background: #1e293b;
    color: white;
    border-color: #334155;
}

.dark-mode .btn-hero-secondary:hover {
    border-color: #25D366;
    color: #25D366;
}

/* ===== THEME SWITCH ===== */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 30px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #f59e0b, #3b82f6);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    z-index: 2;
}

.slider i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: white;
    z-index: 1;
}

.slider i:first-child {
    left: 8px;
}

.slider i:last-child {
    right: 8px;
}

input:checked + .slider:before {
    transform: translateX(30px);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: sticky;
    top: 0;
    background: var(--bg-nav);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: 16px 0;
    transition: background-color 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-center {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 4px 0;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 80px 0 120px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 32px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(5px);
}

.hero-title {
    margin-bottom: 24px;
}

.hero-line {
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 500px;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 500px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.feature i {
    color: var(--primary);
    font-size: 1.1rem;
}

.hero-visual {
    flex: 1;
    position: relative;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.android-mockup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border: 8px solid #334155;
}

.android-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 22px;
    padding: 30px;
    color: white;
}

.screen-content-minimal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 20px;
}

.brand-icon-mini {
    font-size: 3rem;
    opacity: 0.8;
}

.status-text-minimal {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #10b981;
    letter-spacing: 2px;
}

.unlock-icon-mini {
    font-size: 2rem;
    opacity: 0.9;
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    z-index: 2;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(5px);
}

.floating-card i {
    color: var(--success);
}

.card-1 {
    top: 20px;
    right: 20px;
    animation: float 3s ease-in-out infinite;
}

.card-2 {
    bottom: 60px;
    left: 0;
    animation: float 3s ease-in-out infinite 0.5s;
}

.card-3 {
    bottom: 20px;
    right: 40px;
    animation: float 3s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== BRAND SECTION - FIXED ===== */
.brands {
    padding: 60px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header.center h2 {
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.brand-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.brand-logo {
    width: 160px;
    height: auto;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.brand-service {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
    max-width: 180px;
}

/* ===== SERVICES ===== */
.services {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.service-card.premium {
    border: 2px solid var(--primary);
    background: linear-gradient(to bottom, var(--bg-card), rgba(16, 185, 129, 0.05));
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.service-badge {
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-description {
    margin-bottom: 24px;
    min-height: 72px;
    color: var(--text-secondary);
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.service-features i {
    color: var(--success);
}

.service-pricing {
    margin-bottom: 20px;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price span {
    color: var(--primary);
    font-size: 2rem;
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== PROCESS ===== */
.process {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.process-steps {
    max-width: 1000px;
    margin: 0 auto 60px;
}

.step {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.3;
    min-width: 80px;
}

.dark-mode .step-number {
    color: var(--primary);
    opacity: 0.5;
}

.step-content h3 {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.step-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 10px;
}

.step-detail i {
    color: var(--primary);
}

.process-note {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(5px);
}

.note-icon {
    font-size: 2rem;
    color: var(--primary);
}

.note-content h4 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.note-content p {
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.note-content p strong {
    color: var(--text-primary);
}

/* ===== DISCLAIMER ===== */
.disclaimer {
    padding: 40px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.disclaimer-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    backdrop-filter: blur(5px);
}

.disclaimer-icon {
    font-size: 2rem;
    color: var(--warning);
}

.disclaimer-content h3 {
    color: var(--warning);
    margin-bottom: 15px;
}

.disclaimer-content ul {
    list-style: none;
    padding: 0;
}

.disclaimer-content li {
    margin-bottom: 10px;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.disclaimer-content li:before {
    content: "•";
    color: var(--warning);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.dark-mode .disclaimer-box {
    background: rgba(245, 158, 11, 0.05);
}

/* ===== CTA ===== */
.cta {
    padding: 80px 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.cta-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 60px;
    display: flex;
    gap: 60px;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(5px);
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    color: var(--text-primary);
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-visual {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.support-badge {
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.support-badge i {
    font-size: 2rem;
}

.support-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.support-subtext {
    font-size: 0.9rem;
    opacity: 0.9;
}

.payment-methods {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.payment-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.payment-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-icon {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-icon:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-description {
    color: #94a3b8;
    margin-bottom: 24px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-col a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: white;
}

.contact-info p {
    color: #94a3b8;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

/* Legal Popup */
.legal-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.legal-popup-content {
    background: var(--bg-card);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.legal-popup-header {
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--bg-card);
    z-index: 10;
}

.legal-popup-header h2 {
    margin: 0;
    color: var(--text-primary);
}

.legal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.legal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.legal-popup-body {
    padding: 30px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-popup-body h3 {
    color: var(--text-primary);
    margin: 25px 0 15px;
}

.legal-popup-body h3:first-child {
    margin-top: 0;
}

.legal-popup-body ul, .legal-popup-body ol {
    padding-left: 20px;
    margin: 15px 0;
}

.legal-popup-body li {
    margin-bottom: 10px;
}

.legal-popup-body .highlight {
    background: rgba(16, 185, 129, 0.1);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    margin: 20px 0;
}

.legal-popup-body .note {
    color: var(--warning);
    font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-features {
        margin: 0 auto;
    }
    
    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .nav-center {
        display: none;
    }
    
    .nav-center.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .android-mockup {
        width: 250px;
        height: 500px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        gap: 20px;
    }
    
    .process-note {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark mode adjustments */
.dark-mode .brand-logo img {
    opacity: 0.9;
}

/* Ensure content stays above matrix background */
section, footer, .navbar {
    position: relative;
    z-index: 1;
}