/* ═══════════════════════════════════════════════════════════
   LUCIDEX — Investor Presentation Website
   Visual style: nonlinearplatform.com (dark navy + gold)
   ═══════════════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
    --navy: #0a0e1a;
    --navy-light: #111730;
    --navy-card: #0f1428;
    --gold: #c9a84c;
    --gold-light: #e0c872;
    --gold-dim: rgba(201,168,76,0.15);
    --white: #f0ede6;
    --text-muted: #8a8d9b;
    --text-body: #c5c7d0;
    --accent-teal: #2ec4b6;
    --accent-purple: #7b61ff;
    --accent-rose: #e0526a;
    --gradient-gold: linear-gradient(135deg, #c9a84c, #e0c872);
    --gradient-navy: linear-gradient(180deg, #0a0e1a 0%, #111730 100%);
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --section-padding: 120px 0;
    --max-width: 1200px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--navy);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: var(--font-serif); color: var(--white); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 0.6rem; }

.gold { color: var(--gold); }
.gold-glow { color: var(--gold); text-shadow: 0 0 30px rgba(201,168,76,0.3); }
.muted { color: var(--text-muted); }
.serif { font-family: var(--font-serif); }

p { max-width: 680px; }
p + p { margin-top: 1rem; }

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }

/* ── LAYOUT ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.section { padding: var(--section-padding); position: relative; }
.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--gold);
}
.gold-line {
    width: 60px;
    height: 2px;
    background: var(--gradient-gold);
    margin: 1.2rem 0;
}
.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.8;
}

/* ── PARTICLES CANVAS ── */
#particles-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── NAVIGATION ── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10,14,26,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201,168,76,0.08);
    transition: all 0.4s;
}
.nav.scrolled {
    padding: 0.6rem 2rem;
    background: rgba(10,14,26,0.95);
    border-bottom-color: rgba(201,168,76,0.15);
}
.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 2px;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
    background: var(--gradient-gold);
    color: var(--navy) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Mobile hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    margin: 5px 0;
    transition: 0.3s;
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,14,26,0.92) 0%, rgba(10,14,26,0.7) 50%, rgba(10,14,26,0.85) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .line2 {
    display: block;
    color: var(--gold);
    text-shadow: 0 0 60px rgba(201,168,76,0.2);
}
.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 2.5rem;
    line-height: 1.9;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 100px;
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}
.badge .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--gradient-gold);
    color: var(--navy);
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 30px rgba(201,168,76,0.2);
}
.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(201,168,76,0.35);
    color: var(--navy);
}
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: float 3s ease-in-out infinite;
}
.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}
@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* ── STATS ROW ── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 4rem 0;
    border-top: 1px solid rgba(201,168,76,0.1);
    border-bottom: 1px solid rgba(201,168,76,0.1);
}
.stat {
    text-align: center;
}
.stat-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--gold);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ── CARDS ── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.card {
    background: var(--navy-card);
    border: 1px solid rgba(201,168,76,0.08);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(201,168,76,0.25);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.card-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    display: block;
}
.card h3 { color: var(--white); }
.card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }
.card-glow {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
}
.card:hover .card-glow { opacity: 1; }

/* ── PROBLEM SECTION ── */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.problem-card {
    background: rgba(224,82,106,0.05);
    border: 1px solid rgba(224,82,106,0.15);
    border-radius: 12px;
    padding: 1.8rem;
    position: relative;
}
.problem-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-rose), transparent);
}
.problem-card .icon { font-size: 1.8rem; margin-bottom: 0.8rem; display: block; }
.problem-card h3 { font-size: 1.1rem; color: var(--accent-rose); margin-bottom: 0.5rem; }
.problem-card p { color: var(--text-muted); font-size: 0.88rem; }

/* ── SOLUTION ── */
.solution-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.solution-feature {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--navy-card);
    border: 1px solid rgba(201,168,76,0.08);
    border-radius: 10px;
    transition: border-color 0.3s;
}
.solution-feature:hover { border-color: rgba(201,168,76,0.2); }
.solution-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.solution-feature h3 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 600; }
.solution-feature p { font-size: 0.88rem; color: var(--text-muted); }

/* ── CHART SECTIONS ── */
.chart-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.chart-section.reverse { direction: rtl; }
.chart-section.reverse > * { direction: ltr; }
.chart-img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(201,168,76,0.1);
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
    transition: transform 0.4s;
}
.chart-img:hover { transform: scale(1.02); }
.chart-text h2 { margin-bottom: 0.8rem; }
.chart-text p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; }

/* ── FEATURE COMPARISON TABLE ── */
.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(201,168,76,0.1);
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.comparison-table th {
    background: rgba(201,168,76,0.08);
    color: var(--gold);
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(201,168,76,0.15);
    white-space: nowrap;
}
.comparison-table th:first-child { text-align: left; }
.comparison-table td {
    padding: 0.8rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(201,168,76,0.05);
    color: var(--text-muted);
}
.comparison-table td:first-child {
    text-align: left;
    color: var(--white);
    font-weight: 500;
}
.comparison-table tr:hover { background: rgba(201,168,76,0.03); }
.comparison-table .lucidex-col {
    background: rgba(201,168,76,0.05);
    color: var(--gold) !important;
    font-weight: 600;
}
.check { color: var(--accent-teal); font-weight: 700; }
.cross { color: rgba(138,141,155,0.4); }

/* ── AUDIENCE CARDS ── */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.audience-card {
    background: var(--navy-card);
    border: 1px solid rgba(201,168,76,0.08);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}
.audience-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201,168,76,0.25);
}
.audience-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}
.audience-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.audience-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ── PRICING ── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.pricing-card {
    background: var(--navy-card);
    border: 1px solid rgba(201,168,76,0.08);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
}
.pricing-card.featured {
    border-color: var(--gold);
    transform: scale(1.03);
    box-shadow: 0 8px 40px rgba(201,168,76,0.15);
}
.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-gold);
    color: var(--navy);
    padding: 0.3rem 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 100px;
}
.pricing-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.2); }
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing-name {
    font-size: 0.85rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 1rem;
}
.pricing-price {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: var(--white);
    font-weight: 700;
    line-height: 1;
}
.pricing-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    margin-bottom: 1.5rem;
}
.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}
.pricing-features li {
    padding: 0.4rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pricing-features li::before {
    content: '✓';
    color: var(--gold);
    font-weight: 700;
}
.pricing-btn {
    display: block;
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gold);
    border-radius: 6px;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    background: transparent;
    transition: all 0.3s;
}
.pricing-btn:hover, .pricing-card.featured .pricing-btn {
    background: var(--gradient-gold);
    color: var(--navy);
    border-color: transparent;
}

/* ── MOAT SECTION ── */
.moat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
    margin-top: 3rem;
}
.moat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--navy-card);
    border: 1px solid rgba(201,168,76,0.08);
    border-radius: 12px;
    position: relative;
    transition: all 0.3s;
}
.moat-item:hover { border-color: rgba(201,168,76,0.25); transform: translateY(-3px); }
.moat-icon { font-size: 2rem; margin-bottom: 0.8rem; display: block; }
.moat-item h3 { font-size: 0.95rem; font-family: var(--font-sans); font-weight: 600; }
.moat-item p { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.4rem; }

/* ── USE CASES ── */
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.usecase-card {
    display: flex;
    gap: 1.5rem;
    background: var(--navy-card);
    border: 1px solid rgba(201,168,76,0.08);
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.3s;
}
.usecase-card:hover { border-color: rgba(201,168,76,0.2); }
.usecase-num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: rgba(201,168,76,0.2);
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}
.usecase-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.usecase-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ── ROADMAP ── */
.roadmap-timeline {
    position: relative;
    margin-top: 3rem;
    padding-left: 3rem;
}
.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,0.1));
}
.roadmap-item {
    position: relative;
    padding-bottom: 3rem;
}
.roadmap-item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 20px rgba(201,168,76,0.4);
    transform: translateX(-5px);
}
.roadmap-date {
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.roadmap-item h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.roadmap-item p { font-size: 0.88rem; color: var(--text-muted); max-width: 600px; }

/* ── INVESTMENT CTA ── */
.invest-section {
    background: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, rgba(10,14,26,1) 100%);
    text-align: center;
    padding: 140px 2rem;
    position: relative;
    overflow: hidden;
}
.invest-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('') center/cover no-repeat;
    opacity: 0.15;
}
.invest-amount {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--gold);
    font-weight: 700;
    margin: 1.5rem 0;
    text-shadow: 0 0 60px rgba(201,168,76,0.2);
}
.invest-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}
.funds-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}
.fund-item {
    background: rgba(201,168,76,0.05);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
}
.fund-pct {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold);
    font-weight: 700;
}
.fund-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* ── CLOSING ── */
.closing-section {
    text-align: center;
    padding: 100px 2rem;
    background: var(--navy);
}
.closing-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--white);
    font-style: italic;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.5;
}
.closing-tagline {
    font-size: 1rem;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ── REFERENCES SECTION ── */
.references-section {
    background: var(--navy-light);
    padding: 80px 0;
}
.references-list {
    columns: 2;
    column-gap: 3rem;
    list-style: none;
}
.references-list li {
    padding: 0.6rem 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    break-inside: avoid;
}
.ref-num {
    color: var(--gold);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* ── FOOTER ── */
.footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(201,168,76,0.08);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── ANIMATIONS ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible,
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Counter animation */
.counter { display: inline-block; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .chart-section { grid-template-columns: 1fr; gap: 2rem; }
    .chart-section.reverse { direction: ltr; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .moat-grid { grid-template-columns: repeat(3, 1fr); }
    .audience-grid { grid-template-columns: repeat(2, 1fr); }
    .funds-grid { grid-template-columns: repeat(2, 1fr); }
    .references-list { columns: 1; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .problem-grid { grid-template-columns: 1fr; }
    .solution-features { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .moat-grid { grid-template-columns: repeat(2, 1fr); }
    .audience-grid { grid-template-columns: 1fr; }
    .usecase-grid { grid-template-columns: 1fr; }
    .comparison-table { font-size: 0.78rem; }
    .section { padding: 80px 0; }
}

@media (max-width: 480px) {
    .stats-row { grid-template-columns: 1fr; }
    .moat-grid { grid-template-columns: 1fr; }
    .funds-grid { grid-template-columns: 1fr; }
}
</style.css>