/* ============================================
   Orbit Scorecard — Ghost Theme
   Design system matched to marketing site v4
   ============================================ */

:root {
    --navy: #1D2951;
    --navy-deep: #141d3b;
    --navy-90: rgba(29,41,81,0.9);
    --magenta: #BA1E68;
    --magenta-hover: #d42476;
    --magenta-glow: rgba(186,30,104,0.12);
    --white: #FCFBFE;
    --off-white: #F5F4F8;
    --light: #EEEDF2;
    --mid: #DCDCDC;
    --text: #373737;
    --text-secondary: #6B6B7B;
    --text-muted: #9B9BAB;
    --green: #10b981;
    --red: #f43f5e;
    --yellow: #f59e0b;

    --gh-font-heading: 'DM Serif Display', Georgia, serif;
    --gh-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: var(--gh-font-heading);
    --font-body: var(--gh-font-body);

    --container: 1140px;
    --container-wide: 960px;
    --container-narrow: 680px;
    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow-subtle: 0 1px 2px rgba(29,41,81,0.04);
    --shadow-card: 0 4px 24px rgba(29,41,81,0.06), 0 1px 3px rgba(29,41,81,0.04);
    --shadow-elevated: 0 12px 48px rgba(29,41,81,0.08), 0 2px 8px rgba(29,41,81,0.04);
    --shadow-hover: 0 16px 48px rgba(29,41,81,0.12), 0 4px 16px rgba(29,41,81,0.06);
    --shadow-mockup: 0 24px 80px rgba(29,41,81,0.12), 0 4px 16px rgba(29,41,81,0.06);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--magenta); }
img { max-width: 100%; height: auto; display: block; }

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

/* ---- Scroll Reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { 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; }

/* ---- Section Label ---- */
.section-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--magenta);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-label::before {
    content: '';
    width: 20px;
    height: 1.5px;
    background: var(--magenta);
    border-radius: 1px;
}

/* ---- Buttons ---- */

/* Magic button keyframes */
@keyframes btn-gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes btn-shimmer {
    0%    { background-position: -150% 0; opacity: 0; }
    8%    { opacity: 1; }
    42%   { background-position: 200% 0; opacity: 0; }
    100%  { background-position: 200% 0; opacity: 0; }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 35%, #d946ef 70%, #c026d3 100%);
    background-size: 200% 200%;
    color: white;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 18px rgba(139,92,246,0.35), 0 4px 12px rgba(0,0,0,0.2);
    animation: btn-gradient-shift 4s ease infinite;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
    letter-spacing: 0.01em;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
    background-size: 250% 100%;
    animation: btn-shimmer 3.5s ease-in-out infinite;
    pointer-events: none;
}
.btn-primary:hover {
    color: white;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 45px rgba(139,92,246,0.55), 0 0 60px rgba(192,38,211,0.25);
}
.btn-primary:active {
    transform: translateY(-1px) scale(0.97);
    transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 32px;
    background: transparent;
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border: 1.5px solid var(--mid);
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-cta {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: var(--magenta);
    color: white;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.btn-cta:hover {
    background: var(--magenta-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(186,30,104,0.25);
}

/* ============================================
   NAV BAR
   ============================================ */

.site-nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10,14,26,0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(139,92,246,0.1);
    height: 68px;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}
.nav-logo-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.3px;
    color: #fff;
}
.nav-logo-text span { font-weight: 400; color: var(--lp-muted); }

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    flex: 1;
    justify-content: center;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--lp-muted);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li:hover > a {
    color: #fff;
    background: rgba(139,92,246,0.08);
}
.nav-dropdown-trigger { cursor: pointer; }
.chevron {
    transition: transform var(--transition);
    flex-shrink: 0;
}
.has-dropdown:hover .chevron { transform: rotate(180deg); }

/* Dropdown panel */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 260px;
    background: #131929;
    border: 1px solid rgba(139,92,246,0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow-elevated);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
}
/* Bridge the 8px gap so hover isn't lost when moving mouse from trigger to dropdown */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}
.nav-dropdown--wide { min-width: 280px; }
.dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.07);
    margin: 4px 8px;
}
.nav-dropdown-item--all strong {
    color: var(--lp-violet);
    font-weight: 600;
}
.nav-dropdown-item--all:hover strong { color: #fff; }
.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-section-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    padding: 6px 12px 4px;
}
.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    color: var(--lp-text);
}
.nav-dropdown-item:hover {
    background: rgba(139,92,246,0.08);
    color: #fff;
}
.dropdown-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139,92,246,0.06);
    border: 1px solid var(--lp-border);
    border-radius: 8px;
    color: var(--lp-violet);
    flex-shrink: 0;
    transition: all var(--transition);
}
.nav-dropdown-item:hover .dropdown-icon {
    background: rgba(139,92,246,0.15);
    border-color: rgba(139,92,246,0.3);
    color: var(--lp-violet);
}
.dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dropdown-text strong {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    display: block;
}
.dropdown-text small {
    font-size: 12px;
    color: var(--lp-dim);
    display: block;
}
.nav-dropdown-footer {
    display: block;
    padding: 10px 12px 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--lp-violet);
    border-top: 1px solid var(--lp-border);
    margin-top: 4px;
    transition: color var(--transition);
}
.nav-dropdown-footer:hover { color: #a78bfa; }

/* Nav right: CTA + hamburger */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.nav-signin {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-muted);
    border: 1px solid rgba(139,92,246,0.2);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.nav-signin:hover {
    color: #fff;
    border-color: rgba(139,92,246,0.5);
    background: rgba(139,92,246,0.08);
}
.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 22px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 35%, #d946ef 70%, #c026d3 100%);
    background-size: 200% 200%;
    color: white;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
    border-radius: 8px;
    border: 1px solid rgba(217,70,239,0.3);
    box-shadow: 0 0 16px rgba(139,92,246,0.35), 0 2px 8px rgba(0,0,0,0.25);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    animation: btn-gradient-shift 4s ease infinite;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
}
.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
    background-size: 250% 100%;
    animation: btn-shimmer 3.5s ease-in-out infinite 0.8s;
    pointer-events: none;
}
.nav-cta:hover {
    color: white;
    box-shadow: 0 0 30px rgba(139,92,246,0.6), 0 6px 20px rgba(0,0,0,0.3);
    transform: translateY(-2px) scale(1.03);
}
.nav-cta:active {
    transform: translateY(0) scale(0.97);
    transition: transform 0.08s ease;
}

/* Hamburger toggle */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid var(--light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
}
.nav-mobile-toggle span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--navy);
    border-radius: 1px;
    transition: all 0.2s ease;
    transform-origin: center;
}
.nav-mobile-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-mobile-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-mobile-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid var(--light);
    padding: 20px 0 24px;
}
.nav-mobile-menu.is-open { display: block; }
.mobile-section { margin-bottom: 20px; }
.mobile-section-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    padding: 0 0 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--light);
}
.mobile-section a {
    display: block;
    padding: 9px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--light);
}
.mobile-section a:hover { color: var(--navy); }
.mobile-cta { padding-top: 4px; }

/* ============================================
   HERO
   ============================================ */

.site-main { padding-top: 68px; }

.hero {
    position: relative;
    padding: 80px 0 72px;
    background: var(--off-white);
    overflow: hidden;
}
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--mid) 1px, transparent 1px),
        linear-gradient(90deg, var(--mid) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.35;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 0%, transparent 70%);
    pointer-events: none;
}
.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* Hero left */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px 7px 12px;
    background: white;
    border: 1px solid var(--mid);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-subtle);
}
.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--magenta);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(186,30,104,0.3); }
    50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(186,30,104,0); }
}
.hero-title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: var(--navy);
    margin-bottom: 20px;
}
.hero-title em { font-style: italic; color: var(--magenta); }
.hero-sub {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
}
.hero-sub strong { color: var(--navy); font-weight: 600; }
.hero-ctas { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--text-muted); }

/* ---- Chat Mockup ---- */
.chat-mockup {
    background: var(--white);
    border: 1px solid var(--light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-mockup);
    overflow: hidden;
}
.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--off-white);
    border-bottom: 1px solid var(--light);
}
.chat-header-dots { display: flex; gap: 5px; }
.chat-header-dots span { width: 9px; height: 9px; border-radius: 50%; }
.chat-header-dots span:nth-child(1) { background: #ff5f57; }
.chat-header-dots span:nth-child(2) { background: #ffbd2e; }
.chat-header-dots span:nth-child(3) { background: #28c840; }
.chat-header-title {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    flex: 1;
    text-align: center;
}
.chat-thread-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-bottom: 1px solid var(--light);
    background: var(--white);
}
.chat-thread-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
.chat-thread-name { font-size: 13px; font-weight: 600; color: var(--navy); }
.chat-body { padding: 20px 18px; }
.chat-msg {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    opacity: 0;
    transform: translateY(8px);
    animation: chat-in 0.4s ease forwards;
}
.chat-msg:nth-child(1) { animation-delay: 0.4s; }
.chat-msg:nth-child(2) { animation-delay: 1.0s; }
.chat-msg:nth-child(3) { animation-delay: 1.6s; }
.chat-msg:nth-child(4) { animation-delay: 2.2s; }
.chat-msg:nth-child(5) { animation-delay: 2.8s; }
@keyframes chat-in { to { opacity: 1; transform: translateY(0); } }
.chat-msg.user { flex-direction: row-reverse; }
.chat-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}
.chat-avatar.ai { background: var(--navy); color: white; }
.chat-avatar.human { background: var(--magenta-glow); color: var(--magenta); }
.chat-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
    max-width: 260px;
}
.chat-msg.ai .chat-bubble {
    background: var(--off-white);
    border: 1px solid var(--light);
    color: var(--text);
    border-top-left-radius: 4px;
}
.chat-msg.user .chat-bubble {
    background: var(--navy);
    color: white;
    border-top-right-radius: 4px;
}
.chat-context-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding: 3px 10px;
    background: rgba(255,255,255,0.15);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
}
.chat-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    margin: 0 14px 14px;
    background: var(--off-white);
    border: 1px solid var(--light);
    border-radius: 24px;
}
.chat-input-text { flex: 1; font-size: 13px; color: var(--text-muted); }
.chat-input-send {
    width: 28px;
    height: 28px;
    background: var(--magenta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ============================================
   FEATURED ARTICLE
   ============================================ */

.featured-section { padding: 64px 0 0; }

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border: 1px solid var(--mid);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
}
.featured-card:hover { box-shadow: var(--shadow-elevated); transform: translateY(-3px); }
.featured-image-link { display: block; overflow: hidden; }
.featured-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.featured-card:hover .featured-image-link img { transform: scale(1.03); }
.featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: var(--navy);
    margin-bottom: 14px;
}
.featured-title a { color: inherit; }
.featured-title a:hover { color: var(--magenta); }
.featured-excerpt { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.read-more { font-size: 14px; font-weight: 600; color: var(--magenta); transition: all var(--transition); }
.read-more:hover { color: var(--magenta-hover); letter-spacing: 0.5px; }

/* ============================================
   POST FEED & FILTERS
   ============================================ */

.post-feed { padding: 64px 0; }

.feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}
.feed-header .section-label { margin-bottom: 0; }
.feed-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.feed-filter {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: white;
    border: 1px solid var(--light);
    border-radius: 100px;
    transition: all var(--transition);
}
.feed-filter:hover { border-color: var(--navy); color: var(--navy); }
.feed-filter.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
}

/* ============================================
   POST CARD META (shared)
   ============================================ */

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.post-card-tag {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--magenta);
    background: rgba(186,30,104,0.06);
    padding: 3px 10px;
    border-radius: 4px;
}
.meta-dot { color: var(--mid); }

/* ============================================
   POST GRID & CARDS
   ============================================ */

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.post-card {
    background: white;
    border: 1px solid var(--mid);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}
.post-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.post-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.post-card:hover .post-card-image { transform: scale(1.04); }
.post-card-image-link { display: block; overflow: hidden; }
.post-card-content { padding: 24px; }
.post-card-date { font-size: 13px; color: var(--text-muted); }
.post-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.2px;
    margin-bottom: 8px;
    color: var(--navy);
}
.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--magenta); }
.post-card-excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 16px; }
.post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--light);
}
.read-time { font-size: 12px; color: var(--text-muted); }
.card-arrow {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--off-white);
    color: var(--navy);
    font-size: 16px;
    transition: all var(--transition);
}
.post-card:hover .card-arrow { background: var(--navy); color: white; }

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner { padding: 0 0 80px; }
.cta-inner {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 56px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}
.cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(186,30,104,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.cta-inner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(29,41,81,0.2) 0%, transparent 70%);
    pointer-events: none;
}
.cta-content { position: relative; }
.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    color: white;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}
.cta-content p { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.6; max-width: 480px; }
.btn-cta { position: relative; }

/* ============================================
   POST FULL (Article Page)
   ============================================ */

.post-header { padding: 64px 0 32px; text-align: center; }
.post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.post-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--magenta);
    background: rgba(186,30,104,0.06);
    padding: 4px 12px;
    border-radius: 4px;
    transition: all var(--transition);
}
.post-tag:hover { background: rgba(186,30,104,0.12); color: var(--magenta); }
.post-title {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.5px;
    line-height: 1.15;
    color: var(--navy);
    max-width: 800px;
    margin: 0 auto 16px;
}
.post-excerpt {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}
.post-feature-image { margin-bottom: 48px; }
.post-feature-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    box-shadow: var(--shadow-elevated);
}
.post-content { font-size: 17px; line-height: 1.85; padding-bottom: 32px; }
.post-content h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.3px;
    margin: 48px 0 16px;
    color: var(--navy);
}
.post-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    margin: 36px 0 12px;
    color: var(--navy);
}
.post-content p { margin-bottom: 20px; color: var(--text); }
.post-content strong { font-weight: 600; color: var(--navy); }
.post-content ul, .post-content ol { margin: 20px 0; padding-left: 24px; }
.post-content li { margin-bottom: 8px; color: var(--text); }
.post-content blockquote {
    border-left: 3px solid var(--magenta);
    padding: 8px 0 8px 28px;
    margin: 32px 0;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 22px;
    line-height: 1.5;
    color: var(--navy);
}
.post-content blockquote p { color: var(--navy); }
.post-content code {
    background: var(--off-white);
    border: 1px solid var(--light);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.88em;
}
.post-content pre {
    background: var(--navy);
    color: rgba(255,255,255,0.9);
    border-radius: var(--radius);
    padding: 24px;
    overflow-x: auto;
    margin: 28px 0;
    box-shadow: var(--shadow-card);
}
.post-content pre code { background: none; border: none; padding: 0; color: inherit; }
.post-content a {
    color: var(--magenta);
    text-decoration: underline;
    text-decoration-color: rgba(186,30,104,0.3);
    text-underline-offset: 3px;
}
.post-content a:hover { text-decoration-color: var(--magenta); }
.post-content img { border-radius: var(--radius); margin: 28px 0; box-shadow: var(--shadow-subtle); }

/* Ghost Koenig width classes */
.kg-width-wide {
    margin-left: calc(-1 * min(calc((100vw - var(--container-narrow)) / 2), 140px));
    margin-right: calc(-1 * min(calc((100vw - var(--container-narrow)) / 2), 140px));
    width: auto;
}
.kg-width-full {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    max-width: 100vw;
}
.kg-width-wide img, .kg-width-full img { width: 100%; }

/* ---- Post Footer ---- */
.post-footer { padding: 0 0 80px; }
.post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--light);
    margin-bottom: 40px;
}
.tags-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-right: 4px;
}
.tag-link {
    font-size: 13px;
    color: var(--text-secondary);
    background: var(--off-white);
    border: 1px solid var(--light);
    padding: 5px 14px;
    border-radius: 100px;
    transition: all var(--transition);
}
.tag-link:hover { color: var(--magenta); border-color: var(--magenta); background: rgba(186,30,104,0.04); }

/* ---- Post CTA ---- */
.post-share-cta { margin-bottom: 40px; }
.share-cta-inner {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.share-cta-inner::before {
    content: '';
    position: absolute;
    top: -50%; right: -15%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(186,30,104,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.share-cta-inner h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 400;
    color: white;
    margin-bottom: 10px;
    position: relative;
}
.share-cta-inner p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.share-cta-inner .btn-primary { position: relative; }

/* ---- Post Author ---- */
.post-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--off-white);
    border-radius: var(--radius);
    border: 1px solid var(--light);
}
.author-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: white;
    font-weight: 700;
    font-size: 20px;
}
.author-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.author-name { font-family: var(--font-heading); font-size: 17px; font-weight: 400; color: var(--navy); margin: 2px 0; }
.author-bio { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* ============================================
   TAG / AUTHOR PAGES
   ============================================ */

.tag-header {
    padding: 64px 0 48px;
    text-align: center;
    background: var(--off-white);
    border-bottom: 1px solid var(--light);
}
.tag-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 400;
    letter-spacing: -0.3px;
    color: var(--navy);
    margin-bottom: 8px;
}
.tag-description { color: var(--text-secondary); font-size: 17px; max-width: 500px; margin: 0 auto 12px; }
.tag-count { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.author-page-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-subtle);
}

/* ============================================
   ERROR PAGE
   ============================================ */

.error-page { padding: 120px 0; text-align: center; }
.error-code {
    font-family: var(--font-heading);
    font-size: 120px;
    font-weight: 400;
    color: var(--light);
    line-height: 1;
    letter-spacing: -4px;
}
.error-title { font-family: var(--font-heading); font-size: 28px; font-weight: 400; color: var(--navy); margin: 16px 0 12px; }
.error-description { color: var(--text-secondary); margin-bottom: 32px; }

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 40px 0 0;
    list-style: none;
}
.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: white;
    border: 1px solid var(--light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
}
.pagination a:hover { border-color: var(--navy); color: var(--navy); box-shadow: var(--shadow-subtle); }

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.5);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    margin-bottom: 14px;
}
.footer-logo-text { font-family: var(--font-body); font-weight: 700; font-size: 17px; letter-spacing: -0.3px; color: white; }
.footer-logo-text span { font-weight: 400; color: rgba(255,255,255,0.55); }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; max-width: 260px; margin-top: 4px; }
.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.5); font-size: 14px; transition: color var(--transition); }
.footer-col a:hover { color: white; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}
.footer-powered a { color: rgba(255,255,255,0.5); text-decoration: underline; }
.footer-powered a:hover { color: rgba(255,255,255,0.6); }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .nav-links { gap: 0; }
    .nav-links > li > a { padding: 8px 10px; }
}

@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-mobile-toggle { display: flex; }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero { padding: 56px 0 48px; }
    .hero-title { font-size: 40px; }
    .hero-right { display: none; }

    .featured-card { grid-template-columns: 1fr; }
    .featured-image-link img { height: 280px; }

    .cta-inner { flex-direction: column; text-align: center; padding: 40px 32px; }
    .cta-content p { max-width: 100%; }

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

    .feed-header { flex-direction: column; align-items: flex-start; }
}

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

    .hero { padding: 40px 0 36px; }
    .hero-title { font-size: 32px; letter-spacing: -0.5px; }
    .hero-sub { font-size: 16px; }
    .hero-ctas { flex-direction: column; align-items: flex-start; }

    .post-grid { grid-template-columns: 1fr; gap: 16px; }
    .post-title { font-size: 30px; }
    .post-header { padding: 40px 0 24px; }
    .featured-content { padding: 24px; }
    .featured-title { font-size: 22px; }

    .cta-inner { padding: 32px 24px; }
    .cta-content h2 { font-size: 24px; }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 4px; text-align: center; }

    .nav-cta { display: none; }
    .tag-title { font-size: 28px; }
    .share-cta-inner { padding: 32px 24px; }
}

/* ============================================
   LANDING PAGE — DARK THEME
   Matches orbit-iq marketing site design
   ============================================ */

:root {
    --lp-bg:        #0a0e1a;
    --lp-bg2:       #0f1629;
    --lp-card:      #111830;
    --lp-violet:    #8b5cf6;
    --lp-fuchsia:   #d946ef;
    --lp-text:      #e2e8f0;
    --lp-muted:     #94a3b8;
    --lp-dim:       #7e93ab;
    --lp-border:    rgba(139,92,246,0.1);
    --lp-border-h:  rgba(139,92,246,0.3);
    --lp-green:     #10b981;
    --lp-red:       #ef4444;
}

/* ── Dark nav override on homepage ── */
.home-template .site-nav-bar {
    background: rgba(10,14,26,0.85);
    border-color: var(--lp-border);
}
.home-template .nav-links > li > a { color: var(--lp-muted); }
.home-template .nav-links > li > a:hover,
.home-template .nav-links > li:hover > a { color: #fff; background: rgba(139,92,246,0.08); }
.home-template .nav-logo-text { color: #fff; }
.home-template .nav-logo-text span { color: var(--lp-muted); }
.home-template .chevron { color: var(--lp-muted); }
.home-template .nav-dropdown { background: #131929; border-color: var(--lp-border); }
.home-template .nav-dropdown-item { color: var(--lp-text); }
.home-template .nav-dropdown-item:hover { background: rgba(139,92,246,0.08); color: #fff; }
.home-template .dropdown-icon { background: rgba(139,92,246,0.06); border-color: var(--lp-border); color: var(--lp-violet); }
.home-template .dropdown-text strong { color: #fff; }
.home-template .dropdown-text small { color: var(--lp-dim); }
.home-template .dropdown-section-label { color: var(--lp-dim); }
.home-template .nav-dropdown-footer { color: var(--lp-violet); border-color: var(--lp-border); }
.home-template .nav-mobile-toggle { border-color: var(--lp-border); }
.home-template .nav-mobile-toggle span { background: #fff; }
.home-template .nav-mobile-menu { background: #0f1629; border-color: var(--lp-border); }
.home-template .mobile-section-label { color: var(--lp-dim); border-color: var(--lp-border); }
.home-template .mobile-section a { color: var(--lp-muted); border-color: var(--lp-border); }
.home-template .mobile-section a:hover { color: #fff; }

/* ── Dark site-main override ── */
.home-template .site-main { background: var(--lp-bg); }

/* ── Dark footer override on homepage ── */
.home-template .site-footer {
    background: var(--lp-bg);
    border-top: 1px solid var(--lp-border);
}

/* ============================================
   LP SHARED UTILITIES
   ============================================ */

.lp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

.lp-gradient-text {
    background: linear-gradient(135deg, var(--lp-violet), var(--lp-fuchsia), var(--lp-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--lp-violet);
    margin-bottom: 16px;
}

.lp-h2 {
    font-family: var(--font-body);
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 0px;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 20px;
}

.lp-body-lg {
    font-size: 20px;
    color: var(--lp-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.lp-violet { color: var(--lp-violet); font-weight: 600; }

/* ── CTA Buttons ── */
.lp-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 16px;
}
.lp-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 35%, #d946ef 70%, #c026d3 100%);
    background-size: 200% 200%;
    color: #fff;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 24px rgba(139,92,246,0.4), 0 6px 20px rgba(0,0,0,0.2);
    animation: btn-gradient-shift 4s ease infinite;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
    letter-spacing: 0.01em;
}
.lp-btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    background-size: 250% 100%;
    animation: btn-shimmer 3.5s ease-in-out infinite 1.2s;
    pointer-events: none;
}
.lp-btn-primary:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.045);
    box-shadow: 0 20px 55px rgba(139,92,246,0.6), 0 0 70px rgba(192,38,211,0.3);
}
.lp-btn-primary:active {
    transform: translateY(-1px) scale(0.975);
    transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.lp-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: transparent;
    border: 1.5px solid var(--lp-border-h);
    color: var(--lp-violet);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.lp-btn-outline:hover {
    background: var(--lp-violet);
    color: var(--lp-bg);
    border-color: var(--lp-violet);
}

.lp-free-note {
    font-size: 13px;
    color: var(--lp-dim);
}

/* ============================================
   HERO
   ============================================ */

.lp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 28px 80px;
    background: var(--lp-bg);
    overflow: hidden;
}

.lp-starfield {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.lp-star {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    animation: lp-twinkle var(--tw, 3s) var(--td, 0s) ease-in-out infinite;
}
@keyframes lp-twinkle {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.1; transform: scale(0.6); }
}

.lp-shooting-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.lp-shot {
    position: absolute;
    height: 1.5px;
    width: var(--ss-len, 80px);
    border-radius: 1px;
    animation: lp-shot-anim var(--ss-dur, 1.5s) ease-out forwards;
    opacity: 0;
}
.lp-shot-ltr {
    background: linear-gradient(90deg, transparent, rgba(139,92,246,0.8), transparent);
    transform-origin: left center;
}
.lp-shot-rtl {
    background: linear-gradient(270deg, transparent, rgba(139,92,246,0.8), transparent);
    transform-origin: right center;
    transform: scaleX(-1);
}
@keyframes lp-shot-anim {
    0%   { opacity: 0; transform: translateX(0); }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { opacity: 0; transform: translateX(200px); }
}

.lp-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139,92,246,0.07) 0%, rgba(217,70,239,0.04) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.lp-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.lp-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--lp-border-h);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--lp-violet);
    background: rgba(139,92,246,0.06);
    margin-bottom: 32px;
}

.lp-h1 {
    font-family: var(--font-body);
    font-size: 60px;
    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 1.03;
    color: #fff;
    margin-bottom: 24px;
}

.lp-hero-sub {
    font-size: 18px;
    color: var(--lp-muted);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 32px;
}
.lp-hero-sub strong { color: #fff; font-weight: 600; }

.lp-hero-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-top: 24px;
}
.lp-hero-bullets li {
    position: relative;
    padding-left: 18px;
    font-size: 15px;
    color: var(--lp-muted);
}
.lp-hero-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lp-violet), var(--lp-fuchsia));
}

/* ============================================
   SCORECARD MOCKUP
   ============================================ */

.lp-mockup-section {
    background: var(--lp-bg2);
    padding: 100px 0;
    text-align: center;
}

.lp-browser {
    margin-top: 40px;
    background: var(--lp-card);
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,0.4);
}
.lp-browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(10,14,26,0.6);
    border-bottom: 1px solid var(--lp-border);
}
.lp-browser-dots {
    display: flex;
    gap: 6px;
}
.lp-browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.lp-browser-dots span:nth-child(1) { background: #ff5f57; }
.lp-browser-dots span:nth-child(2) { background: #ffbd2e; }
.lp-browser-dots span:nth-child(3) { background: #28c840; }
.lp-browser-url {
    flex: 1;
    padding: 5px 14px;
    border-radius: 6px;
    background: rgba(10,14,26,0.5);
    font-size: 12px;
    font-family: monospace;
    color: var(--lp-dim);
    text-align: center;
}
.lp-sc-demo { padding: 0; }
.lp-sc-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid var(--lp-border);
}
.lp-sc-name { font-size: 14px; font-weight: 700; color: #fff; }
.lp-sc-week { font-size: 12px; color: var(--lp-dim); }
.lp-sc-scroll { overflow-x: auto; }
.lp-sc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 640px;
}
.lp-sc-table th {
    padding: 10px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--lp-dim);
    border-bottom: 1px solid var(--lp-border);
    background: rgba(10,14,26,0.3);
    white-space: nowrap;
}
.lp-sc-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(139,92,246,0.05);
    color: var(--lp-text);
}
.lp-sc-table tr:last-child td { border-bottom: none; }
.lp-sc-table tr:hover td { background: rgba(139,92,246,0.03); }
.lp-week-col { text-align: center !important; }
.lp-metric-name { font-weight: 600; color: #fff; }
.lp-owner { color: var(--lp-muted); font-size: 12px; }
.lp-goal { color: var(--lp-muted); font-size: 12px; white-space: nowrap; }
.lp-cell {
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    border-radius: 4px;
}
.lp-cell.lp-green {
    color: var(--lp-green);
    background: rgba(16,185,129,0.08);
}
.lp-cell.lp-red {
    color: var(--lp-red);
    background: rgba(239,68,68,0.08);
}
.lp-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
.lp-on-track { background: rgba(16,185,129,0.12); color: var(--lp-green); }
.lp-off-track { background: rgba(239,68,68,0.1); color: var(--lp-red); }

/* ============================================
   PROBLEM
   ============================================ */

.lp-problem {
    background: var(--lp-bg);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.lp-glow-red {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(239,68,68,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.lp-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.lp-problem-card {
    padding: 32px;
    border-radius: 16px;
    background: rgba(239,68,68,0.03);
    border: 1px solid rgba(239,68,68,0.1);
    text-align: left;
    transition: all 0.3s ease;
}
.lp-problem-card:hover {
    border-color: rgba(239,68,68,0.2);
    transform: translateY(-4px);
}
.lp-problem-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #f87171;
    margin-bottom: 12px;
    line-height: 1.3;
}
.lp-problem-card p {
    font-size: 14px;
    color: var(--lp-muted);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   QUOTE STRIP
   ============================================ */

.lp-quote-strip {
    background: var(--lp-bg);
    padding: 64px 0;
    text-align: center;
}
.lp-quote-main {
    font-size: 20px;
    font-style: italic;
    color: var(--lp-dim);
    margin-bottom: 12px;
}
.lp-quote-sub {
    font-size: 15px;
    color: var(--lp-dim);
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.lp-hiw {
    background: var(--lp-bg);
    padding: 120px 0;
}
.lp-hiw-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
    position: relative;
}
.lp-hiw-grid::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--lp-violet), var(--lp-fuchsia), var(--lp-violet));
    border-radius: 1px;
    pointer-events: none;
}
.lp-step {
    text-align: center;
    position: relative;
}
.lp-step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--lp-card);
    border: 2px solid var(--lp-violet);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: var(--lp-violet);
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
}
.lp-step h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.lp-step p {
    font-size: 13px;
    color: var(--lp-muted);
    line-height: 1.65;
    margin: 0;
}

/* ============================================
   NICK HUBER QUOTE
   ============================================ */

.lp-nick-section {
    background: var(--lp-bg2);
    padding: 80px 0;
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
}
.lp-nick-quote {
    font-size: 24px;
    font-weight: 400;
    font-style: italic;
    color: var(--lp-muted);
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.5;
    border: none;
    padding: 0;
}
.lp-nick-attr {
    font-size: 14px;
    color: var(--lp-dim);
    margin-bottom: 16px;
}
.lp-nick-sub {
    font-size: 14px;
    color: var(--lp-dim);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ============================================
   PRICING
   ============================================ */

.lp-pricing {
    background: var(--lp-bg2);
    padding: 120px 0;
    text-align: center;
}
.lp-pricing-box {
    max-width: 560px;
    margin: 40px auto 0;
}
.lp-price-hero {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}
.lp-price-num {
    font-size: 72px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--lp-violet), var(--lp-fuchsia), var(--lp-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.lp-price-unit {
    font-size: 18px;
    color: var(--lp-muted);
    font-weight: 500;
}
.lp-price-sub {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--lp-violet);
    letter-spacing: 0.5px;
    margin-top: 4px;
}
.lp-price-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 32px 0;
}
.lp-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-radius: 12px;
    background: rgba(139,92,246,0.04);
    border: 1px solid var(--lp-border);
    text-align: left;
    gap: 16px;
}
.lp-price-row span:first-child { font-size: 14px; color: var(--lp-text); flex: 1; }
.lp-price-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--lp-violet);
    white-space: nowrap;
}
.lp-price-note {
    font-size: 15px;
    color: var(--lp-muted);
    line-height: 1.6;
    margin: 28px 0 0;
}
.lp-price-note strong { color: #fff; }

/* ============================================
   INTEGRATIONS
   ============================================ */

.lp-integrations {
    background: var(--lp-bg2);
    padding: 80px 0;
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
}
.lp-int-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
}
.lp-int-badge {
    padding: 10px 22px;
    border-radius: 10px;
    background: rgba(139,92,246,0.04);
    border: 1px solid var(--lp-border);
    font-size: 13px;
    font-weight: 600;
    color: var(--lp-text);
    transition: all 0.25s ease;
    cursor: default;
}
.lp-int-badge:hover {
    border-color: var(--lp-violet);
    background: rgba(139,92,246,0.1);
    transform: translateY(-2px);
}

/* ============================================
   PHILOSOPHY
   ============================================ */

.lp-philosophy {
    background: var(--lp-bg);
    padding: 120px 0;
}
.lp-phil-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-top: 48px;
    align-items: start;
}
.lp-phil-left h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}
.lp-phil-left p {
    font-size: 15px;
    color: var(--lp-muted);
    line-height: 1.75;
    margin-bottom: 20px;
}
.lp-blockquote {
    padding: 20px 20px 20px 24px;
    border-left: 3px solid var(--lp-violet);
    background: rgba(139,92,246,0.04);
    border-radius: 0 12px 12px 0;
    font-size: 15px;
    color: var(--lp-text);
    line-height: 1.65;
    margin-top: 24px;
    font-style: italic;
}
.lp-blockquote cite {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-style: normal;
    color: var(--lp-dim);
}
.lp-phil-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.lp-phil-list li {
    padding: 24px;
    border-radius: 12px;
    background: var(--lp-card);
    border: 1px solid var(--lp-border);
}
.lp-phil-list h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.lp-phil-list p {
    font-size: 13px;
    color: var(--lp-muted);
    line-height: 1.65;
    margin: 0;
}

/* ============================================
   STATS BAR
   ============================================ */

.lp-stats-bar {
    background: var(--lp-bg2);
    padding: 60px 0;
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
}
.lp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.lp-stat-num {
    font-size: 52px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--lp-violet), var(--lp-fuchsia), var(--lp-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 6px;
}
.lp-stat-label {
    font-size: 13px;
    color: var(--lp-dim);
    font-weight: 500;
}

/* ============================================
   BLOG SECTION (on landing page)
   ============================================ */

.lp-blog-section {
    background: var(--lp-bg);
    padding: 80px 0;
}
.lp-blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
}
.lp-blog-header .lp-eyebrow { margin-bottom: 0; }

/* Override post cards for dark bg */
.lp-blog-section .post-card,
.lp-post-card {
    background: var(--lp-card) !important;
    border-color: var(--lp-border) !important;
}
.lp-blog-section .post-card:hover,
.lp-post-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.4) !important;
    border-color: var(--lp-border-h) !important;
}
.lp-blog-section .post-card-title,
.lp-post-card .post-card-title { color: #fff !important; }
.lp-blog-section .post-card-title a,
.lp-post-card .post-card-title a { color: #fff !important; }
.lp-blog-section .post-card-title a:hover,
.lp-post-card .post-card-title a:hover { color: var(--lp-violet) !important; }
.lp-blog-section .post-card-excerpt,
.lp-post-card .post-card-excerpt { color: var(--lp-muted) !important; }
.lp-blog-section .post-card-footer,
.lp-post-card .post-card-footer { border-color: var(--lp-border) !important; }
.lp-blog-section .read-time,
.lp-post-card .read-time { color: var(--lp-dim) !important; }
.lp-blog-section .card-arrow,
.lp-post-card .card-arrow { background: rgba(139,92,246,0.08) !important; color: var(--lp-violet) !important; }
.lp-blog-section .post-card:hover .card-arrow,
.lp-post-card:hover .card-arrow { background: var(--lp-violet) !important; color: #fff !important; }
.lp-blog-section .post-card-date,
.lp-post-card .post-card-date { color: var(--lp-dim) !important; }

/* Feed filter overrides for dark bg */
.lp-blog-section .feed-filter {
    background: rgba(139,92,246,0.04);
    border-color: var(--lp-border);
    color: var(--lp-muted);
}
.lp-blog-section .feed-filter:hover { border-color: var(--lp-violet); color: var(--lp-violet); }
.lp-blog-section .feed-filter.is-active { background: var(--lp-violet); border-color: var(--lp-violet); color: #fff; }

/* Pagination override */
.lp-blog-section .pagination a {
    background: var(--lp-card);
    border-color: var(--lp-border);
    color: var(--lp-muted);
}
.lp-blog-section .pagination a:hover { border-color: var(--lp-violet); color: var(--lp-violet); }

/* ============================================
   BOTTOM CTA
   ============================================ */

.lp-cta-section {
    background: var(--lp-bg);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.lp-glow-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139,92,246,0.07) 0%, transparent 60%);
    pointer-events: none;
}

/* ============================================
   LP RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .lp-hiw-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-hiw-grid::before { display: none; }
    .lp-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 860px) {
    .lp-hero { padding-top: 100px; min-height: auto; }
    .lp-h1 { font-size: 38px; letter-spacing: 0px; }
    .lp-h2 { font-size: 28px; }
    .lp-problem-grid { grid-template-columns: 1fr; gap: 16px; }
    .lp-phil-grid { grid-template-columns: 1fr; gap: 40px; }
    .lp-blog-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
    .lp-container { padding: 0 20px; }
    .lp-h1 { font-size: 30px; letter-spacing: 0px; }
    .lp-h2 { font-size: 24px; }
    .lp-hero-sub { font-size: 16px; }
    .lp-ctas { flex-direction: column; align-items: center; }
    .lp-hiw-grid { grid-template-columns: 1fr; }
    .lp-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-stat-num { font-size: 40px; }
    .lp-price-hero { flex-wrap: wrap; }
    .lp-price-num { font-size: 56px; }
    .lp-nick-quote { font-size: 18px; }
    .lp-price-row { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ============================================
   LANDING PAGE UPDATES — APPENDED
   New sections: credibility, use-cases,
   trust-line, value-badges, glance stats,
   spacing overrides, responsive additions
   ============================================ */

/* ── Spacing overrides (tighter sections) ── */
.lp-mockup-section { padding: 80px 0; }
.lp-problem        { padding: 80px 0; }
.lp-hiw            { padding: 80px 0; }
.lp-nick-section   { padding: 64px 0; }
.lp-pricing        { padding: 80px 0; }
.lp-integrations   { padding: 64px 0; }
.lp-philosophy     { padding: 80px 0; }
.lp-stats-bar      { padding: 48px 0; }
.lp-blog-section   { padding: 64px 0; }
.lp-cta-section    { padding: 80px 0; }
.lp-quote-strip    { padding: 48px 0; }

/* ── Hero updates ── */
.lp-hero { min-height: 80vh; padding: 72px 28px 48px; }

.lp-trust-line {
    font-size: 13px;
    color: var(--lp-dim);
    margin-top: 16px;
    letter-spacing: 0.3px;
}

.lp-value-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 32px;
    padding: 0;
}

.lp-value-badges li {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 100px;
    border: 1px solid var(--lp-border);
    background: rgba(139,92,246,0.04);
    font-size: 12px;
    font-weight: 600;
    color: var(--lp-muted);
    white-space: nowrap;
}

.lp-value-badges li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lp-violet);
    display: inline-block;
    margin-right: 2px;
    flex-shrink: 0;
}

/* ── Mockup glance stats ── */
.lp-sc-glance {
    display: flex;
    gap: 24px;
    padding: 14px 24px;
    border-top: 1px solid var(--lp-border);
    background: rgba(10,14,26,0.4);
    flex-wrap: wrap;
}

.lp-sc-glance-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--lp-dim);
}

.lp-sc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.lp-sc-dot.g { background: var(--lp-green); }
.lp-sc-dot.r { background: var(--lp-red); }

/* ── Credibility section ── */
.lp-credibility {
    background: var(--lp-bg2);
    padding: 80px 0;
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
}

.lp-cred-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-top: 40px;
}

.lp-cred-left p {
    font-size: 15px;
    color: var(--lp-muted);
    line-height: 1.75;
    margin-bottom: 18px;
}

.lp-cred-left strong { color: #fff; }

.lp-cred-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-violet);
    text-decoration: none;
    transition: all 0.2s ease;
}

.lp-cred-link:hover {
    color: var(--lp-fuchsia);
    letter-spacing: 0.3px;
}

.lp-cred-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-cred-stat {
    padding: 24px;
    border-radius: 12px;
    background: var(--lp-card);
    border: 1px solid var(--lp-border);
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.lp-cred-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--lp-violet), var(--lp-fuchsia));
    border-radius: 12px 12px 0 0;
}

.lp-cred-stat:hover { border-color: var(--lp-border-h); }

.lp-cred-num {
    font-size: 40px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--lp-violet), var(--lp-fuchsia));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.lp-cred-label {
    font-size: 13px;
    color: var(--lp-muted);
    line-height: 1.4;
}

.lp-orbit-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 10px;
    background: rgba(139,92,246,0.06);
    border: 1px solid var(--lp-border);
    font-size: 13px;
    color: var(--lp-muted);
    margin-top: 8px;
}

.lp-orbit-badge strong { color: #fff; }

/* ── Use cases section ── */
.lp-usecases {
    background: var(--lp-bg);
    padding: 80px 0;
}

.lp-usecases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
}

.lp-usecase-card {
    padding: 36px;
    border-radius: 16px;
    background: var(--lp-card);
    border: 1px solid var(--lp-border);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.lp-usecase-card:hover {
    border-color: var(--lp-border-h);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.lp-usecase-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(139,92,246,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.lp-uc-tag {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.lp-uc-internal .lp-uc-tag {
    background: rgba(139,92,246,0.12);
    color: var(--lp-violet);
}

.lp-uc-agency .lp-uc-tag {
    background: rgba(217,70,239,0.1);
    color: var(--lp-fuchsia);
}

.lp-uc-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(139,92,246,0.08);
    border: 1px solid var(--lp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--lp-violet);
}

.lp-usecase-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.lp-usecase-card p {
    font-size: 14px;
    color: var(--lp-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.lp-uc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
}

.lp-uc-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--lp-muted);
    line-height: 1.4;
}

.lp-uc-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lp-violet);
    margin-top: 5px;
    flex-shrink: 0;
}

/* ── Pricing updates ── */
.lp-price-compare {
    font-size: 14px;
    color: var(--lp-muted);
    line-height: 1.6;
    margin: 24px 0;
    padding: 16px 20px;
    background: rgba(239,68,68,0.04);
    border: 1px solid rgba(239,68,68,0.1);
    border-radius: 10px;
}

.lp-red-text { color: var(--lp-red); }

.lp-pricing-box .lp-btn-primary {
    display: inline-flex;
    margin-top: 8px;
}

/* ── Responsive additions for new sections ── */
@media (max-width: 860px) {
    .lp-cred-grid { grid-template-columns: 1fr; gap: 40px; }
    .lp-usecases-grid { grid-template-columns: 1fr; }
    .lp-hiw-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .lp-h1 { font-size: 28px; }
    .lp-h2 { font-size: 22px; }
    .lp-price-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .lp-value-badges { gap: 8px; }
    .lp-hiw-grid { grid-template-columns: 1fr; }
    .lp-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   PRICING PAGE (page-pricing.hbs)
   ============================================ */

/* Dark nav + footer override for pricing page */
.page-pricing .site-nav-bar {
    background: rgba(10,14,26,0.92);
    border-color: var(--lp-border);
}
.page-pricing .nav-links > li > a { color: var(--lp-muted); }
.page-pricing .nav-links > li > a:hover,
.page-pricing .nav-links > li:hover > a { color: #fff; background: rgba(139,92,246,0.08); }
.page-pricing .nav-logo-text { color: #fff; }
.page-pricing .nav-logo-text span { color: var(--lp-muted); }
.page-pricing .chevron { color: var(--lp-muted); }
.page-pricing .nav-dropdown { background: #131929; border-color: var(--lp-border); }
.page-pricing .nav-dropdown-item { color: var(--lp-text); }
.page-pricing .nav-dropdown-item:hover { background: rgba(139,92,246,0.08); color: #fff; }
.page-pricing .dropdown-icon { background: rgba(139,92,246,0.06); border-color: var(--lp-border); color: var(--lp-violet); }
.page-pricing .dropdown-text strong { color: #fff; }
.page-pricing .dropdown-text small { color: var(--lp-dim); }
.page-pricing .dropdown-section-label { color: var(--lp-dim); }
.page-pricing .nav-dropdown-footer { color: var(--lp-violet); border-color: var(--lp-border); }
.page-pricing .nav-cta { background: linear-gradient(135deg, #7c3aed, #c026d3); }
.page-pricing .nav-mobile-toggle { border-color: var(--lp-border); }
.page-pricing .nav-mobile-toggle span { background: #fff; }
.page-pricing .nav-mobile-menu { background: #0f1629; border-color: var(--lp-border); }
.page-pricing .mobile-section-label { color: var(--lp-dim); border-color: var(--lp-border); }
.page-pricing .mobile-section a { color: var(--lp-muted); border-color: var(--lp-border); }
.page-pricing .mobile-section a:hover { color: #fff; }
.page-pricing .site-footer { background: var(--lp-bg); border-top: 1px solid var(--lp-border); }
.page-pricing .site-main { background: var(--lp-bg); }

.pricing-page {
    background: var(--lp-bg);
    color: var(--lp-text);
}

/* ── Hero ── */
.pricing-hero {
    padding: 120px 28px 80px;
    text-align: center;
    background: var(--lp-bg);
}
.pricing-h1 {
    font-family: var(--font-body);
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 0.3px;
    line-height: 1.05;
    color: #fff;
    margin: 16px 0 24px;
}
.pricing-sub {
    font-size: 20px;
    color: var(--lp-muted);
    line-height: 1.65;
    max-width: 600px;
    margin: 0 auto;
}

/* ── Main card section ── */
.pricing-card-section {
    background: var(--lp-bg2);
    padding: 80px 0 100px;
    border-top: 1px solid var(--lp-border);
}
.pricing-card-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 960px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--lp-card);
    border: 1px solid rgba(139,92,246,0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(139,92,246,0.1);
}
.pricing-card-top {
    padding: 40px 36px 32px;
    text-align: center;
}
.pricing-plan-label {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(139,92,246,0.12);
    border: 1px solid rgba(139,92,246,0.3);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--lp-violet);
    margin-bottom: 28px;
}
.pricing-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 16px;
}
.pricing-dollar {
    font-size: 32px;
    font-weight: 700;
    color: var(--lp-violet);
    margin-top: 12px;
}
.pricing-num {
    font-size: 88px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--lp-violet), var(--lp-fuchsia), var(--lp-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pricing-period {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 14px;
    text-align: left;
    gap: 2px;
}
.pricing-period span {
    font-size: 16px;
    font-weight: 600;
    color: var(--lp-muted);
}
.pricing-period small {
    font-size: 12px;
    color: var(--lp-dim);
    white-space: nowrap;
}
.pricing-tagline {
    font-size: 15px;
    color: var(--lp-muted);
    margin-bottom: 28px;
    line-height: 1.5;
}
.pricing-tagline strong { color: #fff; }
.pricing-cta-btn {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 16px 32px;
}
.pricing-free-note {
    margin-top: 12px;
    font-size: 13px;
    color: var(--lp-dim);
}
.pricing-card-divider {
    height: 1px;
    background: var(--lp-border);
    margin: 0 36px;
}
.pricing-card-includes {
    padding: 28px 36px 36px;
}
.pricing-includes-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--lp-dim);
    margin-bottom: 16px;
}
.pricing-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pricing-checklist li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    color: var(--lp-text);
    line-height: 1.5;
}
.pricing-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Ccircle cx='7' cy='7' r='7' fill='%238b5cf6' fill-opacity='0.15'/%3E%3Cpath d='M4 7l2 2 4-4' stroke='%238b5cf6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ── Example pricing rows ── */
.pricing-examples {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.pricing-examples-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--lp-dim);
    margin-bottom: 16px;
}
.pricing-example-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pricing-example-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-radius: 14px;
    background: var(--lp-card);
    border: 1px solid var(--lp-border);
    gap: 16px;
}
.pricing-example-row--etl {
    background: rgba(239,68,68,0.04);
    border-color: rgba(239,68,68,0.15);
    margin-top: 8px;
}
.pricing-example-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pricing-example-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
.pricing-example-desc {
    font-size: 13px;
    color: var(--lp-muted);
}
.pricing-example-price {
    font-size: 24px;
    font-weight: 900;
    color: var(--lp-violet);
    white-space: nowrap;
}
.pricing-example-price small {
    font-size: 13px;
    font-weight: 500;
    color: var(--lp-muted);
}
.pricing-example-price--red { color: var(--lp-red); }

/* ── Comparison table ── */
.pricing-compare-section {
    background: var(--lp-bg);
    padding: 100px 0;
    border-top: 1px solid var(--lp-border);
}
.pricing-table-wrap {
    overflow-x: auto;
    margin-top: 48px;
    border-radius: 16px;
    border: 1px solid var(--lp-border);
}
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 640px;
}
.pricing-table thead th {
    padding: 20px 24px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: var(--lp-muted);
    background: var(--lp-card);
    border-bottom: 1px solid var(--lp-border);
    white-space: nowrap;
}
.pricing-table thead th.pricing-col-us {
    color: var(--lp-violet);
    background: rgba(139,92,246,0.08);
}
.pricing-col-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 100px;
    background: rgba(139,92,246,0.15);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--lp-violet);
    margin-bottom: 6px;
}
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--lp-border);
    vertical-align: middle;
    color: var(--lp-text);
}
.pricing-row-label {
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}
.pricing-col-us {
    background: rgba(139,92,246,0.04);
}
.pricing-cell-good { color: #34d399; }
.pricing-cell-bad  { color: #f87171; }
.pricing-cell-neutral { color: var(--lp-muted); }

/* ── FAQ ── */
.pricing-faq-section {
    background: var(--lp-bg2);
    padding: 100px 0;
    border-top: 1px solid var(--lp-border);
}
.pricing-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.pricing-faq-item {
    padding: 28px 32px;
    background: var(--lp-card);
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    transition: border-color 0.2s ease;
}
.pricing-faq-item:hover { border-color: rgba(139,92,246,0.3); }
.pricing-faq-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
}
.pricing-faq-item p {
    font-size: 14px;
    color: var(--lp-muted);
    line-height: 1.7;
    margin: 0;
}

/* ── Bottom CTA ── */
.pricing-bottom-cta {
    background: var(--lp-bg);
    padding: 100px 0;
    border-top: 1px solid var(--lp-border);
}

/* ── Pricing page responsive ── */
@media (max-width: 860px) {
    .pricing-card-wrap { grid-template-columns: 1fr; max-width: 520px; }
    .pricing-faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .pricing-hero { padding: 100px 20px 60px; }
    .pricing-h1 { font-size: 36px; }
    .pricing-num { font-size: 64px; }
    .pricing-table { font-size: 13px; }
    .pricing-table thead th,
    .pricing-table tbody td { padding: 12px 16px; }
}

/* ============================================
   FEATURES PAGE (page-features.hbs)
   ============================================ */

.features-page { background: var(--lp-bg); }

.features-section {
    padding: 80px 0;
    background: var(--lp-bg);
}

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

.feature-card {
    background: var(--lp-card);
    border: 1px solid var(--lp-border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover {
    border-color: var(--lp-border-h);
    transform: translateY(-2px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139,92,246,0.08);
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    color: var(--lp-violet);
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--lp-muted);
    line-height: 1.65;
}

.features-hiw-section {
    padding: 80px 0;
    background: var(--lp-bg2);
}

.features-hiw-grid {
    margin-top: 48px;
}

/* Dark nav override for features page */
.page-features .site-nav-bar {
    background: rgba(10,14,26,0.92);
    border-color: var(--lp-border);
}

@media (max-width: 860px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .features-grid { grid-template-columns: 1fr; }
    .features-section { padding: 60px 0; }
}

/* ═══════════════════════════════════════════════════════════
   INTEGRATIONS PAGE
   ═══════════════════════════════════════════════════════════ */

.integrations-page {
    background: var(--lp-bg);
    color: var(--lp-text);
}

/* stat bar */
.int-stats-bar {
    background: var(--lp-bg2);
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
    padding: 32px 0;
}
.int-stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.int-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 40px;
}
.int-stat-num {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 4px;
}
.int-stat-label {
    font-size: 13px;
    color: var(--lp-muted);
    text-align: center;
}
.int-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--lp-border);
}

/* categories */
.int-categories-section {
    padding: 80px 0;
}
.int-category {
    margin-bottom: 72px;
}
.int-category:last-child { margin-bottom: 0; }

.int-category-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
}
.int-category-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(139,92,246,0.12);
    border: 1px solid rgba(139,92,246,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a78bfa;
    margin-top: 2px;
}
.int-category-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
.int-category-desc {
    font-size: 15px;
    color: var(--lp-muted);
    margin: 0;
}

/* integration card grid */
.int-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.int-cards-grid--2col {
    grid-template-columns: repeat(2, 1fr);
}

/* integration card */
.int-card {
    background: var(--lp-bg2);
    border: 1px solid var(--lp-border);
    border-radius: 14px;
    padding: 24px;
    transition: border-color 0.2s, transform 0.2s;
}
.int-card:hover {
    border-color: rgba(139,92,246,0.4);
    transform: translateY(-2px);
}
.int-card--flex {
    display: flex;
    flex-direction: column;
}

.int-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.int-card-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.int-card-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px;
}
.int-card-status {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 20px;
}
.int-status-live {
    background: rgba(52,211,153,0.12);
    color: #34d399;
    border: 1px solid rgba(52,211,153,0.2);
}
.int-status-beta {
    background: rgba(251,191,36,0.12);
    color: #fbbf24;
    border: 1px solid rgba(251,191,36,0.2);
}
.int-card-desc {
    font-size: 14px;
    color: var(--lp-muted);
    line-height: 1.6;
    margin: 0 0 16px;
}
.int-card-metrics {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid var(--lp-border);
    padding-top: 14px;
}
.int-card-metrics li {
    font-size: 13px;
    color: var(--lp-dim);
    padding-left: 16px;
    position: relative;
}
.int-card-metrics li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

/* request section */
.int-request-section {
    padding: 0 0 80px;
}
.int-request-card {
    background: var(--lp-bg2);
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}
.int-request-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(139,92,246,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.int-request-left { flex: 1; }
.int-request-right {
    flex-shrink: 0;
    text-align: center;
}

/* dark nav override */
.page-integrations .site-nav-bar {
    background: rgba(10,14,26,0.92);
    border-color: var(--lp-border);
}

@media (max-width: 900px) {
    .int-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .int-cards-grid--2col { grid-template-columns: 1fr; }
    .int-stats-grid { gap: 0; }
    .int-stat { padding: 8px 24px; }
}
@media (max-width: 640px) {
    .int-cards-grid { grid-template-columns: 1fr; }
    .int-stat-divider { display: none; }
    .int-stat { padding: 12px 16px; }
    .int-request-card { flex-direction: column; padding: 32px 24px; }
    .int-request-right { width: 100%; }
    .int-request-right .lp-btn-primary { width: 100%; text-align: center; }
    .int-categories-section { padding: 48px 0; }
    .int-category { margin-bottom: 48px; }
}

/* ═══════════════════════════════════════════════════════════
   FEATURES PAGE — HERO BUTTON SPACING
   ═══════════════════════════════════════════════════════════ */

.features-page .pricing-sub {
    margin-bottom: 36px;
}

/* ═══════════════════════════════════════════════════════════
   DARK THEME — BLOG / TAG / POST PAGES
   ═══════════════════════════════════════════════════════════ */

/* Base dark background on all content pages */
.tag-template,
.post-template,
.page-blog {
    background: #0a0e1a;
    color: #e2e8f0;
}

/* Ensure the body bg is overridden */
.tag-template body,
.post-template body,
.page-blog body {
    background: #0a0e1a;
}

/* Main content area */
.tag-template .site-main,
.post-template .site-main,
.page-blog .site-main {
    background: #0a0e1a;
    min-height: 80vh;
}

/* ── Tag header (used on /tag/* and /blog/ page) ── */
.tag-template .tag-header,
.page-blog .tag-header {
    background: #0a0e1a;
    padding: 100px 28px 56px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
.tag-template .section-label,
.page-blog .section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8b5cf6;
    margin-bottom: 16px;
    background: rgba(139,92,246,0.1);
    border: 1px solid rgba(139,92,246,0.2);
    padding: 4px 14px;
    border-radius: 100px;
}
.tag-template .tag-title,
.page-blog .tag-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.tag-template .tag-description,
.page-blog .tag-description {
    color: rgba(226,232,240,0.55);
    font-size: 17px;
    max-width: 540px;
    margin: 0 auto 12px;
}
.tag-template .tag-count,
.page-blog .tag-count {
    font-size: 13px;
    color: rgba(226,232,240,0.35);
    font-weight: 500;
}

/* ── Post feed grid on tag / blog pages ── */
.tag-template .post-feed,
.page-blog .post-feed {
    background: #0a0e1a;
    padding: 64px 0 80px;
}
.tag-template .post-card,
.page-blog .post-card {
    background: #0f1423 !important;
    border-color: rgba(255,255,255,0.08) !important;
    box-shadow: none !important;
}
.tag-template .post-card:hover,
.page-blog .post-card:hover {
    border-color: rgba(139,92,246,0.35) !important;
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4) !important;
}
.tag-template .post-card-title,
.page-blog .post-card-title { color: #fff !important; }
.tag-template .post-card-title a,
.page-blog .post-card-title a { color: #fff !important; }
.tag-template .post-card-title a:hover,
.page-blog .post-card-title a:hover { color: #8b5cf6 !important; }
.tag-template .post-card-excerpt,
.page-blog .post-card-excerpt { color: rgba(226,232,240,0.55) !important; }
.tag-template .post-card-date,
.page-blog .post-card-date { color: rgba(226,232,240,0.35) !important; }
.tag-template .post-card-footer,
.page-blog .post-card-footer { border-color: rgba(255,255,255,0.06) !important; }
.tag-template .read-time,
.page-blog .read-time { color: rgba(226,232,240,0.35) !important; }
.tag-template .card-arrow,
.page-blog .card-arrow {
    background: rgba(139,92,246,0.08) !important;
    color: #8b5cf6 !important;
    border-color: rgba(139,92,246,0.15) !important;
}
.tag-template .post-card:hover .card-arrow,
.page-blog .post-card:hover .card-arrow {
    background: #8b5cf6 !important;
    color: #fff !important;
}

/* ── Pagination on dark pages ── */
.tag-template .pagination a,
.page-blog .pagination a {
    background: #0f1423;
    border-color: rgba(255,255,255,0.08);
    color: rgba(226,232,240,0.55);
}
.tag-template .pagination a:hover,
.page-blog .pagination a:hover {
    border-color: #8b5cf6;
    color: #8b5cf6;
}

/* ── Single post dark theme ── */
.post-template .post-header {
    background: #0a0e1a;
    padding: 100px 28px 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.post-template .post-meta {
    color: rgba(226,232,240,0.35);
}
.post-template .post-meta time { color: rgba(226,232,240,0.35); }
.post-template .post-meta .meta-dot { color: rgba(226,232,240,0.2); }
.post-template .post-tag {
    background: rgba(139,92,246,0.1);
    color: #a78bfa;
    border: 1px solid rgba(139,92,246,0.2);
    border-radius: 100px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.post-template .post-tag:hover {
    background: rgba(139,92,246,0.18);
    color: #c4b5fd;
}
.post-template .post-title {
    color: #fff;
}
.post-template .post-excerpt {
    color: rgba(226,232,240,0.65);
}
.post-template .post-feature-image { background: #0a0e1a; }

/* Post content area */
.post-template .post-content {
    background: #0a0e1a;
    padding: 56px 28px 48px;
}
.post-template .post-content h2,
.post-template .post-content h3,
.post-template .post-content h4 {
    color: #fff;
}
.post-template .post-content p { color: rgba(226,232,240,0.75); }
.post-template .post-content strong { color: #fff; font-weight: 600; }
.post-template .post-content a { color: #a78bfa; }
.post-template .post-content a:hover { color: #c4b5fd; }
.post-template .post-content li { color: rgba(226,232,240,0.75); }
.post-template .post-content blockquote {
    border-left-color: #8b5cf6;
    background: rgba(139,92,246,0.06);
}
.post-template .post-content blockquote p { color: rgba(226,232,240,0.85); }
.post-template .post-content code {
    background: rgba(139,92,246,0.1);
    border-color: rgba(139,92,246,0.2);
    color: #c4b5fd;
}
.post-template .post-content pre {
    background: #0f1423;
    border-color: rgba(255,255,255,0.08);
}
.post-template .post-content img {
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
}

/* Post footer / tags / share CTA */
.post-template .post-footer {
    background: #0a0e1a;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.post-template .tags-label { color: rgba(226,232,240,0.35); }
.post-template .tag-link {
    background: rgba(139,92,246,0.08);
    border-color: rgba(139,92,246,0.18);
    color: #a78bfa;
}
.post-template .tag-link:hover {
    background: rgba(139,92,246,0.16);
    border-color: #8b5cf6;
    color: #c4b5fd;
}
.post-template .share-cta-inner {
    background: #0f1423;
    border-color: rgba(139,92,246,0.2);
}
.post-template .share-cta-inner h3 { color: #fff; }
.post-template .share-cta-inner p { color: rgba(226,232,240,0.55); }

/* Author card */
.post-template .post-author {
    border-top-color: rgba(255,255,255,0.06);
}
.post-template .author-label { color: rgba(226,232,240,0.35); }
.post-template .author-name { color: #fff; }
.post-template .author-bio { color: rgba(226,232,240,0.55); }
.post-template .author-avatar-placeholder {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #fff;
}

/* Site footer on dark pages */
.tag-template .site-footer,
.post-template .site-footer,
.page-blog .site-footer {
    background: #080c17;
    border-top: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 640px) {
    .tag-template .tag-header,
    .page-blog .tag-header { padding: 90px 20px 40px; }
    .post-template .post-header { padding: 90px 20px 40px; }
    .post-template .post-content { padding: 40px 20px 32px; }
}

/* ═══════════════════════════════════════════════════════════
   DARK THEME — DEFAULT PAGE TEMPLATE (privacy, terms, etc.)
   ═══════════════════════════════════════════════════════════ */

.page-template .static-page {
    background: #0a0e1a;
    min-height: 80vh;
}
.page-template .static-page-header {
    background: #0a0e1a;
    padding: 100px 28px 56px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-template .static-page-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: #fff;
    margin: 0;
}
.page-template .static-page-excerpt {
    margin-top: 16px;
    font-size: 17px;
    color: rgba(226,232,240,0.55);
}
.page-template .static-page-image {
    background: #0a0e1a;
    padding: 40px 0 0;
}
.page-template .static-page-image img {
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
}
.page-template .static-page-content {
    background: #0a0e1a;
    padding: 56px 28px 80px;
}
.page-template .static-page-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 40px 0 16px;
}
.page-template .static-page-content h2:first-child { margin-top: 0; }
.page-template .static-page-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 32px 0 12px;
}
.page-template .static-page-content p {
    color: rgba(226,232,240,0.72);
    line-height: 1.8;
    margin-bottom: 16px;
}
.page-template .static-page-content strong { color: #fff; font-weight: 600; }
.page-template .static-page-content em { color: rgba(226,232,240,0.5); }
.page-template .static-page-content a { color: #a78bfa; }
.page-template .static-page-content a:hover { color: #c4b5fd; }
.page-template .static-page-content ul,
.page-template .static-page-content ol {
    margin: 16px 0;
    padding-left: 24px;
}
.page-template .static-page-content li {
    color: rgba(226,232,240,0.72);
    margin-bottom: 8px;
    line-height: 1.7;
}
.page-template .static-page-content blockquote {
    border-left: 3px solid #8b5cf6;
    background: rgba(139,92,246,0.06);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
}
.page-template .static-page-content blockquote p { color: rgba(226,232,240,0.85); }
.page-template .site-footer {
    background: #080c17;
    border-top: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 640px) {
    .page-template .static-page-header { padding: 90px 20px 40px; }
    .page-template .static-page-content { padding: 40px 20px 60px; }
}

/* ═══════════════════════════════════════════════════════════
   STRETCHED CARD LINK
   ═══════════════════════════════════════════════════════════ */

.post-card { position: relative; }
.post-card-full-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}
/* Keep interactive elements above the overlay */
.post-card-title,
.post-card-footer .card-arrow,
.post-card-footer .read-time {
    position: relative;
    z-index: 2;
}

/* ═══════════════════════════════════════════════════════════
   POST FOOTER DARK THEME FIXES
   ═══════════════════════════════════════════════════════════ */

/* post-tags border on dark bg */
.post-template .post-tags {
    border-bottom-color: rgba(255,255,255,0.06);
}

/* share CTA needs an explicit border (base CSS has none) */
.post-template .share-cta-inner {
    border: 1px solid rgba(139,92,246,0.2);
}

/* author card on dark bg */
.post-template .post-author {
    background: #0f1423;
    border-color: rgba(255,255,255,0.08);
}

/* ═══════════════════════════════════════════════════════════
   TAG FILTER CHIPS (blog + tag pages)
   ═══════════════════════════════════════════════════════════ */

.tag-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}
.tag-filter-chip {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(139,92,246,0.04);
    color: rgba(226,232,240,0.55);
    transition: all 0.2s;
    white-space: nowrap;
}
.tag-filter-chip:hover {
    border-color: rgba(139,92,246,0.4);
    color: #a78bfa;
    background: rgba(139,92,246,0.08);
}
.tag-filter-chip.is-active {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-color: transparent;
    color: #fff;
}
