/* ====================================================================
   MD COLAB - MODERN PAGES DESIGN SYSTEM
   Enhanced aesthetics for About, How We Work, and VPC pages.
   ==================================================================== */

:root {
    --brand-primary: #FF6F00;
    --brand-primary-hover: #E65100;
    --brand-primary-light: #FF9E40;
    --brand-primary-glow: rgba(255, 111, 0, 0.15);
    --brand-blue: #3b82f6;
    --brand-purple: #8b5cf6;
    --brand-emerald: #10b981;
    --brand-rose: #f43f5e;
    
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-glass: rgba(255, 255, 255, 0.85);
    --bg-surface-subtle: #f1f5f9;
    
    --border-subtle: rgba(15, 23, 42, 0.08);
    --border-card: rgba(15, 23, 42, 0.06);
    --border-focus: rgba(255, 111, 0, 0.4);
    
    --text-heading: #0f172a;
    --text-body: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --shadow-subtle: 0 2px 6px rgba(15, 23, 42, 0.04);
    --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.03);
    --shadow-card-hover: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 8px 16px rgba(255, 111, 0, 0.06);
    --shadow-glow: 0 0 35px rgba(255, 111, 0, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 9999px;
    
    --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Scroll & Layout Stabilization --- */
html {
    scrollbar-gutter: stable;
    overflow-y: scroll;
}

/* --- Base Body for Modern Pages --- */
body.modern-page {
    background-color: var(--bg-page) !important;
    color: var(--text-body) !important;
    font-family: var(--font-sans) !important;
    line-height: 1.7;
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Fixed Header Pinning (Zero Shift & High Opacity) --- */
body.modern-page .main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 72px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    z-index: 1000 !important;
    transition: none !important;
    transform: none !important;
    box-sizing: border-box !important;
}

body.modern-page .navbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    height: 100% !important;
    gap: 16px !important;
    box-sizing: border-box !important;
    transition: none !important;
    transform: none !important;
}

@media (max-width: 768px) {
    body.modern-page .main-header {
        height: 64px !important;
    }
    body.modern-page .navbar {
        padding: 0 16px !important;
    }
}

/* --- Page Wrapper Flex (Prevents Footer Jumping) --- */
.modern-page-wrapper {
    position: relative;
    width: 100%;
    flex: 1 0 auto !important;
    min-height: calc(100vh - 72px);
    padding-top: 72px; /* Offset for fixed header */
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .modern-page-wrapper {
        min-height: calc(100vh - 64px);
        padding-top: 64px;
    }
}

/* --- Stabilized Footer --- */
body.modern-page .main-footer {
    flex-shrink: 0 !important;
    width: 100% !important;
    background-color: #0a0a0a !important;
    border-top: 1px solid #1e293b !important;
    margin-top: auto !important;
    box-sizing: border-box;
}

body.modern-page h1,
body.modern-page h2,
body.modern-page h3,
body.modern-page h4,
body.modern-page h5,
body.modern-page h6 {
    color: var(--text-heading) !important;
    font-family: var(--font-sans) !important;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

body.modern-page a {
    color: var(--brand-primary);
    transition: all 0.25s ease;
}

body.modern-page .btn-primary-header,
body.modern-page .nav-auth-group .btn-primary-header,
body.modern-page #nav-guest .btn-primary-header,
body.modern-page a.btn-primary-header,
body.modern-page a.btn-modern-primary,
body.modern-page a.btn-primary {
    color: #ffffff !important;
}

/* Reset legacy style.css pseudo-element underlines and negative margins */
body.modern-page .section-title::after {
    display: none !important;
}

body.modern-page .section-subtitle {
    margin: 0 auto 36px auto !important;
    text-align: center !important;
    max-width: 700px !important;
}

/* --- Dynamic Background Decorations --- */
.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 700px;
    background-image: 
        linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-glow-orb {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 111, 0, 0.12) 0%, rgba(255, 158, 64, 0.04) 50%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.hero-glow-orb.blue {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(139, 92, 246, 0.04) 50%, transparent 70%);
}

/* --- Typography & Gradients --- */
.text-gradient-primary {
    background: linear-gradient(135deg, #FF6F00 0%, #FF9E40 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.text-gradient-blue {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #8b5cf6 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.text-gradient-emerald {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* --- Container & Layout --- */
.modern-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.modern-section {
    padding: 80px 0;
    position: relative;
}

.modern-section.tight {
    padding: 40px 0;
}

/* --- Hero Section --- */
.modern-hero {
    position: relative;
    padding: 140px 24px 70px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 111, 0, 0.25);
    color: var(--brand-primary);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.08);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-badge-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.15);
}

.hero-badge-pill.blue {
    border-color: rgba(59, 130, 246, 0.25);
    color: var(--brand-blue);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.08);
}

.hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    max-width: 900px;
    margin: 0 auto 20px auto;
    color: var(--text-heading);
}

.hero-lead {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--text-body);
    max-width: 720px;
    margin: 0 auto 36px auto;
    line-height: 1.6;
}

/* --- Hero Metrics Bar --- */
.hero-metrics-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: var(--bg-card-glass);
    border: 1px solid var(--border-card);
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
    width: 100%;
    max-width: 960px;
    margin: 20px auto 0 auto;
}

.metric-item {
    text-align: center;
    position: relative;
}

.metric-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border-subtle);
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1.1;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-primary);
    background: rgba(255, 111, 0, 0.08);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* --- Bento Grids & Cards --- */
.modern-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.modern-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.modern-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.modern-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(255, 111, 0, 0.2);
}

.modern-card.glass {
    background: var(--bg-card-glass);
    backdrop-filter: blur(12px);
}

/* --- Ecosystem Cards --- */
.eco-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.eco-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(255, 111, 0, 0.25);
}

.eco-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.eco-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 111, 0, 0.1) 0%, rgba(255, 158, 64, 0.05) 100%);
    border: 1px solid rgba(255, 111, 0, 0.15);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.eco-card:hover .eco-icon-box {
    transform: scale(1.1) rotate(4deg);
    background: linear-gradient(135deg, #FF6F00 0%, #FF9E40 100%);
    color: #fff;
}

.eco-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--bg-surface-subtle);
    color: var(--text-muted);
}

.eco-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.eco-desc {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.eco-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-decoration: none;
}

.eco-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.eco-card:hover .eco-link i {
    transform: translateX(4px);
}

/* --- Split Media Feature Cards --- */
.feature-split-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-card);
    margin-bottom: 40px;
}

.feature-split-card.reverse {
    direction: rtl;
}

.feature-split-card.reverse > * {
    direction: ltr;
}

.feature-media-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(15, 23, 42, 0.06);
    aspect-ratio: 16 / 9;
}

.feature-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-split-card:hover .feature-media-frame img {
    transform: scale(1.03);
}

.feature-info-pane h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-heading);
}

.feature-info-pane p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 18px;
}

/* --- Process Pipeline Ribbon (How We Work) --- */
.process-pipeline-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: var(--bg-card-glass);
    border: 1px solid var(--border-card);
    padding: 12px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
    margin: 0 auto 60px auto;
    max-width: 1000px;
    overflow-x: auto;
}

.process-step-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.process-step-pill .step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-surface-subtle);
    color: var(--text-heading);
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step-pill:hover,
.process-step-pill.active {
    background: #ffffff;
    color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.process-step-pill:hover .step-num,
.process-step-pill.active .step-num {
    background: var(--brand-primary);
    color: #ffffff;
}

/* --- Workflow Block (How We Work) --- */
.workflow-block {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-card);
    margin-bottom: 50px;
}

.workflow-badge-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.phase-pill {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 111, 0, 0.1);
    color: var(--brand-primary);
    border: 1px solid rgba(255, 111, 0, 0.2);
}

.workflow-title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-heading);
}

.workflow-lead {
    font-size: 1.05rem;
    color: var(--text-body);
    max-width: 900px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.workflow-banner-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(15, 23, 42, 0.06);
    aspect-ratio: 16 / 9;
    max-height: 480px;
}

.workflow-banner-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Pillars / Deep Dive Cards (AI & Identity) --- */
.pillar-card {
    border-radius: var(--radius-xl);
    padding: 44px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-card);
}

.pillar-card.ai-theme {
    background: linear-gradient(135deg, rgba(255, 111, 0, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-color: rgba(255, 111, 0, 0.2);
}

.pillar-card.identity-theme {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-color: rgba(59, 130, 246, 0.2);
}

.pillar-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.ai-theme .pillar-icon-box {
    background: linear-gradient(135deg, #FF6F00 0%, #FF9E40 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 111, 0, 0.25);
}

.identity-theme .pillar-icon-box {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

/* --- Interactive Timeline (About) --- */
.modern-timeline {
    position: relative;
    max-width: 860px;
    margin: 40px auto 0 auto;
    padding: 20px 0;
}

.modern-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 28px;
    width: 3px;
    background: linear-gradient(to bottom, #FF6F00 0%, #FF9E40 50%, #3b82f6 100%);
    border-radius: 3px;
}

.timeline-step {
    position: relative;
    padding-left: 70px;
    margin-bottom: 36px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step-node {
    position: absolute;
    left: 17px;
    top: 4px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(255, 111, 0, 0.15);
    z-index: 2;
}

.timeline-step-content {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-step:hover .timeline-step-content {
    transform: translateX(4px);
    border-color: rgba(255, 111, 0, 0.25);
}

.timeline-date-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-primary);
    background: rgba(255, 111, 0, 0.08);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 8px;
}

.timeline-step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.timeline-step-text {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* --- Values Grid (About) --- */
.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(255, 111, 0, 0.2);
}

.value-icon-box {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(255, 111, 0, 0.08);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.value-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.value-desc {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.5;
}

/* --- Founder Spotlight Card (About) --- */
.founder-spotlight-card {
    background: linear-gradient(135deg, #ffffff 0%, #fbfaf8 100%);
    border: 1px solid rgba(255, 111, 0, 0.15);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    box-shadow: var(--shadow-card);
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}

.founder-avatar-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 24px auto;
}

.founder-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 25px rgba(255, 111, 0, 0.2);
}

.founder-verified-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: #FF6F00;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.founder-quote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-body);
    line-height: 1.8;
    max-width: 740px;
    margin: 0 auto 28px auto;
}

.founder-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 2px;
}

.founder-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- VPC Specific Components --- */
.vpc-badge-avatar {
    width: 110px;
    height: 110px;
    margin: 0 auto 20px auto;
    animation: floatSmooth 4s ease-in-out infinite;
    filter: drop-shadow(0 12px 24px rgba(255, 111, 0, 0.25));
}

.vpc-offer-card {
    background: linear-gradient(135deg, rgba(255, 111, 0, 0.06) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 2px solid rgba(255, 111, 0, 0.3);
    border-radius: var(--radius-xl);
    padding: 36px 30px;
    box-shadow: 0 15px 35px rgba(255, 111, 0, 0.08);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    position: relative;
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF6F00;
    box-shadow: 0 0 0 0 rgba(255, 111, 0, 0.7);
    animation: pulseDot 1.8s infinite;
    margin-right: 6px;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 111, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 111, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 111, 0, 0); }
}

.slots-counter-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid rgba(255, 111, 0, 0.2);
    padding: 8px 24px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    margin: 16px 0;
}

.slots-count-num {
    font-size: 2rem;
    font-weight: 600;
    color: var(--brand-primary);
    line-height: 1;
}

.slots-count-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Comparison Bento (VPC) --- */
.compare-card {
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.compare-card.danger {
    background: #ffffff;
    border: 1px solid rgba(244, 63, 94, 0.2);
}

.compare-card.success {
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.06);
}

.compare-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.compare-card.danger .compare-header { color: var(--brand-rose); }
.compare-card.success .compare-header { color: var(--brand-emerald); }

/* --- VPC Dual-Track Interactive Flow Styles --- */
.vpc-flow-toggle-wrap {
    display: inline-flex;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 9999px;
    padding: 4px;
    margin: 24px auto 32px auto;
    position: relative;
}

.vpc-flow-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 9999px;
    border: none;
    background: transparent;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.vpc-flow-toggle-btn.active {
    background: #ffffff;
    color: var(--text-heading);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    font-weight: 600;
}

.vpc-flow-toggle-btn.active.primary {
    color: #ff6f00;
}

.vpc-flow-toggle-btn.active.purple {
    color: #8b5cf6;
}

.vpc-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 111, 0, 0.08);
    color: #ff6f00;
    border: 1px solid rgba(255, 111, 0, 0.25);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 500;
    margin-bottom: 14px;
}

.vpc-criteria-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 18px;
    padding: 24px;
    text-align: left;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.vpc-criteria-card:hover {
    border-color: rgba(255, 111, 0, 0.3);
    box-shadow: 0 10px 25px rgba(255, 111, 0, 0.06);
    transform: translateY(-2px);
}

.vpc-criteria-badge-step {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 111, 0, 0.1);
    color: #ff6f00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.vpc-criteria-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    margin: 0 0 8px 0;
}

.vpc-criteria-desc {
    font-size: 0.86rem;
    color: var(--text-body);
    line-height: 1.55;
    margin: 0 0 16px 0;
    flex: 1;
}

.vpc-criteria-status-row {
    padding-top: 12px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
}

.vpc-progress-track {
    width: 100%;
    height: 10px;
    background: rgba(15, 23, 42, 0.06);
    border-radius: 9999px;
    overflow: hidden;
    margin: 14px 0 8px 0;
}

.vpc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6f00, #ff9e40);
    border-radius: 9999px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vpc-checklist-item-modern {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.2s ease;
}

.vpc-checklist-item-modern:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.02);
}

.compare-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compare-list li strong {
    font-weight: 500;
    color: var(--text-heading);
}

body.modern-page strong,
body.modern-page b {
    font-weight: 500;
}

.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.98rem;
    color: var(--text-body);
    line-height: 1.5;
}

.compare-list li i {
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.compare-card.danger .compare-list li i { color: var(--brand-rose); }
.compare-card.success .compare-list li i { color: var(--brand-emerald); }

body.modern-page .compare-card ul li::before,
body.modern-page .compare-card.error ul li::before,
body.modern-page .compare-card.success ul li::before,
body.modern-page .compare-list li::before {
    display: none !important;
    content: none !important;
}

/* --- Modern Form Controls (VPC) --- */
.modern-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-card);
    max-width: 680px;
    margin: 0 auto;
}

.form-group-modern {
    margin-bottom: 22px;
    text-align: left;
}

.form-label-modern {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.form-input-modern {
    width: 100%;
    padding: 14px 18px;
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 0.98rem;
    font-family: var(--font-sans);
    color: var(--text-heading);
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.form-input-modern:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(255, 111, 0, 0.12);
}

.form-input-modern:read-only {
    background: var(--bg-surface-subtle);
    color: var(--text-muted);
    cursor: not-allowed;
    border-color: rgba(15, 23, 42, 0.05);
}

.form-auto-badge {
    background: rgba(255, 111, 0, 0.08);
    border: 1px solid rgba(255, 111, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 0.88rem;
    color: #c2410c;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- Buttons --- */
.btn-modern-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #FF6F00 0%, #E65100 100%);
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 111, 0, 0.25);
    transition: all 0.25s ease;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 111, 0, 0.35);
    background: linear-gradient(135deg, #FF7D1A 0%, #F55900 100%);
}

.btn-modern-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: var(--text-heading) !important;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    box-shadow: var(--shadow-subtle);
    transition: all 0.25s ease;
}

.btn-modern-secondary:hover {
    transform: translateY(-2px);
    background: var(--bg-surface-subtle);
    border-color: rgba(15, 23, 42, 0.15);
}

/* --- Bottom CTA Banner --- */
.modern-cta-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}

.modern-cta-banner h2 {
    color: #ffffff !important;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 16px;
}

.modern-cta-banner p {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 32px auto;
}

/* --- Smooth Keyframes --- */
@keyframes floatSmooth {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.animate-entrance {
    animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .modern-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .modern-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-metrics-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .metric-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .modern-hero {
        padding: 110px 16px 50px 16px;
    }
    .modern-grid-2,
    .modern-grid-3,
    .modern-grid-4 {
        grid-template-columns: 1fr;
    }
    .feature-split-card {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
    }
    .workflow-block {
        padding: 28px 20px;
    }
    .hero-metrics-bar {
        grid-template-columns: 1fr 1fr;
        padding: 16px;
    }
    .process-pipeline-nav {
        justify-content: flex-start;
        padding: 8px;
    }
    .modern-timeline::before {
        left: 18px;
    }
    .timeline-step {
        padding-left: 50px;
    }
    .timeline-step-node {
        left: 7px;
    }
    .modern-form-card {
        padding: 24px 18px;
    }
    .founder-spotlight-card {
        padding: 32px 20px;
    }
}

/* --- Mobile Sidebar Overlay & Drawer Stacking --- */
.mobile-sidebar-overlay {
    z-index: 99998 !important;
}
.mobile-sidebar {
    z-index: 99999 !important;
}

/* --- Ambient Background Video Layer (VPC Portal) --- */
.vpc-ambient-video-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.vpc-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.32;
    filter: saturate(1.2) brightness(0.9);
    transition: opacity 0.6s ease;
}

.vpc-video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(248, 250, 252, 0.45) 0%, rgba(241, 245, 249, 0.85) 70%, #f8fafc 100%);
    pointer-events: none;
}

body.dark .vpc-video-overlay,
[data-theme="dark"] .vpc-video-overlay {
    background: radial-gradient(circle at 50% 30%, rgba(10, 10, 10, 0.35) 0%, rgba(5, 5, 5, 0.85) 70%, #050505 100%);
}

