/* ===== ConoStream - Premium SDK Documentation ===== */

:root {
    /* Premium Dark Theme */
    --bg-primary: #030712;
    --bg-secondary: #0f1419;
    --bg-tertiary: #1a1f2e;
    --bg-card: #111827;
    --bg-card-hover: #1f2937;

    /* Brand Colors - Vibrant Gradient */
    --brand-primary: #3b82f6;
    --brand-secondary: #8b5cf6;
    --brand-tertiary: #06b6d4;
    --brand-accent: #22d3ee;
    --brand-glow: #60a5fa;

    /* Accent Colors */
    --accent-blue: #3b82f6;
    --accent-purple: #a855f7;
    --accent-cyan: #22d3ee;
    --accent-green: #10b981;
    --accent-orange: #f97316;
    --accent-pink: #ec4899;
    --accent-yellow: #fbbf24;

    /* Gradients - Vibrant */
    --gradient-brand: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-glow: linear-gradient(135deg, rgba(59, 130, 246, 0.5) 0%, rgba(139, 92, 246, 0.5) 100%);
    --gradient-card: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.02) 100%);
    --gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 119, 198, 0.3), transparent);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, rgba(139, 92, 246, 0.15) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, rgba(6, 182, 212, 0.1) 0px, transparent 50%);

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-link: #60a5fa;

    /* Borders */
    --border-default: rgba(148, 163, 184, 0.1);
    --border-light: rgba(148, 163, 184, 0.15);
    --border-emphasis: rgba(148, 163, 184, 0.25);
    --border-glow: rgba(59, 130, 246, 0.5);

    /* Code */
    --code-bg: #0c1222;
    --code-border: rgba(148, 163, 184, 0.1);

    /* Shadows & Glows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
    --glow-blue: 0 0 40px rgba(59, 130, 246, 0.4);
    --glow-purple: 0 0 40px rgba(139, 92, 246, 0.4);
    --glow-cyan: 0 0 40px rgba(6, 182, 212, 0.4);
    --glow-sm: 0 0 20px rgba(59, 130, 246, 0.2);

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-primary);
    font-size: 15px;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

code, pre {
    font-family: 'Fira Code', 'SF Mono', 'Monaco', 'Consolas', monospace;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.025em;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-brand);
    color: white;
    box-shadow: var(--glow-sm), var(--shadow-md);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-blue), var(--shadow-lg);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--brand-primary);
    box-shadow: var(--glow-sm);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-default);
    z-index: 1000;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    box-shadow: var(--glow-sm);
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 4px;
}

.nav-links li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all var(--transition-fast);
}

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

.nav-links li a.active {
    color: var(--brand-accent);
    background: rgba(59, 130, 246, 0.1);
}

/* ===== Hero Section ===== */
.hero {
    padding: 160px 24px 100px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: var(--gradient-hero);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

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

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-code {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 28px;
    text-align: left;
    box-shadow: var(--shadow-xl);
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero-code::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-brand);
    opacity: 0.5;
}

.hero-code pre {
    margin: 0;
}

.hero-code code {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.9;
}

/* Code highlighting - Vibrant */
.keyword { color: #f472b6; font-weight: 500; }
.string { color: #34d399; }
.comment { color: #64748b; font-style: italic; }
.function { color: #60a5fa; }
.number { color: #fbbf24; }
.class { color: #c084fc; }

/* ===== Stats Section ===== */
.stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border-default);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

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

/* ===== Features Section ===== */
.features {
    padding: 100px 24px;
    background: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

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

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--gradient-card);
    background-color: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    padding: 32px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--border-emphasis);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--glow-sm);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-brand);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    box-shadow: var(--glow-sm);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== Quick Start Section ===== */
.quickstart {
    padding: 100px 24px;
    background: var(--bg-primary);
    position: relative;
}

.steps {
    max-width: 750px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-brand);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--glow-sm);
}

.step-content {
    flex: 1;
    padding-top: 8px;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.step-content pre {
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 20px;
    overflow-x: auto;
    position: relative;
}

.step-content pre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-brand);
    opacity: 0.3;
}

.step-content code {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.8;
}

.cta-box {
    background: var(--gradient-card);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
    max-width: 700px;
    margin: 60px auto 0;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-brand);
}

.cta-box p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ===== Use Cases Section ===== */
.usecases {
    padding: 100px 24px;
    background: var(--bg-secondary);
}

.usecase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.usecase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 14px;
    padding: 28px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.usecase-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.usecase-card:hover {
    border-color: var(--border-emphasis);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.usecase-card:hover::after {
    transform: scaleX(1);
}

.usecase-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.usecase-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-default);
    color: var(--text-primary);
    padding: 80px 24px 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-brand);
    opacity: 0.3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto 60px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

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

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--brand-accent);
}

.footer-bottom {
    border-top: 1px solid var(--border-default);
    padding-top: 32px;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== Documentation Pages ===== */
.docs-layout {
    display: flex;
    padding-top: 72px;
    min-height: 100vh;
    background: var(--bg-primary);
}

.docs-sidebar {
    width: 280px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-default);
    padding: 28px 20px;
    position: fixed;
    top: 72px;
    bottom: 0;
    overflow-y: auto;
}

.docs-sidebar h3 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 10px;
    margin-top: 28px;
    padding: 0 12px;
}

.docs-sidebar h3:first-child {
    margin-top: 0;
}

.docs-sidebar ul {
    margin-bottom: 8px;
}

.docs-sidebar a {
    display: block;
    padding: 9px 12px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all var(--transition-fast);
    border-left: 2px solid transparent;
}

.docs-sidebar a:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.docs-sidebar a.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--brand-accent);
    border-left-color: var(--brand-primary);
}

.docs-content {
    flex: 1;
    margin-left: 280px;
    padding: 48px 64px;
    max-width: calc(280px + 850px);
}

.docs-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.docs-content > p:first-of-type {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.docs-content h2 {
    font-size: 26px;
    font-weight: 600;
    margin-top: 56px;
    margin-bottom: 20px;
    padding-top: 28px;
    border-top: 1px solid var(--border-default);
    color: var(--text-primary);
}

.docs-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.docs-content p {
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.8;
}

.docs-content pre {
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
    position: relative;
}

.docs-content pre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-brand);
    opacity: 0.3;
}

.docs-content code {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.8;
}

.docs-content p code {
    background: var(--bg-tertiary);
    color: var(--brand-accent);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 13px;
    border: 1px solid var(--border-default);
}

.docs-content ul, .docs-content ol {
    margin: 18px 0;
    padding-left: 24px;
}

.docs-content li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.7;
}

.docs-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-default);
}

.docs-content th, .docs-content td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-default);
}

.docs-content th {
    background: var(--bg-secondary);
    font-weight: 600;
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.docs-content td {
    color: var(--text-secondary);
    background: var(--bg-card);
}

.docs-content td code {
    background: var(--bg-tertiary);
    color: var(--brand-accent);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.docs-content a {
    color: var(--brand-accent);
}

.docs-content a:hover {
    text-decoration: underline;
}

/* Alert boxes */
.alert {
    padding: 18px 20px;
    border-radius: 12px;
    margin: 24px 0;
    display: flex;
    gap: 14px;
    border: 1px solid;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
}

.alert-info {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
}

.alert-info::before {
    background: var(--accent-blue);
}

.alert-warning {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.2);
}

.alert-warning::before {
    background: var(--accent-yellow);
}

.alert-success {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

.alert-success::before {
    background: var(--accent-green);
}

.alert p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

.alert strong {
    color: var(--text-primary);
}

/* ===== Pricing Page ===== */
.pricing-header {
    padding: 160px 24px 80px;
    text-align: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.pricing-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}

.pricing-header::after {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 80%;
    background: var(--gradient-hero);
    pointer-events: none;
}

.pricing-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto 100px;
    padding: 0 24px;
}

.pricing-card {
    background: var(--gradient-card);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.pricing-card:hover {
    border-color: var(--border-emphasis);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.pricing-card.featured {
    border-color: var(--brand-primary);
    box-shadow: var(--glow-blue);
    transform: scale(1.02);
}

.pricing-card.featured::before {
    opacity: 1;
}

.pricing-card.featured::after {
    content: 'MOST POPULAR';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-brand);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 0 0 10px 10px;
    letter-spacing: 0.5px;
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.pricing-card .price {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 20px 0;
}

.pricing-card .price span {
    font-size: 16px;
    -webkit-text-fill-color: var(--text-muted);
    font-weight: 400;
}

.pricing-card ul {
    text-align: left;
    margin: 28px 0;
}

.pricing-card li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 14px;
    border-bottom: 1px solid var(--border-default);
}

.pricing-card li:last-child {
    border-bottom: none;
}

/* ===== Platform Badges ===== */
.platform-badges {
    display: flex;
    gap: 10px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.badge.android {
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.1);
}

.badge.ios {
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

/* ===== SDK Cards ===== */
.sdk-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 28px 0;
}

.sdk-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: 14px;
    padding: 24px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.sdk-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.sdk-card:hover {
    border-color: var(--border-emphasis);
    box-shadow: var(--shadow-md);
}

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

.sdk-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.sdk-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

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

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

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nav-links {
        display: none;
    }

    .docs-sidebar {
        display: none;
    }

    .docs-content {
        margin-left: 0;
        padding: 28px;
    }

    .stats {
        flex-direction: column;
        gap: 24px;
    }

    .sdk-cards {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 5px;
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-emphasis);
}

/* ===== Selection ===== */
::selection {
    background: rgba(59, 130, 246, 0.4);
    color: var(--text-primary);
}

/* ===== Focus States ===== */
:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: var(--glow-sm);
    }
    50% {
        box-shadow: var(--glow-blue);
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.feature-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Animated gradient for special elements */
.btn-primary {
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

/* Glass effect */
.glass {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
}
