/* ==========================================================================
   THE AURORA OBSIDIAN DESIGN SYSTEM (PREMIUM GRAPHICS THEME)
   ========================================================================== */
:root {
    /* Color Palette - Premium Executive Dark Theme */
    --bg-base: #040406;              /* Deep obsidian black */
    --bg-card: #0d0e12;              /* Rich solid charcoal slate */
    --bg-glass: rgba(13, 14, 18, 0.75); /* Frosted premium glass */
    --bg-glass-hover: rgba(20, 22, 28, 0.85);
    
    /* Elegant Accents */
    --accent-indigo: #6366f1;       /* Deep Indigo */
    --accent-emerald: #10b981;      /* Aurora Emerald */
    --accent-cyan: #06b6d4;         /* Electric Cyan */
    
    /* Premium Gradients */
    --grad-primary: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-cyan) 50%, var(--accent-emerald) 100%);
    --grad-text: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
    --grad-card-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    
    /* Borders & Highlights */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.4);
    
    /* Typography Colors */
    --text-primary: #ffffff;        /* Pure white */
    --text-secondary: #94a3b8;      /* Muted slate-blue */
    --text-muted: #575c66;          /* Charcoal ash */
    
    /* Layout Tokens */
    --container-max-width: 1160px;
    --header-height: 90px;
    --radius-lg: 20px;              /* Clean executive corners */
    --radius-md: 14px;
    --radius-sm: 8px;
    
    /* Animations & Transitions */
    --transition-editorial: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-base);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--bg-base);
    overflow-x: hidden;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 2px solid var(--bg-base);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-indigo);
}

/* Typography Rules */
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.15;
}

h1 {
    font-size: 4.4rem;
}

h2 {
    font-size: 2.6rem;
}

h3 {
    font-size: 1.6rem;
}

p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

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

/* ==========================================================================
   DYNAMIC AMBIENT BACKGROUNDS (AURORA & STATIC DEPTH)
   ========================================================================== */
.aurora-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.aurora-blob {
    position: absolute;
    width: 52vw;
    height: 52vw;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.22; /* Increased opacity for rich, highly visible colors */
    mix-blend-mode: screen;
    will-change: transform, opacity; /* Promotes elements to hardware layers */
    transform: translate3d(0, 0, 0); /* Forces GPU compositing */
}

.aurora-1 {
    top: -10%;
    right: -5%;
    background: radial-gradient(circle, var(--accent-indigo) 0%, transparent 80%);
    animation: drift-slow 22s infinite alternate; /* Slightly faster drift */
}

.aurora-2 {
    bottom: -15%;
    left: -10%;
    background: radial-gradient(circle, var(--accent-emerald) 0%, transparent 80%);
    animation: drift-slower 26s infinite alternate-reverse;
}

.aurora-3 {
    top: 30%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 38vw;
    height: 38vw;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 80%);
    opacity: 0.12; /* Increased opacity */
    animation: pulse-glow 12s infinite alternate;
}

@keyframes drift-slow {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(-15%, 20%, 0) scale(1.25); } /* Expanded drift range */
}

@keyframes drift-slower {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(20%, -15%, 0) scale(1.3); }
}

@keyframes pulse-glow {
    0% { opacity: 0.08; }
    100% { opacity: 0.16; }
}

/* Technical grid lines overlay */
.tech-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    pointer-events: none;
    mask-image: radial-gradient(circle at 50% 50%, black 45%, transparent 95%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 45%, transparent 95%);
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-spacer {
    padding: 120px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.center-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: linear-gradient(90deg, var(--accent-indigo), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 12px;
}

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

.section-intro {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 60px;
    font-weight: 300;
    line-height: 1.7;
}

/* Gradient typography text */
.gradient-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ==========================================================================
   HIGH-END DYNAMIC BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    gap: 10px;
    border: none;
    z-index: 10;
}

.btn-primary {
    background: #ffffff;
    color: #040406;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.08);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.15), 0 0 20px rgba(99, 102, 241, 0.2);
    background: #ffffff;
    color: #000000;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-indigo);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.2);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--text-primary);
    transform: translateY(-3px);
}

.text-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

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

.text-link:hover .arrow {
    transform: translateX(6px);
}

.arrow {
    transition: var(--transition-smooth);
    color: var(--accent-indigo);
}

/* ==========================================================================
   SURFACE CARDS (SOLID GLASS ARCHITECTURE WITH DEPTH)
   ========================================================================== */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.glass-card {
    background: var(--bg-glass); /* Substantial, visible glass background */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    transition: var(--transition-editorial);
    position: relative;
    z-index: 10;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); /* Executive shadows */
}

/* Clean, glowing border overlay on hover */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad-card-glow);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.glass-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: 
        0 20px 48px -10px rgba(0, 0, 0, 0.5),
        0 0 30px -5px rgba(99, 102, 241, 0.15);
}

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

/* ==========================================================================
   HEADER NAVIGATION (FLOATING EXECUTIVE BAR)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 100;
    display: flex;
    align-items: center;
}

.header-container {
    background: rgba(3, 3, 5, 0.85); /* Slightly darker for logo contrast */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 0 32px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

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

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

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.nav-link.active {
    color: var(--text-primary);
    font-weight: 600;
    
    
    
}

.nav-cta {
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* ==========================================================================
   SPA ROUTER STYLING & TRANSITIONS (DOUBLE-BUFFERED STATE DESIGN)
   ========================================================================== */
#app-container {
    flex: 1;
    margin-top: calc(var(--header-height) + 20px);
    position: relative;
}

.view-section {
    display: none;             /* Completely hidden when inactive */
    width: 100%;
    opacity: 0;
    padding-bottom: 120px;     /* Ensure beautiful breathing room at the bottom of all views before footer */
    transform: scale(0.985) translateY(15px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Alternate section background for structural distinctions */
.section-alt-bg {
    
    border-top: 1px solid rgba(255, 255, 255, 0.02) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02) !important;
    position: relative;
    z-index: 2;
    
}

.section-alt-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.02) 0%, transparent 80%);
    pointer-events: none;
    z-index: -1;
}

.view-section.visible {
    display: block;            /* Rendered in layout flow, but invisible */
}

.view-section.active {
    opacity: 1;                /* Smoothly fade and slide up */
    transform: scale(1) translateY(0);
}

/* GRACEFUL DEGRADATION: If JavaScript is delayed or fails, 
   the Home page renders fully visible and styled by default */
#view-home.view-section {
    display: block;
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* ==========================================================================
   SCROLL REVEAL ENGINE CLASSES (APPLE/STRIPE STYLE)
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for child elements in grids/timelines */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   PAGE: HOME
   ========================================================================== */

/* Hero Layout */
.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 70px;
    padding-top: 70px;
    padding-bottom: 90px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.eyebrow-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    margin-bottom: 28px;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.hero-title {
    font-size: 5.2rem;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.04em;
}

.hero-subline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 44px;
    max-width: 620px;
    font-weight: 300;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Hero Portrait Frame */
.hero-graphic-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-avatar-frame {
    position: relative;
    width: 340px;
    height: 420px;
    border-radius: var(--radius-lg);
    z-index: 2;
}

/* High-end border gradient track */
.hero-avatar-frame::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: calc(var(--radius-lg) + 8px);
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan), var(--accent-emerald));
    z-index: -1;
    opacity: 0.2;
    filter: blur(4px);
    transition: var(--transition-smooth);
}

.hero-avatar-frame:hover::after {
    opacity: 0.5;
    filter: blur(8px);
}

.hero-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    filter: grayscale(8%) contrast(102%);
    transition: var(--transition-editorial);
}

.hero-avatar-frame:hover .hero-avatar {
    filter: grayscale(0%) contrast(100%);
    transform: scale(1.02);
}

/* Hover Floating tags */
.tech-tag {
    position: absolute;
    background: rgba(3, 3, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 12px 22px;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tech-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.tag-top-right {
    top: 30px;
    right: -30px;
    animation: float-tag 6s ease-in-out infinite alternate;
}

.tag-top-right::before {
    background-color: var(--accent-indigo);
    box-shadow: 0 0 8px var(--accent-indigo);
}

.tag-bottom-left {
    bottom: 30px;
    left: -30px;
    animation: float-tag-opp 6s ease-in-out infinite alternate;
}

.tag-bottom-left::before {
    background-color: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
}

@keyframes float-tag {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

@keyframes float-tag-opp {
    0% { transform: translateY(0); }
    100% { transform: translateY(12px); }
}

/* Intro Strip Section */
.intro-strip-section {
    padding: 40px 0;
}

.intro-strip-card {
    padding: 60px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.intro-strip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--grad-primary);
}

.intro-strip-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent-indigo);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.intro-strip-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.65rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* Ventures Teaser Snapshot */
.ventures-teaser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.venture-teaser-card {
    display: flex;
    flex-direction: column;
}

.venture-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.venture-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.15);
    color: var(--accent-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.venture-teaser-card:hover .venture-icon {
    background: rgba(99, 102, 241, 0.12);
    border-color: var(--accent-indigo);
    color: var(--text-primary);
}

.venture-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.venture-card-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.venture-card-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Services Snapshot */
.services-teaser-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

/* Accent colors for icons */
.service-icon-box.accent-indigo {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.15);
    color: var(--accent-indigo);
}

.service-icon-box.accent-cyan {
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
}

.service-icon-box.accent-emerald {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
}

/* Hover glow effects for icons inside cards */
.glass-card:hover .service-icon-box.accent-indigo {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--accent-indigo);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.glass-card:hover .service-icon-box.accent-cyan {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.glass-card:hover .service-icon-box.accent-emerald {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--accent-emerald);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.service-teaser-title {
    font-size: 1.55rem;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.service-teaser-desc {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* Why Me Grid */
.why-me-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-me-card {
    border: 1px solid var(--border-color);
}

.why-me-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 24px;
}

.why-me-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.why-me-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Homepage CTA Block */
.cta-block {
    padding: 100px 80px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    top: -125px;
    right: -100px;
    pointer-events: none;
}

.cta-content {
    max-width: 750px;
    margin: 0 auto;
}

.cta-heading {
    font-size: 3.4rem;
    margin-bottom: 20px;
}

.cta-body {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 44px;
    line-height: 1.75;
}

/* ==========================================================================
   PAGE: ABOUT
   ========================================================================== */
.page-title {
    font-size: 4.2rem;
    margin-bottom: 60px;
    padding-top: 50px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 80px;
    align-items: start;
}

.about-lead {
    font-size: 1.35rem;
    line-height: 1.75;
    color: var(--text-primary);
    margin-bottom: 40px;
    font-weight: 300;
}

.about-h2 {
    font-size: 2.2rem;
    margin-top: 60px;
    margin-bottom: 24px;
}

.about-p {
    font-size: 1.08rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.glass-quote {
    background: rgba(255, 255, 255, 0.01);
    border-left: 3px solid var(--accent-indigo);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 300;
    color: var(--text-primary);
    margin: 48px 0;
    line-height: 1.65;
    position: relative;
}

/* About Sidebar */
.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.profile-card {
    padding: 0;
    text-align: center;
}

.profile-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.profile-meta {
    padding: 30px;
}

.profile-meta h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.profile-meta p {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: var(--accent-indigo);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Premium styled factsheet */
.fact-sheet-card {
    border: 1px solid var(--border-color);
    background: var(--bg-card); /* Solid background */
}

.fact-sheet-title {
    font-size: 1.25rem;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.fact-sheet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fact-sheet-list li {
    display: grid;
    grid-template-columns: 105px 1fr;
    font-size: 0.92rem;
    align-items: start;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
    padding-bottom: 14px;
}

.fact-sheet-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.fact-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--text-muted);
}

.fact-val {
    color: var(--text-primary);
    line-height: 1.6;
}

/* Approach Values Card */
.values-title {
    font-size: 1.35rem;
    margin-bottom: 32px;
}

.value-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.value-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    margin-top: 10px;
    flex-shrink: 0;
    box-shadow: 0 0 10px var(--accent-emerald);
}

.value-item h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.value-item p {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.about-cta-block {
    padding: 70px;
    text-align: center;
}

.about-cta-content h3 {
    font-size: 2.4rem;
    margin-bottom: 28px;
}

/* ==========================================================================
   PAGE: VENTURES
   ========================================================================== */
.ventures-lead, .services-lead {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 860px;
    margin-bottom: 64px;
    font-weight: 300;
    line-height: 1.75;
}

/* Filter Tabs */
.ventures-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 28px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
}

.filter-btn.active {
    background: var(--accent-indigo);
    border-color: var(--accent-indigo);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

/* Ventures Grid */
.ventures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.venture-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.venture-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: var(--accent-indigo);
    transition: var(--transition-smooth);
}

.venture-card:hover .venture-icon-box {
    border-color: var(--accent-indigo);
    background: rgba(99, 102, 241, 0.08);
    color: var(--text-primary);
}

.venture-role {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-indigo);
    margin-bottom: 8px;
    display: block;
}

.venture-title {
    font-size: 1.65rem;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.venture-industry {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 24px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.venture-description {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.75;
    flex-grow: 1;
    margin-bottom: 32px;
}

.venture-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    transition: var(--transition-smooth);
}

.venture-link:hover {
    color: var(--accent-indigo);
    transform: translateX(4px);
}

.ventures-cta-block, .services-cta-block {
    padding: 75px;
    text-align: center;
}

.ventures-cta-content h3, .services-cta-content h3 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.services-cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* ==========================================================================
   PAGE: SERVICES
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.15);
    color: var(--accent-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
    border-color: var(--accent-indigo);
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.service-card .service-title {
    font-size: 1.8rem;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.service-card .service-desc {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.75;
    flex-grow: 1;
    margin-bottom: 36px;
}

.service-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--border-color);
    padding-top: 28px;
}

.service-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    padding: 6px 14px;
    border-radius: 20px;
}

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

.process-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.process-node {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 18px;
    line-height: 1;
    border-bottom: 2px solid var(--border-color);
    width: 100%;
    padding-bottom: 8px;
}

.process-card {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.process-card::before {
    display: none;
}

.process-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

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

/* ==========================================================================
   PAGE: FAQ
   ========================================================================== */
.faq-container-width {
    max-width: 860px;
}

.faq-lead {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 80px;
    font-weight: 300;
    line-height: 1.7;
}

.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-glass); /* Substantial background */
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 30px 40px;
    text-align: left;
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    letter-spacing: -0.02em;
}

.faq-icon-arrow {
    width: 18px;
    height: 18px;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.faq-icon-arrow::before, .faq-icon-arrow::after {
    content: '';
    position: absolute;
    background-color: var(--text-secondary);
    transition: var(--transition-smooth);
}

/* Vertical line */
.faq-icon-arrow::before {
    top: 0;
    left: 8px;
    width: 2px;
    height: 100%;
}

/* Horizontal line */
.faq-icon-arrow::after {
    top: 8px;
    left: 0;
    width: 100%;
    height: 2px;
}

/* Accordion open state */
.faq-item.open {
    border-color: var(--accent-indigo);
    background: var(--bg-glass-hover);
}

.faq-item.open .faq-question {
    color: var(--text-primary);
}

.faq-item.open .faq-icon-arrow {
    transform: rotate(135deg);
}

.faq-item.open .faq-icon-arrow::before, .faq-item.open .faq-icon-arrow::after {
    background-color: var(--accent-indigo);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    padding: 0 40px 36px 40px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

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

/* ==========================================================================
   PAGE: INSIGHTS (BLOG)
   ========================================================================== */
.insights-lead {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.blog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 32px;
}

.search-box-wrapper {
    position: relative;
    min-width: 340px;
    max-width: 100%;
}

#blog-search {
    width: 100%;
    background: rgba(13, 14, 18, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    padding: 14px 20px 14px 50px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#blog-search:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(20, 22, 28, 0.75);
}

#blog-search:focus {
    outline: none;
    border-color: var(--accent-indigo);
    background: rgba(24, 26, 32, 0.85);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.5),
        0 0 0 3px rgba(99, 102, 241, 0.15),
        0 8px 24px rgba(99, 102, 241, 0.15);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#blog-search:focus + .search-icon {
    color: var(--accent-indigo);
    transform: translateY(-50%) scale(1.05);
}

.blog-tabs {
    display: flex;
    gap: 8px;
}

.blog-tab {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    padding: 10px 22px;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.blog-tab:hover {
    color: var(--text-primary);
}

.blog-tab.active {
    border-color: var(--accent-indigo);
    color: var(--accent-indigo);
    background: rgba(99, 102, 241, 0.05);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    height: 100%;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-indigo);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.blog-card-title {
    font-size: 1.55rem;
    line-height: 1.35;
    margin-bottom: 14px;
}

.blog-card-excerpt {
    font-size: 0.96rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    flex-grow: 1;
}

.btn-read-more {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    transition: var(--transition-smooth);
}

.btn-read-more:hover {
    color: var(--accent-indigo);
    transform: translateX(4px);
}

/* Reading Overlay Modal */
.article-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.article-modal.open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 5, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.modal-content-wrapper {
    position: relative;
    width: 100%;
    max-width: 860px;
    max-height: 85vh;
    overflow-y: auto;
    background: rgba(11, 13, 23, 0.95); /* Rich dark modal surface */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg);
    z-index: 10;
    opacity: 0;
    transform: scale(0.97) translateY(15px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(99, 102, 241, 0.15);
}

.article-modal.open .modal-content-wrapper {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    border-color: var(--accent-indigo);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.modal-body {
    padding: 80px;
}

/* Modal typography */
.modal-art-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-indigo);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: block;
}

.modal-art-title {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.modal-art-meta-strip {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    align-items: center;
    flex-wrap: wrap;
}

.modal-art-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.modal-art-content h3 {
    font-size: 1.7rem;
    margin-top: 48px;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.modal-art-content ul {
    list-style: none;
    margin-bottom: 32px;
}

.modal-art-content li {
    font-size: 1.05rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    line-height: 1.7;
}

.modal-art-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-indigo);
    box-shadow: 0 0 8px var(--accent-indigo);
}

.modal-art-content a {
    color: var(--accent-indigo);
    border-bottom: 1px solid rgba(99, 102, 241, 0.3);
}

.modal-art-content a:hover {
    color: var(--text-primary);
    border-bottom-color: var(--text-primary);
}

/* ==========================================================================
   PAGE: CONTACT
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: start;
}

.contact-intro {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 40px;
    font-weight: 300;
}

.form-title {
    font-size: 2.2rem;
    margin-bottom: 44px;
    letter-spacing: -0.02em;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 32px;
    position: relative;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group label .required {
    color: #ef4444;
}

.form-group label .optional {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.contact-form-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(99, 102, 241, 0.05);
}

.form-group:focus-within label {
    color: var(--accent-indigo);
}

.form-group input, .form-group textarea {
    background: rgba(13, 14, 18, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 16px 22px;
    font-family: inherit;
    font-size: 0.98rem;
    color: var(--text-primary);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: rgba(148, 163, 184, 0.4);
}

.form-group input:hover, .form-group textarea:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(20, 22, 28, 0.75);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-indigo);
    background: rgba(24, 26, 32, 0.85);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.5),
        0 0 0 3px rgba(99, 102, 241, 0.15),
        0 8px 24px rgba(99, 102, 241, 0.15);
}

/* Webkit autofill styling override to match dark mode */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-primary);
    -webkit-box-shadow: 0 0 0px 1000px #0d0e12 inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Validating fields invalid glow */
.form-group.invalid input, .form-group.invalid textarea {
    border-color: #ef4444;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.4),
        0 0 0 3px rgba(239, 68, 68, 0.15),
        0 8px 24px rgba(239, 68, 68, 0.15);
}

.error-msg {
    display: none;
    color: #ef4444;
    font-size: 0.78rem;
    margin-top: 8px;
    font-weight: 500;
}

.form-group.invalid .error-msg {
    display: block;
}

/* Custom select dropdown */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-wrapper select {
    width: 100%;
    background: rgba(13, 14, 18, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 16px 22px;
    font-family: inherit;
    font-size: 0.98rem;
    color: var(--text-primary);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.custom-select-wrapper select option {
    background-color: #0d0e12;
    color: var(--text-primary);
}

.custom-select-wrapper select:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(20, 22, 28, 0.75);
}

.custom-select-wrapper select:focus {
    outline: none;
    border-color: var(--accent-indigo);
    background: rgba(24, 26, 32, 0.85);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.5),
        0 0 0 3px rgba(99, 102, 241, 0.15),
        0 8px 24px rgba(99, 102, 241, 0.15);
}

.custom-select-wrapper::after {
    content: '';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--text-secondary);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.custom-select-wrapper select:focus + ::after {
    border-top-color: var(--accent-indigo);
    transform: translateY(-50%) rotate(180deg);
}

.form-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
}

.btn-submit {
    width: 100%;
}

.submit-arrow {
    transition: var(--transition-smooth);
}

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

.form-microcopy {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 20px;
    text-align: center;
}

/* Sidebar Details Block */
.contact-details-card {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.contact-detail-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
    padding-bottom: 24px;
}

.contact-detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    color: var(--accent-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-link, .detail-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

/* ==========================================================================
   PAGE: THANK YOU
   ========================================================================== */
.thank-you-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    min-height: calc(70vh - var(--header-height));
}

.thank-you-card {
    max-width: 650px;
    padding: 80px;
    text-align: center;
    border: 1px solid rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
}

.thank-you-card::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    top: -125px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.success-icon-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 36px auto;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.thank-you-title {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.thank-you-body {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 44px;
    line-height: 1.75;
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
    border-top: 1px solid var(--border-color);
    background-color: #030305;
    padding: 60px 0;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

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

.footer-left p {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.footer-geo-tag {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    margin-top: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

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

/* ==========================================================================
   RESPONSIVE LAYOUTS (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
    h1 {
        font-size: 3.6rem;
    }
    
    .why-me-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .ventures-teaser-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Hide the 3rd card in teaser on tablet to keep grid clean */
    .ventures-teaser-grid > div:last-child {
        display: none;
    }
    
    .ventures-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .main-header {
        top: 0;
        height: var(--header-height);
    }
    
    .header-container {
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        top: 0;
        padding: 0 24px;
        box-shadow: none;
    }
    
    .section-spacer {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .page-title {
        font-size: 3rem;
        margin-bottom: 40px;
        padding-top: 20px;
    }
    
    /* Hero section stack */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding-top: 30px;
        padding-bottom: 50px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 3.4rem;
    }
    
    .hero-subline {
        font-size: 1.15rem;
    }
    
    .hero-actions {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-avatar-frame {
        width: 290px;
        height: 360px;
    }
    
    .tag-top-right {
        right: -15px;
        top: 30px;
    }
    
    .tag-bottom-left {
        left: -15px;
        bottom: 30px;
    }
    
    /* Intro strip */
    .intro-strip-card {
        padding: 44px 30px;
    }
    
    .intro-strip-text {
        font-size: 1.3rem;
    }
    
    /* About page stack */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-sidebar {
        order: -1; /* Sidebar on top for mobile */
    }
    
    /* Ventures grids */
    .ventures-teaser-grid {
        grid-template-columns: 1fr;
    }
    
    .ventures-teaser-grid > div:last-child {
        display: flex; /* Bring back third card */
    }
    
    .ventures-grid, .why-me-grid {
        grid-template-columns: 1fr;
    }
    
    /* Services grid */
    .services-grid, .services-teaser-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .service-card .service-title {
        font-size: 1.6rem;
    }
    
    .process-flow {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    
    /* Blog grid & controls */
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box-wrapper {
        min-width: 100%;
    }
    
    .blog-tabs {
        overflow-x: auto;
        padding-bottom: 6px;
    }
    
    /* Contact grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .cta-block {
        padding: 60px 30px;
    }
    
    .cta-heading {
        font-size: 2.4rem;
    }
    
    .cta-body {
        font-size: 1.08rem;
    }
    
    .thank-you-card {
        padding: 60px 30px;
    }
    
    .thank-you-title {
        font-size: 2.4rem;
    }
    
    .thank-you-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .thank-you-actions .btn {
        width: 100%;
    }
    
    /* Modal spacing */
    .modal-body {
        padding: 60px 30px;
    }
    
    .modal-art-title {
        font-size: 2.2rem;
    }
    
    /* Mobile Header Nav Menu (Overlay style) */
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: #030305;
        z-index: 100;
        display: none;
        flex-direction: column;
        padding: 40px 30px;
        border-top: 1px solid var(--border-color);
        transform: translateY(-10px);
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-menu.open {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.35rem;
        width: 100%;
        display: block;
        padding: 10px 0;
        border-radius: 0;
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        transition: all 0.25s ease;
    }
    
    .nav-link:hover {
        background: transparent;
        border-color: transparent;
        color: var(--text-primary);
        padding-left: 6px;
    }
    
    .nav-link.active {
        background: transparent;
        border-color: transparent;
        color: var(--accent-indigo);
        box-shadow: none;
        font-weight: 700;
    }
    
    .nav-cta {
        width: 100%;
        margin-top: 20px;
        text-align: center;
    }
    
    /* Toggle active state animation */
    .mobile-toggle.open .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .mobile-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.open .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        gap: 20px;
    }
}

/* ==========================================================================
   ✦ ELEVATION LAYER — Refined Identity (appended; cascades last)
   A single confident indigo→violet identity, intentional rhythm, and
   hand-crafted detailing layered over the existing structure.
   ========================================================================== */
:root {
    /* Deeper, less flat base with a faint violet undertone */
    --bg-base: #07070b;
    --bg-elev: #0c0c12;
    --bg-card: #0e0e15;
    --bg-glass: rgba(15, 15, 22, 0.66);
    --bg-glass-hover: rgba(22, 22, 32, 0.82);

    /* One brand: electric indigo → violet (no rainbow) */
    --accent-indigo: #6d5cf6;
    --accent-violet: #a371ff;
    --accent-soft:   #8b7bff;
    --accent-emerald: #6d5cf6;   /* neutralise old emerald usages */
    --accent-cyan:    #8b7bff;    /* neutralise old cyan usages */

    --grad-primary: linear-gradient(120deg, #6d5cf6 0%, #8b7bff 48%, #a371ff 100%);
    --grad-text: linear-gradient(180deg, #ffffff 0%, #d7d9e6 100%);
    --grad-card-glow: linear-gradient(135deg, rgba(109,92,246,0.16) 0%, rgba(163,113,255,0.10) 100%);

    --border-color: rgba(140, 140, 170, 0.12);
    --border-strong: rgba(150, 150, 190, 0.2);
    --border-hover: rgba(139, 123, 255, 0.55);

    --text-primary: #f4f4f8;
    --text-secondary: #a7a9be;   /* brighter, more legible */
    --text-muted: #6b6d82;

    --container-max-width: 1180px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 10px;

    /* Layered shadow system */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
    --shadow-md: 0 12px 30px -12px rgba(0,0,0,0.65);
    --shadow-lg: 0 30px 70px -24px rgba(0,0,0,0.7);
    --glow-accent: 0 0 0 1px rgba(139,123,255,0.25), 0 18px 50px -18px rgba(109,92,246,0.55);
}

::selection { background: rgba(139,123,255,0.32); color: #fff; }

body { line-height: 1.6; letter-spacing: 0.002em; }

/* Refined fluid type scale */
h1, h2, h3, h4 { letter-spacing: -0.035em; }
h1 { font-size: clamp(2.7rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 2.7rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); font-weight: 700; }
p  { font-size: 1.04rem; color: var(--text-secondary); }

/* Tame the aurora: one disciplined violet bloom, no rainbow, no screen blend */
.aurora-blob { mix-blend-mode: normal; filter: blur(160px); opacity: 0.16; }
.aurora-1 { background: radial-gradient(circle, var(--accent-indigo) 0%, transparent 72%); opacity: 0.20; }
.aurora-2 { background: radial-gradient(circle, var(--accent-violet) 0%, transparent 72%); opacity: 0.12; }
.aurora-3 { background: radial-gradient(circle, #4b3fb0 0%, transparent 75%); opacity: 0.10; }

.tech-grid-overlay {
    background-image:
        linear-gradient(rgba(150,150,200,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(150,150,200,0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(120% 90% at 50% 0%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, black 0%, transparent 70%);
}

/* Subtle film grain for a crafted, non-flat surface */
body::after {
    content: "";
    position: fixed; inset: 0; z-index: 2; pointer-events: none;
    opacity: 0.035; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Section rhythm & headers ─────────────────────────────────────────── */
.section-spacer { padding: clamp(72px, 11vw, 132px) 0; }
.section-subtitle {
    background: none; -webkit-text-fill-color: initial;
    color: var(--accent-soft); font-size: 0.74rem; letter-spacing: 0.28em;
}
.section-title { font-size: clamp(2rem, 4.4vw, 3rem); }
.section-intro { font-weight: 400; color: var(--text-secondary); }

/* ── Eyebrow & generic badges become real chips ───────────────────────── */
.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.22);
    -webkit-text-fill-color: initial;
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.eyebrow-badge::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--accent-indigo);
    margin-right: 8px;
    box-shadow: 0 0 8px var(--accent-indigo);
    animation: pulse-dot 2.5s infinite ease-in-out;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(0.9); opacity: 0.55; box-shadow: 0 0 6px var(--accent-indigo); }
    50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 10px var(--accent-indigo); }
}

.eyebrow-badge:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.35);
    color: #ffffff;
    transform: translateY(-1px);
}

/* ── Buttons: brand-forward, with depth ──────────────────────────────── */
.btn { border-radius: 14px; font-weight: 600; padding: 15px 30px; letter-spacing: 0.005em; }
.btn-primary {
    background: var(--grad-primary); color: #fff;
    box-shadow: var(--glow-accent);
}
.btn-primary::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.22), transparent 60%);
    opacity: 0.7; pointer-events: none;
}
.btn-primary:hover {
    background: var(--grad-primary); color: #fff; transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(163,113,255,0.4), 0 24px 60px -16px rgba(109,92,246,0.75);
}
.btn-secondary {
    background: rgba(255,255,255,0.025); border: 1px solid var(--border-strong);
    border-radius: 14px;
}
.btn-secondary:hover {
    background: rgba(139,123,255,0.08); border-color: var(--border-hover);
    box-shadow: 0 0 0 1px rgba(139,123,255,0.25); transform: translateY(-2px);
}
.nav-cta { border-radius: 11px; padding: 9px 18px; }

/* ── Header: tighter, crisper floating bar ───────────────────────────── */
.header-container {
    background: rgba(10,10,16,0.72);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.04);
}
.logo-accent { background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-link { font-weight: 500; }
.nav-link::after { display: none; }   /* drop the floating dot */
.nav-link.active {
    color: var(--text-primary);
}
.nav-link.active::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
    border-radius: 2px; background: var(--grad-primary);
    box-shadow: 0 0 10px rgba(139,123,255,0.7);
}

/* ── Surface cards: crisp edges, top hairline, refined hover ─────────── */
.glass-panel {
    background: linear-gradient(180deg, var(--bg-elev), var(--bg-card));
    border: 1px solid var(--border-color); box-shadow: var(--shadow-lg);
}
.glass-panel::before {
    content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}
.glass-card {
    background: linear-gradient(180deg, rgba(20,20,30,0.6), rgba(12,12,18,0.6));
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-color); border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.glass-card::after {
    content: ""; position: absolute; top: 0; left: 20px; right: 20px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
    pointer-events: none;
}
.glass-card:hover {
    transform: translateY(-6px); border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(139,123,255,0.18), 0 30px 60px -22px rgba(109,92,246,0.4);
}

/* ── Venture / service icon chips & badges in brand violet ───────────── */
.venture-icon, .service-icon-box, .venture-icon-box, .service-icon-wrapper {
    background: rgba(139,123,255,0.10) !important;
    border: 1px solid rgba(139,123,255,0.22);
    color: var(--accent-soft) !important;
}
.venture-badge, .service-tag {
    background: rgba(139,123,255,0.08); border: 1px solid rgba(139,123,255,0.2);
    color: var(--accent-soft);
}
.gradient-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.accent-gradient-text { background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ── Hero: tighter portrait, brand duotone halo ──────────────────────── */
.hero-subline { font-weight: 400; color: var(--text-secondary); }
.hero-avatar-frame::after {
    background: linear-gradient(150deg, var(--accent-indigo), var(--accent-violet));
    opacity: 0.28; filter: blur(10px);
}
.hero-avatar-frame:hover::after { opacity: 0.55; filter: blur(16px); }
.hero-avatar { filter: grayscale(12%) contrast(104%); }
.tech-tag {
    background: rgba(10,10,16,0.82); border: 1px solid var(--border-strong);
    border-radius: 12px; box-shadow: var(--shadow-md);
}
.tech-tag::before { background: var(--accent-violet); box-shadow: 0 0 8px var(--accent-violet); }

/* ── Intro strip / CTA glow in brand violet ──────────────────────────── */
.intro-strip-badge { color: var(--accent-soft); }
.cta-block { box-shadow: var(--shadow-lg); }

/* ── FAQ refinement ──────────────────────────────────────────────────── */
.faq-item { border-radius: var(--radius-md); }
.faq-item.open { border-color: var(--border-hover); box-shadow: 0 0 0 1px rgba(139,123,255,0.16); }
.faq-item.open .faq-question { color: var(--text-primary); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.main-footer { background: #050508; }
.footer-links a:hover { color: var(--accent-soft); }

/* ── Inputs / focus accessibility ────────────────────────────────────── */
input:focus, textarea:focus, select:focus {
    outline: none; border-color: var(--border-hover) !important;
    box-shadow: 0 0 0 3px rgba(139,123,255,0.18) !important;
}
a:focus-visible, button:focus-visible, .btn:focus-visible {
    outline: 2px solid var(--accent-violet); outline-offset: 3px;
}

/* Honour reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .aurora-blob { animation: none; }
    * { scroll-behavior: auto; }
}

/* ==========================================================================
   ✦ MOTION LAYER — Life, depth & interaction (appended last)
   ========================================================================== */

/* Scroll progress bar */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%;
    background: linear-gradient(90deg, #6d5cf6, #a371ff);
    box-shadow: 0 0 12px rgba(139,123,255,0.8);
    z-index: 200; transition: width 0.1s linear;
}

/* Animated brand gradient text (hero + accents) */
.accent-gradient-text, .logo-accent {
    background: linear-gradient(100deg, #6d5cf6, #a371ff, #8b7bff, #c9a6ff, #6d5cf6);
    background-size: 280% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brand-flow 8s ease-in-out infinite;
}
@keyframes brand-flow { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

/* Hero entrance — staged, with blur-in for a premium feel */
.hero-content > * { opacity: 0; transform: translateY(26px); filter: blur(6px); animation: hero-in 0.9s cubic-bezier(0.16,1,0.3,1) forwards; }
.hero-content > *:nth-child(1){ animation-delay:.05s }
.hero-content > *:nth-child(2){ animation-delay:.18s }
.hero-content > *:nth-child(3){ animation-delay:.32s }
.hero-content > *:nth-child(4){ animation-delay:.46s }
@keyframes hero-in { to { opacity:1; transform:translateY(0); filter:blur(0) } }

/* Rotating conic halo behind the portrait */
.hero-avatar-frame { isolation: isolate; }
.hero-avatar-frame::before {
    content: ""; position: absolute; inset: -26px; border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(109,92,246,0.55) 25%, transparent 50%, rgba(163,113,255,0.55) 75%, transparent 100%);
    filter: blur(34px); opacity: 0.55; z-index: -2;
    animation: halo-spin 14s linear infinite;
}
@keyframes halo-spin { to { transform: rotate(360deg) } }

/* Portrait gentle float + floating tags drift */
.hero-graphic-container { animation: float-soft 6s ease-in-out infinite; }
@keyframes float-soft { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
.tag-top-right { animation: tag-bob 5s ease-in-out infinite; }
.tag-bottom-left { animation: tag-bob 5.6s ease-in-out infinite 0.6s; }
@keyframes tag-bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.tech-tag::before { animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100%{box-shadow:0 0 6px var(--accent-violet); opacity:1} 50%{box-shadow:0 0 16px var(--accent-violet); opacity:.6} }

/* Buttons: light sweep + press feedback */
.btn { transition: transform .25s cubic-bezier(0.16,1,0.3,1), box-shadow .25s ease; }
.btn::before {
    content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-18deg); transition: left .6s ease; pointer-events: none; z-index: 2;
}
.btn:hover::before { left: 140%; }
.btn:active { transform: translateY(0) scale(0.98); }

/* Cards: cursor-follow spotlight (vars set by motion.js) + gradient edge on hover */
.glass-card, .glass-panel { --mx: 50%; --my: 0%; }
.glass-card::before {
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(139,123,255,0.16), transparent 60%);
    opacity: 0; transition: opacity .35s ease; z-index: 0;
}
.glass-card:hover::before { opacity: 1; }
.glass-card > * { position: relative; z-index: 1; }
.glass-card { transition: transform .3s cubic-bezier(0.16,1,0.3,1), border-color .3s ease, box-shadow .3s ease; will-change: transform; }

/* Icon chips animate on card hover */
.glass-card:hover .venture-icon,
.glass-card:hover .service-icon-box,
.glass-card:hover .service-icon-wrapper,
.glass-card:hover .venture-icon-box {
    transform: translateY(-3px) scale(1.06) rotate(-3deg);
    box-shadow: 0 10px 24px -8px rgba(109,92,246,0.7);
    transition: transform .35s cubic-bezier(0.34,1.56,0.64,1), box-shadow .35s ease;
}

/* Section titles: animated underline sweep when revealed */
.section-title, .page-title { position: relative; }
.reveal-up.in-view .section-title::after,
.section-header.reveal-up.in-view .section-title::after { }

/* Animated divider glow on section separators */
.section-spacer::after, .view-section .section-spacer::before { }

/* Richer reveal: directional + blur-in */
.reveal-up { filter: blur(8px); transition: opacity .8s cubic-bezier(0.16,1,0.3,1), transform .8s cubic-bezier(0.16,1,0.3,1), filter .8s ease; }
.reveal-up.in-view { filter: blur(0); }

/* Count-up numbers pop */
.count-pop { animation: count-pop .5s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes count-pop { 0%{transform:scale(0.8); opacity:.4} 100%{transform:scale(1); opacity:1} }

/* Nav links: animated brand underline grow */
.nav-link { transition: color .25s ease; }
.nav-link:not(.nav-cta)::after {
    content: ""; display: block; position: absolute; left: 0; bottom: -4px;
    height: 2px; width: 0; border-radius: 2px;
    background: linear-gradient(90deg, #6d5cf6, #a371ff);
    transition: width .3s cubic-bezier(0.16,1,0.3,1); opacity: 1;
    box-shadow: none;
}
.nav-link:not(.nav-cta):hover::after { width: 100%; }
.nav-link.active:not(.nav-cta)::after { width: 100%; }

/* Text links arrow nudge */
.text-link .arrow { display: inline-block; transition: transform .25s ease; }
.text-link:hover .arrow { transform: translateX(5px); }

/* FAQ open glow + smooth chevron handled by existing JS; add lift */
.faq-question:hover { transform: translateX(4px); transition: transform .25s ease; }

/* Glass cards subtle entrance shimmer line that sweeps once on reveal */
.glass-card.in-view::after { animation: edge-sweep 1.4s ease forwards; }
@keyframes edge-sweep {
    0%{ background: linear-gradient(90deg, transparent, rgba(139,123,255,0.5), transparent); opacity:0 }
    30%{ opacity:1 }
    100%{ opacity:.35; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent) }
}

/* Re-energise the ambient aurora drift (slightly more visible motion) */
.aurora-1 { animation-duration: 18s; }
.aurora-2 { animation-duration: 22s; }
.aurora-3 { animation-duration: 12s; }

/* Respect reduced motion: disable the lively stuff */
@media (prefers-reduced-motion: reduce) {
    .accent-gradient-text, .logo-accent, .hero-graphic-container,
    .hero-avatar-frame::before, .tag-top-right, .tag-bottom-left,
    .tech-tag::before, .aurora-blob, .glass-card.in-view::after { animation: none !important; }
    .hero-content > * { opacity: 1; transform: none; filter: none; animation: none; }
    .reveal-up { filter: none; }
}

/* ==========================================================================
   ✦ INNER PAGES — Venture detail page styling (appended last)
   ========================================================================== */
.inner-main { margin-top: calc(var(--header-height) + 28px); position: relative; z-index: 10; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    font-size: 0.86rem; color: var(--text-muted); margin-bottom: 30px; }
.breadcrumb a { color: var(--text-secondary); transition: color .25s ease; }
.breadcrumb a:hover { color: var(--accent-soft); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--text-primary); }

/* Detail hero */
.vh-hero { padding: 18px 0 14px; }
.vh-top { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.vh-icon {
    width: 62px; height: 62px; flex: 0 0 62px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(139,123,255,0.10); border: 1px solid rgba(139,123,255,0.24);
    color: var(--accent-soft); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.vh-role { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--accent-soft); display: block; margin-bottom: 6px; }
.vh-sector { color: var(--text-secondary); font-size: 0.98rem; }
.vh-title { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.04; margin: 4px 0 22px; }
.vh-tagline { font-size: clamp(1.2rem, 2.4vw, 1.55rem); color: var(--text-secondary);
    font-weight: 400; max-width: 760px; line-height: 1.6; margin-bottom: 30px; }
.vh-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.vh-meta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.vh-chip { display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.025); border: 1px solid var(--border-color);
    border-radius: 100px; padding: 8px 16px; font-size: 0.82rem; color: var(--text-secondary); }
.vh-chip b { color: var(--text-primary); font-weight: 600; }

/* Fact grid */
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 18px 0 8px; }
.fact-card { padding: 26px 24px; }
.fact-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 10px; }
.fact-value { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.28rem;
    color: var(--text-primary); line-height: 1.3; letter-spacing: -0.02em; }

/* Prose blocks */
.vp-prose { max-width: 780px; }
.vp-prose p { font-size: 1.12rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: 22px; }
.vp-prose p:last-child { margin-bottom: 0; }
.vp-lead { font-size: 1.3rem !important; color: var(--text-primary) !important; font-weight: 400; line-height: 1.65 !important; }

/* Feature / highlight grid */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature-card { padding: 32px; }
.feature-card .fc-ic { width: 46px; height: 46px; border-radius: 12px; display: flex;
    align-items: center; justify-content: center; margin-bottom: 18px;
    background: rgba(139,123,255,0.10); border: 1px solid rgba(139,123,255,0.22); color: var(--accent-soft); }
.feature-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.feature-card p { font-size: 1rem; line-height: 1.65; color: var(--text-secondary); }

/* Bulleted offering list */
.offer-list { list-style: none; display: grid; grid-template-columns: repeat(2,1fr); gap: 14px 34px; }
.offer-list li { position: relative; padding-left: 28px; color: var(--text-secondary); font-size: 1.02rem; line-height: 1.5; }
.offer-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px;
    border-radius: 50%; background: linear-gradient(135deg,#6d5cf6,#a371ff); box-shadow: 0 0 10px rgba(139,123,255,0.6); }

/* Sibling ventures */
.sibling-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sibling-card { display: block; padding: 26px; }
.sibling-card .sc-role { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-soft); }
.sibling-card h3 { font-size: 1.16rem; margin: 8px 0 6px; }
.sibling-card p { font-size: 0.92rem; color: var(--text-muted); }
.sibling-card .sc-go { display: inline-block; margin-top: 14px; color: var(--text-primary); font-weight: 600; font-size: 0.9rem; }
.sibling-card .sc-go .arrow { display:inline-block; transition: transform .25s ease; }
.sibling-card:hover .sc-go .arrow { transform: translateX(5px); }

/* Detail CTA band */
.detail-cta { text-align: center; padding: clamp(48px,7vw,76px) clamp(24px,5vw,64px); }
.detail-cta h2 { font-size: clamp(1.9rem,4vw,2.6rem); margin-bottom: 16px; }
.detail-cta p { font-size: 1.12rem; max-width: 560px; margin: 0 auto 30px; }
.detail-cta .vh-actions { justify-content: center; }

@media (max-width: 1024px) {
    .fact-grid { grid-template-columns: repeat(2, 1fr); }
    .sibling-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .feature-grid, .offer-list { grid-template-columns: 1fr; }
    .vh-top { flex-direction: row; align-items: flex-start; }
    .vh-actions .btn { width: 100%; }
}

/* Venture card link row (details + visit) */
.venture-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: auto; }
.venture-details { font-weight: 600; }
.venture-visit { color: var(--text-muted); }
.venture-visit:hover { color: var(--accent-soft); }
.venture-teaser-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
    font-weight: 600; font-size: 0.92rem; color: var(--text-primary); }
.venture-teaser-link .arrow { transition: transform .25s ease; }
.venture-teaser-card:hover .venture-teaser-link .arrow { transform: translateX(5px); }

/* ==========================================================================
   ✦ FIX — Home view must obey the SPA router when JS is active.
   The earlier "#view-home { display:block }" rule is a no-JS fallback only;
   without this, Home content stacked on top of every other route.
   ========================================================================== */
html.js #view-home.view-section { display: none; opacity: 0; transform: scale(0.985) translateY(15px); }
html.js #view-home.view-section.visible { display: block; }
html.js #view-home.view-section.active  { opacity: 1; transform: scale(1) translateY(0); }

/* ==========================================================================
   ✦ FIX — Insights blog cards must stack vertically.
   app.js sets visible cards to display:flex when filtering; without an
   explicit column direction they collapsed into squished horizontal columns.
   ========================================================================== */
.blog-card { display: flex; flex-direction: column; }

/* ==========================================================================
   ✦ FIX — Services "Operational Approach" steps were meant to be flat
   (number + line + text), but the elevation/motion layers re-boxed them.
   Restore the clean editorial look.
   ========================================================================== */
.process-card.glass-card,
.process-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    transform: none !important;
}
.process-card::before,
.process-card::after { content: none !important; display: none !important; }
.process-card:hover { transform: none !important; box-shadow: none !important; border: none !important; }
.process-step { padding-left: 2px; }
.process-title { margin-top: 4px; }

/* ==========================================================================
   ✦ FIX — About sidebar was much taller than the story column.
   Tighten the cards and pin the sidebar on desktop so the columns balance.
   ========================================================================== */
.about-sidebar { gap: 24px; }
.profile-meta { padding: 22px; }
.fact-sheet-card { padding: 30px; }
.fact-sheet-title { margin-bottom: 18px; padding-bottom: 14px; font-size: 1.15rem; }
.fact-sheet-list { gap: 12px; }
.fact-sheet-list li { font-size: 0.86rem; padding-bottom: 11px; grid-template-columns: 92px 1fr; }
.fact-val { line-height: 1.5; }
.values-card { padding: 30px; }
.values-title { margin-bottom: 22px; font-size: 1.25rem; }
.value-item { gap: 16px; margin-bottom: 20px; }
.value-item:last-child { margin-bottom: 0; }
.value-item h4 { font-size: 1.02rem; margin-bottom: 4px; }
.value-item p { font-size: 0.92rem; line-height: 1.6; }

@media (min-width: 1025px) {
    .about-sidebar {
        position: sticky;
        top: calc(var(--header-height) + 24px);
        align-self: start;
    }
}
                                                                                                                                                                                                                                                                                                                                                                                                                                              
/* ==========================================================================
   ✦ Brand logo image (replaces the text logo)
   ========================================================================== */
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo-img { height: 38px; width: auto; display: block; transition: transform .25s ease, opacity .25s ease; }
.logo:hover .logo-img { transform: scale(1.04); opacity: 0.92; }
@media (max-width: 768px) { .logo-img { height: 32px; } }

/* ==========================================================================
   ✦ FIX — Page intro paragraphs left-aligned everywhere for consistency.
   (Insights & FAQ were centered while Ventures/Services/About were left.)
   ========================================================================== */
.insights-lead, .faq-lead {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 860px;
    font-size: 1.35rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 56px;
}

/* ==========================================================================
   ✦ VENTURE DETAIL — richer, less plain visuals
   ========================================================================== */
/* Hero becomes a designed panel with glow + giant faint icon watermark */
.inner-main .vh-hero {
    position: relative;
    margin-top: 6px;
    padding: clamp(30px, 4vw, 54px);
    border-radius: 26px;
    background:
        radial-gradient(130% 150% at 100% -10%, rgba(109,92,246,0.20), transparent 55%),
        linear-gradient(180deg, rgba(22,22,32,0.72), rgba(12,12,18,0.62));
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    isolation: isolate;
}
.inner-main .vh-hero::after {
    content: ""; position: absolute; top: 0; left: 30px; right: 30px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
}
.vh-deco {
    position: absolute; top: -56px; right: -44px; width: 320px; height: 320px;
    color: var(--accent-violet); opacity: 0.07; pointer-events: none; z-index: 0;
    transform: rotate(-8deg);
}
.vh-deco svg { width: 100%; height: 100%; stroke-width: 0.9; }
.inner-main .vh-hero > * { position: relative; z-index: 1; }

.vh-title { font-size: clamp(2.7rem, 6vw, 4rem); }
.vh-tagline { color: var(--text-secondary); }

/* Meta chips → cleaner stat strip */
.vh-meta-row { gap: 12px; }
.vh-chip {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-strong);
    padding: 9px 16px;
}
.vh-chip b { color: var(--accent-soft); }

/* Overview lead gets a brand accent rule */
.vp-lead {
    border-left: 3px solid transparent;
    border-image: linear-gradient(180deg, #6d5cf6, #a371ff) 1;
    padding-left: 22px;
}

/* Feature cards: bigger icons + top accent sheen on hover */
.feature-grid { gap: 24px; }
.feature-card { position: relative; }
.feature-card .fc-ic { width: 54px; height: 54px; border-radius: 14px; }
.feature-card .fc-ic svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.28rem; }

/* Offerings panel: two-tone background + check-style bullets already violet */
.offer-list li::before {
    width: 18px; height: 18px; top: 3px; border-radius: 6px;
    background: rgba(139,123,255,0.14); border: 1px solid rgba(139,123,255,0.4);
    box-shadow: none;
}
.offer-list li { padding-left: 32px; }

/* Sibling “more ventures” cards: add a corner arrow accent */
.sibling-card { position: relative; overflow: hidden; }
.sibling-card::before {
    content: ""; position: absolute; top: -30px; right: -30px; width: 110px; height: 110px;
    background: radial-gradient(circle, rgba(139,123,255,0.16), transparent 70%);
    opacity: 0; transition: opacity .35s ease;
}
.sibling-card:hover::before { opacity: 1; }

/* Detail CTA: stronger gradient frame */
.detail-cta {
    background:
        radial-gradient(120% 160% at 50% 0%, rgba(109,92,246,0.18), transparent 60%),
        linear-gradient(180deg, var(--bg-elev), var(--bg-card));
}

@media (max-width: 600px) {
    .vh-deco { width: 220px; height: 220px; top: -30px; right: -30px; }
}
