/* ============================================
   invstn.me - Styles
   Design System + Component Styles
   ============================================ */

/* ============================================
   Font Faces
   ============================================ */

/* red-hat-text-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Red Hat Text';
  font-style: normal;
  font-weight: 400;
  src: url('../font-files/red-hat-text-v19-latin-regular.woff2') format('woff2');
}

/* red-hat-text-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Red Hat Text';
  font-style: normal;
  font-weight: 500;
  src: url('../font-files/red-hat-text-v19-latin-500.woff2') format('woff2');
}

/* red-hat-text-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Red Hat Text';
  font-style: normal;
  font-weight: 600;
  src: url('../font-files/red-hat-text-v19-latin-600.woff2') format('woff2');
}

/* red-hat-text-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Red Hat Text';
  font-style: normal;
  font-weight: 700;
  src: url('../font-files/red-hat-text-v19-latin-700.woff2') format('woff2');
}

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
    /* Primary Purple Gradient */
    --purple-light: #7d60a9;
    --purple-mid: #4d1681;
    --purple-dark: #2c094e;
    
    /* Secondary Blue */
    --blue-light: #5672a8;
    --blue-mid: #163881;
    --blue-dark: #091f4e;
    
    /* Accent Green */
    --green-light: #68a764;
    --green-mid: #168118;
    --green-dark: #094e0a;
    
    /* Neutrals */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --dark: #1a1a2e;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--purple-light) 0%, var(--purple-mid) 50%, var(--purple-dark) 100%);
    --gradient-text: linear-gradient(135deg, var(--purple-light) 0%, var(--blue-mid) 100%);
    
    /* Typography */
    --font-family: 'Red Hat Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Font Sizes (fluid) */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Layout */
    --container-max: 1200px;
    --header-height: 80px;
    --header-height-scrolled: 64px;
    
    /* Borders & Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

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

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

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-regular);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--purple-mid);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--purple-dark);
}

ul, ol {
    list-style: none;
}

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--purple-mid);
    outline-offset: 2px;
}

/* ============================================
   Skip Link (Accessibility)
   ============================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--purple-mid);
    color: var(--white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-md);
}

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

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: var(--text-3xl); font-weight: var(--font-weight-bold); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--purple-mid);
    border: 2px solid var(--purple-mid);
}

.btn-secondary:hover {
    background: var(--purple-mid);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--purple-mid);
    border: 2px solid var(--purple-mid);
}

.btn-outline:hover {
    background: var(--purple-mid);
    color: var(--white);
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all var(--transition-base);
}

.header.scrolled {
    height: var(--header-height-scrolled);
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: height var(--transition-base);
}

.header.scrolled .logo-img {
    height: 32px;
}

.nav-list {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
    padding: var(--space-sm) 0;
    position: relative;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--purple-mid);
}

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

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    position: relative;
    transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    left: 0;
    transition: transform var(--transition-base);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-4xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 50%, var(--gray-100) 100%);
    z-index: -2;
}

.hero-image {
    display: none;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-lg);
    line-height: 1.15;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--gray-600);
    margin-bottom: var(--space-2xl);
    max-width: 700px;
}

.credibility-signals {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.signal {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
}

.signal-icon {
    font-size: 1rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* ----------------------------------------
   Hero Split Layout (2/3 Image Right)
   Add class "hero--split" to .hero
   ---------------------------------------- */
.hero--split {
    min-height: 100vh;
}

.hero--split .hero-bg {
    background: var(--white);
}

.hero--split .hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    z-index: 0;
}

.hero--split .hero-image {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 0;
}

.hero--split .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Gradient fade from left content area into image */
.hero--split .hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        to right,
        var(--white) 0%,
        rgba(255, 255, 255, 0.8) 40%,
        transparent 100%
    );
    z-index: 1;
}

/* Subtle color overlay on image */
.hero--split .hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(77, 22, 129, 0.1) 0%,
        rgba(125, 96, 169, 0.2) 100%
    );
    z-index: 0;
}

.hero--split .hero-content {
    max-width: 600px;
    padding-right: var(--space-2xl);
}

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

/* ----------------------------------------
   Hero Responsive Adjustments
   ---------------------------------------- */
@media (max-width: 1200px) {
    .hero--split .hero-image {
        width: 50%;
    }
    
    .hero--split .hero-content {
        max-width: 550px;
    }
}

@media (max-width: 992px) {
    /* Split layout: becomes fullscreen image with overlay on tablet/mobile */
    .hero--split {
        min-height: 100vh;
        padding-top: calc(var(--header-height) + var(--space-3xl));
        padding-bottom: var(--space-3xl);
    }
    
    .hero--split .hero-bg {
        display: none;
    }
    
    .hero--split .hero-image {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
    }
    
    .hero--split .hero-image::before {
        display: none;
    }
    
    .hero--split .hero-image::after {
        background: linear-gradient(
            180deg,
            rgba(44, 9, 78, 0.85) 0%,
            rgba(77, 22, 129, 0.75) 40%,
            rgba(125, 96, 169, 0.65) 100%
        );
    }
    
    .hero--split .hero-content {
        max-width: 100%;
        padding-right: 0;
        text-align: center;
    }
    
    .hero--split .hero-title {
        color: var(--white);
    }
    
    .hero--split .hero-title .gradient-text {
        background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.85) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .hero--split .hero-subtitle {
        color: rgba(255, 255, 255, 0.9);
        max-width: 100%;
    }
    
    .hero--split .signal {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
        color: var(--white);
        backdrop-filter: blur(10px);
    }
    
    .hero--split .btn-secondary {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
        border-color: var(--white);
    }
    
    .hero--split .btn-secondary:hover {
        background: var(--white);
        color: var(--purple-mid);
    }
    
    .hero--split .credibility-signals {
        justify-content: center;
    }
    
    .hero--split .hero-cta {
        justify-content: center;
    }
    
    .hero--split .container {
        position: relative;
        z-index: 2;
    }
}

@media (max-width: 768px) {
    .hero--split {
        min-height: 100vh;
        padding-top: calc(var(--header-height) + var(--space-2xl));
    }
    
    .hero--split .hero-subtitle {
        font-size: var(--text-base);
    }
    
    .hero--split .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .hero--split .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero--split .credibility-signals {
        gap: var(--space-sm);
    }
    
    .hero--split .signal {
        font-size: var(--text-xs);
        padding: var(--space-xs) var(--space-sm);
    }
}

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

/* ============================================
   Sections (General)
   ============================================ */
.section {
    padding: var(--space-5xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    text-align: center;
    font-size: var(--text-xl);
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

.section-intro {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--gray-700);
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
}

/* ============================================
   Problem Section
   ============================================ */
.section-problem {
    background: var(--off-white);
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.problem-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 100%;
    height: 180px;
    margin: calc(-1 * var(--space-xl)) calc(-1 * var(--space-xl)) var(--space-lg);
    width: calc(100% + 2 * var(--space-xl));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
}

.card-text {
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
}

.card-list {
    margin-bottom: var(--space-lg);
}

.card-list li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    position: relative;
    color: var(--gray-700);
}

.card-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--purple-mid);
    font-weight: bold;
}

.card-emphasis {
    font-weight: var(--font-weight-semibold);
    color: var(--purple-dark);
    padding-top: var(--space-md);
    border-top: 1px solid var(--gray-200);
}

.section-quote {
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--green-light) 0%, var(--green-mid) 50%, var(--green-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: var(--text-xl);
    font-weight: var(--font-weight-medium);
    font-style: italic;
    text-align: center;
}

/* ============================================
   Solution Section (Pillars)
   ============================================ */
.pillars-heading {
    text-align: center;
    margin-bottom: var(--space-2xl);
    color: var(--gray-700);
}

.pillars {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.pillar {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.pillar-content {
    padding: var(--space-xl);
}

.pillar-title {
    font-size: var(--text-xl);
    margin: 0 0 var(--space-md) 0;
}

.pillar-description {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
    margin-bottom: var(--space-lg);
}

.pillar-detail {
    margin-bottom: var(--space-lg);
}

.pillar-detail h5 {
    font-size: var(--text-base);
    color: var(--purple-mid);
    margin-bottom: var(--space-sm);
}

.pillar-detail ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.pillar-detail li {
    padding-left: var(--space-lg);
    position: relative;
    color: var(--gray-700);
}

.pillar-detail li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--green-mid);
}

.pillar-note {
    padding: var(--space-md);
    background: rgba(125, 96, 169, 0.1);
    border-radius: var(--radius-md);
    color: var(--purple-dark);
    font-weight: var(--font-weight-medium);
}

/* ============================================
   Partnership Section (Phases)
   ============================================ */
.section-partnership {
    background: var(--off-white);
}

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

/* Phases 3 and 4 span full width */
.phase:nth-child(3),
.phase:nth-child(4) {
    grid-column: span 2;
}

.phase {
    display: flex;
    gap: var(--space-xl);
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.phase-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    border-radius: var(--radius-full);
}

.phase-content {
    flex: 1;
}

.phase-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
}

.phase-description {
    color: var(--gray-600);
    margin-bottom: var(--space-md);
}

.phase-list {
    margin-bottom: var(--space-lg);
}

.phase-list li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    position: relative;
    color: var(--gray-700);
}

.phase-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green-mid);
    font-weight: bold;
}

.phase-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-md);
}

.phase-split h4 {
    font-size: var(--text-base);
    color: var(--purple-mid);
    margin-bottom: var(--space-sm);
}

.phase-deliverable {
    padding: var(--space-md);
    background: var(--green-light);
    border-radius: var(--radius-md);
    color: var(--white);
}

/* ============================================
   Technology Section
   ============================================ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.tech-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--off-white);
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast);
}

.tech-item:hover {
    transform: translateX(4px);
}

.tech-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple-mid) 100%);
    color: var(--white);
    border-radius: var(--radius-md);
}

.tech-icon svg {
    width: 22px;
    height: 22px;
}

.tech-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.tech-content strong {
    color: var(--dark);
}

.tech-content span {
    color: var(--gray-600);
    font-size: var(--text-sm);
}

.roadmap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.roadmap-section {
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
}

.roadmap-section:first-child {
    background: var(--green-mid);
}

.roadmap-section:last-child {
    background: var(--green-light);
}

.roadmap-title {
    font-size: var(--text-lg);
    color: var(--white);
    margin-bottom: var(--space-md);
}

.roadmap-items {
    color: var(--white);
}

.tech-note {
    text-align: center;
    color: var(--gray-600);
    font-style: italic;
}

/* ============================================
   Who We Serve Section (Tabs)
   ============================================ */
.section-serve {
    background: var(--off-white);
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.tab {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    color: var(--gray-600);
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
}

.tab:hover {
    border-color: var(--purple-light);
    color: var(--purple-mid);
}

.tab.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.tab-panels {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

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

.tab-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    padding: var(--space-2xl);
}

.tab-text h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-lg);
}

.tab-text h4 {
    font-size: var(--text-lg);
    color: var(--purple-mid);
    margin-bottom: var(--space-md);
}

.tab-text ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.tab-text li {
    padding-left: var(--space-lg);
    position: relative;
    color: var(--gray-700);
}

.tab-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green-mid);
    font-weight: bold;
}

.tab-image {
    display: flex;
    align-items: center;
}

.tab-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ============================================
   Why Us Section (Differentiators)
   ============================================ */
.differentiators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.diff-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--off-white);
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast);
}

.diff-item:hover {
    transform: translateX(4px);
}

.diff-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple-mid) 100%);
    color: var(--white);
    border-radius: var(--radius-md);
}

.diff-icon svg {
    width: 22px;
    height: 22px;
}

.diff-content strong {
    display: block;
    color: var(--dark);
    margin-bottom: var(--space-xs);
}

.diff-content p {
    color: var(--gray-600);
    font-size: var(--text-sm);
    margin: 0;
}

/* ============================================
   CTA Section
   ============================================ */
.section-about {
    background: var(--off-white);
}

.section-cta {
    background: var(--white);
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--off-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.hidden {
    display: none !important;
}

.form-section {
    border: none;
    margin-bottom: var(--space-xl);
}

.form-section legend {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--purple-mid);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--gray-200);
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

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

.form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: var(--space-lg);
}

.form-group.full-width:last-child {
    margin-bottom: 0;
}

.form-group label {
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
}

.required {
    color: var(--purple-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-md);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--purple-mid);
    box-shadow: 0 0 0 3px rgba(125, 96, 169, 0.1);
    outline: none;
}

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

.btn-submit {
    width: 100%;
    padding: var(--space-lg);
    font-size: var(--text-lg);
    margin-top: var(--space-lg);
}

/* Form Success Message */
.form-success {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.form-success .success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--green-light) 0%, var(--green-mid) 50%, var(--green-dark) 100%);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-xl);
}

.form-success .success-icon svg {
    color: var(--white);
}

.form-success h3 {
    font-size: var(--text-2xl);
    color: var(--green-dark);
    margin-bottom: var(--space-md);
}

.form-success p {
    font-size: var(--text-lg);
    color: var(--gray-600);
    max-width: 500px;
    margin: 0 auto var(--space-md);
    line-height: 1.7;
}

.form-success .success-note {
    font-size: var(--text-sm);
    color: var(--gray-500);
    font-style: italic;
}

/* ============================================
   About Section
   ============================================ */
.about-content {
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
}

.about-block {
    margin-bottom: var(--space-2xl);
}

.about-block h3 {
    font-size: var(--text-xl);
    color: var(--purple-mid);
    margin-bottom: var(--space-md);
}

.about-block p {
    color: var(--gray-700);
    line-height: 1.8;
}

.about-differentiators {
    margin-bottom: var(--space-2xl);
}

.about-differentiators h3 {
    font-size: var(--text-xl);
    color: var(--purple-mid);
    margin-bottom: var(--space-lg);
}

.about-differentiators ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about-differentiators li {
    padding-left: var(--space-lg);
    position: relative;
    color: var(--gray-700);
}

.about-differentiators li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--green-mid);
}

/* Founders */
.founders {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.founder {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple-mid) 50%, var(--purple-dark) 100%);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
}

.founder-image {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-lg);
}

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

.founder-info h4 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-xs);
    color: var(--white);
}

.founder-role {
    color: rgba(255, 255, 255, 0.9);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
}

.founder-bio {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-sm);
    line-height: 1.7;
}

.honest-note {
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--green-light) 0%, var(--green-mid) 50%, var(--green-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    text-align: center;
}

.honest-note h3 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.honest-note p {
    opacity: 0.95;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--green-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-3xl) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-3xl);
    align-items: start;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 36px;
    margin-bottom: var(--space-md);
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
}

.footer-brand .copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-xs);
}


.footer-disclaimer {
    padding: 0;
}

.footer-disclaimer p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}


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

/* Tablet */
@media (max-width: 992px) {
    .tab-content {
        grid-template-columns: 1fr;
    }
    
    .tab-image {
        order: -1;
    }
    
    .tab-image img {
        height: 250px;
    }
    
    .card-icon {
        height: 270px;
    }
    
    .phases {
        grid-template-columns: 1fr;
    }
    
    .phase:nth-child(3),
    .phase:nth-child(4) {
        grid-column: span 1;
    }
    
    .phase {
        flex-direction: column;
    }
    
    .phase-number {
        width: 50px;
        height: 50px;
        font-size: var(--text-xl);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --header-height-scrolled: 60px;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        z-index: 1000;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .nav-link {
        font-size: var(--text-lg);
        padding: var(--space-md) 0;
    }
    
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .section {
        padding: var(--space-3xl) 0;
    }
    
    .problem-cards {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab {
        width: 100%;
        text-align: center;
    }
    
    .tab-content {
        padding: var(--space-lg);
    }
    
    .differentiators {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: var(--space-lg);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .founders {
        grid-template-columns: 1fr;
    }
    
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .signal {
        font-size: var(--text-xs);
        padding: var(--space-xs) var(--space-sm);
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .card-icon {
        height: 200px;
    }
}
