/* ============================================================
   TheBrainSphere — Landing Page Styles (v2 — AI Advising)
   Color System:
     --bg-deep:    deep dark blue-black
     --bg-card:    slightly lighter card surfaces
     --accent:     vibrant blue
     --accent-alt: secondary accent (cyan-ish)
     --text:       white / near-white
     --text-muted: softer gray-blue
   ============================================================ */

:root {
    --bg-deep: #06091a;
    --bg-section: #0a0f24;
    --bg-card: #111833;
    --bg-card-hover: #162040;
    --accent: #3b82f6;
    --accent-dark: #2563eb;
    --accent-light: #60a5fa;
    --accent-alt: #06b6d4;
    --gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-alt) 100%);
    --text: #f0f4ff;
    --text-brief: #A8B2D0;
    --text-muted: #8892b0;
    --text-dim: #4a5578;
    --border: rgba(59, 130, 246, 0.15);
    --border-hover: rgba(59, 130, 246, 0.35);
    --glow: rgba(59, 130, 246, 0.25);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}



body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

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

/* ---- Navigation ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(6, 9, 26, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-the {
    color: var(--text-muted);
    font-weight: 400;
}

.logo-brain {
    color: var(--text);
}

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

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: 1px;
    transition: width var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-link--cta {
    color: var(--accent-light);
    border: 1px solid var(--accent);
    padding: 8px 20px;
    border-radius: 100px;
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: var(--accent);
    color: #fff;
}

.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);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

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

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

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

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

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

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}

.btn--primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 24px rgba(59, 130, 246, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.45);
}

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

.btn--outline:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: var(--accent);
}

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

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

.hero-scroll-indicator a {
    color: var(--text-dim);
    font-size: 1.2rem;
}

.hero-scroll-indicator a:hover {
    color: var(--accent-light);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* ---- Video Showcase ---- */
.video-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
    width: 640px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.video-showcase__player {
    width: 100%;
    border-radius: var(--radius);
}

.video-showcase__controls {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.video-showcase__btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-showcase__btn:hover {
    color: var(--text);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.video-showcase__seekbar {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    margin-top: 10px;
    border-radius: 3px;
    background: var(--bg-card);
    outline: none;
    cursor: pointer;
}

.video-showcase__seekbar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-light);
    cursor: pointer;
}

.video-showcase__seekbar::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: none;
    border-radius: 50%;
    background: var(--accent-light);
    cursor: pointer;
}

.video-showcase__seekbar::-moz-range-track {
    height: 6px;
    border-radius: 3px;
    background: var(--bg-card);
}

/* ---- Sections (shared) ---- */
.section {
    padding: 100px 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--bg-section);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid var(--border);
    border-radius: 100px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---- Predictions ---- */
.predictions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.prediction-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition), background var(--transition);
}

.prediction-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.prediction-card__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
}

.prediction-card__header:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
    border-radius: var(--radius);
}

.prediction-card__title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.prediction-card__icon-left {
    flex-shrink: 0;
    font-size: 1.2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prediction-card__chevron {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform var(--transition);
}

.prediction-card.active .prediction-card__chevron {
    transform: rotate(180deg);
}

.prediction-card.active .prediction-card__header {
    color: var(--accent-light);
}

.prediction-card__brief {
    padding: 0 24px 16px;
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-brief);
    line-height: 1.5;
}

.prediction-card__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.prediction-card.active .prediction-card__body {
    max-height: 1200px;
}

.prediction-card__content {
    padding: 0 24px 20px;
}

.prediction-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.prediction-desc:last-child {
    margin-bottom: 0;
}

.prediction-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.prediction-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
    margin-bottom: 4px;
}

.prediction-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-light);
}

.prediction-highlight {
    color: var(--accent-light);
    font-weight: 600;
}

/* Step columns (two-column layout for integration stages) */
.step-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 16px 0 0;
}

.step-column__header {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-align: center;
}

/* Step boxes (integration stages) — vertical layout */
.step-boxes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.step-box {
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    width: 100%;
    text-align: center;
}

.step-box__title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 4px;
}

.step-box__desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.step-sep {
    color: var(--accent-light);
    font-size: 0.75rem;
    opacity: 0.5;
    padding: 4px 0;
}

/* ---- How We Help ---- */
.help-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.help-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition), background var(--transition);
}

.help-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.help-card__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
}

.help-card__header:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
    border-radius: var(--radius);
}

.help-card__title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.help-card__icon-left {
    flex-shrink: 0;
    font-size: 1.2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.help-card__chevron {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform var(--transition);
}

.help-card.active .help-card__chevron {
    transform: rotate(180deg);
}

.help-card.active .help-card__header {
    color: var(--accent-light);
}

.help-card__brief {
    padding: 0 24px 16px;
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-brief);
    line-height: 1.5;
}

.help-card__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.help-card.active .help-card__body {
    max-height: 800px;
}

.help-card__content {
    padding: 0 24px 20px;
}

.help-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.help-desc:last-child {
    margin-bottom: 0;
}

.help-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.help-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
    margin-bottom: 4px;
}

.help-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-light);
}

.help-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 12px;
}

.help-item {
    padding-left: 14px;
    border-left: 2px solid var(--border);
}

.help-item__title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.4;
}

.help-item__desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.help-link {
    color: var(--accent-light);
    text-decoration: none;
    transition: color var(--transition);
}

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

/* Approach columns (UP-BOTTOM / BOTTOM-UP) */
.approach-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 20px;
}

.approach-col {
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px;
}

.approach-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 12px;
}

.approach-col p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.approach-advisory {
    margin-top: 20px;
    padding: 20px 24px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.approach-advisory h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 8px;
}

.approach-advisory p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ---- Deputy C-Suite ---- */
.deputy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.deputy-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition), background var(--transition);
}

.deputy-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.deputy-card__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
}

.deputy-card__header:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
    border-radius: var(--radius);
}

.deputy-card__title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.deputy-card__icon {
    flex-shrink: 0;
    font-size: 1.2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.deputy-card__chevron {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform var(--transition);
}

.deputy-card.active .deputy-card__chevron {
    transform: rotate(180deg);
}

.deputy-card.active .deputy-card__header {
    color: var(--accent-light);
}

.deputy-card__brief {
    padding: 0 24px 16px;
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-brief);
    line-height: 1.5;
}

.deputy-card__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.deputy-card.active .deputy-card__body {
    max-height: 800px;
}

.deputy-card__content {
    padding: 0 24px 20px;
}

.deputy-card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.deputy-card__desc:last-child {
    margin-bottom: 0;
}

.deputy-card__list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.deputy-card__list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
    margin-bottom: 4px;
}

.deputy-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-light);
}

.deputy-card__list li:last-child {
    margin-bottom: 0;
}

/* ---- Testimonials ---- */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 48px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-bottom: 24px;
    display: flex;
    gap: 4px;
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    font-style: italic;
    margin-bottom: 32px;
}

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

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card-hover);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.testimonial-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.testimonial-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dim);
    cursor: pointer;
    transition: all var(--transition);
}

.testimonial-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

.partners-logos {
    margin-top: 64px;
    text-align: center;
}

.partners-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
}

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

.logo-placeholder {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dim);
    padding: 12px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.logo-placeholder:hover {
    color: var(--text-muted);
    border-color: var(--border-hover);
}

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

.contact-wrapper--single {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.contact-wrapper--single .contact-details {
    align-items: center;
}

.contact-wrapper--single .contact-socials {
    justify-content: center;
}

.contact-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--accent-light);
    width: 20px;
    text-align: center;
}

.contact-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.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='%238892b0' 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;
    cursor: pointer;
}

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

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

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

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}

.footer-tagline {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-top: 12px;
}

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

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--accent-light);
}

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

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

/* ---- Brand Name Animation ---- */
.brand-anim {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -2px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 64px;
    color: var(--text);
    position: relative;
    line-height: 1.1;
    min-height: 1.2em;
}

.brand-anim__left,
.brand-anim__right {
    opacity: 0;
    animation-fill-mode: forwards;
    animation-duration: 1s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-delay: 1.5s;
}

.brand-anim__left {
    animation-name: brandSlideFromLeft;
}

.brand-anim__right {
    animation-name: brandSlideFromRight;
}

.brand-anim__ai {
    position: relative;
    display: inline-block;
    color: var(--accent-light);
    text-shadow:
        0 0 20px rgba(59,130,246,0.6),
        0 0 40px rgba(59,130,246,0.3),
        0 0 80px rgba(6,182,212,0.2);
    animation: brandAiGlow 1.5s ease-in-out forwards, brandAiGlowSettle 1s ease-out 3s forwards;
}

.brand-anim__ai-upper {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    animation: brandFadeOutUpper 0.8s ease-in-out 3s forwards;
}

.brand-anim__ai-lower {
    opacity: 0;
    animation: brandFadeInLower 0.8s ease-in-out 3s forwards;
}

/* Brand navbar-matching colors — applied from the start */
.brand-anim__the {
    color: var(--text-muted);
    font-weight: 400;
}

.brand-anim__sphere {
    color: var(--accent-light);
}

/* Brand settle — AI glow fades after formation */
.brand-anim.settled .brand-anim__ai {
    color: var(--text);
    text-shadow: none;
    transition: color 0.8s ease, text-shadow 0.8s ease;
}


/* Hero inner content — hidden until brand animation finishes */
.hero-inner {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-inner.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Brand animation keyframes */
@keyframes brandSlideFromLeft {
    0%   { opacity: 0; transform: translateX(-80px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes brandSlideFromRight {
    0%   { opacity: 0; transform: translateX(80px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes brandAiGlow {
    0%   { text-shadow: 0 0 0 rgba(59,130,246,0); opacity: 0; transform: scale(0.8); }
    30%  { opacity: 1; transform: scale(1); }
    50%  { text-shadow: 0 0 40px rgba(59,130,246,0.9), 0 0 80px rgba(59,130,246,0.5), 0 0 120px rgba(6,182,212,0.3); }
    100% { text-shadow: 0 0 20px rgba(59,130,246,0.6), 0 0 40px rgba(59,130,246,0.3), 0 0 80px rgba(6,182,212,0.2); }
}

@keyframes brandAiGlowSettle {
    0%   { text-shadow: 0 0 20px rgba(59,130,246,0.6), 0 0 40px rgba(59,130,246,0.3), 0 0 80px rgba(6,182,212,0.2); }
    100% { text-shadow: 0 0 8px rgba(59,130,246,0.3), 0 0 16px rgba(59,130,246,0.1); }
}

@keyframes brandFadeOutUpper {
    0%   { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes brandFadeInLower {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}

/* ---- Companies Carousel ---- */
.companies-header {
    text-align: center;
    margin-bottom: 48px;
}

.companies-carousel {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.companies-track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: companies-scroll 20s linear infinite;
}

.companies-logo {
    width: 160px;
    height: 120px;
    object-fit: contain;
    border-radius: var(--radius);
    flex-shrink: 0;
}

@keyframes companies-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .companies-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
    }
    .brand-anim__left,
    .brand-anim__right {
        opacity: 1;
        animation: none;
    }
    .brand-anim__ai {
        animation: none;
        color: var(--text);
        text-shadow: none;
    }
    .brand-anim__ai-upper { display: none; }
    .brand-anim__ai-lower {
        opacity: 1;
        animation: none;
        position: static;
    }
    .brand-anim__the {
        color: var(--text-muted);
        font-weight: 400;
    }
    .brand-anim__sphere {
        color: var(--accent-light);
    }
    .hero-inner {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   Workflows (AI Workflow Accordion)
   ============================================================ */

.workflows-category {
    margin-bottom: 48px;
}

.workflows-category:last-child {
    margin-bottom: 0;
}

.workflows-category__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.workflows-category__title i {
    font-size: 1.1rem;
}

.workflows-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: start;
}

.workflow-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition), background var(--transition);
}

.workflow-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.workflow-card__cat-icon {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--accent);
    width: 20px;
    text-align: center;
}

.workflow-card__header-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.workflow-card__brief {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.4;
}

.workflow-card__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
}

.workflow-card__header:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
    border-radius: var(--radius);
}

.workflow-card__icon {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform var(--transition);
}

.workflow-card.active .workflow-card__icon {
    transform: rotate(180deg);
}

.workflow-card.active .workflow-card__header {
    color: var(--accent-light);
}

.workflow-card__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.workflow-card.active .workflow-card__body {
    max-height: 800px;
}

.workflow-card__desc {
    padding: 0 24px 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.workflow-card__items {
    padding: 0 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.workflow-card__item {
    padding-left: 14px;
    border-left: 2px solid var(--border);
}

.workflow-card__item-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.4;
}

.workflow-card__item-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ---- Legal Pages ---- */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.legal-page h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--text);
}

.legal-page .legal-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 48px;
}

.legal-page h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--text);
    margin-top: 48px;
    margin-bottom: 16px;
}

.legal-page h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-page p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-page ul,
.legal-page ol {
    color: var(--text-muted);
    padding-left: 24px;
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-page ul {
    list-style: disc;
}

.legal-page ol {
    list-style: decimal;
}

.legal-page li {
    margin-bottom: 8px;
}

.legal-page strong {
    color: var(--text);
    font-weight: 600;
}

.legal-page a {
    color: var(--accent-light);
}

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

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    border: 1px solid var(--border-hover);
    background: transparent;
    transition: all var(--transition);
}

.legal-back:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: var(--accent);
    text-decoration: none;
}

/* ============================================================
   Responsive
   ============================================================ */

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

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

@media (max-width: 768px) {
    .step-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 15, 36, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        border-left: 1px solid var(--border);
        transition: right var(--transition);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link--cta {
        text-align: center;
    }

    .brand-anim {
        font-size: clamp(2rem, 10vw, 3.2rem);
        letter-spacing: -1px;
        margin-bottom: 48px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 2.8rem);
    }

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

    .contact-form {
        padding: 28px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 48px;
    }

    .testimonial-card {
        padding: 32px 24px;
    }

    .logos-row {
        gap: 20px;
    }

    .logo-placeholder {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .legal-page {
        padding: 100px 24px 60px;
    }
}

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

    .section {
        padding: 72px 0;
    }

    .brand-anim {
        font-size: clamp(1.6rem, 12vw, 2.4rem);
        letter-spacing: -0.5px;
        margin-bottom: 40px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }

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

    .workflow-card__header {
        padding: 16px 20px;
        font-size: 0.9rem;
    }

    .workflow-card__desc {
        padding: 0 20px 16px;
    }

    .legal-page {
        padding: 90px 16px 48px;
    }

    .legal-back {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}
