/* ==================== */
/* Google Fonts Import  */
/* ==================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600&display=swap');

/* ==================== */
/* Global Reset + Root  */
/* ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    font-size: 16px;

    /* ── Palette ─────────────────────────────────── */
    --bg0: #070d1a;
    --bg1: #0c1528;
    --bg2: #101e36;
    --card: rgba(13, 22, 44, 0.78);
    --card-hov: rgba(16, 28, 54, 0.95);
    --line: rgba(148, 163, 184, 0.12);
    --line-glow: rgba(34, 197, 94, 0.22);
    --text: #e8edf5;
    --text-dim: rgba(232, 237, 245, 0.7);
    --muted: #8b9cb8;

    /* ── Brand Colors ────────────────────────────── */
    --green: #22c55e;
    --green-dim: #16a34a;
    --green-glow: rgba(34, 197, 94, 0.30);
    --cyan: #22d3ee;
    --cyan-dim: #0ea5e9;
    --cyan-glow: rgba(34, 211, 238, 0.28);
    --violet: #818cf8;
    --violet-dim: #6366f1;
    --whatsapp: #25D366;
    --danger: #ef4444;

    /* ── Gradients ───────────────────────────────── */
    --grad-green: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --grad-cyan: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 100%);
    --grad-violet: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
    --grad-brand: linear-gradient(135deg, #22c55e 0%, #22d3ee 100%);
    --grad-hero:
        radial-gradient(ellipse 1400px 800px at 5% -15%, #1a3a7a 0%, transparent 55%),
        radial-gradient(ellipse 1000px 700px at 105% 35%, rgba(34, 197, 94, 0.22) 0%, transparent 52%),
        radial-gradient(ellipse 700px 500px at 50% 120%, rgba(34, 211, 238, 0.10) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg1) 0%, var(--bg0) 100%);

    /* ── Shadows ─────────────────────────────────── */
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
    --shadow-hov: 0 16px 48px rgba(0, 0, 0, 0.70);
    --shadow-green: 0 0 32px rgba(34, 197, 94, 0.18);
    --shadow-cyan: 0 0 32px rgba(34, 211, 238, 0.16);

    /* ── Typography ──────────────────────────────── */
    --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* ── Motion ──────────────────────────────────── */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --dur: 0.28s;

    /* legacy aliases */
    --primary-color: var(--green);
    --secondary-color: var(--cyan);
    --dark-color: var(--text);
    --light-color: #1e293b;
    --whatsapp-color: var(--whatsapp);
    --danger-color: var(--danger);
    --gradient-1: var(--grad-green);
    --gradient-2: var(--grad-cyan);
    --gradient-3: var(--grad-violet);
    --shadow-hover: var(--shadow-hov);
}

/* ==================== */
/* Light Theme Override  */
/* ==================== */
.theme-light {
    --bg0: #f1f5fb;
    --bg1: #ffffff;
    --bg2: #f8fafc;
    --card: rgba(255, 255, 255, 0.92);
    --card-hov: rgba(255, 255, 255, 0.98);
    --line: rgba(15, 23, 42, 0.10);
    --line-glow: rgba(22, 163, 74, 0.18);
    --text: #0f172a;
    --text-dim: #334155;
    --muted: #475569;
    --green: #16a34a;
    --green-dim: #15803d;
    --green-glow: rgba(22, 163, 74, 0.20);
    --cyan: #0284c7;
    --cyan-dim: #0369a1;
    --cyan-glow: rgba(2, 132, 199, 0.20);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    --shadow-hov: 0 16px 48px rgba(0, 0, 0, 0.18);
    --grad-hero:
        radial-gradient(ellipse 1100px 700px at 10% -10%, rgba(59, 130, 246, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse 900px 600px at 110% 30%, rgba(22, 163, 74, 0.12) 0%, transparent 52%),
        linear-gradient(180deg, #ffffff 0%, #f1f5fb 100%);
}

/* ─── Light Theme: Hero & Content Overrides ─── */
.theme-light .hero {
    color: var(--text);
}

.theme-light .hero-title {
    color: var(--text);
}

.theme-light .hero-subtitle {
    color: var(--muted);
}

.theme-light .stat span {
    color: var(--text-dim);
}

.theme-light .hero-tag {
    color: var(--text-dim);
    border-color: rgba(15, 23, 42, 0.18);
    background: rgba(15, 23, 42, 0.06);
}

.theme-light .hero-tag:first-child {
    color: var(--cyan);
    border-color: rgba(2, 132, 199, 0.30);
    background: rgba(2, 132, 199, 0.08);
}

.theme-light .phone-mockup {
    background: linear-gradient(160deg, #e2e8f0, #cbd5e1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.theme-light .phone-screen {
    background: linear-gradient(160deg, #f8fafc, #f1f5f9);
}

.theme-light .connection-indicator {
    background: rgba(22, 163, 74, 0.10);
    border-color: rgba(22, 163, 74, 0.20);
    color: var(--green);
}

.theme-light .feature-icons i {
    color: var(--green);
}

.theme-light .hero::before,
.theme-light .hero::after {
    opacity: 0;
}

/* Light theme: section titles & subtitles */
.theme-light .section-title {
    color: var(--text);
}

.theme-light .section-subtitle {
    color: var(--muted);
}

/* Light theme: step cards */
.theme-light .step {
    background: rgba(0, 0, 0, 0.03);
    border-color: var(--line);
}

.theme-light .step h4 {
    color: var(--text);
}

.theme-light .step p {
    color: var(--muted);
}

/* Light theme: Quick Start steps */
.theme-light .qs-step {
    background: var(--card);
    border-color: var(--line);
}

.theme-light .qs-step-body h4 {
    color: var(--text);
}

.theme-light .qs-step-body p {
    color: var(--muted);
}

/* Light theme: Download section */
.theme-light .download {
    background: linear-gradient(180deg, var(--bg2) 0%, var(--bg0) 100%);
}

.theme-light .download .section-title,
.theme-light .download .section-subtitle {
    color: var(--text) !important;
}

.theme-light .download-card {
    background: var(--card);
    border-color: var(--line);
    color: var(--text);
}

.theme-light .download-card h3,
.theme-light .download-card p {
    color: var(--text);
}

.theme-light .download-card i.fa-android {
    color: var(--green);
}

.theme-light .download-card h4 {
    color: var(--text) !important;
}

.theme-light .download-card .qs-note {
    color: var(--text-dim) !important;
}

.theme-light .download-card label {
    color: var(--text) !important;
}

/* Light theme: Business Hub & pchat sections */
.theme-light .business-hub-section,
.theme-light .pchat-hub-section {
    background: var(--bg2);
}

/* Light theme: quick-start card */
.theme-light .quick-start {
    background: var(--card);
    border-color: var(--line);
}

.theme-light .quick-start h3 {
    color: var(--text);
}

/* ============================== */
/* Smooth theme transitions        */
/* ============================== */
body,
.navbar,
.feature-card,
.sdk-card,
.doc-card,
.qs-step,
.method-card,
.pricing-card,
.response-box,
.private-server-callout,
.private-server-pill,
.download-card,
.quick-start {
    transition: background var(--dur) ease, color var(--dur) ease,
        border-color var(--dur) ease, box-shadow var(--dur) ease;
}

/* ==================== */
/* Body                 */
/* ==================== */
body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg0);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== */
/* Navigation           */
/* ==================== */
.navbar {
    background: rgba(7, 13, 26, 0.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 24px rgba(0, 0, 0, 0.45);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 24px;
    max-width: 1600px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--green);
    letter-spacing: -0.02em;
    text-decoration: none;
}

.nav-brand i {
    font-size: 1.6rem;
    filter: drop-shadow(0 0 8px var(--green-glow));
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 0.2rem;
    align-items: center;
    font-size: 0.875rem;
    flex: 1;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 8px;
    transition: color var(--dur) ease, background var(--dur) ease;
    letter-spacing: 0.01em;
}

.nav-menu a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.nav-menu a.btn-primary {
    color: #052e16;
    background: var(--green);
    padding: 6px 16px;
    font-weight: 700;
}

.nav-menu a.btn-primary:hover {
    background: var(--green-dim);
    color: #fff;
}

.nav-menu a.nav-auth-pill {
    border: 1px solid var(--line-glow);
    background: rgba(34, 197, 94, 0.14);
    color: var(--green);
    font-weight: 700;
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-menu a.nav-auth-pill:hover {
    background: rgba(34, 197, 94, 0.22);
    color: #dcfce7;
}

/* Light theme: keep navbar readable (dark text on light bar). */
.theme-light .navbar {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.08);
}

.theme-light .nav-menu a {
    color: #334155;
}

.theme-light .nav-menu a:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.08);
}

.theme-light .nav-menu a.nav-auth-pill {
    background: rgba(22, 163, 74, 0.14);
    border-color: rgba(22, 163, 74, 0.30);
    color: #166534;
}

.theme-light .nav-menu a.nav-auth-pill:hover {
    background: rgba(22, 163, 74, 0.20);
    color: #14532d;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--muted);
    border-radius: 2px;
    transition: var(--dur);
}

/* ==================== */
/* Buttons              */
/* ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--dur) var(--ease);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--grad-green);
    color: #052e16;
    font-weight: 700;
    box-shadow: 0 4px 16px var(--green-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--green-glow);
    filter: brightness(1.08);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border: 1px solid var(--line);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(34, 197, 94, 0.35);
    transform: translateY(-2px);
    color: #fff;
}

.btn-large {
    padding: 14px 38px;
    font-size: 1.05rem;
}

.btn-small {
    padding: 7px 18px;
    font-size: 0.875rem;
}

/* ==================== */
/* Hero Section         */
/* ==================== */
.hero {
    padding: 130px 0 90px;
    background: var(--grad-hero);
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Subtle animated orbs */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    right: -10%;
    animation: pulse-orb 8s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 5%;
    left: 5%;
    animation: pulse-orb 10s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes pulse-orb {

    0%,
    100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.15) translate(20px, -20px);
        opacity: 1;
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 1.2rem;
}

.hero-title {
    font-size: 3.6rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #fff;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.2rem;
    color: rgba(232, 237, 245, 0.82);
    line-height: 1.75;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat i {
    font-size: 1.5rem;
    color: var(--green);
    filter: drop-shadow(0 0 6px var(--green-glow));
}

.stat span {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(232, 237, 245, 0.9);
}

/* Audience Tags */
.hero-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.hero-tag {
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(148, 163, 184, 0.08);
    color: rgba(255, 255, 255, 0.80);
    letter-spacing: 0.02em;
}

.hero-tag:first-child {
    border-color: rgba(34, 211, 238, 0.35);
    background: rgba(34, 211, 238, 0.10);
    color: #bae6fd;
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    background: linear-gradient(160deg, #141c2e, #0a0f1e);
    border-radius: 42px;
    padding: 14px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.60),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: float 6s ease-in-out infinite;
    max-width: 300px;
    width: 100%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-18px) rotate(1deg);
    }
}

.phone-screen {
    background: linear-gradient(145deg, #0f2a4a 0%, #0b3d2e 100%);
    border-radius: 32px;
    padding: 22px;
    height: 540px;
    position: relative;
    overflow: hidden;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.20) 0%, transparent 70%);
    pointer-events: none;
}

.status-bar {
    height: 18px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 9px;
    margin-bottom: 20px;
}

.connection-indicator {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.22);
    padding: 14px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 28px;
    color: #86efac;
    font-weight: 600;
    font-size: 0.9rem;
}

.connection-indicator i {
    font-size: 1.4rem;
    margin-right: 8px;
}

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

.feature-icons i {
    font-size: 2.2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    padding: 18px;
    border-radius: 14px;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
}

.feature-icons i:hover {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.30);
    transform: scale(1.08);
}

/* ==================== */
/* Section Common       */
/* ==================== */
.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--text);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* ==================== */
/* Features Section     */
/* ==================== */
.features {
    padding: 96px 0;
    background: linear-gradient(180deg, var(--bg0) 0%, var(--bg1) 50%, var(--bg0) 100%);
}

.pchat-hub-section {
    background: linear-gradient(180deg, #080e1c 0%, #0f1a30 50%, #080e1c 100%);
}

.business-hub-section {
    background: linear-gradient(180deg, #060b16 0%, #0b1528 50%, #060b16 100%);
}

.trust-badges {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
}

.trust-badges h3,
.trust-badges h4 {
    color: var(--text);
}

.trust-badges p {
    color: var(--muted);
}

.theme-light .trust-badges {
    background: var(--card);
    border-color: var(--line);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
}

/* ── Feature Card ─── */
.feature-card {
    background: var(--card);
    border: 1px solid var(--line);
    padding: 2rem;
    border-radius: 18px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform var(--dur) var(--ease),
        box-shadow var(--dur) var(--ease),
        border-color var(--dur) var(--ease),
        background var(--dur) ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--dur) ease;
    pointer-events: none;
    border-radius: inherit;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hov), var(--shadow-green);
    border-color: rgba(34, 197, 94, 0.22);
    background: var(--card-hov);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card.featured {
    border-color: rgba(34, 197, 94, 0.30);
    box-shadow: var(--shadow), 0 0 0 1px rgba(34, 197, 94, 0.10);
}

/* ── Feature Icon ─── */
.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--grad-green);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.22);
    transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(-2deg);
}

.feature-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.feature-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.24);
}

.feature-icon.email {
    background: linear-gradient(135deg, #EA4335 0%, #FBBC05 100%);
}

.feature-icon.camera {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.feature-icon.location {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.feature-icon.file {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.feature-icon.system {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.feature-icon.security {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text);
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.65;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.35rem 0;
    color: var(--muted);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.feature-list i {
    color: var(--green);
    font-size: 0.8rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* ==================== */
/* SDK / Platform Cards */
/* ==================== */
.sdk-section {
    padding: 80px 0;
    background: var(--bg0);
}

.sdk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.sdk-card {
    background: var(--card);
    border: 1px solid var(--line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 18px;
    box-shadow: var(--shadow);
    color: var(--text);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) ease, border-color var(--dur) ease;
}

.sdk-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hov);
    border-color: rgba(34, 211, 238, 0.20);
}

.sdk-card h3 {
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.sdk-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.sdk-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    font-size: 2rem;
}

.sdk-icon.python {
    background: linear-gradient(135deg, #3776ab 0%, #ffd343 100%);
    color: #fff;
}

.sdk-icon.cpp {
    background: linear-gradient(135deg, #00599C 0%, #004482 100%);
    color: #fff;
}

.sdk-icon.java {
    background: linear-gradient(135deg, #f89820 0%, #5382a1 100%);
    color: #fff;
}

/* ==================== */
/* Code Blocks          */
/* ==================== */
.code-preview {
    background: #141e30;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.4rem;
    margin: 1.4rem 0;
    overflow-x: auto;
}

.code-preview pre {
    margin: 0;
}

.code-preview code {
    color: #c9d1d9;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.7;
}

.code-block {
    background: #141e30;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    overflow: hidden;
    margin: 1rem 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.30);
}

.code-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: #8b9cb8;
    font-size: 0.82rem;
    font-weight: 600;
}

.code-block-header i {
    margin-right: 6px;
}

.copy-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #8b9cb8;
    cursor: pointer;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.10);
    color: #e2e8f0;
}

.copy-btn.copied {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.code-block pre {
    margin: 0;
    padding: 16px;
    overflow-x: auto;
}

.code-block code {
    color: #e2e8f0;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.7;
    white-space: pre;
}

.code-block .qs-note code {
    background: #e5e7eb !important;
    color: #111827 !important;
    white-space: normal;
}

.code-examples {
    max-width: 800px;
    margin: 0 auto;
}

.code-examples-title {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.code-examples-title i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* Lang Tabs */
.lang-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0;
}

.lang-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-family: var(--font);
}

.lang-tab:hover {
    color: var(--cyan);
}

.lang-tab.active {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
}

.lang-tab i {
    margin-right: 6px;
    font-size: 1rem;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== */
/* Pricing              */
/* ==================== */
.pricing {
    padding: 80px 0;
    background: var(--bg1);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    color: var(--text);
}

.pricing-card.featured {
    transform: scale(1.04);
    border: 2px solid var(--green);
    box-shadow: var(--shadow), var(--shadow-green);
}

.badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--grad-green);
    color: #052e16;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    background: var(--grad-green);
    color: #fff;
}

.pricing-header.traditional {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.pricing-header h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
    margin-right: 2px;
}

.period {
    font-size: 1rem;
    opacity: 0.7;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pricing-features .fa-check {
    color: var(--green);
}

.pricing-features .fa-times {
    color: var(--danger);
    opacity: 0.5;
}

.pricing-footer {
    padding: 0 2rem 2rem;
    text-align: center;
}

/* ── Savings Banner ─── */
.savings-banner {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 211, 238, 0.1) 100%);
    border: 1px solid var(--line-glow);
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 4rem;
    box-shadow: var(--shadow-green);
}

.savings-banner i {
    font-size: 3.5rem;
    color: var(--green);
    filter: drop-shadow(0 0 10px var(--green-glow));
}

.savings-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

/* ==================== */
/* Download Section     */
/* ==================== */
.download {
    padding: 100px 0;
    background: radial-gradient(circle at center, #0c1a38 0%, var(--bg0) 100%);
    position: relative;
    color: #fff;
}

.download-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-hov);
}

.download-card i.fa-android {
    font-size: 4.5rem;
    background: var(--grad-green);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px var(--green-glow));
}

.download-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-section p {
    color: var(--muted);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

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

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--green-glow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 0.85rem;
}

/* ==================== */
/* Responsive Tweak      */
/* ==================== */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .pricing-card.featured {
        transform: scale(1);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

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

/* ========================= */
/* Theme Toggle Button        */
/* ========================= */
#theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

#theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--green);
}

/* ============================ */
/* How It Works — .quick-start  */
/* ============================ */
.quick-start {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.quick-start h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.8rem;
}

.step {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.8rem 1.4rem;
    text-align: center;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) ease, border-color var(--dur) ease;
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hov);
    border-color: rgba(34, 197, 94, 0.25);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--grad-green);
    color: #052e16;
    font-weight: 800;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    box-shadow: 0 4px 12px var(--green-glow);
}

.step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.step h4 i {
    margin-right: 6px;
    color: var(--green);
}

.step p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.55;
}

/* ============================ */
/* Quick Start Section (5-step) */
/* ============================ */
.quickstart-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg0) 0%, var(--bg1) 50%, var(--bg0) 100%);
}

.qs-steps {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}

.qs-step {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform var(--dur) var(--ease), border-color var(--dur) ease;
}

.qs-step:hover {
    border-color: rgba(34, 197, 94, 0.25);
    transform: translateX(4px);
}

.qs-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--grad-green);
    color: #052e16;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-shadow: 0 3px 10px var(--green-glow);
}

.qs-step-body h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text);
}

.qs-step-body p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

.qs-step-body a {
    color: var(--green);
    text-decoration: none;
    font-weight: 600;
}

.qs-step-body a:hover {
    text-decoration: underline;
}

.qs-note {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ============================ */
/* Download Grid                */
/* ============================ */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* ============================ */
/* Responsive: Steps            */
/* ============================ */
@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
    }
}
