/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    /* Colors - CS2 Theme */
    --primary-color: #ff6b35;
    --primary-dark: #e55a2b;
    --secondary-color: #4a90e2;
    --accent-color: #ffd700;
    
    /* Background Colors */
    --bg-dark: #0a1628;
    --bg-darker: #050d1a;
    --bg-card: #1a2332;
    --bg-card-hover: #243447;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --text-muted: #7a8a9e;
    
    /* Border & Shadow */
    --border-color: #2a3a4f;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --glow-primary: 0 0 20px rgba(255, 107, 53, 0.3);
    --glow-secondary: 0 0 20px rgba(74, 144, 226, 0.3);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

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

body.lightbox-open {
    overflow: hidden;
}

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

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

a:hover {
    color: var(--primary-dark);
}

/* ===================================
   Layout
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-md);
    flex-direction: column;
    gap: var(--spacing-sm);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--glow-primary);
    color: #ffffff;
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
    color: var(--text-primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-icon {
    font-size: 0.875rem;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   App Screenshot
   =================================== */
.app-screenshot-placeholder {
    position: relative;
}

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

.screenshot-header {
    display: flex;
    gap: 8px;
    padding: var(--spacing-sm);
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.screenshot-content {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--bg-darker);
}

.screenshot-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.js-zoomable {
    cursor: zoom-in;
}

/* ===================================
   Product Tour
   =================================== */
.product-tour {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-md);
}

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

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

.tour-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.tour-card-body {
    padding: 1rem 1rem 1.1rem;
}

.tour-card-body h3 {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.tour-card-body p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--text-secondary);
}

.tour-card-featured {
    grid-column: span 2;
}

.tour-card-featured img {
    aspect-ratio: 16 / 8.7;
}

/* ===================================
   Image Lightbox
   =================================== */
.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: none;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.8rem;
    background: rgba(4, 10, 18, 0.9);
    backdrop-filter: blur(4px);
}

.image-lightbox.open {
    display: flex;
}

.image-lightbox-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: rgba(10, 22, 40, 0.85);
    color: var(--text-primary);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
}

.image-lightbox-stage {
    flex: 1;
    overflow: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: #020811;
}

.image-lightbox-stage img {
    display: block;
    max-width: none;
    width: 1400px;
    height: auto;
    cursor: zoom-in;
}

.image-lightbox-stage img.zoomed {
    cursor: zoom-out;
}

.image-lightbox-hint {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.screenshot-placeholder-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.placeholder-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: var(--spacing-sm);
}

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

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-delay-1 {
    animation: fadeIn 0.8s ease 0.2s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.8s ease 0.4s forwards;
    opacity: 0;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 0.8s ease 0.6s forwards;
    opacity: 0;
}

/* ===================================
   Supported APIs Section
   =================================== */
.supported-apis {
    background: var(--bg-dark);
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.api-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
}

.api-logo {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.api-logo:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Features Section
   =================================== */
.features {
    background: var(--bg-darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    transition: all var(--transition-base);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

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

/* ===================================
   Benefits Section
   =================================== */
.benefits {
    background: var(--bg-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.benefit-card {
    text-align: center;
    padding: var(--spacing-md);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.benefit-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.benefit-card p {
    color: var(--text-secondary);
}

/* ===================================
   How It Works Section
   =================================== */
.how-it-works {
    background: var(--bg-darker);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.step {
    position: relative;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-sm);
    box-shadow: var(--glow-primary);
}

.step-content h3 {
    margin-bottom: var(--spacing-xs);
}

.step-content p {
    color: var(--text-secondary);
}

/* ===================================
   Pricing Section
   =================================== */
.pricing {
    background: var(--bg-dark);
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.toggle-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: var(--transition-base);
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition-base);
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.save-badge {
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.payment-method-legend {
    margin-top: var(--spacing-md);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.75rem;
}

.payment-method-pill {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.payment-method-pill.crypto {
    border-color: rgba(255, 107, 53, 0.45);
    box-shadow: inset 0 0 0 1px rgba(255, 107, 53, 0.15);
}

.payment-method-pill.fiat {
    border-color: rgba(74, 144, 226, 0.45);
    box-shadow: inset 0 0 0 1px rgba(74, 144, 226, 0.15);
}

.payment-method-label {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
}

.payment-method-description {
    color: var(--text-secondary);
    font-size: 0.84rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.25rem;
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.015);
    box-shadow: var(--shadow-lg), var(--glow-primary);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 3px 12px;
    border-radius: var(--radius-md);
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing-card h3 {
    font-size: 1.32rem;
    margin-bottom: 0.75rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 0.95rem;
}

.price-currency {
    font-size: 1.22rem;
    font-weight: 700;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 0.9rem;
    flex: 1;
}

.pricing-features li {
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.pricing-features li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

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

.checkout-header {
    margin-bottom: 0.7rem;
    margin-top: 0.25rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.checkout-options {
    display: grid;
    gap: 0.6rem;
}

.btn-gateway {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid transparent;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-weight: 600;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.btn-gateway-crypto {
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.2), rgba(255, 107, 53, 0.08));
    border-color: rgba(255, 107, 53, 0.5);
    color: #ffffff;
}

.btn-gateway-crypto:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(255, 107, 53, 0.22);
}

.btn-gateway-fiat {
    background: linear-gradient(180deg, rgba(74, 144, 226, 0.2), rgba(74, 144, 226, 0.08));
    border-color: rgba(74, 144, 226, 0.5);
    color: #ffffff;
}

.btn-gateway-fiat:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(74, 144, 226, 0.22);
}

.btn-gateway[data-unconfigured="true"] {
    opacity: 0.72;
    filter: grayscale(0.2);
}

.gateway-main {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.gateway-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.gateway-badge.has-icon .gateway-badge-text {
    display: none;
}

.gateway-badge-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.gateway-badge.crypto {
    background: rgba(255, 107, 53, 0.55);
}

.gateway-badge.fiat {
    background: rgba(74, 144, 226, 0.6);
}

.gateway-copy {
    display: inline-flex;
    flex-direction: column;
    gap: 0.06rem;
}

.gateway-provider {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.gateway-subtitle {
    font-size: 0.76rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.84);
}

.gateway-action {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.pricing-trust {
    margin-top: var(--spacing-md);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
}

.trust-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.6rem 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.trust-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.trust-item a:hover {
    text-decoration: underline;
}

/* ===================================
   FAQ Section
   =================================== */
.faq {
    background: var(--bg-darker);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.faq-question {
    width: 100%;
    padding: var(--spacing-md);
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform var(--transition-base);
}

.faq-item.faq-open .faq-icon {
    transform: rotate(180deg);
}

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

.faq-item.faq-open .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background: var(--bg-dark);
}

.contact-grid {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    max-width: 500px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    text-align: center;
    transition: all var(--transition-base);
}

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

.contact-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.contact-card h3 {
    margin-bottom: var(--spacing-xs);
}

.contact-card p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.contact-card .btn {
    width: 100%;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .pricing-card.popular {
        transform: scale(1);
    }

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

    .tour-card-featured {
        grid-column: span 2;
    }
}

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

    .mobile-menu-toggle {
        display: flex;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }

    .hero-title {
        font-size: 2rem;
    }

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

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

    .btn-large {
        width: 100%;
    }

    .features-grid,
    .benefits-grid,
    .steps,
    .tour-grid {
        grid-template-columns: 1fr;
    }

    .tour-card-featured {
        grid-column: span 1;
    }

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

    .pricing-trust {
        flex-direction: column;
        align-items: stretch;
    }

    .payment-method-pill {
        min-width: 100%;
    }

    .btn-gateway {
        padding: 0.7rem 0.75rem;
    }

    .gateway-provider {
        font-size: 0.87rem;
    }

    .gateway-subtitle {
        font-size: 0.74rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

/* ===================================
   Utility Classes
   =================================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--text-secondary); }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }

/* ===================================
   Loading & Transitions
   =================================== */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===================================
   Scroll Animations
   =================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}
