@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=geist@1&display=swap');

:root {
    /* Colors — Ultra-Premium Big Tech Theme */
    --bg-primary: #050508;
    --bg-secondary: #0a0a0f;
    --bg-tertiary: #12121a;
    --bg-elevated: rgba(15, 15, 25, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;
    --accent: #6366f1; /* Indigo - Stripe/Vercel vibe */
    --accent-hover: #818cf8;
    --accent-subtle: rgba(99, 102, 241, 0.1);
    --accent-glow: rgba(99, 102, 241, 0.3);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --card-bg: rgba(20, 20, 30, 0.3);
    --card-hover: rgba(30, 30, 45, 0.5);
    --nav-bg: rgba(5, 5, 8, 0.8);
    --success: #10b981;
    --error: #f43f5e;

    /* Dashboard Aliases */
    --primary: var(--accent);
    --text-dim: var(--text-tertiary);
    --warning: #f59e0b;

    /* Shadows & Glassmorphism */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.7);
    --glass-blur: blur(20px);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);

    /* Layout */
    --max-width: 1320px;
    --section-padding: 160px 24px;
    --section-padding-sm: 110px 24px;

    /* Typography — Big Tech Choice */
    --font-heading: 'Geist', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --duration: 0.6s;
    --duration-slow: 1s;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

/* ── Typography ────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--duration) var(--ease-out);
}

ul {
    list-style: none;
}

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

/* ── Utilities ─────────────────────────────────────────────────────────── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--section-padding);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 980px;
    background: var(--accent-subtle);
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

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

.text-center .section-subtitle {
    margin: 0 auto;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 980px;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
    transition: transform var(--duration) var(--ease-out),
        box-shadow var(--duration) var(--ease-out),
        background var(--duration) var(--ease-out),
        color var(--duration) var(--ease-out),
        border-color var(--duration) var(--ease-out);
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* Primary button — shimmer sweep on hover */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(228, 228, 231, 0.15);
}

.btn-primary:hover::after {
    animation: shimmerSweep 0.7s ease forwards;
}

@keyframes shimmerSweep {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.btn-primary:active {
    transform: translateY(0);
}

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

/* Secondary button — sliding underline from center */
.btn-secondary::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.35s var(--ease-out), left 0.35s var(--ease-out);
}

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

.btn-secondary:hover::after {
    width: 40%;
    left: 30%;
}

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

/* Accent button — pulsing glow ring */
.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 0 4px var(--accent-glow), 0 4px 24px var(--accent-glow);
}

.btn-accent:active {
    transform: translateY(0);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

/* Nav CTA — subtle press-down effect */
.btn-sm {
    padding: 9px 20px;
    font-size: 0.8125rem;
}

.btn-sm:hover {
    transform: scale(0.97);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 600;
}

/* ── Global Form & Dropdown Visibility Fix ─────────────────────────── */
select {
    cursor: pointer;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease;
}

select:focus {
    border-color: var(--accent);
}

/* Force dropdown options to be visible against white browser pickers */
select option {
    background-color: #0f172a !important; /* Deep dark blue-black */
    color: #f8fafc !important; /* Crisp white-blue text */
    padding: 12px;
}

/* Target specific classes used in dashboards */
.filter-input, .form-input {
    background-color: rgba(15, 23, 42, 0.8) !important;
    color: var(--text-primary) !important;
}

/* ── Navbar ─────────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 40px;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0;
    transition: background var(--duration) ease, padding var(--duration) ease;
}

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

.logo {
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

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

.nav-links a:not(.btn) {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: -0.005em;
    padding: 4px 0;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.3s var(--ease-out);
}

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

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

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

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

/* ── Hero Section ──────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 140px 20px 120px;
}

/* Hero Section simplified */

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

.hero-headline {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

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

/* ── Problem Section ───────────────────────────────────────────────────── */
.problem {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.problem-content .section-title {
    text-align: left;
}

.problem-content .section-subtitle {
    text-align: left;
    margin-bottom: 32px;
}

.problem-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: background var(--duration) var(--ease-out),
        border-color var(--duration) var(--ease-out),
        transform var(--duration) var(--ease-out);
}

/* Problem items — slide right with icon brighten */
.problem-item:hover {
    background: var(--card-hover);
    border-color: var(--border-hover);
    transform: translateX(6px);
}

.problem-item:hover .problem-icon {
    background: rgba(239, 68, 68, 0.14);
    transform: scale(1.08);
}

.problem-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ef4444;
    transition: background 0.3s ease, transform 0.3s var(--ease-spring);
}

.problem-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.problem-graphic {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    position: relative;
}

.problem-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
}

@keyframes ringPulse {

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

    50% {
        opacity: 0.6;
        transform: scale(1.03);
    }
}

.problem-closer {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    font-style: italic;
}

/* ── Solutions Section ─────────────────────────────────────────────────── */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.solution-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 30px;
    transition: background var(--duration) ease,
        border-color var(--duration) ease,
        transform var(--duration) var(--ease-out),
        box-shadow 0.5s ease;
    position: relative;
    overflow: hidden;
}

.solution-card:hover {
    background: var(--card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

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

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

.solution-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
    transition: transform 0.5s var(--ease-spring), background var(--duration) ease;
}

.solution-card:hover .solution-icon {
    transform: scale(1.06) rotate(4deg);
    background: rgba(59, 130, 246, 0.12);
}

.solution-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
    transition: color var(--duration) ease;
}

.solution-card:hover h3 {
    color: var(--accent);
}

.solution-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ── ROI Calculator Section ────────────────────────────────────────── */
.roi-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.roi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.roi-inputs {
    margin-top: 40px;
    display: grid;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-group input {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s var(--ease-out);
}

.input-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.roi-card {
    background: var(--bg-elevated);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.roi-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(96, 165, 250, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.roi-stat {
    margin-bottom: 24px;
}

.roi-stat .label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.roi-stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.meter-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 32px 0;
    overflow: hidden;
}

.meter-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), #10b981);
    box-shadow: 0 0 12px var(--accent-glow);
    transition: width 0.8s var(--ease-out);
}

.roi-result {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.roi-result .label {
    display: block;
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.roi-result h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    text-shadow: 0 0 30px var(--accent-glow);
}

.roi-result p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* ── About Section ─────────────────────────────────────────────────────── */
.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    margin-bottom: 36px;
}

.about-text p {
    margin-bottom: 16px;
}

.about-text .highlight {
    color: var(--text-primary);
    font-weight: 500;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: background var(--duration) ease,
        border-color var(--duration) ease,
        color var(--duration) ease,
        transform var(--duration) var(--ease-out);
}

/* Value items — dot expansion + color shift */
.value-item:hover {
    background: var(--accent-subtle);
    border-color: rgba(59, 130, 246, 0.15);
    color: var(--accent);
    transform: translateX(3px);
}

.value-item:hover .value-icon {
    transform: scale(1.5);
    opacity: 1;
}

.value-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    opacity: 0.6;
    transition: transform 0.4s var(--ease-spring), opacity 0.3s ease;
}

.about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-card-stack {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/3;
}

.about-card {
    position: absolute;
    width: 280px;
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 28px;
    backdrop-filter: blur(16px);
}

.about-card-1 {
    background: rgba(59, 130, 246, 0.06);
    top: 0;
    left: 0;
    transform: rotate(-4deg);
    z-index: 3;
    animation: cardFloat 8s ease-in-out infinite;
}

.about-card-2 {
    background: rgba(99, 102, 241, 0.04);
    top: 30px;
    left: 60px;
    transform: rotate(2deg);
    z-index: 2;
    animation: cardFloat 8s ease-in-out infinite -2.5s;
}

.about-card-3 {
    background: rgba(14, 165, 233, 0.03);
    top: 60px;
    left: 120px;
    transform: rotate(6deg);
    z-index: 1;
    animation: cardFloat 8s ease-in-out infinite -5s;
}

.about-card h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 8px;
}

.about-card p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

@keyframes cardFloat {

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

    50% {
        transform: rotate(var(--rotate, -4deg)) translateY(-8px);
    }
}

/* ── Why Choose Us ─────────────────────────────────────────────────────── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.why-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-left: 3px solid transparent;
    border-radius: 16px;
    padding: 36px 32px;
    transition: background var(--duration) ease,
        border-color var(--duration) ease,
        border-left-color var(--duration) ease,
        transform var(--duration) var(--ease-out),
        box-shadow 0.5s ease;
}

/* Why cards — left-border accent reveal + number brighten */
.why-card:hover {
    background: var(--card-hover);
    border-color: var(--border-hover);
    border-left-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.why-card:hover .why-card-number {
    opacity: 1;
    transform: scale(1.1);
}

.why-card-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    opacity: 0.7;
    transition: opacity 0.4s ease, transform 0.4s var(--ease-spring);
    transform-origin: left center;
}

.why-card h3 {
    font-size: 1.1875rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* ── Careers Preview ───────────────────────────────────────────────────── */
.careers-preview {
    background: var(--bg-secondary);
}

/* Careers preview card — border glow on hover */
.careers-preview-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 56px 48px;
    margin-top: 60px;
    transition: border-color 0.5s ease, box-shadow 0.6s ease;
}

.careers-preview-inner:hover {
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 40px var(--accent-glow), var(--shadow-lg);
}

.careers-preview-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.careers-preview-content p {
    max-width: 500px;
    font-size: 1rem;
}

/* ── Contact Section ───────────────────────────────────────────────────── */
.contact {
    background: var(--bg-primary);
}

.contact-container {
    max-width: 720px;
}

.contact-form {
    background: var(--bg-secondary);
    padding: 44px;
    border-radius: 20px;
    border: 1px solid var(--border);
    margin-top: 48px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}

input,
select,
textarea {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    font-family: var(--font);
    color: var(--text-primary);
    font-size: 0.9375rem;
    transition: border-color var(--duration) ease, box-shadow var(--duration) ease;
    outline: none;
    width: 100%;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

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

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

select {
    cursor: pointer;
    appearance: none;
}

.required {
    color: var(--error);
}

.field-error {
    font-size: 0.8125rem;
    color: var(--error);
    min-height: 0;
    display: none;
    margin-top: 4px;
}

.field-error.show {
    display: block;
}

input.invalid,
select.invalid,
textarea.invalid {
    border-color: var(--error) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* ── Industries Section ────────────────────────────────────────────────── */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.industry-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    text-align: left;
    transition: all 0.5s var(--ease-spring);
    position: relative;
    overflow: hidden;
}

.industry-card:hover {
    background: var(--card-hover);
    border-color: var(--border-hover);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.industry-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, var(--accent-subtle), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.industry-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-subtle);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
    transition: all 0.5s var(--ease-spring);
}

.industry-card:hover .industry-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent);
    color: white;
}

.industry-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
    padding: 64px 0 0;
}

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

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.875rem;
    max-width: 280px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 5px 0;
    transition: color var(--duration) ease, transform var(--duration) ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

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

/* ── Animations ────────────────────────────────────────────────────────── */
.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* ── Legal Pages ───────────────────────────────────────────────────────── */
.legal-page {
    padding: 140px 20px 80px;
    min-height: 100vh;
}

.legal-container {
    max-width: 760px;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.legal-page .effective-date {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: 48px;
}

.legal-page h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 12px;
}

.legal-page p {
    margin-bottom: 16px;
}

.legal-page ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal-page ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-page ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
}

/* ── Toast ─────────────────────────────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 0.9375rem;
    font-weight: 500;
    backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s var(--ease-spring), opacity 0.5s var(--ease-spring);
    max-width: 90vw;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.toast-error { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
.toast-info { background: rgba(96, 165, 250, 0.1); color: var(--primary); border: 1px solid rgba(96, 165, 250, 0.2); }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

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

    .hero-headline {
        font-size: 3.5rem;
    }

    .careers-preview-inner {
        flex-direction: column;
        text-align: center;
        padding: 40px 32px;
    }
}

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

    .problem-grid,
    .about-grid,
    .roi-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .problem-visual {
        order: -1;
    }

    .hero-headline {
        font-size: 2.75rem;
    }

    .hero-sub {
        font-size: 1.0625rem;
    }

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

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

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

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

    .contact-form {
        padding: 28px;
    }

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

    .legal-page h1 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        padding: 24px;
        gap: 16px;
    }

    .hero {
        padding: 120px 20px 80px;
        min-height: auto;
    }

    .hero-headline {
        font-size: 2.25rem;
    }

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

    .about-card-stack {
        transform: scale(0.8);
    }
}

/* ── Alex AI Agent ────────────────────────────────────────────────────── */
.alex-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
}

.alex-toggle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg), 0 0 20px var(--accent-glow);
    transition: transform 0.4s var(--ease-spring);
    position: relative;
}

.alex-toggle:hover {
    transform: scale(1.1);
    border-color: var(--accent);
}

.alex-toggle img {
    width: 32px;
    height: auto;
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #10b981;
    border: 2px solid var(--bg-tertiary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.alex-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    height: 500px;
    background: var(--bg-elevated);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s var(--ease-spring);
    box-shadow: var(--shadow-xl);
}

.alex-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.alex-header {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.alex-avatar {
    position: relative;
    width: 40px;
    height: 40px;
}

.alex-avatar img {
    width: 100%;
    border-radius: 50%;
}

.alex-title h4 {
    font-size: 0.9375rem;
    margin-bottom: 2px;
}

.alex-title p {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.alex-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-tertiary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.alex-close:hover {
    color: var(--text-primary);
}

.alex-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.alex-message {
    max-width: 85%;
}

.alex-message.ai {
    align-self: flex-start;
}

.alex-message.user {
    align-self: flex-end;
}

.message-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.alex-message.ai .message-bubble {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
    color: var(--text-secondary);
    white-space: pre-wrap;
}

.alex-message.ai.typing .message-bubble {
    display: flex;
    gap: 4px;
    padding: 12px 14px;
}

.alex-message.ai.typing .dot {
    width: 6px;
    height: 6px;
    background: var(--text-tertiary);
    border-radius: 50%;
    animation: alex-typing 1.4s infinite;
    opacity: 0.4;
}

.alex-message.ai.typing .dot:nth-child(2) { animation-delay: 0.2s; }
.alex-message.ai.typing .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes alex-typing {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-4px); opacity: 1; }
}

.alex-message.buttons {
    max-width: 100%;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.button-group button {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--accent);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.button-group button:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.alex-message.user .message-bubble {
    background: var(--accent);
    color: white;
    border-bottom-right-radius: 4px;
}

.alex-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed var(--accent);
    transition: all 0.3s ease;
}

.alex-link:hover {
    color: #ffffff;
    border-bottom-style: solid;
    background: rgba(99, 102, 241, 0.1);
}

.alex-input-area {
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border);
    display: flex;
    gap: 10px;
}

.alex-input-area input {
    flex: 1;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 16px;
    color: var(--text-primary);
    font-size: 0.875rem;
    outline: none;
}

.alex-input-area button {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    transition: transform 0.3s var(--ease-spring);
}

.alex-input-area button:hover {
    transform: scale(1.1) translateX(2px);
}

@media (max-width: 480px) {
    .alex-window {
        width: calc(100vw - 40px);
        right: -10px;
        bottom: 80px;
    }
}

/* ── Live Pulse Ticker ─────────────────────────────────────────────────── */
.live-pulse {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    height: 40px;
    z-index: 1001;
    pointer-events: none;
}

.pulse-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--success);
    border-radius: 50%;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

.pulse-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: opacity 0.5s ease;
}

/* ── AI Efficiency Audit ─────────────────────────────────────────────── */
.audit-section {
    background: var(--bg-primary);
}

.audit-card-glass {
    background: var(--bg-elevated);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 32px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;
    overflow: hidden;
}

.audit-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.audit-result-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    animation: fadeIn 0.8s var(--ease-out);
}

.score-circle {
    position: relative;
    width: 180px;
    height: 180px;
}

.score-circle svg {
    transform: rotate(-90deg);
}

.score-circle circle {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
}

.score-circle circle.bg {
    stroke: rgba(255, 255, 255, 0.05);
}

.score-circle circle.progress {
    stroke: var(--accent);
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1.5s var(--ease-out);
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.score-text {
    text-align: center;
}

.score-text h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.audit-actions {
    display: flex;
    gap: 16px;
}

@media (max-width: 968px) {
    .audit-form-grid {
        grid-template-columns: 1fr;
    }
    .audit-card-glass {
        padding: 40px 24px;
    }
}