/* ==========================================================
   SYLER Systems — Design System
   Premium AI Engineering Company Website
   Color: White, Light Grey, Black (light theme dominant)
   Font: Inter + JetBrains Mono
   ========================================================== */

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

:root {
    /* Core palette — light grey & white dominant, black accent */
    --white: #ffffff;
    --grey-50: #fafafa;
    --grey-100: #f5f5f5;
    --grey-150: #efefef;
    --grey-200: #e5e5e5;
    --grey-300: #d4d4d4;
    --grey-400: #a3a3a3;
    --grey-500: #737373;
    --grey-600: #525252;
    --grey-700: #404040;
    --grey-800: #262626;
    --grey-900: #171717;
    --grey-950: #0a0a0a;
    --black: #000000;

    /* Semantic */
    --bg-primary: var(--white);
    --bg-secondary: var(--grey-50);
    --bg-tertiary: var(--grey-100);
    --text-primary: var(--grey-900);
    --text-secondary: var(--grey-600);
    --text-tertiary: var(--grey-400);
    --border-light: var(--grey-200);
    --border-subtle: var(--grey-150);

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --space-5xl: 128px;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4.5rem;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;

    /* Layout */
    --max-width: 1200px;
    --nav-height: 64px;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-2xl);
    }
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out);
}

.nav.scrolled {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

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

@media (min-width: 768px) {
    .nav-inner {
        padding: 0 var(--space-2xl);
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--grey-900);
    z-index: 101;
}

.nav-logo-icon {
    width: 28px;
    height: 28px;
}

.nav-logo-text {
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.nav-links {
    display: none;
    align-items: center;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    transition: color var(--duration-fast) var(--ease-out);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--grey-900);
    transition: width var(--duration-normal) var(--ease-out);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    z-index: 101;
}

.nav-cta {
    display: none;
    padding: 8px 20px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--white);
    background: var(--grey-900);
    border-radius: 6px;
    transition: background var(--duration-fast) var(--ease-out);
}

@media (min-width: 768px) {
    .nav-cta {
        display: inline-flex;
    }
}

.nav-cta:hover {
    background: var(--grey-700);
}

/* Mobile Toggle */
.nav-mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
    cursor: pointer;
}

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

.hamburger-line {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--grey-900);
    transition: transform var(--duration-normal) var(--ease-out), opacity var(--duration-fast);
}

.nav-mobile-toggle.active .hamburger-line:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.nav-mobile-toggle.active .hamburger-line:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-slow) var(--ease-out), visibility var(--duration-slow);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
}

.mobile-menu-link {
    font-size: var(--text-3xl);
    font-weight: 500;
    color: var(--grey-900);
    transition: opacity var(--duration-fast);
}

.mobile-menu-link:hover {
    opacity: 0.5;
}

.mobile-menu-cta {
    margin-top: var(--space-lg);
    padding: 12px 32px;
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--white);
    background: var(--grey-900);
    border-radius: 6px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    font-size: var(--text-sm);
    font-weight: 500;
    font-family: var(--font-sans);
    border-radius: 6px;
    transition: all var(--duration-normal) var(--ease-out);
    cursor: pointer;
    border: none;
    line-height: 1;
}

.btn-primary {
    color: var(--white);
    background: var(--grey-900);
}

.btn-primary:hover {
    background: var(--grey-700);
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    color: var(--text-primary);
    border-color: var(--grey-400);
    background: var(--grey-50);
}

.btn-white {
    color: var(--grey-900);
    background: var(--white);
}

.btn-white:hover {
    background: var(--grey-100);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: var(--text-base);
}

/* --- Section Common --- */
.section {
    padding: var(--space-5xl) 0;
    position: relative;
}

@media (max-width: 767px) {
    .section {
        padding: var(--space-4xl) 0;
    }
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-4xl);
}

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

@media (max-width: 767px) {
    .section-title {
        font-size: var(--text-3xl);
    }
}

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

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero {
    padding: calc(var(--nav-height) + var(--space-5xl)) 0 var(--space-4xl);
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

@media (max-width: 767px) {
    .hero {
        padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
        min-height: auto;
    }
}

/* --- Hero Animated Gradient Mesh --- */
.hero-gradient-mesh {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.gradient-orb-1 {
    width: 600px;
    height: 600px;
    top: -15%;
    right: -10%;
    background: radial-gradient(circle, #e8e8e8 0%, transparent 70%);
    animation: orb-drift-1 18s ease-in-out infinite;
}

.gradient-orb-2 {
    width: 500px;
    height: 500px;
    bottom: -10%;
    left: -8%;
    background: radial-gradient(circle, #e0e0e0 0%, transparent 70%);
    animation: orb-drift-2 22s ease-in-out infinite;
}

.gradient-orb-3 {
    width: 400px;
    height: 400px;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, #d8d8d8 0%, transparent 70%);
    animation: orb-drift-3 15s ease-in-out infinite;
}

@keyframes orb-drift-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-40px, 30px) scale(1.05); }
    50% { transform: translate(-20px, 60px) scale(0.95); }
    75% { transform: translate(30px, 20px) scale(1.02); }
}

@keyframes orb-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.04); }
    50% { transform: translate(50px, -40px) scale(0.96); }
    75% { transform: translate(20px, -10px) scale(1.03); }
}

@keyframes orb-drift-3 {
    0%, 100% { transform: translateX(-50%) translate(0, 0) scale(1); }
    33% { transform: translateX(-50%) translate(40px, -30px) scale(1.08); }
    66% { transform: translateX(-50%) translate(-30px, 20px) scale(0.94); }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 6px 16px;
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    margin-bottom: var(--space-2xl);
    letter-spacing: 0.05em;
    background: var(--white);
}

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

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-size: var(--text-6xl);
    font-weight: 600;
    line-height: 1.05;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: var(--text-5xl);
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: var(--text-3xl);
    }
}

/* --- Animated Gradient Text --- */
.gradient-text {
    background: linear-gradient(
        135deg,
        var(--grey-900) 0%,
        var(--grey-500) 25%,
        var(--grey-900) 50%,
        var(--grey-500) 75%,
        var(--grey-900) 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 6s ease-in-out infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

@media (max-width: 767px) {
    .hero-subtitle {
        font-size: var(--text-base);
    }
}

.hide-mobile {
    display: inline;
}

@media (max-width: 767px) {
    .hide-mobile {
        display: none;
    }
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* --- Hero Visual — System Diagram --- */
.hero-visual {
    margin-top: var(--space-4xl);
    position: relative;
}

.hero-grid {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    aspect-ratio: 2 / 1;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    background: var(--grey-50);
}

.hero-grid-line {
    position: absolute;
    background: var(--border-subtle);
}

.hero-grid-line-h {
    left: 0;
    right: 0;
    height: 1px;
}

.hero-grid-line-v {
    top: 0;
    bottom: 0;
    width: 1px;
}

.hero-node {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero-node-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--grey-900);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
    animation: node-pulse 3s ease-in-out infinite;
}

.hero-node:nth-child(5) .hero-node-dot {
    animation-delay: 0.5s;
}

.hero-node:nth-child(6) .hero-node-dot {
    animation-delay: 1s;
}

@keyframes node-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05); }
    50% { box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.02); }
}

.hero-node-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-tertiary);
    letter-spacing: 0.05em;
}

.hero-connections {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-connection-line {
    stroke: var(--grey-300);
    stroke-width: 0.3;
    stroke-dasharray: 4 4;
    animation: dash-flow 20s linear infinite;
}

@keyframes dash-flow {
    to { stroke-dashoffset: -100; }
}

/* ==========================================================
   SOLUTIONS SECTION
   ========================================================== */
.solutions {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.solution-card {
    padding: var(--space-2xl);
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--duration-normal) var(--ease-out),
                transform var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out);
}

.solution-card:hover {
    border-color: var(--grey-300);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* Animated gradient border shimmer on card hover */
.solution-card-gradient {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--grey-400) 20%,
        var(--grey-900) 50%,
        var(--grey-400) 80%,
        transparent 100%
    );
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
    animation: gradient-border-slide 3s linear infinite;
    border-radius: 12px 12px 0 0;
}

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

@keyframes gradient-border-slide {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.solution-icon {
    color: var(--grey-500);
    margin-bottom: var(--space-lg);
}

.solution-number {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    margin-bottom: var(--space-md);
}

.solution-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.solution-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.solution-tag {
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-tertiary);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    background: var(--grey-50);
}

/* ==========================================================
   INDUSTRIES SECTION
   ========================================================== */
.industries {
    background: var(--bg-primary);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-lg);
}

@media (min-width: 640px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.industry-card {
    padding: var(--space-2xl);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: var(--bg-primary);
    transition: border-color var(--duration-normal) var(--ease-out),
                background var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out);
}

.industry-card:hover {
    border-color: var(--grey-300);
    background: var(--grey-50);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.industry-icon-wrap {
    color: var(--grey-600);
    margin-bottom: var(--space-lg);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: var(--grey-50);
}

.industry-name {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.industry-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================
   PROCESS SECTION
   ========================================================== */
.process {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.process-timeline {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-light);
    overflow: hidden;
    border-radius: 1px;
}

@media (min-width: 768px) {
    .process-line {
        left: 28px;
    }
}

/* Animated gradient flowing down the process line */
.process-line-gradient {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        var(--grey-500) 30%,
        var(--grey-900) 50%,
        var(--grey-500) 70%,
        transparent 100%
    );
    animation: process-line-flow 4s ease-in-out infinite;
}

@keyframes process-line-flow {
    0% { top: -100%; }
    100% { top: 200%; }
}

.process-step {
    display: flex;
    gap: var(--space-xl);
    padding-bottom: var(--space-3xl);
    position: relative;
}

.process-step:last-child {
    padding-bottom: 0;
}

.process-step-marker {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.process-step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--grey-600);
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    transition: border-color var(--duration-normal) var(--ease-out),
                color var(--duration-normal) var(--ease-out),
                background var(--duration-normal) var(--ease-out);
}

@media (min-width: 768px) {
    .process-step-number {
        width: 56px;
        height: 56px;
        font-size: var(--text-sm);
    }
}

.process-step:hover .process-step-number {
    border-color: var(--grey-900);
    color: var(--white);
    background: var(--grey-900);
}

.process-step-content {
    padding-top: var(--space-sm);
}

.process-step-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.process-step-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================
   ABOUT SECTION
   ========================================================== */
.about {
    background: var(--bg-primary);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

@media (min-width: 1024px) {
    .about-layout {
        grid-template-columns: 1.2fr 1fr;
    }
}

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

.about-text {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.about-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--border-light);
}

.about-stat-value {
    font-size: var(--text-3xl);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
}

.about-stat-label {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Founder Card */
.founder-card {
    padding: var(--space-2xl);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: var(--grey-50);
}

.founder-avatar {
    margin-bottom: var(--space-lg);
}

.founder-quote {
    font-size: var(--text-lg);
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-style: italic;
    position: relative;
    padding-left: var(--space-lg);
    border-left: 2px solid var(--grey-300);
}

.founder-info {
    margin-bottom: var(--space-lg);
}

.founder-name {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
}

.founder-role {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.founder-detail p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================
   CTA SECTION — Dark contrast block with animated gradient
   ========================================================== */
.cta-section {
    padding: var(--space-5xl) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.cta-block {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated gradient background for CTA */
.cta-gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        #0a0a0a 0%,
        #1a1a1a 20%,
        #2a2a2a 40%,
        #1a1a1a 60%,
        #111111 80%,
        #0a0a0a 100%
    );
    background-size: 400% 400%;
    animation: cta-gradient-flow 10s ease infinite;
}

@keyframes cta-gradient-flow {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 0%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 100%; }
    100% { background-position: 0% 50%; }
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-4xl) var(--space-2xl);
}

.cta-title {
    font-size: var(--text-4xl);
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.02em;
    margin: var(--space-lg) 0;
    line-height: 1.15;
}

@media (max-width: 767px) {
    .cta-title {
        font-size: var(--text-3xl);
    }
}

.cta-desc {
    font-size: var(--text-lg);
    color: var(--grey-400);
    max-width: 500px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
}

.cta-actions {
    margin-bottom: var(--space-lg);
}

.cta-note {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--grey-600);
    letter-spacing: 0.02em;
}

/* ==========================================================
   FOOTER — Dark for contrast
   ========================================================== */
.footer {
    padding: var(--space-4xl) 0 var(--space-2xl);
    background: var(--grey-950);
    color: var(--grey-400);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--grey-800);
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: 1.2fr 2fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer-logo-icon {
    width: 24px;
    height: 24px;
}

.footer-logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.footer-logo-text {
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer-logo-subtext {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--grey-500);
    margin-top: 2px;
}

.footer-tagline {
    font-size: var(--text-sm);
    color: var(--grey-500);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
}

@media (min-width: 768px) {
    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-col-title {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-link {
    font-size: var(--text-sm);
    color: var(--grey-500);
    transition: color var(--duration-fast);
}

.footer-link:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding-top: var(--space-2xl);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-copyright {
    font-size: var(--text-xs);
    color: var(--grey-600);
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal-link {
    font-size: var(--text-xs);
    color: var(--grey-600);
    transition: color var(--duration-fast);
}

.footer-legal-link:hover {
    color: var(--grey-300);
}

/* ==========================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================== */
.anim-fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }

/* ==========================================================
   GLOBAL UTILITIES
   ========================================================== */
::selection {
    background: rgba(0, 0, 0, 0.08);
    color: var(--grey-900);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--grey-100);
}

::-webkit-scrollbar-thumb {
    background: var(--grey-300);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--grey-400);
}

/* ==========================================================
   BOOKING MODAL STYLES
   ========================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background-color: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-normal) var(--ease-out);
    padding: var(--space-md);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 680px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: var(--space-2xl);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1) inset;
    transform: translateY(30px) scale(0.98);
    transition: transform var(--duration-normal) var(--ease-out);
    overflow-y: auto;
    max-height: 90vh;
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--duration-fast), background-color var(--duration-fast);
    z-index: 10;
}

.modal-close:hover {
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}

.modal-state {
    display: none;
}

.modal-state.active {
    display: block;
    animation: modal-fade-in var(--duration-normal) var(--ease-out);
}

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

.modal-header {
    margin-bottom: var(--space-xl);
    padding-right: var(--space-2xl);
}

.modal-label {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--grey-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: var(--space-sm);
}

.modal-title {
    font-size: var(--text-3xl);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

.modal-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Form Layout */
.booking-form .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

@media (min-width: 576px) {
    .booking-form .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .booking-form .form-group.full-width {
        grid-column: span 2;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-label {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: var(--space-md);
    transition: border-color var(--duration-fast), background-color var(--duration-fast), box-shadow var(--duration-fast);
    width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--grey-400);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--black);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-textarea {
    resize: vertical;
}

/* Error States */
.form-error-msg {
    font-size: var(--text-xs);
    color: #ef4444;
    display: none;
    margin-top: 2px;
}

.form-group.has-error .form-input,
.form-group.has-error .form-textarea {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.form-group.has-error .form-error-msg {
    display: block;
    animation: form-shake 0.4s var(--ease-out);
}

@keyframes form-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

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

.form-privacy-note {
    font-size: var(--text-xs);
    color: var(--grey-500);
    text-align: center;
    line-height: 1.5;
}

/* Spinner Loader */
.btn-loader-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: btn-spin 0.8s linear infinite;
    margin-right: var(--space-sm);
}

.btn-white .btn-loader-spinner {
    border-color: rgba(0, 0, 0, 0.1);
    border-top-color: var(--black);
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* Success Layout */
.success-content {
    text-align: center;
    padding: var(--space-xl) 0 var(--space-md);
}

.success-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #10b981;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #10b981;
    animation: success-fill .4s ease-in-out .4s forwards, success-scale .3s ease-in-out .9s both;
}

.success-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #10b981;
    fill: none;
    animation: success-stroke .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: success-stroke .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}

@keyframes success-stroke {
    100% { stroke-dashoffset: 0; }
}

@keyframes success-fill {
    100% { box-shadow: inset 0px 0px 0px 40px rgba(16, 185, 129, 0.06); }
}

@keyframes success-scale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}

.success-title {
    font-size: var(--text-3xl);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.success-desc {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto var(--space-lg);
}

.success-desc strong {
    color: var(--text-primary);
    font-weight: 600;
}

.success-followup {
    font-size: var(--text-sm);
    color: var(--grey-500);
    max-width: 450px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.6;
}

/* Prevent scroll on body when modal active */
body.modal-open {
    overflow: hidden;
    padding-right: 6px; /* Match scrollbar width to prevent layout shift */
}
