/* ═══════════════════════════════════════════════════════════════════════════
   Fandrest Store- Premium Dark Mode Design System
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── 1. CSS Custom Properties ───────────────────────────────────────────── */
:root {
    /* Background */
    --bg-primary: #050510;
    --bg-secondary: #0a0a1f;
    --bg-tertiary: #0f0f2a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-card-popular: rgba(245, 158, 11, 0.04);
    --bg-card-best: rgba(6, 182, 212, 0.04);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-card-hover: rgba(255, 255, 255, 0.15);
    --border-gold: rgba(245, 158, 11, 0.3);
    --border-cyan: rgba(6, 182, 212, 0.3);

    /* Text */
    --text-primary: #f0f0f5;
    --text-secondary: #9898b0;
    --text-muted: #5a5a75;
    --text-gold: #fbbf24;

    /* Accent Colors */
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --gold-dark: #d97706;
    --green: #10b981;
    --green-light: #34d399;
    --red: #ef4444;
    --blue: #3b82f6;
    --cyan: #06b6d4;
    --purple: #8b5cf6;
    --pink: #ec4899;
    --orange: #f97316;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #f59e0b, #f97316);
    --gradient-hero: linear-gradient(135deg, #050520 0%, #0a0530 30%, #150a30 60%, #0a1025 100%);
    --gradient-card-shine: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%, rgba(255,255,255,0.02) 100%);

    /* Shadows */
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 12px 48px rgba(0, 0, 0, 0.5);
    --shadow-gold-glow: 0 0 30px rgba(245, 158, 11, 0.15);
    --shadow-cyan-glow: 0 0 30px rgba(6, 182, 212, 0.15);

    /* Sizing */
    --container-width: 1200px;
    --navbar-height: 72px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Language toggle */
body[data-lang="id"] .lang-en { display: none !important; }
body[data-lang="en"] .lang-id { display: none !important; }

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── 3. Typography ──────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

.text-green { color: var(--green); }

/* ─── 4. Layout & Container ──────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
    position: relative;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 520px;
    margin: 0 auto;
}

/* ─── 5. Buttons ─────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #000;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-block {
    width: 100%;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

/* ─── 6. Navbar ──────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    z-index: 1000;
    transition: all var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.brand-logo {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.lang-toggle {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-light);
    border: 1.5px solid var(--border-gold);
    border-radius: var(--radius-sm);
    background: rgba(245, 158, 11, 0.08);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.lang-toggle:hover {
    background: rgba(245, 158, 11, 0.15);
}

.mobile-menu-btn {
    display: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    padding: 8px;
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: rgba(5, 5, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    z-index: 999;
    flex-direction: column;
    gap: 8px;
    transform: translateY(-10px);
    opacity: 0;
    transition: all var(--transition-smooth);
}

.mobile-menu.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu .nav-link {
    padding: 12px 16px;
    font-size: 1rem;
}

.mobile-menu .lang-toggle {
    margin-top: 8px;
    text-align: center;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 0;
}

/* Animated gradient orbs */
.hero-bg::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    top: -10%;
    right: -10%;
    animation: floatOrb 15s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    bottom: -10%;
    left: -10%;
    animation: floatOrb 18s ease-in-out infinite reverse;
}

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

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 24px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
    max-width: 500px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── 8. Features Section ────────────────────────────────────────────────── */
.features {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

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

.feature-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border-radius: var(--radius-md);
    background: rgba(245, 158, 11, 0.1);
    color: var(--gold);
    font-size: 1.4rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

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

/* ─── 9. Urgency Banner ──────────────────────────────────────────────────── */
.urgency-banner {
    padding: 16px 0;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.1), rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.1));
    border-top: 1px solid rgba(239, 68, 68, 0.2);
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
    overflow: hidden;
}

.urgency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    animation: urgencySlide 20s linear infinite;
    white-space: nowrap;
}

@keyframes urgencySlide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-2%); }
}

.urgency-content i {
    color: var(--red);
    animation: clockPulse 1s ease-in-out infinite;
}

@keyframes clockPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.countdown {
    color: var(--gold-light);
    font-family: 'Outfit', monospace;
    font-weight: 800;
}

.stock-count {
    color: var(--red);
    font-weight: 800;
}

/* ─── 10. Pricing Section ────────────────────────────────────────────────── */
.pricing {
    padding: 100px 0;
    background: var(--bg-primary);
}

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

/* Pricing Card */
.pricing-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-smooth);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

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

/* Card shine overlay */
.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card-shine);
    pointer-events: none;
    border-radius: inherit;
}

.pricing-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-card-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

/* Popular card */
.pricing-card.popular {
    background: var(--bg-card-popular);
    border-color: var(--border-gold);
    transform: scale(1.03);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: var(--shadow-gold-glow), var(--shadow-card-hover);
}

/* Best value card */
.pricing-card.best-value {
    background: var(--bg-card-best);
    border-color: var(--border-cyan);
}

.pricing-card.best-value:hover {
    box-shadow: var(--shadow-cyan-glow), var(--shadow-card-hover);
}

/* Card Badge */
.card-badge {
    position: absolute;
    top: 16px;
    right: -32px;
    background: var(--gradient-gold);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 40px;
    transform: rotate(45deg);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Alternative centered badge */
.card-badge-center {
    display: inline-block;
    padding: 4px 16px;
    background: var(--gradient-gold);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.03em;
}

.card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    background: rgba(245, 158, 11, 0.1);
    color: var(--gold);
    transition: all var(--transition-smooth);
}

.pricing-card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.card-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.card-units {
    margin-bottom: 20px;
}

.units-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.units-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* Pricing */
.card-pricing {
    margin-bottom: 16px;
}

.price-market {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.price-strikethrough {
    text-decoration: line-through;
    color: var(--red);
    font-weight: 500;
}

.price-ours {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.price-per-unit {
    font-size: 0.8rem;
    color: var(--green);
    font-weight: 600;
}

/* Savings callout */
.card-savings {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    margin-bottom: 20px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--green-light);
}

.card-savings i {
    font-size: 0.9rem;
}

/* CTA button in card */
.pricing-card .btn-primary {
    margin-bottom: 16px;
    padding: 14px 24px;
    font-size: 0.95rem;
}

/* Card features list */
.card-features {
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.feature-item i {
    color: var(--green);
    font-size: 0.7rem;
}

/* ─── 11. Payment Methods ────────────────────────────────────────────────── */
.payment-methods {
    padding: 48px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    text-align: center;
}

.payment-methods h3 {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.payment-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.payment-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.payment-item:hover {
    border-color: var(--border-card-hover);
    color: var(--text-primary);
}

.payment-logo {
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.payment-img {
    height: 24px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* ─── 12. Comparison Section ─────────────────────────────────────────────── */
.comparison {
    padding: 100px 0;
    background: var(--bg-primary);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-card);
    background: var(--bg-card);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    min-width: 600px;
}

.comparison-table thead th {
    padding: 16px 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-card);
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table thead th:nth-child(2) {
    color: var(--gold-light);
}

.comparison-table thead th:nth-child(3) {
    color: var(--text-muted);
}

.comparison-table thead th:nth-child(4) {
    color: var(--green);
}

.comparison-table tbody td {
    padding: 16px 20px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-subtle);
    transition: background var(--transition-fast);
}

.comparison-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

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

.price-us {
    font-weight: 700;
    color: var(--gold-light);
}

.price-them {
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-unavailable {
    color: var(--red);
    font-style: italic;
    font-size: 0.85rem;
}

.price-savings {
    color: var(--green);
    font-weight: 700;
}

.savings-badge {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
}

/* ─── 13. Testimonials ───────────────────────────────────────────────────── */
.testimonials {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

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

.testimonial-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
}

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

.testimonial-stars {
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-text::before {
    content: '"';
    font-size: 1.5rem;
    color: var(--gold);
    font-style: normal;
    font-weight: 800;
}

.testimonial-text::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--gold);
    font-style: normal;
    font-weight: 800;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #000;
    font-size: 0.85rem;
    font-family: 'Outfit', sans-serif;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.author-location {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.author-package {
    font-size: 0.7rem;
    color: var(--gold);
    font-weight: 600;
    padding: 2px 8px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50px;
}

/* ─── 14. FAQ Section ────────────────────────────────────────────────────── */
.faq {
    padding: 100px 0;
    background: var(--bg-primary);
}

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

.faq-item {
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all var(--transition-fast);
}

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

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-card);
    text-align: left;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-question i {
    color: var(--gold);
    font-size: 0.8rem;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth), padding var(--transition-smooth);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 24px 18px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─── 15. Custom Order CTA ───────────────────────────────────────────────── */
.custom-cta {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.cta-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 40px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(249, 115, 22, 0.05));
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-gold-glow);
}

.cta-card h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 1rem;
}

.cta-card .btn {
    font-size: 1.05rem;
    padding: 16px 36px;
}

/* ─── 16. Footer ─────────────────────────────────────────────────────────── */
.footer {
    padding: 48px 0 24px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ─── 17. Order Modal ───────────────────────────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.modal-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-header h3 {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.modal-pkg-details {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Username Input */
.username-input-group {
    margin-bottom: 24px;
}

.username-input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 44px 14px 40px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-card);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: all var(--transition-fast);
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.input-wrapper input:focus {
    border-color: var(--gold);
    background: rgba(245, 158, 11, 0.03);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.input-wrapper input.input-valid {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.input-wrapper input.input-invalid {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.input-status {
    position: absolute;
    right: 14px;
    display: flex;
    align-items: center;
}

/* Validated User Preview */
.username-result {
    margin-top: 12px;
    min-height: 20px;
}

.validated-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-md);
    animation: fadeInUp 0.3s ease-out;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--green);
}

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

.user-display-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.user-actual-name {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.validation-error {
    font-size: 0.82rem;
    color: var(--red);
}

.validation-error-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-sm);
    margin-top: 10px;
}

.try-again-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--red);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.try-again-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(0.95);
}

/* Security Note */
.security-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    color: var(--green-light);
}

.security-note i {
    color: var(--green);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Terms & Conditions (Hold to Confirm) */
.terms-container {
    margin-top: 24px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.term-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
}

.term-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.hold-btn {
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    padding: 10px 0;
    width: 100%;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Coupon UI */
.public-coupon-banner {
    background: var(--gold);
    color: var(--bg-primary);
    text-align: center;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
    position: relative;
    z-index: 1000;
}

.public-coupon-banner strong {
    background: rgba(0,0,0,0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin: 0 4px;
    font-family: monospace;
    font-size: 1.05rem;
}

.coupon-container {
    margin-top: 16px;
}

.coupon-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}

.coupon-input-wrapper .input-icon {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
}

.coupon-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 14px 16px 14px 45px;
    font-size: 0.95rem;
    outline: none;
}

.apply-coupon-btn {
    margin-right: 4px;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.coupon-result {
    margin-top: 8px;
    font-size: 0.85rem;
}

.coupon-success {
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 6px;
}

.coupon-error {
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hold-btn:active:not(.confirmed) {
    transform: scale(0.98);
}

.hold-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--gold);
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

.hold-text {
    position: relative;
    z-index: 2;
}

.hold-check {
    display: none;
    position: relative;
    z-index: 2;
    margin-left: 8px;
    font-size: 1rem;
}

.hold-btn.confirmed {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: var(--green);
    cursor: default;
    transform: scale(1) !important;
}

.hold-btn.confirmed .hold-progress {
    display: none;
}

.hold-btn.confirmed .hold-text {
    color: var(--green);
}

.hold-btn.confirmed .hold-check {
    display: inline-block;
}

/* Disabled button state */
#confirmOrderBtn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ─── 18. Scroll Animations ──────────────────────────────────────────────── */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card.popular[data-animate].animate-in {
    transform: scale(1.03);
}

/* Stagger children */
[data-animate]:nth-child(1) { transition-delay: 0.0s; }
[data-animate]:nth-child(2) { transition-delay: 0.1s; }
[data-animate]:nth-child(3) { transition-delay: 0.2s; }
[data-animate]:nth-child(4) { transition-delay: 0.3s; }
[data-animate]:nth-child(5) { transition-delay: 0.4s; }
[data-animate]:nth-child(6) { transition-delay: 0.5s; }

/* ─── 18.5 Micro-Interactions ──────────────────────────────────────────────── */
/* Ripple Effect */
.btn, .nav-link, .mobile-menu-btn {
    position: relative;
    overflow: hidden;
}
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    background: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}
@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Springy Active State */
.btn:active, .nav-link:active, .pricing-card:active, .feature-card:active {
    transform: scale(0.96) !important;
}

/* Icon Animations on Hover */
.feature-card:hover .feature-icon i {
    animation: tilt-wobble 0.5s ease-in-out;
}
@keyframes tilt-wobble {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

.pricing-card:hover .card-icon i {
    animation: bounce-icon 0.5s ease;
}
@keyframes bounce-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Form Input Pulse */
.form-input:focus, .coupon-input:focus {
    animation: input-pulse 1s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}
@keyframes input-pulse {
    from { box-shadow: 0 0 0px var(--gold); }
    to { box-shadow: 0 0 8px rgba(245, 158, 11, 0.6); }
}

/* Shake Error Animation */
.shake {
    animation: shake-anim 0.4s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes shake-anim {
    10%, 90% { transform: translate3d(-2px, 0, 0); }
    20%, 80% { transform: translate3d(4px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
    40%, 60% { transform: translate3d(6px, 0, 0); }
}

/* Smooth Accordion/Toggle Arrows */
.faq-question i, #togglePlansIcon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
/* Note: togglePlansIcon rotation is handled slightly differently in JS if we just swap class, but CSS transition works if we use the same class and rotate it! Wait, in JS I'm swapping fa-chevron-down to fa-chevron-up. We should use transform instead in JS for smooth animation. */

/* ─── 19. Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .pricing-card.popular {
        transform: scale(1);
    }
    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
    .pricing-card.popular[data-animate].animate-in {
        transform: scale(1);
    }

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

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

@media (max-width: 768px) {
    section { padding: 60px 0; }

    .navbar-links { display: none; }
    .mobile-menu-btn { display: block; }

    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 1.2rem; }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .section-header h2 { font-size: 1.8rem; }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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

    .cta-card h2 {
        font-size: 1.4rem;
    }

    .urgency-content {
        font-size: 0.82rem;
    }

    .units-number {
        font-size: 2.5rem;
    }

    .comparison-table {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .hero-title { font-size: 1.8rem; }
    .hero-stats { flex-direction: column; gap: 16px; }

    .section-header h2 { font-size: 1.5rem; }

    .payment-grid { gap: 12px; }
    .payment-item { padding: 8px 14px; font-size: 0.8rem; }
}

/* ─── 20. Utility Animations ─────────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Selection color */
::selection {
    background: rgba(245, 158, 11, 0.3);
    color: var(--text-primary);
}

/* Select options */
select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}
