:root {
    --bg-primary: #040812;
    --bg-secondary: #0A111F;
    --primary: #2D7BBF;
    --secondary: #BFDAFF;
    --accent-yellow: #FFC600;
    --cta-orange: #F18701;
    --text-primary: #ffffff;
    --text-secondary: #BFDAFF; /* using secondary light blue for text */
    --border-glass: rgba(191, 218, 255, 0.1); /* Based on secondary: BFDAFF */
    --bg-glass: rgba(45, 123, 191, 0.05); /* Based on primary code: 2D7BBF */
    
    --bg-light: #ffffff;
    --bg-offwhite: #F8F9FB;
    --text-dark: #0D1117;
    --text-body: #4A5568;
    --brand-dark-blue: #040812;
    --brand-blue: #0A111F;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

img, svg {
    max-width: 100%;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center { text-align: center; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.z-10 { position: relative; z-index: 10; }

.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-heading);
    border: none;
    outline: none;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--cta-orange);
    color: #fff;
    box-shadow: 0 4px 15px rgba(241, 135, 1, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(241, 135, 1, 0.6);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(191, 218, 255, 0.3);
}

/* Glow Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.hero-glow-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--primary);
    opacity: 0.15;
}

.hero-glow-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--secondary);
    opacity: 0.15;
}

/* Glass Panels */
.glass-panel {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    z-index: 1;
    position: relative;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(4, 8, 18, 0.8);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

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

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: var(--transition);
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
}

.orb-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.living-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    mix-blend-mode: screen;
}

.layer-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(191, 218, 255, 0.4) 0%, transparent 70%);
    animation: orbPulse 8s ease-in-out infinite alternate, orbFloat1 12s infinite linear;
}

.layer-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(45, 123, 191, 0.4) 0%, transparent 70%);
    animation: orbPulse 10s ease-in-out infinite alternate-reverse, orbFloat2 15s infinite linear;
}

.layer-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(241, 135, 1, 0.2) 0%, transparent 70%);
    animation: orbPulse 6s ease-in-out infinite alternate, orbFloat3 9s infinite linear;
}

@keyframes orbPulse {
    0% { transform: scale(0.85); opacity: 0.6; }
    100% { transform: scale(1.15); opacity: 0.9; }
}
@keyframes orbFloat1 {
    0% { margin-top: 0; margin-left: 0; }
    33% { margin-top: -50px; margin-left: 50px; }
    66% { margin-top: 50px; margin-left: -50px; }
    100% { margin-top: 0; margin-left: 0; }
}
@keyframes orbFloat2 {
    0% { margin-top: 0; margin-left: 0; }
    33% { margin-top: 50px; margin-left: 50px; }
    66% { margin-top: -50px; margin-left: -50px; }
    100% { margin-top: 0; margin-left: 0; }
}
@keyframes orbFloat3 {
    0% { margin-top: 0; margin-left: 0; }
    50% { margin-top: -30px; margin-left: -60px; }
    100% { margin-top: 0; margin-left: 0; }
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: rgba(45, 123, 191, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(191, 218, 255, 0.2);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}
.justify-center {
    justify-content: center;
}

/* AI Command Input Visual */
.hero-visual-centered {
    margin: 4rem auto 0;
    max-width: 750px;
    width: 100%;
}

.search-interface {
    border-radius: 50px;
    padding: 0.6rem;
    background: rgba(10, 17, 31, 0.6);
    border: 1px solid rgba(191, 218, 255, 0.15);
    box-shadow: 0 0 50px rgba(45, 123, 191, 0.3), inset 0 0 20px rgba(191, 218, 255, 0.05);
}

.search-input-area {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50px;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
}

.input-sparkle {
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sparkle-icon {
    width: 24px;
    height: 24px;
    animation: sparkleSpin 4s linear infinite;
}

@keyframes sparkleSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.transparent-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 1rem;
    display: flex;
}

.text-large {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-family: var(--font-body);
}

.typewriter {
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
}

.cursor {
    color: var(--primary);
    font-weight: bold;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.micro-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cta-orange);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(241, 135, 1, 0.4);
    transition: var(--transition);
}
.micro-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(241, 135, 1, 0.6);
}

/* Quick Action Pills */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
}

.pill-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(191, 218, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    backdrop-filter: blur(10px);
}

.pill-btn:hover {
    background: rgba(45, 123, 191, 0.2);
    border-color: var(--primary);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 123, 191, 0.2);
}

/* Animations setup */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section 2: Meet Markis */
.markis-section {
    position: relative;
}

.markis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.square-module {
    position: relative;
    padding: 1.5rem;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    border: 1px solid rgba(191, 218, 255, 0.15);
    background: #1C2A3A;
    cursor: pointer;
    overflow: hidden;
}

.square-module:hover {
    background: #FFFFFF;
    border: 1px solid #BFDAFF;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Lifted light shadow for the white hover card */
}

/* Corner Brackets */
.corner-bracket {
    position: absolute;
    width: 24px;
    height: 24px;
    opacity: 0;
    transition: all 0.4s ease;
}

.corner-bracket::before, .corner-bracket::after {
    content: '';
    position: absolute;
    background: var(--primary);
}

.top-left {
    top: 12px;
    left: 12px;
    transform: translate(-10px, -10px);
}
.top-left::before { top: 0; left: 0; width: 16px; height: 2px; }
.top-left::after { top: 0; left: 0; width: 2px; height: 16px; }

.bottom-right {
    bottom: 12px;
    right: 12px;
    transform: translate(10px, 10px);
}
.bottom-right::before { bottom: 0; right: 0; width: 16px; height: 2px; }
.bottom-right::after { bottom: 0; right: 0; width: 2px; height: 16px; }

.square-module:hover .corner-bracket {
    opacity: 1;
    transform: translate(0, 0);
}

.card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 1;
}

.card-icon-wrapper {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    color: #2D7BBF;
    transition: all 0.25s ease;
    opacity: 1;
}

.square-module:hover .card-icon-wrapper {
    color: #2D7BBF;
    opacity: 1;
    transform: scale(1.1);
}

.card-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.card-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.25s ease;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    color: #FFFFFF;
}

.square-module:hover .card-text h3 {
    color: var(--primary);
}

.card-text p {
    font-size: 0.85rem;
    color: #BFDAFF;
    opacity: 1;
    max-height: none;
    overflow: visible;
    transition: all 0.25s ease;
    margin-top: 0.5rem;
}

.square-module:hover .card-text p {
    opacity: 1;
    max-height: none;
    margin-top: 0.5rem;
    color: #2D7BBF;
}

/* Section 3: Lifecycle */
.lifecycle-section {
}

.timeline-container {
    padding: 4rem 0;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, rgba(45, 123, 191, 0.5) 20%, rgba(191, 218, 255, 0.5) 80%, transparent 100%);
    transform: translateX(-50%);
}

.timeline-node {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

.timeline-node:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.node-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--primary);
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 10px rgba(45, 123, 191, 0.5);
}

.timeline-node:nth-child(even) .node-dot {
    border-color: var(--secondary);
    box-shadow: 0 0 10px rgba(191, 218, 255, 0.5);
}

.node-content {
    width: calc(100% - 3rem);
    padding: 1.5rem;
    margin-right: 2rem;
}

.timeline-node:nth-child(even) .node-content {
    margin-right: 0;
    margin-left: 2rem;
}

.node-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.node-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Section 4: Mid-Market */
.midmarket-section {
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.challenge-list {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.challenge-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.icon-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(45, 123, 191, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(45, 123, 191, 0.3);
}

.icon-check::after {
    content: '✓';
    font-size: 14px;
}

/* Dashboard Widget */
.dashboard-widget {
    padding: 2rem;
}

.widget-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1rem;
}

.widget-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.metric-box {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-glass);
}

.metric-box.full-width {
    grid-column: 1 / -1;
}

.metric-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
}

.text-positive {
    color: #10B981;
}

.risk-bar {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    margin: 1rem 0;
    overflow: hidden;
}

.risk-level {
    height: 100%;
    background: linear-gradient(90deg, #10B981, var(--accent-yellow));
}

.metric-sub {
    font-size: 0.85rem;
    color: #10B981;
}

/* Section 5: Outcomes Grid */
.outcomes-section {
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.outcome-card {
    padding: 3rem 2rem;
    transition: var(--transition);
}

.outcome-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.outcome-stat {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    line-height: 1;
}

.outcome-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.outcome-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Section 6: Why CandidateHub Diagram */
.connection-diagram {
    position: relative;
    height: 400px;
    margin: 4rem auto 0;
    max-width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.diagram-node {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 600;
    position: absolute;
    z-index: 2;
    padding: 1rem 1.5rem;
    white-space: nowrap;
}

.primary-node {
    width: 250px;
    height: 80px;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(45, 123, 191, 0.5);
    box-shadow: 0 0 30px rgba(45, 123, 191, 0.3);
    font-size: 1.25rem;
    gap: 10px;
}

.secondary-node {
    width: 140px;
    height: 50px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.diagram-node:nth-child(1) { top: 0; left: 0; }
.diagram-node:nth-child(3) { top: 0; right: 0; }
.diagram-node:nth-child(7) { bottom: 0; left: 0; }
.diagram-node:nth-child(9) { bottom: 0; right: 0; }

.diagram-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(191, 218, 255, 0.3), transparent);
    z-index: 1;
}

.line-left { top: 25px; left: 70px; width: calc(50% - 170px); height: 2px; transform: rotate(35deg); transform-origin: left center; }
.line-top { top: 25px; right: 70px; width: calc(50% - 170px); height: 2px; transform: rotate(-35deg); transform-origin: right center; }
.line-bottom { bottom: 25px; left: 70px; width: calc(50% - 170px); height: 2px; transform: rotate(-35deg); transform-origin: left center; }
.line-right { bottom: 25px; right: 70px; width: calc(50% - 170px); height: 2px; transform: rotate(35deg); transform-origin: right center; }

/* Testimonials */
.testimonial-section {
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    font-size: 4rem;
    line-height: 1;
    color: rgba(191, 218, 255, 0.2);
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-family: serif;
}

.quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.author-info h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary);
    border: 1px solid var(--border-glass);
}
.quote-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

/* Final CTA */
.cta-section {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.final-cta-panel {
    padding: 4rem 2rem;
    border: 1px solid rgba(241, 135, 1, 0.3); /* CTA orange border */
    background: rgba(15, 23, 42, 0.6);
    box-shadow: 0 0 50px rgba(241, 135, 1, 0.1);
}

.glow-btn {
    box-shadow: 0 0 30px rgba(241, 135, 1, 0.5);
}

/* Footer */
.site-footer {
    background: #03060E;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-glass);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 0.95rem;
}

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

.link-group h4 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container, .split-layout {
        grid-template-columns: 1fr;
    }
    .hero {
        padding-top: 120px;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .timeline-node {
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 3rem;
    }
    .timeline-line {
        left: 0;
        transform: none;
    }
    .node-dot {
        left: 0;
        transform: translateX(-50%);
    }
    .timeline-node:nth-child(even) .node-content {
        margin-left: 0;
    }
    .node-content {
        width: 100%;
        margin-right: 0;
    }
    .connection-diagram {
        height: 600px;
        flex-direction: column;
    }
    .primary-node {
        position: relative;
        margin: 200px auto;
    }
    .diagram-line { display: none; } /* Hide lines on mobile */
    .secondary-node { position: relative; inset: auto !important; margin: 10px auto; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .testimonial-grid { grid-template-columns: 1fr; }
}


/* --- New Section Styles --- */
.section-light { background: var(--bg-light); color: var(--text-dark); }
.section-offwhite { background: var(--bg-offwhite); color: var(--text-dark); }
.section-dark-trust { background: var(--brand-dark-blue); color: #fff; }
.section-brand { background: var(--brand-blue); color: #fff; }

.text-dark { color: var(--text-dark) !important; }
.text-body { color: var(--text-body) !important; }
.text-white { color: #fff !important; }
.text-blue { color: var(--primary) !important; }

.row { display: flex; flex-wrap: wrap; }
.column { flex: 1; min-width: 250px; }
.justify-center { justify-content: center; }

.btn-secondary-white {
    background: #fff;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-secondary-white:hover {
    background: var(--bg-offwhite);
    transform: translateY(-2px);
}

/* Header & Mobile nav */
#mainNav.mobile-active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(4, 8, 18, 0.95);
    padding: 1rem;
    padding-bottom: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
}
.mobile-menu-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}
@media (min-width: 769px) {
    .mobile-menu-btn { display: none !important; }
    #mainNav { display: flex !important; }
}
@media (max-width: 768px) {
    .header-actions { display: none; }
    .mobile-menu-btn { display: block !important; }
    #mainNav { display: none; }
}

/* The Problem */
.problem-stats { margin-top: 4rem; gap: 2rem; }
.stat-col { padding: 1.5rem; }
.stat-number { font-size: 3rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; line-height: 1; }
.stat-label { font-size: 1rem; color: var(--text-body); }

/* Markis */
.eyebrow { font-variant: small-caps; color: var(--primary); font-weight: 600; letter-spacing: 1px; font-size: 0.9rem; display: block; margin-bottom: 0.5rem; }
.rule-box { margin-top: 1.5rem; opacity: 0.8; font-size: 0.95rem; }
.light-card {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.light-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: rgba(45, 123, 191, 0.3);
}
.card-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.card-icon-circle svg { width: 24px; height: 24px; color: var(--primary); }
.card-text h3 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 0.5rem; font-weight: 600; }
.card-text p { font-size: 0.9rem; margin-top: 0 !important; max-height: unset !important; opacity: 1 !important; }

/* Stack Diagram */
.stack-diagram { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 4rem 0 2rem; flex-wrap: wrap; }
.tier { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.tier-pill { padding: 1rem 2.5rem; border-radius: 50px; font-weight: 500; font-size: 1.1rem; }
.grey-pill { background: #e1e4e8; color: var(--text-body); }
.blue-pill { background: var(--secondary); color: var(--primary); font-size: 1.25rem !important; padding: 1.25rem 3rem; }
.dark-blue-pill { background: var(--brand-dark-blue); color: #fff; }
.tier-label { font-size: 0.85rem; color: var(--text-body); font-weight: 500; }
.arrow { color: #cbd5e1; width: 32px; height: 32px; }
.stack-note p { font-size: 0.9rem; color: var(--text-body); }
.font-bold { font-weight: 700; }

/* Mid-Market */
.recognition-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.rec-item { font-size: 1.05rem; line-height: 1.5; }
.rec-problem { font-weight: 700; color: var(--text-dark); margin-right: 0.5rem; }
.rec-solution { color: var(--text-body); }
.light-panel { background: #fff; border-radius: 16px; border: 1px solid #e1e4e8; box-shadow: 0 10px 30px rgba(0,0,0,0.05); padding: 2rem; }
.box-light { background: var(--bg-light); border: 1px solid #e1e4e8; border-radius: 12px; padding: 1.5rem; }
.box-light .metric-label { color: var(--text-body); }
.box-light-bar { background: #e1e4e8; }
.icp-note { margin-top: 4rem; font-size: 0.85rem; color: var(--text-body); font-weight: 500; }

/* Consent Options */
.trust-pills { gap: 1.5rem; margin-top: 4rem; }
.trust-pill {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-weight: 500;
}

/* Outcomes */
.disclaimer-note { margin-top: 3rem; font-size: 0.85rem; color: var(--text-body); font-style: italic; }

/* Social Proof */
.logo-bar { gap: 3rem; align-items: center; margin-top: 3rem; flex-wrap: wrap; }
.logo-placeholder { background: #cbd5e1; width: 120px; height: 40px; border-radius: 4px; opacity: 0.5; }

/* Footer */
.light-footer { background: var(--bg-light); border-top: 1px solid #e1e4e8; }
.light-footer .link-group a:hover { color: var(--primary); }

@media (max-width: 768px) {
    .stack-diagram { flex-direction: column; }
    .arrow { transform: rotate(90deg); }
    .problem-stats.row { flex-direction: column; gap: 1rem; }
}


/* Override outcome-stat for light mode */
.outcomes-section .outcome-stat {
    background: none;
    -webkit-text-fill-color: var(--primary);
    color: var(--primary);
}

/* Overrides removed to allow .square-module dark mode styling */

/* Override .dashboard-widget glow */
.dashboard-widget.light-panel {
    background: #fff !important;
    border: 1px solid #e1e4e8 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
}
.dashboard-widget.light-panel .glow-orb { display: none; }
.dashboard-widget.light-panel .widget-header { border-bottom-color: #e1e4e8; color: var(--text-dark); }
.dashboard-widget.light-panel .metric-label { color: var(--text-body); }
.dashboard-widget.light-panel .metric-box { background: var(--bg-light); border-color: #e1e4e8; }
.dashboard-widget.light-panel .metric-value { color: var(--text-dark); }
.dashboard-widget.light-panel .metric-value.text-blue { color: var(--primary) !important; }
.dashboard-widget.light-panel .metric-value.text-positive { color: #10B981 !important; }
