/* ============================================
   DELIVERY DATA — Design System & Styles
   ============================================ */

/* === CSS Variables (Dark Theme - Default) === */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #1a1a24;
    --bg-card: #15151f;
    --bg-card-hover: #1c1c28;

    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-tertiary: #6b6b80;

    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #a855f7;
    --accent-glow: rgba(99, 102, 241, 0.15);

    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.2);

    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;

    --container-max: 1200px;
    --container-padding: 24px;

    --input-bg: var(--bg-primary);
}

/* === Light Theme === */
[data-theme='light'] {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #eeeef2;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f8fc;

    --text-primary: #1a1a2e;
    --text-secondary: #555570;
    --text-tertiary: #8888a0;

    --accent-glow: rgba(99, 102, 241, 0.08);

    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.1);

    --input-bg: #f5f5f7;
}

[data-theme='light'] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
}

[data-theme='light'] .nav-links.open {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme='light'] .hero-grid {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}

[data-theme='light'] .hero-glow {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent 70%);
}

[data-theme='light'] .hero-glow-2 {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06), transparent 70%);
}

[data-theme='light'] .mobile-toggle span {
    background: var(--text-primary);
}

[data-theme='light'] .feature-card,
[data-theme='light'] .value-card,
[data-theme='light'] .team-card,
[data-theme='light'] .pricing-card,
[data-theme='light'] .metric-card,
[data-theme='light'] .contact-info-card,
[data-theme='light'] .contact-form-wrapper,
[data-theme='light'] .service-visual-card,
[data-theme='light'] .blog-card,
[data-theme='light'] .job-card,
[data-theme='light'] .doc-card,
[data-theme='light'] .case-card,
[data-theme='light'] .legal-content {
    box-shadow: var(--shadow-sm);
}

[data-theme='light'] .trusted-logo {
    color: var(--text-tertiary);
}

[data-theme='light'] .cta-card {
    box-shadow: var(--shadow-lg);
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.05);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    width: 18px;
    height: 18px;
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme='light'] .theme-toggle .icon-sun { display: block; }
[data-theme='light'] .theme-toggle .icon-moon { display: none; }

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

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

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

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}

/* === Container === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 500;
    font-size: 14px;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-decoration: none;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.45);
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.05);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
}

.btn-white {
    background: white;
    color: var(--bg-primary);
    font-weight: 600;
}

.btn-white:hover {
    background: #f0f0f5;
    transform: translateY(-1px);
}

.btn-ghost-white {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-full {
    width: 100%;
}

/* === Gradient Text === */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary), #e879f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Section Helpers === */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-glow);
    color: var(--accent-primary);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === Page System === */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent-primary);
}

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

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

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

[data-theme='light'] .nav-link:hover {
    background: rgba(0, 0, 0, 0.04);
}

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

[data-theme='light'] .nav-link.active {
    background: rgba(0, 0, 0, 0.06);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-glow-2 {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent 70%);
    top: auto;
    bottom: -200px;
    left: -100px;
    right: auto;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--accent-primary);
    margin-bottom: 32px;
    animation: fadeInDown 0.6s ease;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    animation: fadeInUp 0.7s ease;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
    animation: fadeInUp 0.9s ease;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 1s ease;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-value {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-tertiary);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   TRUSTED BY
   ============================================ */
.trusted {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trusted-label {
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-tertiary);
    margin-bottom: 32px;
}

.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trusted-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-tertiary);
    opacity: 0.5;
    transition: opacity var(--transition-base);
    letter-spacing: -0.5px;
}

.trusted-logo:hover {
    opacity: 0.8;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
    padding: 100px 0;
}

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

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

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

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--icon-color) 10%, transparent);
    color: var(--icon-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 40px 0 100px;
}

.cta-card {
    position: relative;
    padding: 72px 48px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: var(--radius-xl);
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.cta-card h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    color: white;
}

.cta-card p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
    position: relative;
    color: white;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}

/* ============================================
   PAGE HERO (subpages)
   ============================================ */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top center, rgba(99, 102, 241, 0.08), transparent 60%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
}

.page-hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.page-hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story {
    padding: 0 0 100px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.metric-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 6px;
}

.metric-label {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* Values */
.about-values {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

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

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

.value-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* Team */
.about-team {
    padding: 100px 0;
}

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

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

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

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--avatar-color), color-mix(in srgb, var(--avatar-color) 60%, #e879f9));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.team-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.team-bio {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-list {
    padding: 0 0 100px;
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 100px;
}

.service-block:last-child {
    margin-bottom: 0;
}

.service-block.reverse {
    direction: rtl;
}

.service-block.reverse > * {
    direction: ltr;
}

.service-number {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.service-info h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-info p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0.6;
}

/* Service Visuals */
.service-visual-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.visual-header {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.visual-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.visual-content {
    padding: 32px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Route visualization */
.visual-route {
    position: relative;
    width: 100%;
    height: 200px;
}

.route-line {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.1), transparent);
}

.route-point {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0.6;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

.route-point.active {
    opacity: 1;
    width: 16px;
    height: 16px;
    animation: pulse 2s ease-in-out infinite;
}

/* Bar chart visualization */
.visual-bars {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    height: 160px;
    width: 100%;
    padding: 0 16px;
}

.bar {
    flex: 1;
    height: var(--bar-height);
    background: linear-gradient(180deg, var(--bar-color), color-mix(in srgb, var(--bar-color) 40%, transparent));
    border-radius: 6px 6px 0 0;
    position: relative;
    animation: barGrow 1s ease forwards;
    transform-origin: bottom;
}

.bar span {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: var(--text-tertiary);
}

@keyframes barGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* Timeline visualization */
.visual-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-tertiary);
}

.timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-hover);
    flex-shrink: 0;
}

.timeline-item.done .timeline-dot {
    background: var(--accent-primary);
}

.timeline-item.done {
    color: var(--text-secondary);
}

.timeline-item.active .timeline-dot {
    background: var(--accent-primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.timeline-item.active {
    color: var(--text-primary);
    font-weight: 500;
}

/* Code visualization */
.visual-code {
    width: 100%;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 13px;
    line-height: 1.8;
}

.code-keyword { color: #c084fc; }
.code-func { color: #6366f1; }
.code-string { color: #34d399; }
.code-bool { color: #f59e0b; }

/* ============================================
   PRICING PAGE
   ============================================ */
.pricing-cards {
    padding: 0 0 100px;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.toggle-label {
    font-size: 14px;
    color: var(--text-tertiary);
    transition: color var(--transition-base);
    cursor: pointer;
}

.toggle-label.active {
    color: var(--text-primary);
}

.save-badge {
    padding: 2px 8px;
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
}

.toggle-switch {
    width: 48px;
    height: 26px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    position: relative;
    transition: all var(--transition-base);
}

.toggle-knob {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-primary);
    top: 2px;
    left: 2px;
    transition: all var(--transition-base);
}

.toggle-switch.active .toggle-knob {
    left: 24px;
}

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

.pricing-card {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
}

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

.pricing-card.popular {
    border-color: var(--accent-primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05), var(--bg-card));
    box-shadow: var(--shadow-glow);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-card-header h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.price-amount {
    font-size: 40px;
    font-weight: 700;
}

.price-period {
    font-size: 14px;
    color: var(--text-tertiary);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.pricing-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.pricing-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 13px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: color var(--transition-base);
}

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

.faq-question svg {
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: var(--text-tertiary);
}

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

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

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

.faq-answer p {
    padding-bottom: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 0 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    color: var(--accent-primary);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5L6 8L9 5' stroke='%236b6b80' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 12px;
    color: var(--text-tertiary);
    text-align: center;
}

.form-note a {
    color: var(--accent-primary);
    text-decoration: underline;
}

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-grid-section {
    padding: 0 0 100px;
}

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

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
}

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

.blog-card-image {
    height: 180px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
    position: relative;
    overflow: hidden;
}

.blog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.3));
}

.blog-card-image .blog-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    color: rgba(255,255,255,0.4);
}

.blog-card-body {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-tag {
    padding: 3px 10px;
    background: var(--accent-glow);
    color: var(--accent-primary);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
}

.blog-date {
    font-size: 12px;
    color: var(--text-tertiary);
}

.blog-card-body h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-body p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-read-more {
    font-size: 13px;
    color: var(--accent-primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ============================================
   CAREERS PAGE
   ============================================ */
.careers-intro {
    padding: 0 0 80px;
}

.careers-intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

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

.careers-perk:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
}

.perk-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.careers-perk h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.careers-perk p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.jobs-section {
    padding: 80px 0 100px;
    background: var(--bg-secondary);
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 48px;
}

.job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    gap: 24px;
}

.job-card:hover {
    border-color: var(--accent-primary);
    transform: translateX(4px);
}

.job-info h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
}

.job-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.job-meta span {
    font-size: 13px;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.job-meta span::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-tertiary);
}

.job-meta span:first-child::before {
    display: none;
}

/* ============================================
   DOCUMENTATION PAGE
   ============================================ */
.docs-grid-section {
    padding: 0 0 100px;
}

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

.doc-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
}

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

.doc-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--accent-glow);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.doc-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.doc-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.doc-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doc-links a {
    font-size: 13px;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.doc-links a:hover {
    gap: 10px;
}

/* ============================================
   CASE STUDIES PAGE
   ============================================ */
.cases-grid-section {
    padding: 0 0 100px;
}

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

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.case-card-header {
    padding: 32px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    position: relative;
}

.case-card-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.case-card-header p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.case-card-body {
    padding: 32px;
}

.case-card-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.case-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

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

.case-stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 2px;
}

.case-stat-label {
    font-size: 11px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   LEGAL PAGES (Privacy & Terms)
   ============================================ */
.legal-section {
    padding: 0 0 100px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.legal-content .legal-updated {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content ul li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    list-style: disc;
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--accent-primary);
    text-decoration: underline;
}

/* ============================================
   STATUS PAGE
   ============================================ */
.status-section {
    padding: 0 0 100px;
}

.status-overview {
    max-width: 800px;
    margin: 0 auto 48px;
    padding: 32px;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: var(--radius-lg);
    text-align: center;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #34d399;
    margin-bottom: 8px;
}

.status-indicator::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #34d399;
    animation: pulse 2s ease-in-out infinite;
}

.status-overview p {
    font-size: 14px;
    color: var(--text-secondary);
}

.status-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.status-item-name {
    font-size: 15px;
    font-weight: 500;
}

.status-item-badge {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.status-item-badge.operational {
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
}

.status-uptime {
    display: flex;
    gap: 2px;
    margin: 0 24px;
    flex: 1;
    max-width: 200px;
}

.uptime-bar {
    flex: 1;
    height: 24px;
    background: rgba(52, 211, 153, 0.3);
    border-radius: 2px;
}

.uptime-bar:first-child {
    border-radius: 4px 2px 2px 4px;
}

.uptime-bar:last-child {
    border-radius: 2px 4px 4px 2px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-top: 16px;
    margin-bottom: 24px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-tertiary);
    transition: all var(--transition-fast);
    background: rgba(255, 255, 255, 0.04);
}

[data-theme='light'] .social-link {
    background: rgba(0, 0, 0, 0.04);
}

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

[data-theme='light'] .social-link:hover {
    background: rgba(0, 0, 0, 0.08);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--text-tertiary);
    padding: 4px 0;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

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

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

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

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

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

    .service-block.reverse {
        direction: ltr;
    }

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

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

@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
    }

    .nav-links {
        display: none;
    }

    .nav-actions .btn {
        display: none;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-actions .theme-toggle {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 16px var(--container-padding);
        border-bottom: 1px solid var(--border-color);
    }

    [data-theme='light'] .nav-links.open {
        background: rgba(255, 255, 255, 0.95);
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

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

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

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

    .features-grid, .blog-grid, .docs-grid, .careers-intro-grid {
        grid-template-columns: 1fr;
    }

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

    .values-grid, .cases-grid {
        grid-template-columns: 1fr;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .trusted-logos {
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

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

    .contact-form-wrapper {
        padding: 24px;
    }

    .legal-content {
        padding: 24px;
    }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .status-uptime {
        display: none;
    }

    .case-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}
