/* ============================================
   eSIM Indonesia — Premium Blue Design System
   Inspired by getwave.gg + impeccable.style
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ============================================
   CSS Custom Properties — Blue Ocean Palette
   ============================================ */
:root {
    /* Core Blues */
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;

    /* Slate/Navy Backgrounds */
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;

    /* Accent Colors */
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --amber-400: #fbbf24;
    --rose-400: #fb7185;
    --rose-500: #f43f5e;

    /* Semantic Colors */
    --primary: #3b82f6;
    --primary-soft: #60a5fa;
    --primary-glow: rgba(59, 130, 246, 0.15);
    --accent: #22d3ee;
    --accent-glow: rgba(34, 211, 238, 0.12);
    --success: #10b981;
    --warning: #fbbf24;
    --danger: #f43f5e;
    --info: #60a5fa;

    /* Background */
    --bg-base: #0b1121;
    --bg-elevated: #0f172a;
    --bg-surface: rgba(15, 23, 42, 0.6);
    --bg-card: rgba(30, 41, 59, 0.5);
    --bg-card-hover: rgba(30, 41, 59, 0.7);
    --bg-glass: rgba(15, 23, 42, 0.7);
    --bg-input: rgba(15, 23, 42, 0.8);

    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #60a5fa;

    /* Borders */
    --border-subtle: rgba(148, 163, 184, 0.08);
    --border-default: rgba(148, 163, 184, 0.12);
    --border-hover: rgba(59, 130, 246, 0.3);
    --border-active: rgba(59, 130, 246, 0.5);

    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #3b82f6, #60a5fa);
    --gradient-cyan: linear-gradient(135deg, #06b6d4, #22d3ee);
    --gradient-blue-cyan: linear-gradient(135deg, #3b82f6, #22d3ee);
    --gradient-text: linear-gradient(135deg, #60a5fa, #22d3ee);
    --gradient-surface: linear-gradient(180deg, rgba(59, 130, 246, 0.03) 0%, transparent 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
    --shadow-blue: 0 0 40px rgba(59, 130, 246, 0.15);
    --shadow-cyan: 0 0 40px rgba(34, 211, 238, 0.1);
    --shadow-card: 0 1px 0 rgba(148, 163, 184, 0.05);

    /* Typography */
    --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-display: 'DM Serif Display', Georgia, serif;

    /* Spacing */
    --container-max: 1180px;
    --section-gap: 120px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.25s;
    --transition: all var(--duration) var(--ease);
    --transition-slow: all 0.5s var(--ease);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: var(--text-accent);
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::selection {
    background: rgba(59, 130, 246, 0.3);
    color: #fff;
}

/* ============================================
   Animated Background — Subtle Grid + Glow
   ============================================ */
.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background:
        linear-gradient(180deg, var(--bg-base) 0%, #0d1527 50%, var(--bg-base) 100%);
}

/* Subtle grid */
.bg-animated::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

/* Soft blue glow */
.bg-animated::after {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    animation: glowFloat 15s ease-in-out infinite;
}

@keyframes glowFloat {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
    50% { transform: translateX(-50%) scale(1.1); opacity: 1; }
}

/* ============================================
   Container
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation — Clean & Minimal
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(11, 17, 33, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.navbar-brand .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(148, 163, 184, 0.06);
}

.nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 8px 22px !important;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
}

.nav-cta:hover {
    background: var(--primary-soft) !important;
    color: #fff !important;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.35);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--bg-card);
    border-color: var(--border-hover);
}

/* ============================================
   Hero Section — Serene & Impactful
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-soft);
    margin-bottom: 36px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    animation: fadeInDown 0.6s var(--ease);
}

.hero-badge .pulse-dot {
    width: 7px;
    height: 7px;
    background: var(--emerald-400);
    border-radius: 50%;
    animation: dotPulse 2.5s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.4); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    animation: fadeInUp 0.7s var(--ease) 0.15s both;
}

.hero h1 .gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.75;
    animation: fadeInUp 0.7s var(--ease) 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.7s var(--ease) 0.45s both;
}

/* Hero stats bar */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
    animation: fadeInUp 0.7s var(--ease) 0.6s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.03em;
}

/* ============================================
   Buttons — Refined & Soft
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.25), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: #4f8ff7;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.35), 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.btn-outline:hover {
    border-color: var(--border-hover);
    background: rgba(59, 130, 246, 0.05);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--gradient-cyan);
    color: #fff;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
    color: #fff;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 15px 36px;
    font-size: 0.95rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

.btn .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Sections — Generous Spacing
   ============================================ */
.section {
    padding: var(--section-gap) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .overline {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-soft);
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 400;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
}

/* ============================================
   Glass Cards — Soft & Subtle
   ============================================ */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.glass-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

/* ============================================
   Product Cards — Clean & Premium
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-blue);
}

.product-card.featured {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow-blue);
}

.product-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-blue-cyan);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 14px;
    background: var(--gradient-blue-cyan);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    z-index: 2;
}

.product-header {
    padding: 32px 28px 20px;
    text-align: center;
}

.product-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.product-card:hover .product-icon {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.25);
    transform: scale(1.05);
}

.product-data {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.03em;
}

.product-validity {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 12px;
    color: var(--text-secondary);
}

.product-body {
    padding: 0 28px 16px;
    flex: 1;
}

.product-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.product-features li .check-icon {
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald-400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.product-card.featured .product-features li .check-icon {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-soft);
}

.product-footer {
    padding: 20px 28px 28px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.product-price small {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ============================================
   Features — Minimal Icons
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.feature-card {
    text-align: left;
    padding: 28px;
    border-radius: var(--radius-xl);
}

.feature-card:hover {
    background: var(--bg-card-hover);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.2);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   Steps / How it Works
   ============================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    counter-reset: steps;
}

.step-card {
    counter-increment: steps;
    padding: 36px 28px;
    position: relative;
}

.step-card::before {
    content: counter(steps, decimal-leading-zero);
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--primary);
    opacity: 0.15;
    display: block;
    margin-bottom: 16px;
    line-height: 1;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ============================================
   Checkout Layout
   ============================================ */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}

.form-group label .required {
    color: var(--rose-400);
}

.form-input {
    padding: 13px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* Order Summary */
.order-summary {
    position: sticky;
    top: 100px;
}

.summary-product {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 18px;
}

.summary-product-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.summary-product-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
}

.summary-product-info p {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.9rem;
}

.summary-row.total {
    border-top: 1px solid var(--border-subtle);
    margin-top: 10px;
    padding-top: 14px;
    font-size: 1.1rem;
    font-weight: 700;
}

.summary-row .label {
    color: var(--text-secondary);
}

/* ============================================
   Payment Section (QRIS)
   ============================================ */
.payment-box {
    text-align: center;
    padding: 40px;
}

.qris-image {
    width: 260px;
    height: 260px;
    margin: 20px auto;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.qris-image img {
    max-width: 100%;
    max-height: 100%;
}

.payment-amount {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin: 16px 0;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.payment-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--amber-400);
    font-weight: 600;
    margin: 14px 0;
    font-size: 0.9rem;
}

.payment-status {
    margin-top: 20px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
}

.payment-status.checking {
    background: rgba(96, 165, 250, 0.08);
    color: var(--info);
    border: 1px solid rgba(96, 165, 250, 0.15);
}

.payment-status.success {
    background: rgba(16, 185, 129, 0.08);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.payment-status.failed {
    background: rgba(244, 63, 94, 0.08);
    color: var(--danger);
    border: 1px solid rgba(244, 63, 94, 0.15);
}

/* ============================================
   Order Status Page
   ============================================ */
.status-container {
    max-width: 680px;
    margin: 0 auto;
}

.esim-qr-display {
    text-align: center;
    padding: 40px;
}

.esim-qr-display .qr-image {
    width: 280px;
    height: 280px;
    margin: 20px auto;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg), var(--shadow-blue);
}

.esim-qr-display .qr-image img {
    max-width: 100%;
    max-height: 100%;
}

.esim-details {
    margin-top: 24px;
    text-align: left;
}

.esim-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.esim-detail-row .label {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.esim-detail-row .value {
    font-weight: 600;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    word-break: break-all;
    max-width: 60%;
    text-align: right;
    color: var(--text-primary);
}

.activation-steps {
    margin-top: 32px;
}

.activation-steps h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.activation-steps ol {
    list-style: none;
    counter-reset: activation-steps;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activation-steps ol li {
    counter-increment: activation-steps;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.activation-steps ol li::before {
    content: counter(activation-steps);
    min-width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
    flex-shrink: 0;
}

/* ============================================
   About Section — Premium Glow & CSS Art
   ============================================ */
.about-section {
    position: relative;
    padding: var(--section-gap) 0;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.about-title {
    font-size: 2.8rem;
    font-family: var(--font-display);
    line-height: 1.2;
    margin-bottom: 24px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid var(--border-default);
    padding-top: 30px;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.stat-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* 3D Holographic Globe CSS Art */
.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    perspective: 1000px;
}

.css-art-globe {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.glow-orb {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--gradient-blue-cyan);
    box-shadow: 0 0 80px rgba(59, 130, 246, 0.4), inset -20px -20px 40px rgba(0,0,0,0.5), inset 10px 10px 20px rgba(255,255,255,0.8);
    animation: orbPulse 6s ease-in-out infinite alternate;
    z-index: 2;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top-color: var(--accent);
    border-right-color: var(--primary);
    animation: ringSpin 15s linear infinite;
}

.ring.r1 {
    width: 280px;
    height: 280px;
    border-width: 2px;
}

.ring.r2 {
    width: 360px;
    height: 360px;
    border-width: 1px;
    animation-duration: 25s;
    animation-direction: reverse;
    opacity: 0.6;
}

.ring.r3 {
    width: 440px;
    height: 440px;
    border-width: 1px;
    border-top-color: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.2);
    border-left-color: transparent;
    border-right-color: rgba(255, 255, 255, 0.1);
    animation-duration: 35s;
    opacity: 0.4;
}

@keyframes ringSpin {
    0% { transform: rotateX(65deg) rotateY(15deg) rotateZ(0deg); }
    100% { transform: rotateX(65deg) rotateY(15deg) rotateZ(360deg); }
}

@keyframes orbPulse {
    0% { transform: scale(1); box-shadow: 0 0 60px rgba(59, 130, 246, 0.3), inset -20px -20px 40px rgba(0,0,0,0.5), inset 10px 10px 20px rgba(255,255,255,0.8); }
    100% { transform: scale(1.03); box-shadow: 0 0 100px rgba(34, 211, 238, 0.5), inset -20px -20px 40px rgba(0,0,0,0.5), inset 10px 10px 20px rgba(255,255,255,0.8); }
}

/* ============================================
   Status Badge
   ============================================ */
.status-badge {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ============================================
   FAQ — Premium Accordion
   ============================================ */
.faq-list {
    max-width: 800px; /* Made it slightly wider for readability */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    transition: var(--transition);
    overflow: hidden; /* Prevent inner overflow during transition */
}

.faq-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    border-color: var(--primary);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-blue);
    transform: translateY(0);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    background: transparent;
    border: none;
    color: var(--text-primary);
    width: 100%;
    text-align: left;
    font-family: var(--font-heading); /* Upgraded font */
    gap: 16px;
    letter-spacing: 0.01em;
}

.faq-question .faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, color 0.3s ease;
    color: var(--text-secondary);
}

.faq-item.active .faq-icon {
    background: var(--gradient-blue);
    color: #fff;
    transform: rotate(45deg);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden; /* Required for grid transition to work */
    padding: 0 24px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer-inner {
    padding: 0 24px 24px;
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Footer — Minimal
   ============================================ */
.footer {
    padding: 48px 0 28px;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: var(--text-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ============================================
   Admin Styles
   ============================================ */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: var(--bg-elevated);
    border-right: 1px solid var(--border-subtle);
    padding: 24px 0;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar-brand {
    padding: 0 20px 20px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 12px;
}

.admin-sidebar-brand h2 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-soft);
}

.admin-sidebar-brand small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.admin-nav {
    list-style: none;
    padding: 0 10px;
}

.admin-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.admin-nav li a:hover,
.admin-nav li a.active {
    background: rgba(59, 130, 246, 0.06);
    color: var(--text-primary);
}

.admin-nav li a.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-soft);
}

.admin-main {
    flex: 1;
    margin-left: 250px;
    padding: 28px;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.admin-header h1 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    padding: 22px;
}

.stat-card .stat-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 6px;
    font-weight: 500;
}

.stat-card .stat-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.stat-card .stat-icon {
    float: right;
    width: 42px;
    height: 42px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Admin Table */
.admin-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    background: rgba(15, 23, 42, 0.5);
    border-bottom: 1px solid var(--border-subtle);
    font-weight: 600;
}

.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.9rem;
}

.admin-table tr:hover td {
    background: rgba(59, 130, 246, 0.02);
}

.admin-table .actions {
    display: flex;
    gap: 6px;
}

/* ============================================
   Login Page
   ============================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 44px 36px;
    text-align: center;
}

.login-card h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.login-card .subtitle {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 0.9rem;
}

.login-card .form-group {
    text-align: left;
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    padding: 140px 0 56px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 400;
    margin-bottom: 10px;
    position: relative;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    position: relative;
}

/* ============================================
   Alert / Notification
   ============================================ */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.alert-danger {
    background: rgba(244, 63, 94, 0.08);
    border: 1px solid rgba(244, 63, 94, 0.15);
    color: var(--danger);
}

.alert-warning {
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.15);
    color: var(--warning);
}

.alert-info {
    background: rgba(96, 165, 250, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.15);
    color: var(--info);
}

/* ============================================
   Loading
   ============================================ */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 17, 33, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    gap: 14px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 2.5px solid var(--border-default);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Track Order Form
   ============================================ */
.track-form {
    display: flex;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto;
}

.track-form .form-input {
    flex: 1;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-gap: 72px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 17, 33, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-subtle);
        gap: 4px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 28px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        display: none;
    }

    .admin-main {
        margin-left: 0;
    }

    .esim-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .esim-detail-row .value {
        max-width: 100%;
        text-align: left;
    }

    .track-form {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        border-top: none;
        padding-top: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .product-footer {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
}

/* ============================================
   Impeccable UI Utilities (About Us Addon)
   ============================================ */
.impeccable-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.impeccable-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 50px;
}
@media (min-width: 900px) {
    .impeccable-grid-2 {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.text-gradient-impeccable {
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.impeccable-card {
    position: relative;
    overflow: hidden;
    padding: 40px 30px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.5) 100%);
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.impeccable-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.impeccable-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(96, 165, 250, 0.2);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.08);
}

.impeccable-card:hover::before {
    opacity: 1;
}

.impeccable-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(96, 165, 250, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.05);
}

.impeccable-checklist {
    list-style: none;
    margin: 30px 0;
    padding: 0;
}
.impeccable-checklist li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}
.impeccable-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* ============================================
   Floating Smart Support Chatbot
   ============================================ */

/* Chatbot Toggler Button */
.chatbot-toggler {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-toggler:hover {
    transform: scale(1.1);
}

.chatbot-toggler .toggler-close {
    display: none;
}

body.show-chatbot .chatbot-toggler {
    transform: rotate(90deg);
}

body.show-chatbot .chatbot-toggler .toggler-icon {
    display: none;
}
body.show-chatbot .chatbot-toggler .toggler-close {
    display: block;
}

/* Chatbot Window Container */
.chatbot {
    position: fixed;
    right: 35px;
    bottom: 110px;
    width: 350px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.5);
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

body.show-chatbot .chatbot {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

/* Chat Header */
.chatbot header {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.15), transparent);
    padding: 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot header .bot-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot header .bot-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.chatbot header h2 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-primary);
    margin: 0;
}

.chatbot header span.status {
    font-size: 0.75rem;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chatbot header span.status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 5px #10b981;
}

.chatbot header .close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}
.chatbot header .close-btn:hover {
    color: #fff;
}

/* Chat History Area */
.chatbot .chatbox {
    height: 350px;
    padding: 20px 20px 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chatbot .chatbox::-webkit-scrollbar {
    width: 6px;
}
.chatbot .chatbox::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

/* Message Styles */
.chatbox .chat {
    display: flex;
    gap: 10px;
}

.chatbox .chat.outgoing {
    justify-content: flex-end;
}

.chatbox .chat p {
    max-width: 85%;
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 12px 16px;
    border-radius: 16px;
    word-wrap: break-word;
}

/* User Message */
.chatbox .outgoing p {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #fff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

/* Bot Message */
.chatbox .incoming p {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom-left-radius: 4px;
}

/* Quick Replies Area */
.chatbot .chat-input {
    padding: 15px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(15, 23, 42, 0.5);
}

.chat-input .quick-replies-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.chat-input .quick-replies-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-reply-btn {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--text-accent);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.quick-reply-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #fff;
    border-color: rgba(59, 130, 246, 0.4);
}

/* Typing Indicator Animation */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: typing 1s infinite alternate;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0% { transform: translateY(0); opacity: 0.5; }
    100% { transform: translateY(-4px); opacity: 1; }
}

@media (max-width: 480px) {
    .chatbot {
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        transform: scale(1) translateY(100%);
        transform-origin: bottom;
    }
    body.show-chatbot .chatbot {
        transform: scale(1) translateY(0);
    }
    .chatbot .chatbox {
        flex: 1;
        height: auto;
    }
    .chatbot-toggler {
        bottom: 20px;
        right: 20px;
    }
}

/* ============================================
   Fake Order Notification (Social Proof)
   ============================================ */
.fake-order-popup {
    position: fixed;
    bottom: 30px;
    left: -400px; /* Start hidden */
    width: 330px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 9998; /* Under chatbot */
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.fake-order-popup.show {
    left: 30px;
    opacity: 1;
}

.fake-order-popup .icon-box {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #10b981;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.fake-order-popup .details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fake-order-popup .buyer-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 3px;
    letter-spacing: -0.01em;
}

.fake-order-popup .purchase-item {
    font-size: 0.85rem;
    color: #38bdf8; /* Accent color */
    margin-bottom: 2px;
}

.fake-order-popup .timestamp {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 480px) {
    .fake-order-popup {
        width: calc(100% - 40px);
        bottom: 20px;
        left: 20px;
        transform: translateY(150%);
        transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.6s ease;
    }
    .fake-order-popup.show {
        left: 20px;
        transform: translateY(0);
    }
}
