/* ============================================
   SystemLaunch — AI Automation Agency
   White + warm beige sections, teal + lime accent
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5eee9;
    --bg-tertiary: #eee6dc;
    --bg-card: #ffffff;
    --bg-card-hover: #fdfbf9;
    --bg-dark: #101013;
    --text-primary: #101013;
    --text-secondary: #4a5568;
    --text-tertiary: #7a8599;
    --accent: #12715B;
    --accent-hover: #0f604d;
    --accent-light: rgba(18, 113, 91, 0.08);
    --accent-glow: rgba(18, 113, 91, 0.15);
    --accent-secondary: #10a37f;
    --highlight: #e2ff5e;
    --gradient-accent: linear-gradient(135deg, #12715B 0%, #10a37f 100%);
    --gradient-hero: linear-gradient(180deg, #101013 0%, #1a1a20 100%);
    --gradient-card: linear-gradient(135deg, rgba(18,113,91,0.05) 0%, rgba(16,163,127,0.02) 100%);
    --border: rgba(0,0,0,0.08);
    --border-light: rgba(0,0,0,0.05);
    --border-accent: rgba(18, 113, 91, 0.25);
    --success: #12715B;
    --warning: #d69e2e;
    --error: #e53e3e;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 40px rgba(18, 113, 91, 0.1);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --nav-height: 76px;
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover { color: var(--accent-hover); }

::selection {
    background: var(--accent);
    color: #fff;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

.section {
    padding: 120px 0;
    position: relative;
}

.alt-bg {
    background-color: var(--bg-secondary);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.nav-logo .logo-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: rgba(0,0,0,0.05);
}

.nav-cta {
    background: var(--gradient-accent) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: var(--radius-sm) !important;
}

.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(18, 113, 91, 0.2);
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(18, 113, 91, 0.35);
}

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

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero .btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.25);
}

.hero .btn-secondary:hover {
    border-color: var(--highlight);
    color: var(--highlight);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.btn-arrow::after {
    content: '\2192';
    font-size: 18px;
    transition: transform 0.2s;
}

.btn-arrow:hover::after {
    transform: translateX(4px);
}

/* --- Hero --- */
.hero {
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 100px;
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
    min-height: auto;
    display: flex;
    align-items: center;
    background: #0a0a0f;
    color: #ffffff;
}

/* Animated gradient mesh */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(18,113,91,0.25) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 80% 20%, rgba(226,255,94,0.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(18,113,91,0.08) 0%, transparent 70%);
    animation: heroGradient 12s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Dot grid texture overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

@keyframes heroGradient {
    0% {
        background:
            radial-gradient(ellipse 60% 50% at 20% 80%, rgba(18,113,91,0.25) 0%, transparent 70%),
            radial-gradient(ellipse 50% 60% at 80% 20%, rgba(226,255,94,0.07) 0%, transparent 70%),
            radial-gradient(ellipse 40% 40% at 50% 50%, rgba(18,113,91,0.08) 0%, transparent 70%);
    }
    50% {
        background:
            radial-gradient(ellipse 50% 60% at 30% 60%, rgba(18,113,91,0.2) 0%, transparent 70%),
            radial-gradient(ellipse 60% 50% at 70% 30%, rgba(226,255,94,0.1) 0%, transparent 70%),
            radial-gradient(ellipse 50% 50% at 60% 70%, rgba(18,113,91,0.1) 0%, transparent 70%);
    }
    100% {
        background:
            radial-gradient(ellipse 55% 55% at 40% 70%, rgba(18,113,91,0.22) 0%, transparent 70%),
            radial-gradient(ellipse 45% 55% at 60% 40%, rgba(226,255,94,0.08) 0%, transparent 70%),
            radial-gradient(ellipse 50% 45% at 30% 40%, rgba(18,113,91,0.12) 0%, transparent 70%);
    }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--highlight);
    background: rgba(226,255,94,0.1);
    border: 1px solid rgba(226,255,94,0.25);
    border-radius: 50px;
    margin-bottom: 32px;
    letter-spacing: 0.02em;
}

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

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: #ffffff;
}

.hero-gradient-text {
    color: var(--highlight);
    -webkit-text-fill-color: var(--highlight);
}

.mobile-break {
    display: none;
}

.hero-sub {
    font-size: 20px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    padding-top: 48px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

/* --- Logos / Social Proof Bar --- */
.logos-section {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
    overflow: hidden;
}

.logos-header {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.logos-marquee {
    display: flex;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.logos-track {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
    animation: marquee-scroll 40s linear infinite;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.logos-marquee:hover .logos-track {
    animation-play-state: paused;
}

.logos-track .logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    white-space: nowrap;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
    cursor: default;
}

.logos-track .logo-item:hover {
    border-color: var(--border-accent);
    background: var(--accent-light);
    box-shadow: var(--shadow-sm);
}

.logos-track .logo-item img,
.logos-track .logo-item svg {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.logos-track .logo-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

@media (prefers-reduced-motion: reduce) {
    .logos-track {
        animation: none;
    }
}

/* --- Section Headers --- */
.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-header {
    max-width: 640px;
    margin-bottom: 64px;
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s;
}

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

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

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    color: #ffffff;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

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

.service-card .card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.service-card:hover .card-link { gap: 10px; }

/* --- Use Cases Grid --- */
.usecases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.usecase-item {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.25s;
    cursor: default;
}

.usecase-item:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.usecase-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: #ffffff;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.usecase-icon svg {
    width: 24px;
    height: 24px;
}

.usecase-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

/* --- Industries Section --- */
.industries-section {
    background: var(--bg-dark);
    color: #ffffff;
    padding: 100px 0;
}

.industries-section .section-tag {
    color: var(--highlight);
    background: rgba(226, 255, 94, 0.1);
    border-color: rgba(226, 255, 94, 0.2);
}

.industries-section h2 {
    color: #ffffff;
}

.industries-section .section-header p {
    color: rgba(255, 255, 255, 0.6);
}

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

.industry-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.industry-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(18, 113, 91, 0.3);
    transform: translateY(-4px);
}

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

.industry-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(226, 255, 94, 0.15);
    color: var(--highlight);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.industry-icon svg {
    width: 26px;
    height: 26px;
}

.industry-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--highlight);
    margin-bottom: 10px;
}

.industry-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
}

.industry-list {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.industry-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.industry-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-secondary);
    font-weight: 600;
}

.industry-card .card-link {
    color: var(--highlight);
}

.industry-card .card-link:hover {
    color: #ffffff;
}

/* --- Process Steps --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-accent);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

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

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

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

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

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
    color: #fbbf24;
    font-size: 16px;
}

.testimonial-card blockquote {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

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

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

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

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--gradient-accent);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

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

.pricing-card > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

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

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

/* --- Case Study Cards --- */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
    color: var(--text-primary);
}

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

.case-card-image {
    height: 200px;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.case-card-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(18,113,91,0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(226,255,94,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.case-card-image .case-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(226, 255, 94, 0.15);
    color: var(--highlight);
    border-radius: var(--radius-sm);
}

.case-card-image .case-icon svg {
    width: 28px;
    height: 28px;
}

.case-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-light);
    border-radius: 4px;
    margin-bottom: 12px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.case-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.case-card > .case-card-body > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.case-stats {
    display: flex;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.case-stats span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-tertiary);
}

.card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* --- CTA Section --- */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    padding: 80px 64px;
    background: var(--bg-dark);
    border: none;
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(226,255,94,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.cta-box > p {
    font-size: 18px;
    color: rgba(255,255,255,0.65);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.6;
    position: relative;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
}

.cta-note {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.cta-note a { color: var(--highlight); }

/* --- Page Header --- */
.page-header {
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #0a0a0f;
    color: #ffffff;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 30% 70%, rgba(18,113,91,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 70% 30%, rgba(226,255,94,0.05) 0%, transparent 70%);
    animation: heroGradient 12s ease-in-out infinite alternate;
    pointer-events: none;
}

.page-header .section-tag {
    color: var(--highlight);
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.1;
    position: relative;
    color: #ffffff;
}

.page-header > .container > p {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
}

/* --- Service Detail (Services Page) --- */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.service-detail-grid.reverse {
    direction: rtl;
}

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

.service-detail-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.service-detail-intro {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.feature-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    font-size: 14px;
    margin-top: 1px;
}

.service-visual {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.visual-placeholder {
    text-align: center;
    color: var(--text-tertiary);
}

/* --- Code Block (Services Page) --- */
.service-detail-visual {
    position: relative;
}

/* --- Service Flow Diagrams --- */
.service-flow-card {
    background: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: sticky;
    top: 100px;
}

.flow-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--highlight);
    margin-bottom: 28px;
    text-align: center;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.flow-step {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    width: 100%;
    transition: all 0.3s ease;
}

.flow-step:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(18, 113, 91, 0.3);
    transform: scale(1.02);
}

.flow-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    color: #ffffff;
    margin-bottom: 12px;
}

.flow-step-label {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.flow-step-detail {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.flow-connector {
    width: 2px;
    height: 24px;
    background: linear-gradient(180deg, var(--accent), rgba(18,113,91,0.3));
    margin: 0 auto;
}

.flow-tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.flow-tool {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(226, 255, 94, 0.1);
    color: var(--highlight);
    border-radius: 20px;
    border: 1px solid rgba(226, 255, 94, 0.2);
}

.code-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
}

.workflow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.workflow-dot.red { background: #ff5f57; }
.workflow-dot.yellow { background: #febc2e; }
.workflow-dot.green { background: #28c840; }

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

.code-block code {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary);
    white-space: pre;
}

.visual-placeholder .icon-large {
    font-size: 72px;
    margin-bottom: 16px;
    opacity: 0.4;
}

.roi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.roi-item {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
}

.roi-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

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

/* --- Case Study Full --- */
.case-study-header {
    text-align: center;
    margin-bottom: 64px;
}

.case-study-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.case-client {
    font-size: 15px;
    color: var(--text-tertiary);
}

.case-tools {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.case-tools-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-tools .logo-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    white-space: nowrap;
    transition: border-color 0.25s, background 0.25s;
}

.case-tools .logo-item:hover {
    border-color: var(--border-accent);
    background: var(--accent-light);
}

.case-tools .logo-item img,
.case-tools .logo-item .tool-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.case-tools .logo-item span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.case-study-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.case-phase {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
}

.phase-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    padding-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.problem-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.problem-list li {
    padding-left: 24px;
    position: relative;
    font-size: 15px;
    color: var(--text-secondary);
}

.problem-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
}

.solution-architecture {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.arch-block {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

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

.arch-block p {
    font-size: 14px !important;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0 !important;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-badge {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid var(--border-accent);
    border-radius: 6px;
}

.tech-details p {
    margin-bottom: 12px;
}

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

.result-item {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
}

.result-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.result-desc {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.case-divider { padding: 0; }
.case-divider hr { border: none; border-top: 1px solid var(--border); }

/* --- About Page --- */
.story-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: start;
}

.story-chapter { margin-bottom: 48px; }

.story-chapter h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

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

.story-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: calc(var(--nav-height) + 24px);
}

.credentials-card, .tech-card, .values-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.credentials-card h3, .tech-card h3, .values-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.credential-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.credential-item:last-child { border-bottom: none; }

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

.credential-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.tech-stack-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tech-category h4 {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.tech-category {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tech-category h4 { width: 100%; }

.values-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.values-card li strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 2px;
}

/* --- Founder Card --- */
.founder-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}

.founder-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    background: var(--bg-secondary);
    border: 3px solid var(--border);
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 14px;
}

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

.founder-title {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
}

/* --- Resources Page --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

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

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

.video-thumbnail {
    aspect-ratio: 16/9;
    background: var(--bg-secondary);
}

.video-placeholder-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
}

.video-info {
    padding: 24px;
}

.video-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.video-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.video-meta {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.youtube-cta {
    text-align: center;
    padding: 40px 0;
}

.youtube-cta p {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-tertiary);
}

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

.course-card {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
}

.course-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: var(--gradient-accent);
    border-radius: 20px;
    letter-spacing: 0.05em;
}

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

.course-card > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.course-stats span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-tertiary);
}

/* --- Tools Grid --- */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tool-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.25s;
}

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

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

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

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-booking h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
}

.calendly-placeholder {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.calendly-mock {
    padding: 32px;
}

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

.calendly-mock-header p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.mock-month {
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

.mock-days {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 12px;
    text-align: center;
}

.mock-days span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
}

.mock-dates {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    text-align: center;
}

.mock-dates span {
    padding: 12px;
    font-size: 14px;
    border-radius: var(--radius-sm);
    color: var(--text-tertiary);
}

.mock-dates span.available {
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border-accent);
}

.calendly-note {
    margin-top: 24px;
    padding: 16px;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--accent);
    text-align: center;
    border: 1px solid var(--border-accent);
}

.fit-check, .not-fit {
    margin-bottom: 32px;
}

.fit-check h3, .not-fit h3, .contact-form-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.fit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fit-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.fit-list li svg {
    color: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}

.not-fit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.not-fit-list li {
    padding-left: 24px;
    position: relative;
    font-size: 14px;
    color: var(--text-tertiary);
}

.not-fit-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 2px;
    background: var(--text-tertiary);
}

.contact-form-section p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.contact-email-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}

.contact-email-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-email-section p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.email-link {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    padding: 12px 24px;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s;
}

.email-link:hover {
    background: var(--accent);
    color: white;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%234a5568' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* --- Footer --- */
.footer {
    padding: 80px 0 32px;
    background: var(--bg-dark);
    border-top: none;
    color: rgba(255,255,255,0.7);
}

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

.footer-brand .nav-logo {
    font-size: 20px;
    color: #ffffff;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    margin-top: 12px;
}

.footer-links h4 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--highlight);
}

/* --- Legal Pages --- */
.legal-content {
    max-width: 800px;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

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

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

.legal-content li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.legal-content .last-updated {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 32px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 44px; }

    .services-grid,
    .cases-grid,
    .testimonials-grid,
    .video-grid { grid-template-columns: repeat(2, 1fr); }

    .usecases-grid { grid-template-columns: repeat(3, 1fr); }

    .industries-grid { grid-template-columns: repeat(3, 1fr); }

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

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

    .service-detail-grid,
    .service-detail-grid.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .case-phase { grid-template-columns: 1fr; gap: 12px; }
    .solution-architecture { grid-template-columns: 1fr; }
    .results-grid { grid-template-columns: repeat(2, 1fr); }

    .story-grid { grid-template-columns: 1fr; gap: 48px; }
    .story-sidebar { position: static; }

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

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

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

    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        padding: 16px;
        gap: 4px;
    }

    .nav-links.active { display: flex; }
    .nav-links a { padding: 14px 16px; display: block; }

    .hero { padding-top: calc(var(--nav-height) + 48px); padding-bottom: 48px; min-height: auto; align-items: flex-start; }
    .hero h1 { font-size: 28px; line-height: 1.2; }
    .hero-sub { font-size: 16px; }
    .mobile-break { display: block; }
    .hero-content { max-width: 100%; padding: 0 10px; box-sizing: border-box; }
    .hero-stats { flex-direction: column; gap: 20px; }

    .section { padding: 80px 0; }
    .section-header h2 { font-size: 32px; }

    .services-grid,
    .cases-grid,
    .testimonials-grid,
    .video-grid,
    .tools-grid,
    .courses-grid { grid-template-columns: 1fr; }

    .usecases-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

    .process-grid { grid-template-columns: 1fr; }
    .roi-grid { grid-template-columns: 1fr; }

    .cta-box { padding: 48px 28px; }
    .cta-box h2 { font-size: 28px; }

    .page-header h1 { font-size: 36px; }
    .case-study-header h2 { font-size: 28px; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer { padding: 48px 0 24px; }
    .footer-grid { margin-bottom: 32px; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    .logos-track { gap: 24px; animation-duration: 30s; }
    .logos-track .logo-item { padding: 10px 18px; gap: 8px; }
    .logos-track .logo-item img,
    .logos-track .logo-item svg { width: 24px; height: 24px; }
    .logos-track .logo-item span { font-size: 13px; }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .hero h1 { font-size: 24px; line-height: 1.2; word-wrap: break-word; overflow-wrap: break-word; }
    .hero-sub { font-size: 14px; }
    .mobile-break { display: block; }
    .hero-content { max-width: 100%; padding: 0 8px; box-sizing: border-box; }
    .results-grid { grid-template-columns: 1fr; }
    .usecases-grid { grid-template-columns: 1fr; }

    .section { padding: 60px 0; }
    .footer { padding: 32px 0 20px; }
    .footer-grid { margin-bottom: 24px; }
    .cta-box { padding: 32px 20px; }
    .cta-box h2 { font-size: 24px; }

    .logos-track { gap: 16px; animation-duration: 25s; }
    .logos-track .logo-item { padding: 8px 14px; }
}

/* --- Animations --- */
@media (prefers-reduced-motion: no-preference) {
    .animate-in {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .animate-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .animate-in:nth-child(2) { transition-delay: 0.1s; }
    .animate-in:nth-child(3) { transition-delay: 0.2s; }
    .animate-in:nth-child(4) { transition-delay: 0.3s; }
    .animate-in:nth-child(5) { transition-delay: 0.15s; }
    .animate-in:nth-child(6) { transition-delay: 0.25s; }
}

/* --- Visual Enhancement: Hero Workflow Illustration --- */
.hero-visual {
    margin-top: 64px;
    position: relative;
    z-index: 1;
}

.hero-visual-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 32px 40px;
    backdrop-filter: blur(10px);
    max-width: 900px;
    margin: 0 auto;
}

.workflow-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: nowrap;
}

.workflow-node {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 28px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    flex: 1;
    white-space: nowrap;
}

.workflow-node svg {
    color: var(--highlight);
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.workflow-arrow {
    color: rgba(255,255,255,0.25);
    font-size: 18px;
}

.workflow-node.active {
    background: rgba(226,255,94,0.1);
    border-color: rgba(226,255,94,0.25);
    color: var(--highlight);
}

/* --- Visual Enhancement: Floating Stats Cards --- */
.visual-stat-card {
    display: inline-flex;
    flex-direction: column;
    padding: 20px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.visual-stat-card .vs-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}

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

/* --- Visual Enhancement: Gradient Divider --- */
.gradient-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--highlight), var(--accent), transparent);
    border: none;
    margin: 0;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .hero-visual-card { padding: 20px; }
    .workflow-visual {
        flex-direction: column;
        flex-wrap: wrap;
        gap: 12px;
    }
    .workflow-node {
        padding: 12px 20px;
        font-size: 14px;
        flex: none;
        width: 100%;
        white-space: normal;
    }
    .workflow-arrow { display: none; }
}
