/* ============================================
   PráticOS - Premium Dark Theme
   ============================================ */

/* CSS Variables */
:root {
    /* Brand Colors */
    --color-primary: #4A9BD9;
    --color-primary-light: #6BB3E9;
    --color-primary-dark: #3A7BB9;
    --color-yellow: #FFE600;
    --color-yellow-dark: #E6CF00;
    --color-orange: #F5A623;
    --color-orange-dark: #D98F1D;

    /* Semantic Colors */
    --color-success: #34C759;
    --color-warning: #FF9500;
    --color-error: #FF3B30;

    /* Dark Theme */
    --bg-primary: #0A0E17;
    --bg-secondary: #0F1520;
    --bg-tertiary: #151C2A;
    --bg-card: #1A2235;
    --bg-card-hover: #1F2940;

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #A0AEC0;
    --text-tertiary: #718096;
    --text-muted: #4A5568;

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.15);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-yellow) 100%);
    --gradient-hero: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    --gradient-card: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(74, 155, 217, 0.3);

    /* Theme-specific */
    --navbar-bg: rgba(10, 14, 23, 0.95);
    --dropdown-bg: rgba(10, 14, 23, 0.98);
    --orb-opacity: 0.4;
    --grid-line-color: rgba(255, 255, 255, 0.015);
    --btn-primary-text: var(--bg-primary);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

/* ============================================
   Light Theme
   ============================================ */
[data-theme="light"] {
    --color-primary: #2B7BC0;
    --color-primary-light: #4A9BD9;
    --color-primary-dark: #1E5A8A;

    --bg-primary: #F5F7FC;
    --bg-secondary: #E8ECF5;
    --bg-tertiary: #D6DCE9;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FFFFFF;

    --text-primary: #1A202C;
    --text-secondary: #3D4A5C;
    --text-tertiary: #64748B;
    --text-muted: #94A3B8;

    --border-color: rgba(30, 60, 120, 0.10);
    --border-color-hover: rgba(30, 60, 120, 0.20);

    --gradient-hero: linear-gradient(180deg, #F5F7FC 0%, #EBF0F8 50%, #E2E8F3 100%);
    --gradient-card: linear-gradient(145deg, #FFFFFF 0%, #F5F7FC 100%);

    --shadow-sm: 0 1px 3px rgba(15,30,60,0.08), 0 1px 2px rgba(15,30,60,0.06);
    --shadow-md: 0 4px 16px rgba(15,30,60,0.10), 0 2px 4px rgba(15,30,60,0.06);
    --shadow-lg: 0 12px 36px rgba(15,30,60,0.14), 0 4px 10px rgba(15,30,60,0.08);
    --shadow-glow: 0 0 50px rgba(43,123,192,0.22);

    --gradient-primary: linear-gradient(135deg, #2B7BC0 0%, #1E5A8A 100%);

    --navbar-bg: rgba(245, 247, 252, 0.92);
    --dropdown-bg: rgba(245, 247, 252, 0.96);
    --orb-opacity: 0.25;
    --grid-line-color: rgba(30, 60, 120, 0.035);
    --btn-primary-text: #FFFFFF;
}

/* Smooth theme transition */
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease !important;
}

/* ---- Light theme: Card elevation ---- */
[data-theme="light"] .feature-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .contact-card,
[data-theme="light"] .faq-item,
[data-theme="light"] .store-button,
[data-theme="light"] .contact-form,
[data-theme="light"] .support-form {
    box-shadow: 0 2px 8px rgba(15,30,60,0.07), 0 1px 3px rgba(15,30,60,0.05);
}

[data-theme="light"] .feature-card:hover,
[data-theme="light"] .pricing-card:hover,
[data-theme="light"] .contact-card:hover,
[data-theme="light"] .store-button:hover {
    box-shadow: 0 8px 28px rgba(15,30,60,0.12), 0 3px 8px rgba(15,30,60,0.06);
}

/* ---- Light theme: Phone frames — dark bezels for contrast ---- */
[data-theme="light"] .phone-frame,
[data-theme="light"] .wa-phone-frame {
    background: linear-gradient(165deg, #6B7280 0%, #4B5563 50%, #5C6370 100%);
    border-color: rgba(15, 25, 50, 0.30);
}

[data-theme="light"] .phone-mockup {
    background: linear-gradient(165deg, #6B7280 0%, #4B5563 50%, #5C6370 100%);
    border-color: rgba(15, 25, 50, 0.30);
}

/* ---- Light theme: Hero phone shadows ---- */
[data-theme="light"] .phone-frame {
    box-shadow:
        0 20px 60px rgba(15,25,50,0.22),
        0 8px 20px rgba(15,25,50,0.14),
        inset 0 1px 0 rgba(255,255,255,0.10);
}

/* ---- Light theme: Gallery phone shadows ---- */
[data-theme="light"] .phone-mockup {
    box-shadow:
        0 10px 30px rgba(15,25,50,0.16),
        0 4px 10px rgba(15,25,50,0.10);
}

[data-theme="light"] .screenshot-item:hover .phone-mockup {
    box-shadow:
        0 16px 44px rgba(15,25,50,0.20),
        0 6px 14px rgba(15,25,50,0.12);
}

[data-theme="light"] .screenshot-item.featured .phone-mockup {
    box-shadow:
        0 14px 40px rgba(15,25,50,0.18),
        0 6px 14px rgba(15,25,50,0.10),
        0 0 40px rgba(43,123,192,0.12);
}

/* ---- Light theme: Hero — rich glow & atmosphere ---- */
[data-theme="light"] .hero-bg::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(43,123,192,0.12) 0%, transparent 65%);
    pointer-events: none;
}

[data-theme="light"] .hero-bg::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(ellipse, rgba(30,90,138,0.06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* ---- Light theme: Screenshots section — subtle contrast background ---- */
[data-theme="light"] .screenshots {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #E0E6F1 50%, var(--bg-secondary) 100%);
    position: relative;
}

[data-theme="light"] .screenshots::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 60%, rgba(43,123,192,0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* ---- Light theme: Features section — richer background ---- */
[data-theme="light"] .features {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #E2E8F3 100%);
}

/* ---- Light theme: Buttons ---- */
[data-theme="light"] .btn-primary {
    box-shadow: 0 4px 20px rgba(30, 90, 138, 0.35);
}

[data-theme="light"] .btn-primary:hover {
    box-shadow: 0 8px 30px rgba(30, 90, 138, 0.45);
}

/* ---- Light theme: Gradient text — deep blue → teal ---- */
[data-theme="light"] .gradient-text {
    background: linear-gradient(135deg, #1A5A92 0%, #0C6F5E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Light theme: Stat numbers ---- */
[data-theme="light"] .stat-number {
    background: linear-gradient(135deg, #2467A8 0%, #0C6F5E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Light theme: Featured pricing card ---- */
[data-theme="light"] .pricing-card.featured {
    background: linear-gradient(165deg, #FFFFFF 0%, rgba(43,123,192,0.10) 100%);
    box-shadow: 0 12px 44px rgba(43,123,192,0.18), 0 4px 12px rgba(43,123,192,0.08);
    border-color: rgba(43,123,192,0.30);
}

/* ---- Light theme: Phone glow ---- */
[data-theme="light"] .phone-glow,
[data-theme="light"] .wa-phone-glow {
    opacity: 0.18;
}

/* ---- Light theme: Pricing page header ---- */
[data-theme="light"] .pricing-page-header {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

/* ---- Light theme: Differentials card ---- */
[data-theme="light"] .differentials-card {
    background: linear-gradient(165deg, #FFFFFF 0%, rgba(43,123,192,0.06) 100%);
}

/* ---- Light theme: Section tags & badges ---- */
[data-theme="light"] .section-tag {
    background: rgba(43, 123, 192, 0.10);
    border-color: rgba(43, 123, 192, 0.25);
    color: #1E5A8A;
}

[data-theme="light"] .badge {
    background: rgba(43, 123, 192, 0.10);
    border-color: rgba(43, 123, 192, 0.25);
    color: #1E5A8A;
}

/* ---- Light theme: Logo accent ---- */
[data-theme="light"] .logo-text .yellow,
[data-theme="light"] .logo-text .accent {
    color: #B8860B;
}

/* ---- Light theme: Navbar ---- */
[data-theme="light"] .navbar {
    border-bottom: 1px solid rgba(30, 60, 120, 0.05);
}

[data-theme="light"] .navbar.scrolled {
    box-shadow: 0 1px 12px rgba(15,30,60,0.10), 0 1px 3px rgba(15,30,60,0.06);
}

/* ---- Light theme: Store buttons ---- */
[data-theme="light"] .store-button {
    background: #FFFFFF;
    border-color: rgba(30, 60, 120, 0.12);
    box-shadow: 0 2px 8px rgba(15,30,60,0.06);
}

[data-theme="light"] .store-button:hover {
    background: #FFFFFF;
    border-color: var(--color-primary);
    box-shadow: 0 6px 24px rgba(15,30,60,0.12);
}

/* ---- Light theme: Lang switch ---- */
[data-theme="light"] .lang-switch a:hover,
[data-theme="light"] .lang-switch a.active {
    background: #E8ECF5;
}

/* ---- Light theme: Contact cards ---- */
[data-theme="light"] .contact-card {
    background: #FFFFFF;
    border-color: rgba(30, 60, 120, 0.10);
}

[data-theme="light"] .contact-form,
[data-theme="light"] .support-form {
    background: #FFFFFF;
    border-color: rgba(30, 60, 120, 0.10);
}

[data-theme="light"] .contact-card:hover {
    background: #FFFFFF;
    border-color: var(--color-primary);
}

/* ---- Light theme: Pricing & FAQ cards ---- */
[data-theme="light"] .pricing-card {
    background: #FFFFFF;
    border-color: rgba(30, 60, 120, 0.10);
}

[data-theme="light"] .faq-item {
    background: #FFFFFF;
    border-color: rgba(30, 60, 120, 0.10);
}

/* ---- Light theme: Feature card icons — more vivid backgrounds ---- */
[data-theme="light"] .feature-icon {
    background: rgba(43, 123, 192, 0.12);
}

[data-theme="light"] .feature-icon.icon-yellow {
    background: rgba(200, 160, 0, 0.14);
    color: #B8930B;
}

[data-theme="light"] .feature-icon.icon-orange {
    background: rgba(220, 140, 20, 0.14);
    color: #D08A15;
}

[data-theme="light"] .feature-icon.icon-green {
    background: rgba(34, 160, 72, 0.12);
    color: #1D8B44;
}

[data-theme="light"] .feature-icon.icon-purple {
    background: rgba(140, 60, 190, 0.12);
    color: #8A3CC0;
}

[data-theme="light"] .feature-icon.icon-cyan {
    background: rgba(30, 140, 200, 0.12);
    color: #1A80B8;
}

/* ---- Light theme: Download section — subtle gradient ---- */
[data-theme="light"] .download {
    background: linear-gradient(180deg, var(--bg-primary) 0%, #EDF1F8 100%);
}

/* ---- Light theme: WhatsApp assistant — subtle green atmosphere ---- */
[data-theme="light"] .whatsapp-assistant::before {
    background: radial-gradient(circle, rgba(37, 211, 102, 0.08) 0%, transparent 70%);
}

/* ---- Light theme: Pricing section ---- */
[data-theme="light"] .pricing {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #E2E8F3 100%);
}

/* ---- Light theme: Contact section ---- */
[data-theme="light"] .contact {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #E2E8F3 100%);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--btn-primary-text);
    box-shadow: 0 4px 20px rgba(74, 155, 217, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74, 155, 217, 0.5);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color-hover);
}

.btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--color-primary);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background: #1ebe5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-text .yellow {
    color: var(--color-yellow);
}

.logo-text .accent {
    color: var(--color-yellow);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lang-switch {
    display: flex;
    gap: 8px;
}

.lang-switch a {
    padding: 6px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-tertiary);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.lang-switch a:hover,
.lang-switch a.active {
    color: var(--text-primary);
    background: var(--bg-card);
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-secondary);
    padding: 0;
}

.theme-toggle:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-color-hover);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.theme-toggle:hover svg {
    transform: rotate(15deg);
}

/* Show sun in dark mode, moon in light mode */
.theme-icon-sun { display: block; }
.theme-icon-moon { display: none; }

[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-moon { display: block; }

/* Screenshot theme toggle - dark shown by default */
.phone-mockup .theme-light,
.phone-frame .theme-light { display: none; }

[data-theme="light"] .phone-mockup .theme-dark,
[data-theme="light"] .phone-frame .theme-dark { display: none; }
[data-theme="light"] .phone-mockup .theme-light,
[data-theme="light"] .phone-frame .theme-light { display: block; }

/* Mobile theme toggle */
.mobile-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-secondary);
    padding: 0;
}

.mobile-theme-toggle:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.mobile-theme-toggle svg {
    width: 22px;
    height: 22px;
}

.mobile-theme-toggle .theme-icon-sun { display: block; }
.mobile-theme-toggle .theme-icon-moon { display: none; }

[data-theme="light"] .mobile-theme-toggle .theme-icon-sun { display: none; }
[data-theme="light"] .mobile-theme-toggle .theme-icon-moon { display: block; }

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

.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(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
    gap: 24px;
    padding: 100px 24px 40px;
}

.mobile-menu-content a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.mobile-menu-content a:hover {
    color: var(--text-primary);
}

.mobile-lang {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.mobile-lang a {
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.mobile-lang a.active {
    background: var(--bg-card);
}

/* ============================================
   Segments Dropdown (Desktop)
   ============================================ */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    transition: var(--transition-fast);
}

.nav-dropdown-trigger:hover {
    color: var(--text-primary);
}

.nav-dropdown-trigger svg {
    transition: var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown.active .nav-dropdown-trigger svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dropdown-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    padding-top: 28px;
    min-width: 420px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    box-shadow: var(--shadow-lg);
}

/* Invisible bridge to keep hover state when moving to menu */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 24px;
}

.nav-dropdown-item {
    display: block;
    padding: 10px 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-dropdown-item:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.nav-dropdown-item::after {
    display: none;
}

/* ============================================
   Mobile Segments Accordion
   ============================================ */
.mobile-segments {
    width: 100%;
    max-width: 280px;
}

.mobile-segments-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    transition: var(--transition-fast);
}

.mobile-segments-trigger:hover {
    color: var(--text-primary);
}

.mobile-segments-trigger svg {
    transition: var(--transition-fast);
}

.mobile-segments.active .mobile-segments-trigger svg {
    transform: rotate(180deg);
}

.mobile-segments-content {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
}

.mobile-segments.active .mobile-segments-content {
    display: flex;
}

.mobile-segments-content a {
    font-size: 1rem !important;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.mobile-segments-content a:hover {
    background: var(--bg-card-hover);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: var(--orb-opacity);
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--color-primary);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--color-yellow);
    bottom: -100px;
    left: -100px;
    animation-delay: -2s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--color-orange);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -4s;
    opacity: calc(var(--orb-opacity) * 0.5);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 580px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(74, 155, 217, 0.15);
    border: 1px solid rgba(74, 155, 217, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary-light);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.hero h1 {
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Phones */
.hero-phones {
    position: relative;
    height: 600px;
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

.phone {
    position: absolute;
    transition: var(--transition-slow);
}

.phone-frame {
    background: var(--bg-card);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.phone-frame img {
    border-radius: 28px;
    width: 100%;
    height: auto;
}

.phone-back {
    width: 260px;
    top: 60px;
    left: 0;
    transform: rotate(-8deg);
    z-index: 1;
}

.phone-front {
    width: 280px;
    top: 20px;
    right: 20px;
    transform: rotate(5deg);
    z-index: 2;
}

.phone-front:hover {
    transform: rotate(0deg) scale(1.02);
}

.phone-back:hover {
    transform: rotate(-3deg) scale(1.02);
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-tertiary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--border-color-hover);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 4px;
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.5; top: 20px; }
}

/* ============================================
   Section Common Styles
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary-light);
    margin-bottom: 20px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 155, 217, 0.15);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    color: var(--color-primary);
}

.feature-icon.icon-yellow {
    background: rgba(255, 230, 0, 0.15);
    color: var(--color-yellow);
}

.feature-icon.icon-orange {
    background: rgba(245, 166, 35, 0.15);
    color: var(--color-orange);
}

.feature-icon.icon-green {
    background: rgba(52, 199, 89, 0.15);
    color: var(--color-success);
}

.feature-icon.icon-purple {
    background: rgba(175, 82, 222, 0.15);
    color: #AF52DE;
}

.feature-icon.icon-cyan {
    background: rgba(50, 173, 230, 0.15);
    color: #32ADE6;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   WhatsApp Assistant Section (Homepage)
   ============================================ */
.whatsapp-assistant {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.whatsapp-assistant::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.wa-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.wa-section-content {
    position: relative;
    z-index: 1;
}

.wa-tag {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.25);
    color: #25D366;
    gap: 6px;
}

.wa-tag svg {
    flex-shrink: 0;
}

.gradient-text-wa {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 50%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wa-section-content h2 {
    margin-top: 20px;
    margin-bottom: 16px;
}

.wa-section-text {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.wa-feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 36px;
}

.wa-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.wa-feature-list li svg {
    flex-shrink: 0;
}

.wa-section-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.wa-section-demo {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.wa-phone-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: #25D366;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.wa-phone-mockup {
    position: relative;
    z-index: 1;
}

.wa-phone-frame {
    background: var(--bg-card);
    border-radius: 32px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 60px rgba(37, 211, 102, 0.1);
    border: 1px solid var(--border-color);
    width: 260px;
    overflow: hidden;
    transition: var(--transition-slow);
}

.wa-phone-frame:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5), 0 0 80px rgba(37, 211, 102, 0.15);
}

.wa-phone-frame picture,
.wa-phone-frame img {
    border-radius: 24px;
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .wa-section-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .wa-feature-list {
        justify-items: center;
    }

    .wa-section-cta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .wa-feature-list {
        grid-template-columns: 1fr;
    }

    .wa-section-cta {
        flex-direction: column;
    }

    .wa-section-cta .btn {
        width: 100%;
    }

    .wa-phone-frame {
        width: 230px;
    }
}

/* ============================================
   Screenshots Section
   ============================================ */
.screenshots {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.screenshots-showcase {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
    overflow-x: auto;
    padding: 40px 0;
    -webkit-overflow-scrolling: touch;
}

.screenshot-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-normal);
}

.screenshot-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.screenshot-item:nth-child(1) { transition-delay: 0.1s; }
.screenshot-item:nth-child(2) { transition-delay: 0.2s; }
.screenshot-item:nth-child(3) { transition-delay: 0.3s; }
.screenshot-item:nth-child(4) { transition-delay: 0.4s; }
.screenshot-item:nth-child(5) { transition-delay: 0.5s; }

.phone-mockup {
    background: var(--bg-card);
    border-radius: 32px;
    padding: 10px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    width: 180px;
}

.phone-mockup img {
    border-radius: 24px;
    width: 100%;
}

.screenshot-item:hover .phone-mockup {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.screenshot-item.featured .phone-mockup {
    width: 220px;
    box-shadow: var(--shadow-glow);
}

.screenshot-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.pricing .section-header {
    margin-bottom: 56px;
}

.pricing-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.pricing-subtitle-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 12px;
}

.pricing-subtitle-inline .dot {
    width: 4px;
    height: 4px;
    background: var(--text-tertiary);
    border-radius: 50%;
}

/* Pricing Grid */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 48px;
}

.pricing-grid .pricing-card {
    flex: 0 1 calc(25% - 15px);
    min-width: 260px;
    max-width: 320px;
}

/* Pricing Card */
.pricing-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px 24px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-normal);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:nth-child(1) { transition-delay: 0.1s; }
.pricing-card:nth-child(2) { transition-delay: 0.2s; }
.pricing-card:nth-child(3) { transition-delay: 0.3s; }

.pricing-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
}

/* Featured Card */
.pricing-card.featured {
    background: linear-gradient(165deg, var(--bg-card) 0%, rgba(74, 155, 217, 0.12) 100%);
    border-color: var(--color-primary);
    transform: scale(1.03);
    z-index: 1;
    box-shadow: 0 8px 40px rgba(74, 155, 217, 0.15);
}

.pricing-card.featured.visible {
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: var(--btn-primary-text);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

/* Pricing Header */
.pricing-header {
    text-align: center;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-plan-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.pricing-header h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}

.price .currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-tertiary);
    align-self: flex-start;
    margin-top: 8px;
}

.price .amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary);
}

.price .period {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.pricing-tagline {
    display: block;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* Pricing Features */
.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.pricing-features li span {
    flex: 1;
}

.pricing-features li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.pricing-features svg {
    color: var(--color-success);
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-features li.feature-unlimited {
    background: rgba(74, 155, 217, 0.08);
    margin: 0 -12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
}

.pricing-features li.feature-unlimited strong {
    color: var(--color-primary);
}

.pricing-features li.feature-placeholder {
    visibility: hidden;
    padding: 10px 0;
}

.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}

/* Pricing Footer (Included + Trust) */
.pricing-footer {
    text-align: center;
    padding-top: 8px;
}

.pricing-included {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 4px;
    margin-bottom: 16px;
}

.pricing-included-label {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 4px;
}

.pricing-included-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.pricing-included-item .infinity {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1em;
}

.pricing-included-sep {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0 2px;
}

/* Trust Signals */
.pricing-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 4px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.pricing-trust-item {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    font-weight: 500;
}

.pricing-trust-sep {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0 2px;
}

/* ============================================
   Download Section
   ============================================ */
.download {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.download .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.download-content h2 {
    margin-bottom: 16px;
}

.download-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.store-button:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.store-button svg {
    color: var(--text-primary);
}

.store-info {
    display: flex;
    flex-direction: column;
}

.store-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.store-name {
    font-size: 1.125rem;
    font-weight: 600;
}

/* Download Phone */
.download-phone {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.phone-mockup.large {
    width: 280px;
    position: relative;
    z-index: 1;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    opacity: 0;
    transform: translateX(-30px);
    transition: var(--transition-normal);
}

.contact-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-card:nth-child(1) { transition-delay: 0.1s; }
.contact-card:nth-child(2) { transition-delay: 0.2s; }
.contact-card:nth-child(3) { transition-delay: 0.3s; }

.contact-card:hover {
    border-color: var(--border-color-hover);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 155, 217, 0.15);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-card h4 {
    margin-bottom: 4px;
}

.contact-card a {
    color: var(--text-secondary);
}

.contact-card a:hover {
    color: var(--color-primary);
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(74, 155, 217, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    padding: 8px 0;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.footer-links .footer-subtitle {
    margin-top: 24px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--color-primary);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-phones {
        height: 400px;
        display: flex;
        justify-content: center;
    }

    .phone-back {
        position: relative;
        width: 200px;
        top: 40px;
        left: -20px;
    }

    .phone-front {
        position: relative;
        width: 220px;
        top: 0;
        right: -20px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        gap: 16px;
        margin-bottom: 40px;
    }

    .pricing-grid .pricing-card {
        flex: 0 1 calc(50% - 8px);
        min-width: 240px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured.visible,
    .pricing-card.featured:hover {
        transform: none;
    }

    .pricing-footer {
        padding-top: 0;
    }

    .pricing-included-label {
        width: 100%;
        margin-bottom: 8px;
    }

    .pricing-trust {
        padding-top: 12px;
    }

    .download .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-buttons {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions .btn {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .lang-switch {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-phones {
        flex-direction: row;
        height: auto;
        gap: 0;
    }

    .phone-back,
    .phone-front {
        width: 160px;
        top: 0;
        left: 0;
        right: 0;
    }

    .phone-back {
        margin-right: -30px;
    }

    .phone-front {
        margin-left: -30px;
    }

    .hero-scroll {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        max-width: 400px;
        margin: 0 auto 40px;
    }

    .pricing-grid .pricing-card {
        flex: 1 1 100%;
        min-width: unset;
        max-width: unset;
    }

    .screenshots-showcase {
        justify-content: flex-start;
        padding: 20px;
    }

    .phone-mockup {
        width: 140px;
    }

    .screenshot-item.featured .phone-mockup {
        width: 160px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .pricing-included {
        gap: 4px 2px;
    }

    .pricing-included-item,
    .pricing-included-label {
        font-size: 0.75rem;
    }

    .pricing-included-sep {
        font-size: 0.75rem;
    }

    .pricing-trust-item,
    .pricing-trust-sep {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .download-buttons {
        flex-direction: column;
    }

    .store-button {
        width: 100%;
        justify-content: center;
    }

    .contact-form {
        padding: 24px;
    }
}

/* ============================================
   Utility Classes (for secondary pages)
   ============================================ */
.page-header {
    padding: 140px 0 60px;
    background: var(--bg-secondary);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 16px;
}

.page-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 60px 0 var(--section-padding);
}

.page-content .container {
    max-width: 800px;
}

.content-section {
    margin-bottom: 48px;
}

.content-section h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.content-section h3,
.content-section h4 {
    margin-top: 24px;
    margin-bottom: 12px;
}

.content-section p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-section ul,
.content-section ol {
    color: var(--text-secondary);
    padding-left: 24px;
    margin-bottom: 16px;
}

.content-section li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.content-section a {
    color: var(--color-primary);
}

.content-section a:hover {
    text-decoration: underline;
}

/* FAQ Styles */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 16px;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--border-color-hover);
}

.faq-item h4 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* Support Form (for secondary pages) */
.support-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 32px;
}

.support-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

.support-form input,
.support-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    transition: var(--transition-fast);
}

.support-form input:focus,
.support-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.support-form button {
    background: var(--gradient-primary);
    color: var(--btn-primary-text);
    border: none;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
}

.support-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74, 155, 217, 0.5);
}

/* ============================================
   Pricing Page Styles
   ============================================ */

/* Pricing Page Header */
.pricing-page-header {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 160px 0 80px;
}

.pricing-page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 16px;
}

.pricing-page-header .subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 8px;
}

.pricing-page-header .subtext {
    color: var(--text-tertiary);
    font-size: 0.95rem;
}

/* Pricing Hero Section (on dedicated page) */
.pricing-hero {
    padding: 60px 0 80px;
    background: var(--bg-primary);
}

.pricing-hero .pricing-grid {
    margin-bottom: 32px;
}

/* Comparison Table */
.pricing-comparison {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.pricing-comparison .section-header {
    margin-bottom: 48px;
}

.pricing-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -24px;
    padding: 0 24px;
}

.pricing-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.pricing-table thead {
    background: var(--bg-tertiary);
}

.pricing-table th,
.pricing-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.pricing-table th:first-child,
.pricing-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-secondary);
}

.pricing-table td {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-table tbody tr:hover {
    background: var(--bg-card-hover);
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table .plan-header {
    font-size: 1.125rem;
    color: var(--text-primary);
}

.pricing-table .plan-header.featured {
    color: var(--color-primary);
}

.pricing-table .check-icon {
    color: var(--color-success);
    font-size: 1.2rem;
}

.pricing-table .dash-icon {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.pricing-table .highlight-cell {
    background: rgba(74, 155, 217, 0.08);
    color: var(--color-primary);
    font-weight: 600;
}

/* Use Cases Section */
.pricing-use-cases {
    padding: 80px 0;
    background: var(--bg-primary);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.use-case-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition-normal);
}

.use-case-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
}

.use-case-card .plan-name {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(74, 155, 217, 0.15);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.use-case-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.use-case-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.use-case-card ul {
    list-style: none;
    margin-top: 16px;
}

.use-case-card ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.use-case-card ul li svg {
    color: var(--color-success);
    flex-shrink: 0;
}

/* Differentials Section */
.pricing-differentials {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.differentials-card {
    background: linear-gradient(165deg, var(--bg-card) 0%, rgba(74, 155, 217, 0.08) 100%);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-xl);
    padding: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.differentials-card h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.differential-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.differential-item .icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 199, 89, 0.15);
    border-radius: var(--radius-md);
    color: var(--color-success);
    flex-shrink: 0;
}

.differential-item h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.differential-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Pricing FAQ Section */
.pricing-faq {
    padding: 80px 0;
    background: var(--bg-primary);
}

.pricing-faq .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.pricing-faq .faq-item {
    margin-bottom: 0;
    padding: 20px 24px;
}

.pricing-faq .faq-item h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.pricing-faq .faq-item p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Pricing CTA Section */
.pricing-cta {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    text-align: center;
}

.pricing-cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.pricing-cta p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-cta .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* View All Plans Link */
.view-all-plans {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.view-all-plans:hover {
    color: var(--color-primary-light);
    gap: 12px;
}

.view-all-plans svg {
    transition: var(--transition-fast);
}

/* Responsive Pricing Page */
@media (max-width: 1024px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .differentials-grid {
        grid-template-columns: 1fr;
    }

    .differentials-card {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .pricing-page-header {
        padding: 140px 0 60px;
    }

    .pricing-page-header .subtitle {
        font-size: 1.1rem;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .pricing-faq .faq-grid {
        grid-template-columns: 1fr;
    }

    .pricing-comparison,
    .pricing-use-cases,
    .pricing-differentials,
    .pricing-faq,
    .pricing-cta {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .pricing-cta .cta-buttons {
        flex-direction: column;
    }

    .pricing-cta .cta-buttons .store-button {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-normal);
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    background: #1ebe5a;
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
    animation: none;
}

.whatsapp-float-tooltip {
    position: absolute;
    right: 68px;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: var(--transition-fast);
    pointer-events: none;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.1);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    .whatsapp-float-tooltip {
        display: none;
    }
}
