/* ============================================================
   LANDING PAGE & BLOG — Finpulse
   ============================================================ */

/* --- NAV --- */
.landing-nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.landing-nav-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex; align-items: center; justify-content: space-between;
}
.landing-logo {
    display: flex; align-items: center; gap: 8px;
    text-decoration: none;
}
.landing-nav-links {
    display: flex; align-items: center; gap: 24px;
}
.landing-nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1.5px;
    transition: color 0.2s;
}
.landing-nav-links a:hover,
.landing-nav-links a.active {
    color: var(--orange);
}
.btn-cta-nav {
    background: var(--orange) !important;
    color: #000 !important;
    padding: 6px 16px !important;
    border-radius: 4px;
    font-weight: 600;
    font-size: 10px !important;
    letter-spacing: 1px;
}
.btn-cta-nav:hover {
    background: #ffa333 !important;
    color: #000 !important;
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none; border: none;
    color: var(--text); font-size: 20px;
    cursor: pointer;
}
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border);
}
.mobile-menu a {
    display: block;
    padding: 14px 24px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu.open { display: flex; }

@media (max-width: 768px) {
    .landing-nav-links { display: none; }
    .mobile-menu-btn { display: block; }
}

/* --- DATA STRIP (under nav, Bloomberg-feel) --- */
.data-strip {
    position: relative;
    margin-top: 56px;
    background: #000;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.data-strip::-webkit-scrollbar { display: none; }
.data-strip-inner {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 8px 24px;
    white-space: nowrap;
    min-width: 100%;
}
.data-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    letter-spacing: 1.2px;
    color: var(--text-muted);
}
.data-strip-item:not(:last-child)::after {
    content: '';
    width: 1px; height: 12px;
    background: var(--border);
    margin-left: 18px;
}
.data-strip-item strong {
    color: var(--text-bright);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.data-strip-k { color: var(--text-muted); }
.data-strip-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
}
.data-strip-dot-live {
    box-shadow: 0 0 0 0 rgba(0,210,106,0.55);
    animation: pulse-live 2s ease-out infinite;
}
@keyframes pulse-live {
    0% { box-shadow: 0 0 0 0 rgba(0,210,106,0.55); }
    70% { box-shadow: 0 0 0 8px rgba(0,210,106,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,210,106,0); }
}

/* --- HERO --- */
.hero {
    position: relative;
    padding: 100px 24px 96px;
    overflow: hidden;
}
.data-strip + .hero { padding-top: 56px; }
.hero-grid-bg {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,140,0,0.06), transparent 60%),
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: auto, 64px 64px, 64px 64px;
    pointer-events: none;
    mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0) 100%);
}
.hero-inner {
    position: relative; z-index: 1;
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 64px;
    align-items: center;
}
.hero-text { min-width: 0; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 10px;
    border: 1px solid rgba(255,140,0,0.4);
    color: var(--orange);
    font-size: 10px;
    letter-spacing: 2px;
    border-radius: 20px;
    margin-bottom: 28px;
    background: rgba(255,140,0,0.04);
}
.hero-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 8px rgba(255,140,0,0.7);
}
.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--text-bright);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    font-weight: 700;
}
.hero-highlight {
    color: var(--orange);
    background: linear-gradient(90deg, var(--orange), #ffa333);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    font-size: 14px;
    color: var(--text);
    max-width: 560px;
    margin: 0 0 32px;
    line-height: 1.7;
}
.hero-ctas {
    display: flex; gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.hero-fineprint {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange);
    color: #000;
    padding: 13px 24px;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 6px 16px rgba(255,140,0,0.16);
}
.btn-cta:hover {
    background: #ffa333;
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 10px 22px rgba(255,140,0,0.28);
}
.btn-cta:hover .btn-cta-arrow { transform: translateX(3px); }
.btn-cta-arrow { transition: transform 0.2s; display: inline-block; }
.btn-cta-lg { padding: 16px 32px; font-size: 13px; }
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-light);
    color: var(--text);
    padding: 13px 24px;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-decoration: none;
    border-radius: 4px;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-cta-secondary:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(255,140,0,0.04);
}

/* Hero preview (mini terminal mockup) */
.hero-preview {
    background: linear-gradient(180deg, #111 0%, #0c0c0c 100%);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px 14px;
    font-size: 11px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,140,0,0.06);
    position: relative;
}
.hero-preview::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 11px;
    background: linear-gradient(180deg, rgba(255,140,0,0.18), transparent 40%);
    z-index: -1;
    filter: blur(20px);
    opacity: 0.6;
}
.hero-preview-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 4px 12px;
    border-bottom: 1px solid var(--border);
}
.hero-preview-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px rgba(0,210,106,0.6);
}
.hero-preview-title {
    color: var(--text-bright);
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 600;
    flex: 1;
}
.hero-preview-meta {
    color: var(--text-muted);
    font-size: 9px;
    letter-spacing: 1px;
}
.hero-preview-cols,
.hero-preview-row {
    display: grid;
    grid-template-columns: 70px 1fr 50px 90px;
    gap: 8px;
    align-items: center;
    padding: 10px 4px;
    font-size: 11px;
}
.hero-preview-cols {
    color: var(--text-muted);
    font-size: 9px;
    letter-spacing: 1px;
    padding: 10px 4px 6px;
    border-bottom: 1px dashed var(--border);
}
.hero-preview-cols .ta-r { text-align: right; }
.hero-preview-row {
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.hero-preview-row:last-of-type { border-bottom: none; }
.hero-preview-row-sb { background: rgba(0,210,106,0.04); }
.hero-preview-row-h { background: rgba(255,140,0,0.04); }
.hero-preview-ticker {
    color: var(--text-bright);
    font-weight: 600;
}
.hero-preview-name {
    color: var(--text-muted);
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hero-preview-score {
    color: var(--orange);
    font-weight: 700;
    text-align: right;
}
.hero-preview-sig {
    text-align: right;
    font-size: 9px;
    letter-spacing: 0.8px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 3px;
    justify-self: end;
    min-width: 80px;
}
.sig-sb { background: var(--green-dim); color: var(--green); }
.sig-b { background: rgba(0,191,255,0.12); color: var(--cyan); }
.sig-h { background: var(--amber-dim); color: var(--amber); }
.hero-preview-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding: 10px 4px 2px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 0.5px;
}
.hero-preview-foot a {
    color: var(--orange);
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 1px;
}
.hero-preview-foot a:hover { color: #ffa333; }

@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-preview { max-width: 520px; margin: 0 auto; width: 100%; }
}

/* --- SECTIONS --- */
.landing-section {
    padding: 88px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.landing-section-dark {
    max-width: none;
    background: linear-gradient(180deg, #0c0c0c 0%, #0a0a0a 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.landing-section-dark > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.section-eyebrow {
    color: var(--orange);
    font-size: 10px;
    letter-spacing: 2.5px;
    text-align: center;
    margin-bottom: 14px;
    font-weight: 600;
}
.section-title {
    font-size: clamp(22px, 3.2vw, 34px);
    color: var(--text-bright);
    text-align: center;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    line-height: 1.2;
}
.section-sub {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin: 0 auto 56px;
    max-width: 640px;
    line-height: 1.7;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* --- PILLARS (replaces feature-grid for the 4 pilares) --- */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.pillar-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px 24px 26px 28px;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.pillar-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--pillar-color, var(--orange));
    transition: width 0.25s;
}
.pillar-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}
.pillar-card:hover::before { width: 5px; }
.pillar-cyan { --pillar-color: var(--cyan); }
.pillar-green { --pillar-color: var(--green); }
.pillar-orange { --pillar-color: var(--orange); }
.pillar-purple { --pillar-color: var(--purple); }
.pillar-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}
.pillar-num {
    font-size: 22px;
    font-weight: 700;
    color: var(--pillar-color);
    line-height: 1;
    letter-spacing: -0.02em;
}
.pillar-tag {
    font-size: 9px;
    letter-spacing: 1.8px;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 3px 8px;
    border-radius: 3px;
}
.pillar-card h3 {
    color: var(--text-bright);
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.35;
}
.pillar-card p {
    color: var(--text);
    font-size: 12px;
    line-height: 1.7;
}

/* --- DEPTH (grouped lists, research-doc style) --- */
.depth-groups {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.depth-group {
    --depth-color: var(--orange);
    padding: 28px 4px 8px;
    border-top: 1px solid var(--border);
}
.depth-cyan { --depth-color: var(--cyan); }
.depth-green { --depth-color: var(--green); }
.depth-orange { --depth-color: var(--orange); }
.depth-purple { --depth-color: var(--purple); }
.depth-group-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 18px;
}
.depth-group-num {
    color: var(--depth-color);
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 700;
}
.depth-group-head h3 {
    color: var(--text-bright);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.depth-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.depth-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.depth-list li:last-child { border-bottom: none; }
.depth-item-name {
    display: block;
    color: var(--text-bright);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.depth-list li p {
    color: var(--text);
    font-size: 12px;
    line-height: 1.7;
}
@media (max-width: 800px) {
    .depth-groups { grid-template-columns: 1fr; gap: 8px; }
}

/* --- COVERAGE (spec-list, big numbers on the left) --- */
.coverage-list {
    display: flex;
    flex-direction: column;
}
.coverage-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
    gap: 40px;
    align-items: center;
    padding: 32px 0;
    border-top: 1px solid var(--border);
}
.coverage-row:last-child { border-bottom: 1px solid var(--border); }
.coverage-num {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.coverage-num-value {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    color: var(--text-bright);
    line-height: 1;
    letter-spacing: -0.04em;
}
.coverage-num-value small {
    font-size: 0.45em;
    color: var(--orange);
    vertical-align: top;
    margin-left: 2px;
}
.coverage-num-unit {
    color: var(--orange);
    font-size: 10px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}
.coverage-body h3 {
    color: var(--text-bright);
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}
.coverage-body p {
    color: var(--text);
    font-size: 13px;
    line-height: 1.7;
}
@media (max-width: 700px) {
    .coverage-row { grid-template-columns: 1fr; gap: 14px; padding: 24px 0; }
}

/* --- SCREENSHOTS --- */
.screenshots-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.screenshots-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.screenshot-card {
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-card);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.screenshot-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,140,0,0.4);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6);
}
.screenshot-card img {
    width: 100%; height: auto;
    display: block;
}
.screenshot-card-feature img { aspect-ratio: 16/9; object-fit: cover; }
.screenshot-card figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-top: 1px solid var(--border);
    background: rgba(0,0,0,0.3);
}
.screenshot-num {
    font-size: 18px;
    font-weight: 700;
    color: var(--orange);
    line-height: 1;
    letter-spacing: -0.02em;
}
.screenshot-label {
    display: block;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--text-bright);
    font-weight: 600;
    margin-bottom: 2px;
}
.screenshot-cap {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}
@media (max-width: 700px) {
    .screenshots-row { grid-template-columns: 1fr; }
}

/* --- STEPS TIMELINE --- */
.steps-timeline {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 760px;
    position: relative;
}
.steps-timeline::before {
    content: '';
    position: absolute;
    left: 19px; top: 12px; bottom: 12px;
    width: 1px;
    background: linear-gradient(180deg, var(--orange) 0%, var(--border) 100%);
    opacity: 0.5;
}
.steps-timeline li {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 24px;
    align-items: start;
    padding-bottom: 32px;
    position: relative;
}
.steps-timeline li:last-child { padding-bottom: 0; }
.step-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--orange);
    color: var(--orange);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.step-body h3 {
    color: var(--text-bright);
    font-size: 16px;
    margin-bottom: 8px;
    padding-top: 8px;
}
.step-body p {
    color: var(--text);
    font-size: 13px;
    line-height: 1.7;
}

/* --- QUOTES (testimonials minimalist) --- */
.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.quote-card {
    margin: 0;
    padding: 0 0 0 18px;
    border-left: 2px solid var(--orange);
    position: relative;
}
.quote-card p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
    font-weight: 300;
}
.quote-card p::before { content: '\201C'; color: var(--orange); margin-right: 2px; font-size: 1.1em; }
.quote-card p::after { content: '\201D'; color: var(--orange); margin-left: 2px; font-size: 1.1em; }
.quote-card footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
}
.quote-card cite {
    color: var(--text-bright);
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.quote-card footer span {
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 0.5px;
}

/* --- PLANS / PRICING ROW --- */
.plans-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 880px;
    margin: 0 auto;
}
.plan-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, border-color 0.25s;
}
.plan-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-light);
}
.plan-card-featured {
    border-color: var(--orange-dim);
    background:
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255,140,0,0.06), transparent 70%),
        var(--bg-card);
}
.plan-card-featured:hover { border-color: var(--orange); }
.plan-ribbon {
    position: absolute;
    top: -10px; right: 20px;
    background: var(--orange);
    color: #000;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 3px;
}
.plan-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.plan-tag {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 1.8px;
    font-weight: 700;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 3px;
}
.plan-tag-premium {
    color: var(--orange);
    border-color: rgba(255,140,0,0.4);
    background: rgba(255,140,0,0.06);
}
.plan-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: -0.02em;
}
.plan-price small {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}
.plan-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex-grow: 1;
}
.plan-list li {
    position: relative;
    padding: 6px 0 6px 22px;
    color: var(--text);
    font-size: 12px;
    line-height: 1.6;
}
.plan-list li::before {
    content: '\2713';
    position: absolute;
    left: 0; top: 6px;
    color: var(--orange);
    font-weight: 700;
}
.plan-list li strong { color: var(--text-bright); }
.plan-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--orange);
    color: #000;
    padding: 12px 20px;
    font-family: var(--font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s, transform 0.15s;
    text-align: center;
}
.plan-cta:hover { background: #ffa333; transform: translateY(-1px); }
.plan-cta:hover .btn-cta-arrow { transform: translateX(3px); }
.plan-cta-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-light);
}
.plan-cta-secondary:hover {
    background: rgba(255,140,0,0.04);
    border-color: var(--orange);
    color: var(--orange);
}
@media (max-width: 700px) {
    .plans-row { grid-template-columns: 1fr; }
}

/* --- CTA SECTION --- */
.cta-section { text-align: center; }
.cta-box {
    max-width: 640px;
    margin: 0 auto;
    padding: 56px 32px;
    border: 1px solid var(--orange-dim);
    border-radius: 12px;
    background:
        radial-gradient(ellipse 60% 60% at 50% 0%, rgba(255,140,0,0.08), transparent 70%),
        linear-gradient(180deg, rgba(255,140,0,0.02), rgba(255,140,0,0));
    position: relative;
}
.cta-eyebrow {
    color: var(--orange);
    font-size: 10px;
    letter-spacing: 2.5px;
    font-weight: 600;
    margin-bottom: 16px;
}
.cta-box h2 {
    color: var(--text-bright);
    font-size: clamp(22px, 3vw, 30px);
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    line-height: 1.25;
}
.cta-box p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 28px;
}

/* --- FOOTER --- */
.landing-footer {
    border-top: 1px solid var(--border);
    padding: 48px 24px 24px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 32px;
}
.footer-brand {
    max-width: 400px;
}
.footer-brand .logo, .footer-brand .logo-text {
    display: inline;
}
.footer-disclaimer {
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.5;
    margin-top: 12px;
}
.footer-links {
    display: flex; gap: 48px;
}
.footer-col {
    display: flex; flex-direction: column; gap: 8px;
}
.footer-col h4 {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.footer-col a {
    color: var(--text);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer-bottom span {
    color: var(--text-muted);
    font-size: 10px;
}

@media (max-width: 768px) {
    .footer-inner { flex-direction: column; gap: 32px; }
    .footer-links { gap: 32px; }
    .landing-section { padding: 64px 16px; }
    .hero { padding: 48px 16px 56px; }
    .hero-inner { gap: 32px; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .hero-ctas .btn-cta, .hero-ctas .btn-cta-secondary { justify-content: center; }
    .data-strip-inner { padding: 8px 16px; gap: 14px; }
    .data-strip-item:not(:last-child)::after { margin-left: 14px; }
    .hero-preview-cols,
    .hero-preview-row {
        grid-template-columns: 60px 1fr 40px 78px;
        gap: 6px;
    }
}

/* ============================================================
   BLOG
   ============================================================ */

/* --- BLOG LIST --- */
.blog-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px 48px;
}
.blog-header {
    margin-bottom: 40px;
}
.blog-header h1 {
    font-size: clamp(22px, 4vw, 32px);
    color: var(--text-bright);
    margin-bottom: 8px;
}
.blog-header p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}
.blog-header-scope,
.blog-post-scope {
    color: var(--orange);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.blog-post-scope { margin-top: 4px; }
.blog-grid {
    display: flex; flex-direction: column;
    gap: 16px;
}
.blog-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 24px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}
.blog-card:hover {
    border-color: var(--orange-dim);
    background: var(--bg-card-hover);
}
.blog-card-date {
    font-size: 10px;
    color: var(--orange);
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}
.blog-card-title {
    font-size: 16px;
    color: var(--text-bright);
    margin-bottom: 8px;
    font-weight: 600;
}
.blog-card-summary {
    font-size: 12px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 12px;
}
.blog-card-meta {
    display: flex; gap: 12px; align-items: center;
}
.blog-regime {
    font-size: 9px;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 600;
}
.blog-regime-risk_on { background: var(--green-dim); color: var(--green); }
.blog-regime-risk_off { background: var(--red-dim); color: var(--red); }
.blog-regime-neutral { background: var(--amber-dim); color: var(--amber); }
.blog-picks {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}
.blog-empty {
    text-align: center;
    padding: 48px;
    color: var(--text-muted);
    font-size: 13px;
}

/* --- BLOG SECTION TITLES & ARCHIVE --- */
.blog-section-title {
    font-size: 13px;
    color: var(--orange);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 32px 0 14px;
    font-weight: 600;
}
.blog-section-title:first-of-type { margin-top: 8px; }
.blog-archive-hint {
    color: var(--text-muted);
    font-size: 11px;
    margin-bottom: 18px;
    line-height: 1.6;
}

/* --- BLOG ARCHIVE CALENDAR --- */
.blog-calendar-list {
    display: flex; flex-direction: column;
    gap: 20px;
}
.blog-calendar-month {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px 18px;
}
.blog-calendar-month-label {
    font-size: 12px;
    color: var(--text-bright);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 600;
}
.blog-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 6px;
}
.blog-calendar-weekdays span {
    text-align: center;
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 4px 0;
}
.blog-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.blog-cal-day {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 1 / 1;
    min-height: 32px;
    font-size: 11px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.blog-cal-day-empty { visibility: hidden; }
.blog-cal-day-inactive { color: var(--text-muted); opacity: 0.35; }
.blog-cal-day-active {
    background: var(--bg-card-hover, rgba(255,255,255,0.04));
    color: var(--text-bright);
    border-color: var(--border);
    cursor: pointer;
    font-weight: 600;
    position: relative;
}
.blog-cal-day-active::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--orange);
}
.blog-cal-day-active:hover {
    border-color: var(--orange);
    background: var(--orange-dim, rgba(255,140,0,0.15));
    transform: translateY(-1px);
}
.blog-cal-regime-risk_on::after { background: var(--green); }
.blog-cal-regime-risk_off::after { background: var(--red); }
.blog-cal-regime-neutral::after { background: var(--amber); }

/* --- BLOG POST --- */
.blog-post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px 48px;
}
.blog-breadcrumb {
    margin-bottom: 24px;
}
.blog-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.blog-breadcrumb a:hover { color: var(--orange); }

.blog-post-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.blog-post-date {
    font-size: 11px;
    color: var(--orange);
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}
.blog-post-header h1 {
    font-size: clamp(22px, 4vw, 32px);
    color: var(--text-bright);
    margin-bottom: 12px;
}

/* Sections */
.blog-section {
    margin-bottom: 36px;
}
.blog-section h2 {
    font-size: 16px;
    color: var(--orange);
    letter-spacing: 1px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.blog-summary-text {
    font-size: 14px;
    color: var(--text);
    line-height: 1.8;
}

/* News */
.blog-news-list {
    display: flex; flex-direction: column; gap: 12px;
}
.blog-news-item {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
}
.blog-news-item strong { color: var(--text-bright); font-size: 12px; }
.blog-news-item p { color: var(--text); font-size: 11px; margin-top: 4px; line-height: 1.5; }
.blog-impact {
    font-size: 8px; letter-spacing: 1px;
    padding: 2px 6px; border-radius: 3px;
    font-weight: 700; white-space: nowrap;
    flex-shrink: 0; margin-top: 2px;
}
.blog-impact-positivo { background: var(--green-dim); color: var(--green); }
.blog-impact-negativo { background: var(--red-dim); color: var(--red); }
.blog-impact-neutro { background: var(--amber-dim); color: var(--amber); }

/* Macro */
.blog-macro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.blog-macro-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 16px;
}
.blog-macro-card h3 {
    font-size: 11px;
    color: var(--cyan);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}
.blog-macro-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.blog-macro-card p {
    font-size: 12px;
    color: var(--text);
    line-height: 1.6;
}

/* Top Picks */
.blog-picks-list {
    display: flex; flex-direction: column; gap: 12px;
}
.blog-pick-card {
    display: flex; gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 16px;
}
.blog-pick-rank {
    font-size: 20px;
    font-weight: 700;
    color: var(--orange);
    min-width: 36px;
    flex-shrink: 0;
}
.blog-pick-header {
    margin-bottom: 6px;
}
.blog-pick-header strong {
    color: var(--text-bright);
    font-size: 13px;
}
.blog-pick-sector {
    font-size: 9px;
    color: var(--text-muted);
    margin-left: 8px;
    letter-spacing: 0.5px;
}
.blog-pick-info p {
    font-size: 12px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 8px;
}
.blog-pick-meta {
    display: flex; gap: 16px; flex-wrap: wrap;
}
.blog-pick-meta span {
    font-size: 10px;
    color: var(--text-muted);
}
.blog-pick-meta strong {
    color: var(--green);
}

/* Sectors */
.blog-sectors-list {
    display: flex; flex-direction: column; gap: 8px;
}
.blog-sector-item {
    display: flex; gap: 12px; align-items: center;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 12px;
}
.blog-sector-item strong { color: var(--text-bright); min-width: 140px; }
.blog-sector-reason { color: var(--text-muted); font-size: 11px; }
.blog-outlook {
    font-size: 8px; letter-spacing: 1px;
    padding: 2px 6px; border-radius: 3px;
    font-weight: 700; white-space: nowrap;
    flex-shrink: 0;
}
.blog-outlook-overweight { background: var(--green-dim); color: var(--green); }
.blog-outlook-underweight { background: var(--red-dim); color: var(--red); }
.blog-outlook-neutral { background: var(--amber-dim); color: var(--amber); }

/* Mobile: evitar cortes a la derecha en las cards del blog */
@media (max-width: 700px) {
    .blog-container { padding: 60px 14px 36px; }
    .blog-pick-card { gap: 10px; padding: 12px; }
    .blog-pick-rank { font-size: 16px; min-width: 26px; }
    .blog-pick-info { min-width: 0; flex: 1; }
    .blog-pick-info p { font-size: 11px; }
    .blog-pick-meta { gap: 10px; }
    .blog-sector-item {
        flex-wrap: wrap;
        gap: 6px;
        padding: 10px 12px;
        align-items: flex-start;
    }
    .blog-sector-item strong { min-width: 0 !important; }
    .blog-sector-reason { flex: 1 1 100%; font-size: 10px; }
    .blog-portfolios-grid { grid-template-columns: 1fr; }
}

/* Portfolios */
.blog-portfolios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.blog-portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 20px;
}
.blog-portfolio-card h3 {
    font-size: 13px;
    color: var(--text-bright);
    margin-bottom: 8px;
}
.blog-portfolio-card > p {
    font-size: 11px;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 12px;
}
.blog-portfolio-meta {
    display: flex; gap: 16px;
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.blog-holdings {
    display: flex; flex-direction: column; gap: 4px;
}
.blog-holding {
    display: flex; justify-content: space-between;
    font-size: 11px;
    padding: 4px 0;
    border-bottom: 1px solid var(--border);
}
.blog-holding-ticker { color: var(--text-bright); font-weight: 600; }
.blog-holding-weight { color: var(--orange); }

/* Risks */
.blog-risks-list {
    list-style: none;
    display: flex; flex-direction: column; gap: 8px;
}
.blog-risks-list li {
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--red);
    border-radius: 4px;
    font-size: 12px;
    color: var(--text);
    line-height: 1.5;
}

/* Disclaimer */
.blog-disclaimer {
    margin-top: 36px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: center;
}

/* Post navigation */
.blog-post-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.blog-nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.blog-nav-link:hover { color: var(--orange); }

/* Blog CTA */
.blog-cta-box {
    margin-top: 40px;
    padding: 32px;
    border: 1px solid var(--orange-dim);
    border-radius: 6px;
    background: rgba(255,140,0,0.03);
    text-align: center;
}
.blog-cta-box h3 {
    color: var(--text-bright);
    font-size: 16px;
    margin-bottom: 6px;
}
.blog-cta-box p {
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 16px;
}

/* Premium teaser inside a post (free / anon users) */
.blog-premium-teaser {
    margin-top: 8px;
    padding: 22px 24px;
    border: 1px solid var(--orange-dim);
    border-left: 3px solid var(--orange);
    border-radius: 6px;
    background: rgba(255,140,0,0.04);
}
.blog-premium-teaser h2 {
    margin-bottom: 12px;
}
.blog-premium-teaser > p {
    color: var(--text);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 14px;
}
.blog-premium-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}
.blog-premium-bullets li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}
.blog-premium-bullets li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}
.blog-premium-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Locked calendar day for anonymous visitors */
.blog-cal-day-locked {
    opacity: 0.6;
    position: relative;
}
.blog-cal-day-locked:hover {
    opacity: 1;
}
