/* ========================================
   PrivateEdge — Stylesheet
   ======================================== */

:root {
    /* Brand palette — extracted from logo */
    --bg-deep: #0F1F2E;
    --bg-primary: #1A2D40;
    --bg-secondary: #1F3447;
    --bg-elevated: #243B52;
    --bg-card: rgba(255, 255, 255, 0.03);

    --accent-cyan: #2DD4D4;
    --accent-cyan-bright: #5EEAEA;
    --accent-cyan-dim: rgba(45, 212, 212, 0.12);
    --accent-orange: #E87B3F;
    --accent-orange-dim: rgba(232, 123, 63, 0.12);

    --text-primary: #F5F8FB;
    --text-secondary: #B8C4D1;
    --text-tertiary: #7B8B9D;
    --text-muted: #5A6B80;

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-soft: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.16);

    /* Typography */
    --font-display: 'Fraunces', 'Times New Roman', serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* Spacing & sizing */
    --max-width: 1280px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Shadows */
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-glow-cyan: 0 0 80px rgba(45, 212, 212, 0.2);
    --shadow-glow-orange: 0 0 60px rgba(232, 123, 63, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.55;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

ul {
    list-style: none;
}

em {
    font-style: italic;
}

/* ========== Desktop vs Mobile ========== */

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

@media (min-width: 768px) {
    .hide-on-desktop {
        display: none !important;
    }
}

/* ========== Decorative grid background ========== */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-color: var(--bg-deep);
    background-image: linear-gradient(rgba(45, 212, 212, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 212, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
}

.grid-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 20% 10%, rgba(45, 212, 212, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 50%, rgba(232, 123, 63, 0.05), transparent 60%);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.01em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 14px;
}

.btn-primary {
    background: var(--accent-cyan);
    color: var(--bg-deep);
    box-shadow: 0 4px 20px rgba(45, 212, 212, 0.25);
}

.btn-primary:hover {
    background: var(--accent-cyan-bright);
    transform: translateY(-1px);
    box-shadow: 0 6px 30px rgba(45, 212, 212, 0.4);
}

.btn-primary svg {
    transition: transform 0.25s ease;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-ghost {
    color: var(--text-primary);
    border: 1px solid var(--border-soft);
    background: transparent;
}

.btn-ghost:hover {
    background: var(--bg-card);
    border-color: var(--border-strong);
}

/* ========== Navigation ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(15, 31, 46, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav.scrolled {
    border-bottom-color: var(--border-subtle);
    background: rgba(15, 31, 46, 0.85);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-icon {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 8px rgba(45, 212, 212, 0.4));
}

.nav-logo-text {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
    font-family: var(--font-body);
}

.nav-logo-text em {
    color: var(--accent-cyan);
    font-style: normal;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 450;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-cyan);
    transform: scaleX(0);
    transition: transform 0.25s ease;
    transform-origin: left;
}

.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-links a.active {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link-secondary {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 450;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ========== Hero ========== */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 212, 0.08), transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-weight: 450;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-cyan);
    position: relative;
    box-shadow: 0 0 12px var(--accent-cyan);
}

.pulse-dot::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--accent-cyan);
    opacity: 0.4;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.02;
    font-weight: 400;
    letter-spacing: -0.035em;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.hero-title-em {
    font-style: italic;
    font-weight: 300;
    color: var(--accent-cyan);
    background: linear-gradient(120deg, var(--accent-cyan) 0%, var(--accent-cyan-bright) 50%, var(--accent-cyan) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 540px;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-description em {
    font-style: normal;
    color: #FFFFFF;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: #2DD4D4;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-meta-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-meta-label {
    font-size: 12px;
    color: var(--text-tertiary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-meta-divider {
    width: 1px;
    height: 36px;
    background: var(--border-soft);
}

/* ========== Hero Dashboard Mockup ========== */
.hero-visual {
    position: relative;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.dashboard {
    position: relative;
    background: linear-gradient(165deg, var(--bg-secondary), var(--bg-primary));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.dashboard-glow {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(45, 212, 212, 0.15), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    z-index: 1;
}

.dashboard-window-controls {
    display: flex;
    gap: 6px;
}

.dashboard-window-controls span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border-strong);
}

.dashboard-window-controls span:nth-child(1) {
    background: rgba(232, 123, 63, 0.6);
}

.dashboard-window-controls span:nth-child(2) {
    background: rgba(255, 200, 50, 0.5);
}

.dashboard-window-controls span:nth-child(3) {
    background: rgba(45, 212, 212, 0.5);
}

.dashboard-title {
    font-size: 12px;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

.dashboard-body {
    padding: 22px;
    position: relative;
    z-index: 1;
}

.dashboard-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.metric-card {
    padding: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.metric-label {
    font-size: 11px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.metric-value span {
    font-size: 16px;
    color: var(--text-tertiary);
    font-weight: 400;
}

.metric-trend {
    font-size: 11px;
    font-family: var(--font-mono);
}

.metric-trend.up {
    color: var(--accent-cyan);
}

.dashboard-chart {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
}

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

.chart-title {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.chart-legend {
    display: flex;
    gap: 14px;
    font-size: 11px;
    color: var(--text-tertiary);
}

.legend-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}

.legend-cyan {
    background: var(--accent-cyan);
}

.legend-orange {
    background: var(--accent-orange);
}

.chart-svg {
    width: 100%;
    height: 110px;
    display: block;
}

.chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.chart-line-2 {
    animation-delay: 0.9s;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.dashboard-allocations {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.allocation-row {
    display: grid;
    grid-template-columns: 110px 1fr 40px;
    align-items: center;
    gap: 12px;
}

.allocation-name {
    font-size: 12px;
    color: var(--text-secondary);
}

.allocation-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    overflow: hidden;
}

.allocation-fill {
    height: 100%;
    width: 0;
    background: var(--c);
    border-radius: 100px;
    animation: fillBar 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

@keyframes fillBar {
    to {
        width: var(--w);
    }
}

.allocation-value {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    text-align: right;
}

/* Floating cards */
.floating-card {
    position: absolute;
    background: linear-gradient(135deg, #2A4259, #1F3447);
    border: 1px solid rgba(45, 212, 212, 0.2);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
    animation: floatIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    z-index: 5;
}

.floating-card-1 {
    top: 8%;
    left: -50px;
    animation-delay: 1.2s;
}

.floating-card-2 {
    bottom: 14%;
    right: -32px;
    animation-delay: 1.5s;
}

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

.floating-card-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-cyan-dim);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-card-icon.orange {
    background: var(--accent-orange-dim);
    color: var(--accent-orange);
}

.floating-card-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.floating-card-content strong {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.floating-card-content span {
    font-size: 11px;
    color: var(--text-tertiary);
}

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

/* ========== Logos section ========== */
.logos-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.logos-label {
    text-align: center;
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 32px;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    opacity: 0.65;
    transition: all 0.3s ease;
    cursor: default;
}

.logo-text em {
    font-style: italic;
    font-weight: 300;
}

.logo-text:hover {
    opacity: 1;
    color: var(--text-secondary);
}

/* ========== Section header ========== */
.section-header {
    max-width: 760px;
    margin: 0 auto 80px;
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 500;
    margin-bottom: 20px;
    padding: 6px 14px;
    background: var(--accent-cyan-dim);
    border-radius: 100px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.section-title em {
    font-style: italic;
    font-weight: 300;
    color: var(--accent-cyan);
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Pillars Section ========== */
.pillars {
    padding: 140px 0;
    position: relative;
}

/* Carousel container */
.pillars-carousel {
    position: relative;
    margin: 0 -24px;
}

.pillars-track {
    display: grid;
    grid-auto-flow: column;
    /* 2 cards visibles + peek de la 3ra (~56px) */
    grid-auto-columns: calc((100% - 24px * 3 - 56px) / 2);
    gap: 24px;
    padding: 8px 24px 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.pillars-track::-webkit-scrollbar {
    display: none;
}

.pillars-track > .pillar-card {
    scroll-snap-align: start;
    min-width: 0;
}

/* Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.carousel-arrow:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-50%) scale(1.05);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.carousel-arrow-prev {
    left: -8px;
}

.carousel-arrow-next {
    right: -8px;
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border-strong);
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.carousel-dot:hover {
    background: var(--text-tertiary);
}

.carousel-dot.is-active {
    background: var(--accent-cyan);
}

.pillar-card {
    position: relative;
    padding: 36px;
    background: linear-gradient(165deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.pillar-icon {
    display: block;
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pillar-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.pillar-card:hover::before {
    opacity: 0.6;
}

.pillar-title {
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.pillar-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.pillar-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.pillar-list li {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.pillar-list li span {
    color: var(--accent-cyan);
    font-weight: 700;
    flex-shrink: 0;
}

/* Highlighted item to elevate a differentiator */
.pillar-list .pillar-list-highlight {
    align-items: flex-start;
    padding: 14px 16px;
    margin: -2px -16px 8px;
    background: linear-gradient(135deg, rgba(45, 212, 212, 0.10), rgba(45, 212, 212, 0.02));
    border: 1px solid rgba(45, 212, 212, 0.22);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.pillar-list .pillar-list-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-cyan), transparent);
}

.pillar-list-highlight > span {
    color: var(--accent-cyan);
    font-size: 14px;
    margin-top: 1px;
    text-shadow: 0 0 8px var(--accent-cyan);
}

.pillar-list-highlight > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pillar-list-highlight strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.005em;
}

.pillar-list-highlight em {
    font-style: italic;
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 400;
    line-height: 1.45;
}

.pillar-visual {
    margin-top: auto;
    display: flex;
    justify-content: center;
    padding-top: 20px;
    opacity: 0.85;
}

.pillar-illustration {
    width: 100%;
    max-width: 320px;
    height: auto;
}

.pillar-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.pillar-stat-value {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 500;
    color: var(--accent-cyan);
    letter-spacing: -0.02em;
}

.pillar-stat-label {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.pillar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.tag {
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 100px;
    font-size: 12px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

/* Compact pillar list (for shorter pillars) */
.pillar-list-compact {
    margin-bottom: 0;
}

/* Server architecture block (Pillar 02) */
.server-arch {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.server-block {
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: border-color 0.25s ease;
}

.server-block:hover {
    border-color: var(--border-soft);
}

.server-block-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.005em;
}

.server-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.server-dot.dedicated {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.server-dot.central {
    background: var(--accent-orange);
    box-shadow: 0 0 10px var(--accent-orange);
}

.server-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 18px;
}

.server-list li {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.45;
    position: relative;
}

.server-list li::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 9px;
    width: 4px;
    height: 1px;
    background: var(--text-tertiary);
}

.server-list sup {
    color: var(--accent-cyan);
    font-size: 0.7em;
    margin-left: 1px;
}

.server-footnote {
    font-size: 11px;
    color: var(--text-tertiary);
    font-style: italic;
    line-height: 1.4;
    margin-top: 4px;
}

.server-footnote sup {
    color: var(--accent-cyan);
    font-style: normal;
}

/* ========== Features Section ========== */
.features {
    padding: 140px 0;
    background: linear-gradient(180deg, transparent, rgba(45, 212, 212, 0.02), transparent);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 80px;
    align-items: center;
}

.feature-row.reverse {
    grid-template-columns: 1.15fr 1fr;
}

.feature-row.reverse .feature-meta {
    order: 2;
}

.feature-row.reverse .feature-visual {
    order: 1;
}

.feature-tag {
    display: inline-block;
    font-size: 11px;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 500;
    margin-bottom: 16px;
    font-family: var(--font-mono);
}

/* Differentiator feature row — extra emphasis */
.feature-row-hero {
    position: relative;
    padding: 60px;
    background: linear-gradient(135deg, rgba(45, 212, 212, 0.06), rgba(45, 212, 212, 0.01) 60%);
    border: 1px solid rgba(45, 212, 212, 0.18);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.feature-row-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(45, 212, 212, 0.12), transparent 70%);
    pointer-events: none;
}

.feature-row-hero .feature-meta,
.feature-row-hero .feature-visual {
    position: relative;
    z-index: 1;
}

.feature-tag-accent {
    color: var(--accent-cyan);
    background: rgba(45, 212, 212, 0.08);
    padding: 6px 12px;
    border-radius: 100px;
    border: 1px solid rgba(45, 212, 212, 0.25);
    display: inline-flex;
    align-items: center;
}

.feature-tag-orange {
    color: #E87B3F;
    background: rgba(232, 123, 63, 0.08);
    padding: 6px 12px;
    border-radius: 100px;
    border: 1px solid rgba(232, 123, 63, 0.25);
    display: inline-flex;
    align-items: center;
}

.feature-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.12;
    font-weight: 400;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.feature-text {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 520px;
}

.feature-text em {
    font-style: normal;
    color: #FFFFFF;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: #2DD4D4;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
}

.feature-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-checks li {
    position: relative;
    padding-left: 28px;
    font-size: 14px;
    color: var(--text-secondary);
}

.feature-checks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-cyan-dim);
    background-image: linear-gradient(135deg, var(--accent-cyan-dim), transparent);
}

.feature-checks li::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 11px;
    width: 8px;
    height: 4px;
    border-left: 1.5px solid var(--accent-cyan);
    border-bottom: 1.5px solid var(--accent-cyan);
    transform: rotate(-45deg);
}

/* Feature mock cards */
.feature-card-mock {
    position: relative;
    background: linear-gradient(165deg, var(--bg-secondary), var(--bg-primary));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.feature-card-mock::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(45, 212, 212, 0.12), transparent 70%);
    pointer-events: none;
}

.feature-card-mock-tall {
    padding: 24px;
}

/* Look-through hierarchy visualization */
.lookthrough {
    position: relative;
    display: flex;
    flex-direction: column;
}

.lookthrough-level {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.lookthrough-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-tertiary);
    letter-spacing: 0.12em;
    margin-bottom: 4px;
}

.lookthrough-arrows {
    height: 28px;
    margin: 4px 0;
    position: relative;
    z-index: 0;
}

.lookthrough-arrows svg {
    width: 100%;
    height: 100%;
    display: block;
}

.lookthrough-node {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
}

.lookthrough-node-program {
    background: linear-gradient(90deg, rgba(45, 212, 212, 0.12), rgba(45, 212, 212, 0.04));
    border-color: rgba(45, 212, 212, 0.3);
    padding: 12px 16px;
}

.lookthrough-node-program .node-name {
    font-weight: 600;
    color: var(--accent-cyan);
    font-size: 14px;
}

.lookthrough-node-program .node-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
}

.lookthrough-funds {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.lookthrough-node-fund {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 12px;
    gap: 4px;
}

.lookthrough-node-fund .node-name {
    font-size: 12px;
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.lookthrough-node-fund .node-meta {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-tertiary);
}

.lookthrough-node-fund.active {
    background: rgba(232, 123, 63, 0.10);
    border-color: rgba(232, 123, 63, 0.4);
    box-shadow: 0 0 0 2px rgba(232, 123, 63, 0.08);
}

.lookthrough-node-fund.active .node-name {
    color: var(--accent-orange);
}

.lookthrough-assets {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(0, 0, 0, 0.15);
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

.asset-row {
    display: grid;
    grid-template-columns: 12px 1fr auto auto;
    align-items: center;
    gap: 10px;
    padding: 6px 4px;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.asset-row:last-child {
    border-bottom: none;
}

.asset-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c);
    box-shadow: 0 0 6px var(--c);
}

.asset-name {
    color: var(--text-primary);
    font-weight: 500;
}

.asset-meta {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-tertiary);
    letter-spacing: 0.02em;
}

.asset-pct {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    min-width: 40px;
    text-align: right;
}

.asset-row-muted .asset-name {
    color: var(--text-tertiary);
    font-style: italic;
    font-weight: 400;
}

.asset-row-muted .asset-pct {
    color: var(--text-tertiary);
}

.feature-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
}

.feature-card-header > span:first-child {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.feature-card-pill {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 100px;
    color: var(--text-tertiary);
}

.feature-card-pill.live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-cyan);
    border-color: var(--accent-cyan-dim);
    background: var(--accent-cyan-dim);
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.mini-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mini-metric span {
    font-size: 11px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mini-metric strong {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bar-row {
    display: grid;
    grid-template-columns: 40px 1fr 50px;
    gap: 12px;
    align-items: center;
    font-size: 12px;
}

.bar-row > span:first-child {
    color: var(--text-tertiary);
    font-family: var(--font-mono);
}

.bar-row > span:last-child {
    color: var(--text-secondary);
    font-family: var(--font-mono);
    text-align: right;
}

.bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 100px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    width: var(--w);
    background: linear-gradient(90deg, var(--accent-cyan-bright), var(--accent-cyan));
    border-radius: 100px;
}

/* Forecast */
.forecast-rows {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.forecast-row {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 14px;
    align-items: center;
}

.forecast-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-tertiary);
}

.forecast-bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.forecast-bar {
    height: 10px;
    border-radius: 100px;
    width: var(--w);
}

.forecast-bar.call {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan-bright));
}

.forecast-bar.dist {
    background: linear-gradient(90deg, var(--accent-orange), #F4955F);
}

.forecast-legend {
    display: flex;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    font-size: 12px;
    color: var(--text-tertiary);
}

/* Document flow */
.doc-flow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.doc-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    text-align: center;
}

.doc-flow-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.doc-flow-icon.active {
    background: var(--accent-cyan-dim);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    animation: spin 3s linear infinite;
}

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

.doc-flow-step span {
    font-size: 11px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.doc-flow-step strong {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.doc-flow-line {
    flex: 0.5;
    height: 1px;
    background: var(--border-soft);
    margin-bottom: 22px;
}

.doc-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doc-item {
    display: grid;
    grid-template-columns: 12px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    font-size: 12px;
}

.doc-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.doc-status.verified {
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

.doc-status.processing {
    background: var(--accent-orange);
    animation: blink 1.4s ease-in-out infinite;
}

.doc-name {
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-amount {
    font-family: var(--font-mono);
    color: var(--text-primary);
    font-weight: 500;
}

/* ========== Solutions Section ========== */
.solutions {
    padding: 140px 0;
}

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

.solution-item {
    padding: 40px;
    background: linear-gradient(165deg, var(--bg-secondary), var(--bg-primary));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-item:hover {
    border-color: var(--accent-cyan-dim);
    transform: translateY(-2px);
}

.solution-icon {
    width: 56px;
    height: 56px;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.solution-icon svg {
    width: 56px;
    height: 56px;
}

.solution-item h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.solution-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== FAQ Section ========== */
.faq {
    padding: 140px 0;
    position: relative;
}

.faq-list {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: linear-gradient(165deg, var(--bg-secondary), var(--bg-primary));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item[open] {
    border-color: var(--accent-cyan-dim);
}

.faq-item:hover {
    border-color: var(--border-strong);
}

.faq-item[open]:hover {
    border-color: var(--accent-cyan-dim);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 28px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: inline-block;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--accent-cyan);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-icon::before {
    width: 12px;
    height: 1.5px;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 1.5px;
    height: 12px;
    transform: translate(-50%, -50%);
}

.faq-item[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 28px 24px 28px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
    max-width: 760px;
}

.faq-answer p {
    margin: 0;
}

/* ========== CTA Section ========== */
.cta {
    padding: 80px 0 140px;
}

.cta-card {
    position: relative;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    padding: 80px;
    display: grid;
    grid-template-columns: 1.2fr 0.6fr;
    gap: 60px;
    align-items: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(45, 212, 212, 0.15), transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.cta-title em {
    font-style: italic;
    font-weight: 300;
    color: var(--accent-cyan);
}

.cta-description {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 480px;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
    max-width: 520px;
}

.cta-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
}

.cta-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.cta-field label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.02em;
    padding-left: 4px;
}

.cta-optional {
    color: var(--text-tertiary);
    font-weight: 400;
}

.cta-form input,
.cta-form select {
    width: 100%;
    padding: 13px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.cta-form select {
    /* dropdown arrow custom (cyan) */
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5l3 3 3-3' stroke='%232DD4D4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 42px;
    cursor: pointer;
}

.cta-form select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.cta-form select:invalid,
.cta-form select option[disabled] {
    color: var(--text-tertiary);
}

.cta-form input:focus,
.cta-form select:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background-color: rgba(45, 212, 212, 0.04);
}

.cta-form input::placeholder {
    color: var(--text-tertiary);
}

.cta-submit {
    align-self: flex-start;
    margin-top: 4px;
}

.cta-fineprint {
    font-size: 12px;
    color: var(--text-tertiary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cta-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-logo {
    width: 220px;
    height: 220px;
    opacity: 0.9;
    filter: drop-shadow(0 0 40px rgba(45, 212, 212, 0.4));
    animation: floatGently 6s ease-in-out infinite;
}

@keyframes floatGently {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(2deg);
    }
}

/* ========== Footer ========== */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.5;
    max-width: 260px;
}

.footer-col h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 18px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-tertiary);
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid var(--border-subtle);
    font-size: 13px;
    color: var(--text-tertiary);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-tertiary);
}

.footer-legal a:hover {
    color: var(--text-primary);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .pillars-track {
        /* 2 cards visibles, sin peek a partir de 1024px hacia abajo */
        grid-auto-columns: calc((100% - 24px * 3) / 2);
    }

    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-row-hero {
        padding: 40px;
    }

    .feature-row.reverse .feature-meta {
        order: 1;
    }

    .feature-row.reverse .feature-visual {
        order: 2;
    }

    .features-list {
        gap: 80px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        grid-template-columns: 1fr;
        padding: 48px 32px;
        gap: 32px;
        text-align: center;
    }

    .cta-description {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-form {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-visual {
        order: -1;
    }

    .cta-logo {
        width: 140px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .floating-card-1 {
        left: 0;
    }

    .floating-card-2 {
        right: 0;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-actions .nav-link-secondary {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-meta {
        gap: 20px;
    }

    .hero-meta-divider {
        display: none;
    }

    .pillars,
    .features,
    .solutions {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 60px;
    }

    .pillar-card {
        padding: 28px;
    }

    .pillars-carousel {
        margin: 0 -20px;
    }

    .pillars-track {
        /* mobile: 1 card visible + peek de la siguiente */
        grid-auto-columns: calc(100% - 56px);
        padding: 8px 20px 28px;
        scroll-padding-left: 20px;
    }

    .carousel-arrow {
        display: none;
    }

    .solution-item {
        padding: 28px;
    }

    .feature-row-hero {
        padding: 28px 20px;
    }

    .lookthrough-funds {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .cta-form-grid {
        grid-template-columns: 1fr;
    }

    .asset-row {
        grid-template-columns: 10px 1fr auto;
        gap: 8px;
    }

    .asset-meta {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .faq {
        padding: 80px 0;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 15px;
        gap: 16px;
    }

    .faq-answer {
        padding: 0 20px 20px 20px;
        font-size: 14px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .logos-grid {
        justify-content: center;
        gap: 24px;
    }

    .logo-text {
        font-size: 16px;
    }

    .floating-card {
        display: none;
    }

    .dashboard-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card-mock {
        padding: 20px;
    }

    .doc-flow {
        padding: 12px;
        gap: 4px;
    }

    .doc-flow-step span {
        font-size: 9px;
    }

    .doc-flow-step strong {
        font-size: 11px;
    }

    .doc-flow-icon {
        width: 30px;
        height: 30px;
    }
}

/* ========== Mock disclaimer ========== */
.mock-disclaimer {
    display: block;
    margin-top: 12px;
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 0.01em;
    line-height: 1.4;
    text-align: center;
}

/* ========== Scroll reveal ========== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   Capital Call card — Document Intelligence visual (cc- scope)
   ============================================================ */
.cc-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.cc-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: radial-gradient(420px 220px at 75% 0%, rgba(45, 212, 212, .08), transparent 60%);
    pointer-events: none;
}

.cc-stack {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    z-index: 1
}

.cc-replay-hint {
    position: absolute;
    top: -2px;
    right: 0;
    font-size: 10.5px;
    color: var(--text-muted);
    z-index: 3;
    opacity: 0;
    transition: opacity .3s;
    font-family: var(--font-body)
}

.cc-card:hover .cc-replay-hint {
    opacity: .85
}

/* the document ("paper") */
.cc-paper {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: radial-gradient(140% 120% at 100% 0%, rgba(45, 212, 212, .06), transparent 45%),
    linear-gradient(180deg, #13283a, #0f1f2e);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 22px 22px 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.cc-lh {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle)
}

.cc-seal {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    color: var(--accent-cyan-bright);
    background: rgba(45, 212, 212, .10);
    border: 1px solid rgba(45, 212, 212, .30)
}

.cc-seal svg {
    width: 16px;
    height: 16px
}

.cc-lh-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--text-secondary);
    font-family: var(--font-body)
}

.cc-lh-sub {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: .04em;
    margin-top: 2px;
    font-family: var(--font-body)
}

.cc-lh-ref {
    margin-left: auto;
    text-align: right;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.7;
    white-space: nowrap
}

.cc-kicker {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent-cyan)
}

.cc-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(20px, 2.4vw, 25px);
    line-height: 1.1;
    margin: 6px 0 4px;
    color: var(--text-primary);
    letter-spacing: -.01em
}

.cc-fund {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 14px;
    color: var(--text-tertiary)
}

.cc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 12px 0 14px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted)
}

.cc-meta b {
    color: var(--text-secondary);
    font-weight: 500
}

.cc-para {
    font-family: var(--font-display);
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 14px
}

.cc-figs {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--border-subtle)
}

.cc-fig {
    align-items: baseline;
    gap: 8px;
    font-size: 12.5px
}

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

.cc-fig .cc-lbl {
    font-family: var(--font-display);
    color: var(--text-tertiary);
    white-space: nowrap
}

.cc-fig .cc-lead {
    flex: 1;
    border-bottom: 1px dotted rgba(255, 255, 255, .16);
    transform: translateY(-3px);
    min-width: 14px
}

.cc-fig .cc-val {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap
}

.cc-fig.accent {
    margin-top: 2px
}

.cc-fig.accent .cc-lbl {
    color: var(--text-primary);
    font-weight: 600
}

.cc-fig.accent .cc-val {
    color: var(--accent-cyan-bright);
    font-weight: 600
}

.cc-foot {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .05em;
    color: var(--text-muted)
}

/* scanning beam */
.cc-scan-beam {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 120px;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(180deg, rgba(94, 234, 234, .16), transparent);
    border-bottom: 2px solid rgba(94, 234, 234, .55);
    box-shadow: 0 0 24px rgba(45, 212, 212, .25)
}

.cc-paper.scanning .cc-scan-beam {
    animation: cc-beam 3.1s ease-in-out
}

@keyframes cc-beam {
    0% {
        opacity: 0;
        transform: translateY(-120px)
    }
    12% {
        opacity: 1
    }
    88% {
        opacity: 1
    }
    100% {
        opacity: 0;
        transform: translateY(560px)
    }
}

/* extracting overlay */
.cc-extracting {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(15, 31, 46, .55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s
}

.cc-extracting.show {
    opacity: 1;
    visibility: visible
}

.cc-spin-wrap {
    position: relative;
    display: grid;
    place-items: center
}

.cc-spinner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(94, 234, 234, 0), var(--accent-cyan-bright));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
    animation: cc-spin .85s linear infinite
}

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

.cc-spin-core {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent-cyan-bright);
    animation: cc-corepulse 1.2s ease-in-out infinite
}

@keyframes cc-corepulse {
    0%, 100% {
        opacity: .4;
        transform: scale(.8)
    }
    50% {
        opacity: 1;
        transform: scale(1.25)
    }
}

.cc-ex-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--accent-cyan-bright);
    font-family: var(--font-body)
}

.cc-ex-label::after {
    content: "";
    animation: cc-dots 1.4s steps(4, end) infinite
}

@keyframes cc-dots {
    0% {
        content: ""
    }
    25% {
        content: "."
    }
    50% {
        content: ".."
    }
    75% {
        content: "..."
    }
    100% {
        content: ""
    }
}

/* structured table — appears superimposed once extraction finishes */
.cc-extracted {
    position: relative;
    min-width: 0;
    margin-top: 20px;
    z-index: 3;
    opacity: 0;
    transform: translateY(16px) scale(.985);
    pointer-events: none;
    transition: opacity .5s ease, transform .55s cubic-bezier(.2, .8, .25, 1)
}

.cc-extracted.show {
    opacity: 1;
    transform: none;
    pointer-events: auto
}

.cc-extracted-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    background: var(--bg-primary);
    border: 1px solid var(--border-soft);
    padding: 4px 9px;
    border-radius: 7px;
    margin: 0 0 8px 6px;
    font-family: var(--font-body)
}

.cc-extracted-tag svg {
    width: 11px;
    height: 11px
}

.cc-table-card {
    min-width: 0;
    background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
    border: 1px solid rgba(45, 212, 212, .18);
    border-radius: var(--radius-md);
    box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .85);
    overflow: hidden;
    position: relative
}

.cc-table-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 34px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--bg-primary) 88%);
    opacity: 0;
    transition: opacity .3s
}

.cc-table-card.scrollable::after {
    opacity: .95
}

.cc-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin
}

.cc-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 0
}

.cc-table thead th {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
    padding: 10px 6px;
    background: rgba(255, 255, 255, .035);
    border-bottom: 1px solid var(--border-subtle);
    white-space: nowrap;
    font-family: var(--font-body)
}

.cc-table thead th:first-child, .cc-table tbody td:first-child {
    padding-left: 12px
}

.cc-table thead th:last-child, .cc-table tbody td:last-child {
    padding-right: 12px
}

.cc-table thead th.num, .cc-table tbody td.num {
    text-align: right
}

.cc-table tbody td {
    padding: 12px 6px;
    font-size: 11.5px;
    color: var(--text-secondary);
    white-space: nowrap;
    vertical-align: middle;
    font-family: var(--font-body)
}

.cc-lnk {
    color: var(--accent-cyan-bright);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(94, 234, 234, .45);
    font-weight: 600;
    cursor: pointer
}

.cc-lnk:hover {
    text-decoration-color: var(--accent-cyan-bright)
}

.cc-amt {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -.01em
}

/* narrow screens: transpose table — one column, label → value */
@media (max-width: 600px) {
    .cc-table-card::after {
        display: none
    }

    .cc-table-scroll {
        overflow: visible
    }

    .cc-table {
        min-width: 0
    }

    .cc-table, .cc-table tbody, .cc-table tr, .cc-table td {
        display: block;
        width: 100%
    }

    .cc-table thead {
        display: none
    }

    .cc-table tbody tr {
        padding: 2px 0
    }

    .cc-table tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        padding: 13px 16px;
        font-size: 13px;
        white-space: normal;
        text-align: right;
        border-bottom: 1px solid var(--border-subtle)
    }

    .cc-table tbody td:last-child {
        border-bottom: none
    }

    .cc-table tbody td::before {
        content: attr(data-label);
        flex: none;
        text-align: left;
        color: var(--text-muted);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .12em;
        text-transform: uppercase
    }

    .cc-table tbody td .cc-lnk {
        font-size: 13px
    }

    .cc-amt {
        font-size: 13px
    }
}

@media (prefers-reduced-motion: reduce) {
    .cc-spinner, .cc-spin-core, .cc-scan-beam {
        animation-duration: .001s !important
    }

    .cc-extracted {
        opacity: 1;
        transform: none
    }
}

/* ============================================================
   Hero dashboard chart carousel (hc- scope)
   ============================================================ */
.hc-carousel {
    position: relative;
    width: 100%
}

.hc-track {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    border-radius: var(--radius-md)
}

.hc-slide {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
    padding: 6px 4px 4px;
    display: flex;
    flex-direction: column;
    min-height: 300px
}

.hc-chart-title {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 8px
}

.hc-chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap
}

.hc-chart-head .hc-chart-title {
    margin: 0;
    text-align: left;
    font-family: var(--font-mono);
    letter-spacing: .04em
}

.hc-legend {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-tertiary);
    white-space: nowrap
}

.hc-legend-sep {
    color: var(--text-muted)
}

.hc-swatch {
    width: 12px;
    height: 9px;
    border-radius: 2px;
    display: inline-block
}

.hc-swatch-cyan {
    background: rgba(45, 212, 212, 0.7)
}

.hc-dot-orange {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent-orange);
    display: inline-block;
    border: 1px solid #fff
}

.hc-svg {
    width: 100%;
    height: auto;
    flex: 1;
    display: block
}

.hc-axis {
    font-family: var(--font-mono);
    font-size: 9px;
    fill: var(--text-tertiary)
}

.hc-axis text {
    font-family: var(--font-mono);
    font-size: 9px;
    fill: var(--text-tertiary)
}

.hc-axis-sm text, .hc-axis.hc-axis-sm text {
    font-size: 8.5px
}

.hc-axis-strong {
    fill: var(--text-secondary);
    font-size: 10px
}

/* donut slide */
.hc-donut-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 10px 0
}

.hc-donut-block {
    position: relative;
    width: 168px;
    height: 168px;
    flex: none
}

.hc-donut {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#5EEAEA 0 34%, #2DD4D4 34% 58%, #27A6A6 58% 76%, #1F6E73 76% 90%, #2B4055 90% 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent 60%, #000 61%);
    mask: radial-gradient(farthest-side, transparent 60%, #000 61%)
}

.hc-donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center
}

.hc-donut-center b {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--text-primary);
    font-weight: 400
}

.hc-donut-center span {
    font-size: 8.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 3px
}

.hc-donut-legend {
    display: flex;
    flex-direction: column;
    gap: 11px;
    min-width: 160px
}

.hc-lrow {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 13px;
    color: var(--text-secondary)
}

.hc-lrow .hc-ld {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    flex: none
}

.hc-lrow b {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-primary);
    font-weight: 500
}

/* arrows */
.hc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    background: rgba(15, 31, 46, .8);
    border: 1px solid var(--border-soft);
    color: var(--text-secondary);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background .15s, color .15s, border-color .15s
}

.hc-arrow:hover {
    background: var(--bg-elevated);
    color: var(--accent-cyan-bright);
    border-color: rgba(45, 212, 212, .4)
}

.hc-arrow-prev {
    left: -6px
}

.hc-arrow-next {
    right: -6px
}

.hc-arrow:disabled {
    opacity: .3;
    cursor: default
}

/* dots */
.hc-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px
}

.hc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 0;
    background: var(--border-strong);
    transition: background .2s, width .2s
}

.hc-dot.is-active {
    background: var(--accent-cyan);
    width: 22px;
    border-radius: 5px
}

@media (max-width: 560px) {
    .hc-slide {
        min-height: 260px
    }

    .hc-arrow {
        width: 30px;
        height: 30px
    }

    .hc-arrow-prev {
        left: -4px
    }

    .hc-arrow-next {
        right: -4px
    }

    .hc-donut-wrap {
        gap: 18px
    }
}

/* Plotly chart container inside hero carousel */
.hc-plot {
    width: 100%;
    min-height: 300px
}

.hc-plot .modebar {
    display: none !important
}

@media (max-width: 560px) {
    .hc-plot {
        min-height: 260px
    }
}
