/* ============================================
   AIVision Pro — Professional AI Solutions Website
   ============================================ */

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

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #8b5cf6;
    --bg: #09090b;
    --bg-card: #18181b;
    --bg-card-hover: #1f1f23;
    --bg-elevated: #27272a;
    --text: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border: #27272a;
    --border-light: #3f3f46;
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.4);
    --transition: 0.2s ease;
}

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

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

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

.text-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--accent), #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    will-change: transform;
    transform: translateZ(0);
}

.navbar.scrolled,
.navbar.navbar-solid {
    background: rgba(9, 9, 11, 0.85);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.25rem;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a.active {
    color: var(--text);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 1px;
}

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

.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);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.lang-toggle:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text);
    border-color: var(--primary);
}

.lang-flag {
    font-size: 1rem;
    line-height: 1;
}

.lang-code {
    letter-spacing: 0.05em;
}

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

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

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

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

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

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.btn-ghost:hover {
    color: var(--text);
    border-color: var(--text-muted);
    background: rgba(255,255,255,0.05);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #a78bfa);
    color: white;
    border: none;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #7c3aed, var(--accent));
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(139,92,246,0.3);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   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;
    overflow: hidden;
}

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

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    opacity: 0.15;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
    opacity: 0.1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 0.8125rem;
    color: var(--primary-light);
    margin-bottom: 24px;
}

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

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

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

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

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
}

.hero-stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 4px;
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ============================================
   Trusted By
   ============================================ */
.trusted-by {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trusted-label {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

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

.trusted-logo {
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.6;
    transition: opacity var(--transition);
    white-space: nowrap;
}

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

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-card);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
}

/* ============================================
   Sectors Page
   ============================================ */

.sectors-hero {
    position: relative;
    padding: 140px 0 60px;
    text-align: center;
    overflow: hidden;
}

.sectors-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

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

.sector-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sector-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sector-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(99,102,241,0.15);
}

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

.sector-card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1;
}

.sector-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.sector-card > p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.sector-card-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.sector-card-stat {
    flex: 1;
    background: var(--bg-elevated);
    border-radius: var(--radius);
    padding: 8px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sector-card-stat small {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.68rem;
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted);
    margin-top: 2px;
}

.sector-card-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-light);
    transition: color var(--transition);
}

.sector-card:hover .sector-card-link {
    color: var(--accent);
}

/* Sector Detail Page */
.sector-detail-hero {
    position: relative;
    padding: 140px 0 60px;
    overflow: hidden;
}

.sector-detail-hero .hero-bg {
    z-index: 0;
}

.sector-detail-header {
    position: relative;
    z-index: 1;
    text-align: center;
}

.sector-detail-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    line-height: 1;
}

.sector-detail-header h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.sector-detail-header > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 32px;
}

.sector-detail-stats {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.sector-detail-stat {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 32px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.sector-detail-stat .stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sector-detail-stat .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.sector-solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

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

.sector-solution-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.sector-solution-card .sol-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    line-height: 1;
}

.sector-solution-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.sector-solution-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.sector-examples-section {
    margin-top: 0;
}

.sector-example-full {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 32px;
}

.sector-example-full .example-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.sector-example-full .example-badge.implemented {
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    color: var(--primary-light);
}

.sector-example-full .example-badge.opportunity {
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.2);
    color: var(--success);
}

.sector-example-full h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.sector-example-full > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 800px;
}

.sector-example-results {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.sector-example-result {
    background: var(--bg-elevated);
    border-radius: var(--radius);
    padding: 16px 24px;
    text-align: center;
    min-width: 120px;
    flex: 1;
}

.sector-example-result .res-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success);
}

.sector-example-result .res-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.sector-cta-section {
    text-align: center;
    padding: 80px 0;
}

.sector-cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.sector-cta-section p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.sector-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.sector-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    transition: color var(--transition);
}

.sector-back-link:hover {
    color: var(--text);
}

@media (max-width: 1024px) {
    .sectors-card-grid { grid-template-columns: repeat(2, 1fr); }
    .sector-solutions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .sectors-card-grid { grid-template-columns: 1fr; }
    .sectors-hero h1,
    .sector-detail-header h1 { font-size: 2rem; }
    .sector-detail-stats { flex-direction: column; align-items: center; }
    .sector-solutions-grid { grid-template-columns: 1fr; }
    .sector-example-full { padding: 24px; }
    .sector-example-results { flex-direction: column; }
}

/* ============================================
   Industry Explorer
   ============================================ */

.industry-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
}

.industry-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.industry-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    color: var(--text);
}

.industry-btn.active {
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.15));
    border-color: var(--primary);
    color: var(--text);
    box-shadow: 0 0 20px rgba(99,102,241,0.15);
}

.industry-btn-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.industry-content {
    animation: industryFadeIn 0.4s ease;
}

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

.industry-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.industry-overview {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.industry-overview h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.industry-overview-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.industry-stat-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.industry-mini-stat {
    flex: 1;
    background: var(--bg-elevated);
    border-radius: var(--radius);
    padding: 14px;
    text-align: center;
}

.industry-mini-stat .mini-stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.industry-mini-stat .mini-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.industry-solutions-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.industry-solutions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.industry-solution-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.industry-solution-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
}

.industry-solution-item:nth-child(2) .industry-solution-icon {
    background: rgba(34,197,94,0.1);
    border-color: rgba(34,197,94,0.2);
}

.industry-solution-item:nth-child(3) .industry-solution-icon {
    background: rgba(245,158,11,0.1);
    border-color: rgba(245,158,11,0.2);
}

.industry-solution-item:nth-child(4) .industry-solution-icon {
    background: rgba(139,92,246,0.1);
    border-color: rgba(139,92,246,0.2);
}

.industry-solution-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.industry-solution-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.industry-examples {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.industry-example-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.industry-example-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.industry-example-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.industry-example-card > p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.industry-example-results {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.industry-example-result {
    background: var(--bg-elevated);
    border-radius: var(--radius);
    padding: 10px 16px;
    flex: 1;
    min-width: 100px;
    text-align: center;
}

.industry-example-result .result-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--success);
}

.industry-example-result .result-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.industry-cta-row {
    margin-top: 32px;
    text-align: center;
}

.industry-cta-row .btn {
    display: inline-flex;
}

@media (max-width: 1024px) {
    .industry-panel { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .industry-selector { gap: 8px; }
    .industry-btn { padding: 10px 16px; font-size: 0.85rem; }
    .industry-stat-bar { flex-direction: column; gap: 8px; }
    .industry-example-results { flex-direction: column; }
}

@media (max-width: 480px) {
    .industry-btn { padding: 8px 12px; font-size: 0.8rem; gap: 6px; }
    .industry-btn-icon { font-size: 1.1rem; }
}

/* ============================================
   Services Grid
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.service-icon-green { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.service-icon-purple { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
.service-icon-orange { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.service-icon-red { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.service-icon-cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.service-tags span {
    padding: 4px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   Process Flow
   ============================================ */
.process-flow {
    max-width: 700px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
}

.process-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    line-height: 1;
}

.process-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-content p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

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

.process-list li {
    position: relative;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 6px;
}

.process-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

.process-duration {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--primary-light);
    font-weight: 600;
}

.process-connector {
    display: flex;
    justify-content: center;
    padding: 8px 0;
    color: var(--border-light);
}

/* ============================================
   Case Studies
   ============================================ */
.case-study {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 48px;
}

.case-study-header {
    padding: 40px 40px 24px;
    border-bottom: 1px solid var(--border);
}

.case-study-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 100px;
    font-size: 0.8125rem;
    color: var(--primary-light);
    margin-bottom: 12px;
}

.case-study-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.case-study-subtitle {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.case-study-body {
    padding: 40px;
}

.case-study-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.case-study-challenge,
.case-study-solution {
    padding: 24px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
}

.case-study-challenge h4,
.case-study-solution h4 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.case-study-challenge h4 { color: var(--error); }
.case-study-solution h4 { color: var(--success); }

.case-study-challenge p,
.case-study-solution p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.case-study-results h4,
.case-study-chart-area h4,
.case-study-flow h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.result-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.result-card {
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
}

.result-card-green { background: rgba(34, 197, 94, 0.08); border: 1px solid rgba(34, 197, 94, 0.2); }
.result-card-blue { background: rgba(59, 130, 246, 0.08); border: 1px solid rgba(59, 130, 246, 0.2); }
.result-card-purple { background: rgba(139, 92, 246, 0.08); border: 1px solid rgba(139, 92, 246, 0.2); }
.result-card-orange { background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.2); }

.result-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.result-card-green .result-number { color: #4ade80; }
.result-card-blue .result-number { color: #60a5fa; }
.result-card-purple .result-number { color: #a78bfa; }
.result-card-orange .result-number { color: #fbbf24; }

.result-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.result-detail {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 24px;
}

.chart-container-sm {
    height: 260px;
}

.case-study-chart-area {
    margin-bottom: 40px;
}

/* Flow Diagram */
.case-study-flow {
    margin-bottom: 40px;
}

.flow-diagram {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 16px 0;
}

.flow-step {
    flex: 1;
    min-width: 140px;
    padding: 20px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all var(--transition);
}

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

.flow-icon {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.flow-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.flow-arrow {
    font-size: 1.25rem;
    color: var(--primary-light);
    flex-shrink: 0;
    font-weight: 700;
}

/* Quote */
.case-study-quote {
    padding: 24px 32px;
    background: rgba(99, 102, 241, 0.05);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.case-study-quote blockquote {
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 8px;
}

.case-study-quote cite {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: normal;
}

/* ============================================
   Financial Section
   ============================================ */
.financial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.financial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.financial-header h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.fin-summary-item {
    text-align: center;
    padding: 32px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.fin-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.fin-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.fin-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ============================================
   ROI Calculator
   ============================================ */
.roi-calculator {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.roi-input-group {
    margin-bottom: 20px;
}

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

.roi-input-group input,
.roi-input-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: border-color var(--transition);
}

.roi-input-group input:focus,
.roi-input-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.roi-btn {
    width: 100%;
    margin-top: 8px;
}

.roi-results {
    background: rgba(99, 102, 241, 0.03);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.roi-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.roi-result-header h4 {
    font-size: 1rem;
    font-weight: 700;
}

.roi-result-badge {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--primary-light);
}

.roi-result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.roi-result-item {
    padding: 16px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.roi-result-item.highlight {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
}

.roi-result-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.roi-result-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.roi-result-item.highlight .roi-result-value {
    color: var(--primary-light);
}

.roi-chart-area {
    height: 200px;
    margin-bottom: 16px;
}

.roi-chart-area canvas {
    width: 100% !important;
    height: 100% !important;
}

.roi-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ============================================
   Stats
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.stat-card {
    padding: 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
}

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

.stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

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

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

.stats-chart-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.stats-chart-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* ============================================
   Tech Grid
   ============================================ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tech-category h4 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tech-item {
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all var(--transition);
}

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

/* ============================================
   CTA Section
   ============================================ */
.section-cta {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(99, 102, 241, 0.08) 50%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

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

.cta-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-content > p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 48px;
    line-height: 1.7;
}

.cta-form {
    text-align: left;
    background: linear-gradient(145deg, rgba(24, 24, 27, 0.95), rgba(24, 24, 27, 0.8));
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-xl);
    padding: 48px;
    margin-bottom: 32px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(99, 102, 241, 0.05);
}

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

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(9, 9, 11, 0.6);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.25s ease;
    resize: vertical;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    background: rgba(9, 9, 11, 0.8);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%2371717a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text);
}

.form-group textarea {
    min-height: 120px;
}

.cta-form .btn-primary {
    padding: 16px 32px;
    font-size: 1.0625rem;
    margin-top: 8px;
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.cta-trust-item svg {
    color: var(--success);
}

/* ============================================
   Contact Page
   ============================================ */

.contact-hero {
    position: relative;
    padding: 140px 0 60px;
    text-align: center;
    overflow: hidden;
}

.contact-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.contact-section {
    padding-top: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 40px;
    align-items: start;
}

.contact-form-wrapper .cta-form {
    margin-bottom: 24px;
}

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

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition);
}

.contact-info-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(139,92,246,0.1));
    border: 1px solid rgba(99,102,241,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    margin-bottom: 14px;
}

.contact-info-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.contact-info-card a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}

.contact-info-card a:hover {
    color: var(--primary-light);
}

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

.contact-map-section {
    padding-top: 0;
}

.contact-map-placeholder {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    background-image: radial-gradient(circle at 50% 50%, rgba(99,102,241,0.05) 0%, transparent 70%);
}

.contact-map-content {
    color: var(--text-muted);
}

.contact-map-content svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.contact-map-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.contact-map-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-sidebar { flex-direction: row; flex-wrap: wrap; }
    .contact-info-card { flex: 1; min-width: 200px; }
}

@media (max-width: 768px) {
    .contact-hero h1 { font-size: 2rem; }
    .contact-info-sidebar { flex-direction: column; }
    .contact-map-placeholder { padding: 40px 24px; }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 16px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 4px 0;
    transition: color var(--transition);
}

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

.footer-address {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 8px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

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

/* ============================================
   Animations
   ============================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   Floating Section Navigator — v3
   ============================================ */

.snav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%) translateX(30px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.snav.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(-50%) translateX(0);
}

/* Glass pill container */
.snav-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: rgba(14, 14, 16, 0.75);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    padding: 8px 6px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.03) inset,
                0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

/* Arrows */
.snav-arrow {
    width: 32px;
    height: 28px;
    border: none;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.snav-arrow:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.snav-arrow:disabled {
    opacity: 0.2;
    cursor: default;
    pointer-events: none;
}

.snav-arrow:active {
    transform: scale(0.9);
}

/* Track */
.snav-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 4px 0;
    position: relative;
}

/* Vertical rail behind dots */
.snav-track::before {
    content: '';
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 1px;
}

/* Animated glow rail */
.snav-glow-rail {
    position: absolute;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 1px;
    transition: top 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5),
                0 0 20px rgba(139, 92, 246, 0.2);
    z-index: 0;
}

/* Dot items */
.snav-dot {
    width: 32px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 1;
    border: none;
    background: none;
    padding: 0;
}

.snav-dot-inner {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.snav-dot:hover .snav-dot-inner {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.3);
}

/* Visited */
.snav-dot.visited .snav-dot-inner {
    background: var(--primary);
    opacity: 0.5;
    width: 6px;
    height: 6px;
}

/* Active dot — large ring with glow */
.snav-dot.active .snav-dot-inner {
    width: 12px;
    height: 12px;
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2),
                0 0 16px rgba(99, 102, 241, 0.6),
                0 0 30px rgba(139, 92, 246, 0.15);
    animation: snavPulse 2.5s ease-in-out infinite;
}

@keyframes snavPulse {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2),
                    0 0 16px rgba(99, 102, 241, 0.6),
                    0 0 30px rgba(139, 92, 246, 0.15);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.12),
                    0 0 22px rgba(99, 102, 241, 0.45),
                    0 0 40px rgba(139, 92, 246, 0.1);
    }
}

/* Tooltip on hover */
.snav-dot-tip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: rgba(14, 14, 16, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 6px 14px;
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.snav-dot:hover .snav-dot-tip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.snav-dot.active .snav-dot-tip {
    color: var(--text);
    font-weight: 600;
    border-color: rgba(99, 102, 241, 0.2);
}

/* Floating label underneath — shows current section */
.snav-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 14, 16, 0.75);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 8px 14px 8px 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    max-width: 200px;
}

.snav-label-text {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.snav-label-counter {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 2px 7px;
    border-radius: 8px;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

/* Responsive */
@media (max-width: 768px) {
    .snav {
        right: 10px;
    }
    .snav-pill {
        padding: 6px 4px;
        border-radius: 22px;
    }
    .snav-dot {
        width: 28px;
        height: 22px;
    }
    .snav-arrow {
        width: 28px;
        height: 24px;
    }
    .snav-dot-tip {
        display: none;
    }
    .snav-label {
        display: none;
    }
}

@media (max-width: 480px) {
    .snav {
        right: 6px;
    }
    .snav-dot-inner {
        width: 6px;
        height: 6px;
    }
    .snav-dot.active .snav-dot-inner {
        width: 10px;
        height: 10px;
    }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .result-cards { grid-template-columns: repeat(2, 1fr); }
    .financial-summary { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(9, 9, 11, 0.95);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }

    .hero h1 { font-size: 2.25rem; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-stat-divider { width: 40px; height: 1px; }

    .services-grid { grid-template-columns: 1fr; }
    .case-study-story { grid-template-columns: 1fr; }
    .result-cards { grid-template-columns: 1fr; }
    .financial-grid { grid-template-columns: 1fr; }
    .financial-summary { grid-template-columns: 1fr; }
    .roi-calculator { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .stats-chart-section { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .flow-diagram { flex-direction: column; }
    .flow-arrow { transform: rotate(90deg); }

    .case-study-header,
    .case-study-body {
        padding: 24px;
    }

    .cta-form { padding: 24px; }

    .section { padding: 64px 0; }
}

@media (max-width: 480px) {
    .hero { padding: 100px 0 60px; }
    .hero h1 { font-size: 1.875rem; }
    .hero-desc { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-sm { display: none; }
    .roi-result-grid { grid-template-columns: 1fr; }
}
