@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS VARIABLES & THEMES --- */
:root {
    /* Light Theme (Default) */
    --bg-primary: #f8fafc;
    --bg-surface: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.8);
    --bg-glass-hover: rgba(255, 255, 255, 0.95);
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --border-color: #e2e8f0;
    --border-glass: rgba(255, 255, 255, 0.5);
    
    --accent-primary: #25D366; /* Official WhatsApp Green */
    --accent-hover: #128C7E;
    --accent-dark: #075E54;
    --accent-secondary: #00A884;
    --accent-blue: #0284c7;
    --accent-purple: #7c3aed;
    --accent-orange: #ea580c;
    --accent-pink: #db2777;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 25px rgba(37, 211, 102, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --header-height: 84px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    /* Dark Theme (Neon / Cyberpunk Aesthetic) */
    --bg-primary: #0B132B; /* Deep Navy */
    --bg-surface: #1C2541; /* Slate */
    --bg-glass: rgba(28, 37, 65, 0.85);
    --bg-glass-hover: rgba(28, 37, 65, 0.95);
    
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    
    --border-color: #334155;
    --border-glass: rgba(255, 255, 255, 0.1);
    
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(37, 211, 102, 0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

ul, ol {
    list-style: none;
}

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

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-green {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* --- LAYOUT & CONTAINERS --- */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

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

/* --- STATS BAR --- */
.stats-bar {
    padding: 64px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 64px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item h3 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--accent-primary);
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 500;
}

/* --- GLASSMORPHISM HEADER --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.logo img {
    height: 44px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* --- NAV DROPDOWN SUBMENU --- */
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item > .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item > .nav-link .nav-chevron {
    font-size: 1.1rem;
    transition: transform 0.25s ease;
    display: flex;
    align-items: center;
}

.nav-item:hover > .nav-link .nav-chevron {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 280px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 200;
}

/* Arrow pointer */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    transform: translateX(-50%) rotate(45deg);
}

/* Invisible bridge to prevent hover loss */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    width: 100%;
    height: 24px;
    background: transparent;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.nav-dropdown-item:hover {
    background: rgba(37, 211, 102, 0.08);
    color: var(--accent-primary);
}

.nav-dropdown-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(37, 211, 102, 0.1);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.nav-dropdown-item:hover .nav-dropdown-icon {
    background: var(--accent-primary);
    color: #fff;
}

.nav-dropdown-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.nav-dropdown-text span {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 400;
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

.nav-dropdown-footer {
    padding: 8px 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 1.25rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--border-color);
    transform: rotate(15deg);
}

.mobile-toggle {
    display: none;
    font-size: 1.75rem;
    color: var(--text-main);
}

/* --- BUTTONS & CHIPS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.2);
    color: var(--accent-primary);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

/* --- HERO 3-SLIDE CAROUSEL --- */
.hero-showcase {
    padding-top: calc(var(--header-height) + 48px);
    padding-bottom: 64px;
    position: relative;
    overflow: hidden;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    min-height: 680px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-slider-slides {
    position: relative;
    width: 100%;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.hero-slide {
    display: none;
    width: 100%;
    animation: fadeIn 0.6s ease-in-out forwards;
}

.hero-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(1.01); }
    to { opacity: 1; transform: scale(1); }
}

/* Slide 1: Original Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 64px 80px;
}

.hero-title {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-card-mockup {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-lg);
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.mockup-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(37, 211, 102, 0.15);
    color: var(--accent-primary);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
}

.mockup-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mockup-alert {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-primary);
    border-left: 4px solid var(--accent-primary);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.mockup-alert i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.mockup-alert-text h5 { margin-bottom: 4px; font-size: 1rem; }
.mockup-alert-text p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* Slide 2 & 3: Banner Layout */
.banner-slide-container {
    position: relative;
    width: 100%;
}

.banner-slide-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--bg-glass);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    z-index: 20;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.slider-arrow:hover {
    background: var(--accent-primary);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.banner-slide-container ~ .slider-dots {
    bottom: 110px; /* Adjust if overlay bar is present */
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: var(--radius-full);
    background: rgba(100, 116, 139, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid #fff;
    box-shadow: var(--shadow-sm);
}

.slider-dot:hover, .slider-dot.active {
    background: var(--accent-primary);
    transform: scale(1.3);
    border-color: #fff;
    box-shadow: var(--shadow-glow);
}

.hero-overlay-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px 48px;
    background: rgba(11, 19, 43, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    color: #fff;
    z-index: 10;
}

.overlay-title h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 4px;
}

.overlay-title p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.overlay-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* --- 5-COLUMN & 4-COLUMN GLOWING NEON FEATURE CARDS --- */
.feature-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.feature-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.neon-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.neon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-primary);
    transition: var(--transition);
}

.neon-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Custom Card Accents matching the Banner */
.neon-card.card-green::before { background: var(--accent-primary); }
.neon-card.card-blue::before { background: var(--accent-blue); }
.neon-card.card-purple::before { background: var(--accent-purple); }
.neon-card.card-orange::before { background: var(--accent-orange); }
.neon-card.card-emerald::before { background: #10b981; }

.neon-card.card-green:hover { border-color: var(--accent-primary); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2); }
.neon-card.card-blue:hover { border-color: var(--accent-blue); box-shadow: 0 10px 30px rgba(2, 132, 199, 0.2); }
.neon-card.card-purple:hover { border-color: var(--accent-purple); box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2); }
.neon-card.card-orange:hover { border-color: var(--accent-orange); box-shadow: 0 10px 30px rgba(234, 88, 12, 0.2); }
.neon-card.card-emerald:hover { border-color: #10b981; box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2); }

.neon-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
}

.card-green .neon-icon { background: rgba(37, 211, 102, 0.15); color: var(--accent-primary); }
.card-blue .neon-icon { background: rgba(2, 132, 199, 0.15); color: var(--accent-blue); }
.card-purple .neon-icon { background: rgba(124, 58, 237, 0.15); color: var(--accent-purple); }
.card-orange .neon-icon { background: rgba(234, 88, 12, 0.15); color: var(--accent-orange); }
.card-emerald .neon-icon { background: rgba(16, 185, 129, 0.15); color: #10b981; }

.neon-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.neon-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.neon-list {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.neon-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-main);
    font-weight: 500;
}

.neon-list li i {
    font-size: 1.1rem;
}

.card-green .neon-list li i { color: var(--accent-primary); }
.card-blue .neon-list li i { color: var(--accent-blue); }
.card-purple .neon-list li i { color: var(--accent-purple); }
.card-orange .neon-list li i { color: var(--accent-orange); }
.card-emerald .neon-list li i { color: #10b981; }

.neon-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    width: 100%;
    transition: var(--transition);
}

.card-green .neon-badge { background: rgba(37, 211, 102, 0.1); color: var(--accent-primary); border: 1px solid rgba(37, 211, 102, 0.3); }
.card-blue .neon-badge { background: rgba(2, 132, 199, 0.1); color: var(--accent-blue); border: 1px solid rgba(2, 132, 199, 0.3); }
.card-purple .neon-badge { background: rgba(124, 58, 237, 0.1); color: var(--accent-purple); border: 1px solid rgba(124, 58, 237, 0.3); }
.card-orange .neon-badge { background: rgba(234, 88, 12, 0.1); color: var(--accent-orange); border: 1px solid rgba(234, 88, 12, 0.3); }
.card-emerald .neon-badge { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }

.neon-card:hover .neon-badge {
    transform: scale(1.05);
}

/* --- MULTI-GATEWAY INTERACTIVE STACK --- */
.gateway-stack-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-top: 64px;
    box-shadow: var(--shadow-md);
}

.gateway-stack-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: center;
}

.gateway-stack-info h2 {
    margin-bottom: 16px;
}

.gateway-stack-info p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.gateway-pill-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gateway-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.gateway-pill:hover {
    transform: translateX(8px);
    border-color: var(--accent-primary);
    background: var(--bg-surface);
    box-shadow: var(--shadow-md);
}

.gateway-pill-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gateway-pill-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(37, 211, 102, 0.1);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.gateway-pill-title h4 { font-size: 1.125rem; margin-bottom: 2px; }
.gateway-pill-title p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

.gateway-pill-badge {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(37, 211, 102, 0.15);
    color: var(--accent-primary);
}

/* --- TRUST BAR / ICON BAR --- */
.trust-bar {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 48px 0;
    margin: 64px 0;
}

.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    align-items: center;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: rgba(37, 211, 102, 0.1);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: var(--transition);
}

.trust-item:hover .trust-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent-primary);
    color: #fff;
}

.trust-item h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.trust-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- ABOUT PAGE --- */
.about-hero {
    padding-top: calc(var(--header-height) + 64px);
    padding-bottom: 64px;
    text-align: center;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 96px;
}

.story-content h2 { margin-bottom: 24px; }
.story-content p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.05rem; }

.story-image {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-xl);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.value-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.value-card i { font-size: 2.5rem; color: var(--accent-primary); margin-bottom: 16px; }
.value-card h4 { margin-bottom: 12px; font-size: 1.125rem; }
.value-card p { color: var(--text-muted); font-size: 0.9rem; }

/* --- SUPPORT PAGE & FAQ --- */
.support-hero {
    padding-top: calc(var(--header-height) + 64px);
    padding-bottom: 64px;
    text-align: center;
}

.support-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 96px;
}

.support-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.support-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-primary);
}

.support-card-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    background: rgba(37, 211, 102, 0.1);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 24px auto;
}

.support-card h3 { margin-bottom: 16px; font-size: 1.375rem; }
.support-card p { color: var(--text-muted); margin-bottom: 24px; font-size: 0.95rem; }

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-accordion {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-accordion.active {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.faq-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.125rem;
    user-select: none;
}

.faq-header i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
}

.faq-accordion.active .faq-header i {
    transform: rotate(180deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-accordion.active .faq-body {
    max-height: 500px;
}

.faq-body-content {
    padding: 0 24px 24px 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- CONTACT PAGE --- */
.contact-hero {
    padding-top: calc(var(--header-height) + 64px);
    padding-bottom: 64px;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 64px;
    align-items: start;
}

.contact-form-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

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

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.15);
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.contact-info-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: rgba(37, 211, 102, 0.1);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.info-text h4 { margin-bottom: 4px; font-size: 1.125rem; }
.info-text p { color: var(--text-muted); font-size: 0.95rem; }

/* --- PREMIUM FOOTER --- */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
}

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

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-logo { margin-bottom: 16px; }
.footer-col p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--accent-primary);
    padding-left: 4px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.newsletter-input {
    flex-grow: 1;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 0.95rem;
}

.newsletter-input:focus {
    border-color: var(--accent-primary);
}

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

/* --- SCREENSHOTS SHOWCASE --- */
.screenshot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.screenshot-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.screenshot-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.screenshot-image-wrap {
    padding: 16px 16px 0 16px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.screenshot-image {
    width: 100%;
    height: 260px;
    object-fit: fill;
    object-position: top;
    border-radius: var(--radius-sm);
    display: block;
    border: 1px solid var(--border-color);
}

.screenshot-info {
    padding: 24px;
}

.screenshot-info h4 { margin-bottom: 8px; font-size: 1.25rem; }
.screenshot-info p { color: var(--text-muted); font-size: 0.95rem; }

/* --- CTA BANNER --- */
.cta-banner {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    border-radius: var(--radius-lg);
    padding: 64px;
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.cta-banner h2 { color: #fff; margin-bottom: 24px; }
.cta-banner p { color: #fff; opacity: 0.9; margin-bottom: 40px; font-size: 1.25rem; max-width: 700px; margin-left: auto; margin-right: auto; }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1200px) {
    .feature-grid-5, .feature-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-grid, .story-grid, .contact-grid, .footer-grid, .gateway-stack-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .stats-grid, .gateway-grid, .values-grid, .trust-bar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-grid, .support-cards-grid, .screenshot-grid, .feature-grid-5, .feature-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .nav-menu, .header-actions .btn {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    /* Mobile Menu Active */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        padding: 32px 24px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-xl);
    }
}

@media (max-width: 640px) {
    .stats-grid, .gateway-grid, .values-grid, .trust-bar-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-banner {
        padding: 40px 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
