@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600&display=swap');

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
    --ink:      #020817;
    --panel:    #071425;
    --panel2:   #0d1e34;
    --card:     #071425;
    --line:     rgba(42, 245, 179, 0.12);
    --border:   rgba(42, 245, 179, 0.15);
    --muted:    #7c97b0;
    --text:     #e8f4ff;
    --accent:   #2AF5B3;
    --accent2:  #00D4FF;
    --danger:   #ff6b7a;
    --warning:  #f5a623;
    --success:  #2AF5B3;
    --radius:   14px;
    --radius-sm: 8px;
    --shadow:   0 20px 60px rgba(0,0,0,0.45);
    --shadow-sm: 0 8px 30px rgba(0,0,0,0.3);
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    background: var(--ink);
    color: var(--text);
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main { min-height: 70vh; }
p { margin: 0.75rem 0; }
h1,h2,h3,h4,h5,h6 {
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}

/* ==========================================================================
   READING PROGRESS BAR
   ========================================================================== */
#reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(5vw, 1.5rem);
    height: 64px;
    background: rgba(2, 8, 23, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(42, 245, 179, 0.08);
}
.brand {
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.brand-icon {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #010e08;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.brand-name { color: var(--text); }
.brand-badge {
    color: var(--accent);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid rgba(42, 245, 179, 0.3);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}
nav { display: flex; gap: 0.25rem; align-items: center; }
nav a {
    color: #8fadc6;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border-radius: 7px;
    transition: var(--transition);
}
nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(42, 245, 179, 0.4);
    border-radius: 8px;
    padding: 0.5rem 1.1rem;
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 0.5rem;
}
.nav-cta:hover {
    background: rgba(42, 245, 179, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}
.button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--accent);
    border-radius: 9px;
    padding: 0.65rem 1.4rem;
    color: #010e08;
    background: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.01em;
}
.button:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(42,245,179,0.25); }
.button.secondary { background: transparent; color: var(--accent); border-color: rgba(42,245,179,0.35); }
.button.secondary:hover { background: rgba(42,245,179,0.08); border-color: var(--accent); }
.button.danger { background: var(--danger); border-color: var(--danger); color: #1a0005; }
.button.ghost { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: var(--text); }
.button.ghost:hover { background: rgba(255,255,255,0.1); }
.nav-toggle {
    display: none;
    background: none;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 7px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
}

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */
.container { max-width: 1400px; margin: 0 auto; padding: 0 max(5vw, 1.5rem); }
.hero, .section { padding: 4rem max(5vw, 1.5rem); max-width: 1400px; margin: 0 auto; }
.section-sm { padding: 2.5rem max(5vw, 1.5rem); max-width: 1400px; margin: 0 auto; }
.section-full { padding: 4rem max(5vw, 1.5rem); }

.eyebrow {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.74rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.eyebrow::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

/* ==========================================================================
   GLASS & CARD PRIMITIVES
   ========================================================================== */
.glass {
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(13,30,52,0.7), rgba(7,16,28,0.85));
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.6rem;
}
.card {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(135deg, rgba(12,28,48,0.75), rgba(7,16,28,0.9));
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(42,245,179,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(42,245,179,0.2); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.card:hover::before { opacity: 1; }
.card h3 { margin: 0.4rem 0 0.6rem; font-size: 1.12rem; line-height: 1.4; }
.card h3 a { color: var(--text); transition: color 0.15s; }
.card h3 a:hover { color: var(--accent); }
.card p { color: var(--muted); font-size: 0.93rem; line-height: 1.65; flex-grow: 1; }
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.card-read-link {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s;
}
.card:hover .card-read-link { gap: 0.55rem; }
.tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border: 1px solid rgba(0,212,255,0.25);
    border-radius: 99px;
    color: var(--accent2);
    font-size: 0.74rem;
    font-weight: 600;
    margin: 0.15rem;
}

/* ==========================================================================
   HOMEPAGE — HERO
   ========================================================================== */
.hero-wrap {
    position: relative;
    overflow: hidden;
    padding: 3.5rem max(5vw, 1.5rem) 4rem;
    max-width: 1400px;
    margin: 0 auto;
}
.hero-bg-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 55% at 75% 40%, rgba(0, 212, 255, 0.08) 0%, transparent 65%),
        radial-gradient(ellipse 50% 65% at 20% 75%, rgba(42, 245, 179, 0.07) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background: rgba(42,245,179,0.08);
    border: 1px solid rgba(42,245,179,0.25);
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}
.hero h1 {
    font-size: clamp(2.4rem, 3.8vw, 4rem);
    line-height: 1.08;
    margin: 0 0 1.2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero h1 strong { color: var(--accent2); font-style: normal; }
.lead { font-size: 1.08rem; color: #8fadc6; max-width: 580px; line-height: 1.75; margin: 0; }

/* Hero Search Bar */
.hero-search-bar {
    position: relative;
    width: 100%;
    max-width: 650px;
    margin: 1.8rem 0 1rem;
    display: flex;
    align-items: center;
}
.hero-search-bar input {
    width: 100%;
    padding: 1.05rem 7.5rem 1.05rem 3rem;
    border: 1.5px solid rgba(42,245,179,0.25);
    background: rgba(6,16,33,0.92);
    border-radius: 12px;
    font-size: 0.98rem;
    color: var(--text);
    box-shadow: 0 10px 35px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
    transition: all 0.25s;
    font-family: inherit;
}
.hero-search-bar input::placeholder { color: #4d6a82; }
.hero-search-bar input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(42,245,179,0.15), 0 15px 40px rgba(0,0,0,0.5);
    background: rgba(8,20,40,0.95);
}
.hero-search-btn {
    position: absolute;
    right: 0.45rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.68rem 1.3rem;
    background: var(--accent);
    color: #010e08;
    font-weight: 800;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    transition: var(--transition);
}
.hero-search-btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 14px rgba(42,245,179,0.35);
}

.topic-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    margin: 0.4rem 0 1.6rem;
}
.topic-chips-label {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 0.2rem;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2rem; }

/* Hero Stats Card */
.hero-stats-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.1rem 1.5rem;
    background: rgba(7, 18, 35, 0.75);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    width: 100%;
    max-width: 650px;
}
.hero-stat-item {
    flex: 1;
    min-width: 0;
    text-align: center;
}
.hero-stat-item .stat-val {
    display: block;
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.hero-stat-item .stat-sub {
    font-size: 0.74rem;
    color: var(--muted);
    font-weight: 600;
    white-space: nowrap;
}
.hero-stat-sep {
    width: 1px;
    height: 2rem;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* Hero right panel — coverage card */
.hero-panel {
    background: linear-gradient(135deg, rgba(10,26,48,0.92), rgba(5,13,26,0.98));
    border: 1px solid rgba(42,245,179,0.18);
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: 0 25px 70px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
    position: relative;
}
.hero-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-panel-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}
.pulse-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(42,245,179,0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(42,245,179,0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(42,245,179,0); }
}
.hero-panel-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
    background: rgba(0,212,255,0.1);
    border: 1px solid rgba(0,212,255,0.25);
    color: var(--accent2);
    font-weight: 700;
}
.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}
.coverage-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}
.coverage-item:hover {
    border-color: rgba(42,245,179,0.3);
    background: rgba(42,245,179,0.06);
    transform: translateY(-2px);
}
.coverage-icon {
    font-size: 1.35rem;
    flex-shrink: 0;
}
.coverage-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #d8eaf5;
    line-height: 1.25;
}
.coverage-sub {
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 2px;
}
.coverage-arrow {
    margin-left: auto;
    color: #43627d;
    font-size: 0.85rem;
    transition: transform 0.2s, color 0.2s;
}
.coverage-item:hover .coverage-arrow {
    transform: translate(2px, -2px);
    color: var(--accent);
}

/* ==========================================================================
   HOMEPAGE — STATS BAR (TICKER)
   ========================================================================== */
.stats-bar {
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(6,16,32,0.75);
    backdrop-filter: blur(12px);
}
.stats-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.1rem max(5vw, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #8daec7;
    padding: 0.4rem 0.9rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 99px;
    white-space: nowrap;
}
.stat-pill strong { color: var(--text); }
.stat-pill-icon { font-size: 0.95rem; }

/* ==========================================================================
   HOMEPAGE — CATEGORY SECTION
   ========================================================================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.8rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.section-header h2 { font-size: clamp(1.6rem, 2.5vw, 2.3rem); margin: 0; }
.section-intro { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 640px; margin: 0.4rem 0 0; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.category-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.4rem;
    background: rgba(8, 20, 38, 0.65);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 125px;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    opacity: 0;
    transition: opacity 0.25s;
}
.category-card:hover {
    border-color: rgba(42,245,179,0.3);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 20px rgba(42,245,179,0.06);
    background: rgba(10, 26, 48, 0.8);
}
.category-card:hover::before { opacity: 1; }
.category-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
}
.category-card-icon-wrap {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 8px;
    background: rgba(42,245,179,0.08);
    border: 1px solid rgba(42,245,179,0.18);
    display: grid;
    place-items: center;
    font-size: 1.35rem;
}
.category-card-arrow {
    color: #41627d;
    font-size: 1.1rem;
    transition: transform 0.2s, color 0.2s;
}
.category-card:hover .category-card-arrow {
    transform: translate(3px, -3px);
    color: var(--accent);
}
.category-card-name {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 0.25rem;
    display: block;
}
.category-card-sub {
    font-size: 0.76rem;
    color: var(--muted);
    line-height: 1.4;
    display: block;
}

/* ==========================================================================
   HOMEPAGE — CARDS GRID (Featured Tutorials)
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.metric-grid, .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

/* ==========================================================================
   HOMEPAGE — TRUST SIGNALS
   ========================================================================== */
.trust-section {
    padding: 4.5rem max(5vw, 1.5rem);
    max-width: 1400px;
    margin: 0 auto;
}
.trust-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 2.8rem;
}
.trust-header h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
    margin: 0.4rem 0 0.8rem;
}
.trust-intro {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}
.trust-card {
    padding: 1.8rem;
    background: rgba(8, 20, 38, 0.6);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius);
    transition: var(--transition);
}
.trust-card:hover {
    border-color: rgba(42,245,179,0.25);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}
.trust-icon-box {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 10px;
    background: rgba(42,245,179,0.1);
    border: 1px solid rgba(42,245,179,0.25);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    margin-bottom: 1.1rem;
    color: var(--accent);
    font-weight: 900;
}
.trust-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.trust-desc {
    font-size: 0.87rem;
    color: #8daec7;
    line-height: 1.65;
}

/* ==========================================================================
   HOMEPAGE — NEWSLETTER / CTA
   ========================================================================== */
.newsletter-section {
    background: linear-gradient(135deg, rgba(8,24,46,0.95), rgba(4,12,24,0.98));
    border-top: 1px solid rgba(42,245,179,0.12);
    border-bottom: 1px solid rgba(42,245,179,0.12);
    position: relative;
    overflow: hidden;
}
.newsletter-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4.5rem max(5vw, 1.5rem);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}
.newsletter-copy h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    margin: 0.4rem 0 0.8rem;
}
.newsletter-desc {
    color: #8daec7;
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}
.newsletter-badges {
    display: flex;
    gap: 1.2rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    flex-wrap: wrap;
}
.newsletter-input-group {
    display: flex;
    align-items: center;
    background: rgba(6,16,33,0.9);
    border: 1.5px solid rgba(42,245,179,0.25);
    border-radius: 12px;
    padding: 0.35rem 0.35rem 0.35rem 1.1rem;
    box-shadow: 0 10px 35px rgba(0,0,0,0.4);
    transition: border-color 0.2s;
}
.newsletter-input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(42,245,179,0.15);
}
.newsletter-mail-icon {
    font-size: 1.1rem;
    color: #4b6f8a;
    margin-right: 0.6rem;
}
.newsletter-input-group input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0.75rem 0;
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
}
.newsletter-input-group button {
    flex-shrink: 0;
    white-space: nowrap;
}
.newsletter-privacy {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.76rem;
    color: var(--muted);
}

/* CTA Banner */
.cta-banner {
    padding: 3.5rem 2.5rem;
    border-color: rgba(42,245,179,0.22);
    background: linear-gradient(135deg, rgba(8,35,26,0.9), rgba(4,16,14,0.98));
    border-radius: 20px;
    border: 1px solid rgba(42,245,179,0.22);
    text-align: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
}
.cta-banner-content {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.cta-banner h2 {
    margin: 0.8rem 0 1rem;
    font-size: clamp(1.7rem, 2.7vw, 2.5rem);
    line-height: 1.2;
}
.cta-banner p {
    color: #a3dec1;
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0 auto 2rem;
}
.cta-banner-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   HOMEPAGE — TESTIMONIALS
   ========================================================================== */
.testimonial-card {
    padding: 2rem;
    position: relative;
}
.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #c4d8e8;
    margin-bottom: 1.2rem;
    font-style: italic;
}
.testimonial-quote::before { content: '"'; color: var(--accent); font-size: 2rem; line-height: 0; vertical-align: -0.5rem; margin-right: 0.2rem; }
.testimonial-author strong { font-size: 0.95rem; color: var(--text); }
.testimonial-author small { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 2px; }

/* ==========================================================================
   LEGACY SEARCH & TOPIC CHIPS (For Tutorial Sidebar & Directory)
   ========================================================================== */
.topic-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.8rem 0 1.8rem; }
.topic-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: 99px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(10, 22, 40, 0.6);
    font-size: 0.82rem;
    font-weight: 500;
    color: #8fadc6;
    transition: var(--transition);
    cursor: pointer;
}
.topic-chip:hover { border-color: rgba(42,245,179,0.35); color: var(--text); background: rgba(42,245,179,0.06); }
.topic-chip.active { border-color: var(--accent); background: rgba(42,245,179,0.1); color: var(--accent); font-weight: 700; }

/* ==========================================================================
   SEARCH PAGE (STRIPE / LINEAR DOCS STYLE REDESIGN)
   ========================================================================== */
.search-page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 5rem;
    position: relative;
}

/* Search Hero Section */
.search-hero-modern {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    background: rgba(42, 245, 179, 0.08);
    border: 1px solid rgba(42, 245, 179, 0.25);
    color: #2AF5B3;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
}

.search-hero-badge .status-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2AF5B3;
    box-shadow: 0 0 8px #2AF5B3;
    animation: statusPulse 2s infinite ease-in-out;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.search-hero-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: #f8fafc;
    margin: 0 0 0.85rem;
}

.search-hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 640px;
    margin: 0 0 2rem;
}

/* Search Bar Modern (max-width: 900px, 56px desktop, 48px mobile, 16px radius) */
.search-bar-modern {
    position: relative;
    width: 100%;
    max-width: 860px;
    height: 56px;
    display: flex;
    align-items: center;
    background: rgba(7, 20, 37, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0 0.5rem 0 1.25rem;
    box-shadow: 0 8px 32px -4px rgba(2, 8, 23, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-bar-modern:hover {
    border-color: rgba(42, 245, 179, 0.3);
    box-shadow: 0 12px 36px -4px rgba(2, 8, 23, 0.7), 0 0 20px rgba(42, 245, 179, 0.08);
}

.search-bar-modern:focus-within {
    border-color: #2AF5B3;
    box-shadow: 0 12px 40px -4px rgba(2, 8, 23, 0.8), 0 0 0 3px rgba(42, 245, 179, 0.2);
    background: rgba(7, 20, 37, 0.92);
}

.search-icon-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    margin-right: 0.85rem;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.search-bar-modern:focus-within .search-icon-slot {
    color: #2AF5B3;
}

.search-input-modern {
    flex: 1;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #f1f5f9;
    font-size: 1.05rem;
    font-family: inherit;
    font-weight: 450;
}

.search-input-modern::placeholder {
    color: #64748b;
    transition: opacity 0.2s ease;
}

.search-clear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.75rem;
    margin-right: 0.6rem;
    transition: all 0.15s ease;
}

.search-clear-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #f8fafc;
}

.search-submit-modern {
    height: 42px;
    padding: 0 1.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #2AF5B3 0%, #00D4FF 100%);
    border: none;
    color: #020817;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(42, 245, 179, 0.3);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.search-submit-modern:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(42, 245, 179, 0.45);
    filter: brightness(1.05);
}

.search-submit-modern:active {
    transform: translateY(0);
}

/* Quick Search Tags */
.search-quick-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.quick-tags-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: #64748b;
    margin-right: 0.25rem;
}

.quick-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    justify-content: center;
}

.quick-tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: all 0.2s ease;
}

.quick-tag-chip:hover {
    color: #2AF5B3;
    background: rgba(42, 245, 179, 0.06);
    border-color: rgba(42, 245, 179, 0.25);
    transform: translateY(-1px);
}

.quick-tag-chip.active {
    color: #020817;
    background: #2AF5B3;
    border-color: #2AF5B3;
    font-weight: 700;
}

/* 2-Column Search Layout */
.search-content-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 2.25rem;
    align-items: start;
}

.mobile-filter-bar {
    display: none;
    margin-bottom: 1.25rem;
}

/* Sidebar Filters */
.search-filters-sidebar {
    background: rgba(7, 20, 37, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    position: sticky;
    top: 5rem;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.3);
}

.filters-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.25rem;
}

.filters-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f1f5f9;
    font-size: 0.95rem;
}

.filters-reset-link {
    font-size: 0.78rem;
    color: #00D4FF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s;
}

.filters-reset-link:hover {
    color: #2AF5B3;
    text-decoration: underline;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group-title {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.filter-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.filter-item-pill {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

.filter-item-pill:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #f1f5f9;
}

.filter-checkbox-box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    color: transparent;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.filter-item-pill.is-active {
    background: rgba(42, 245, 179, 0.08);
    color: #2AF5B3;
    font-weight: 600;
}

.filter-item-pill.is-active .filter-checkbox-box {
    background: #2AF5B3;
    border-color: #2AF5B3;
    color: #020817;
}

/* Results Stream */
.search-results-stream {
    min-width: 0;
}

.search-stream-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.5rem;
}

.stream-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 0.25rem;
}

.stream-count {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.sort-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.sort-select {
    background: rgba(7, 20, 37, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.4rem 0.85rem;
    color: #f1f5f9;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.sort-select:hover, .sort-select:focus {
    border-color: #2AF5B3;
}

/* Result Cards */
.search-cards-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.search-result-card {
    background: rgba(7, 20, 37, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.4rem 1.6rem;
    backdrop-filter: blur(10px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.search-result-card:hover {
    border-color: rgba(42, 245, 179, 0.3);
    background: rgba(7, 20, 37, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(42, 245, 179, 0.04);
}

.result-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.result-meta-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.result-cat-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.22);
    color: #00D4FF;
    font-size: 0.76rem;
    font-weight: 600;
}

.result-diff-badge {
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 600;
}

.result-diff-badge.diff-beginner {
    background: rgba(42, 245, 179, 0.08);
    border: 1px solid rgba(42, 245, 179, 0.25);
    color: #2AF5B3;
}

.result-diff-badge.diff-intermediate {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #fbbf24;
}

.result-diff-badge.diff-advanced {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
}

.result-time-badge {
    font-size: 0.78rem;
    color: #94a3b8;
}

.result-date {
    font-size: 0.78rem;
    color: #64748b;
}

.result-title {
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 0.65rem;
}

.result-title a {
    color: #f8fafc;
    text-decoration: none;
    transition: color 0.15s ease;
}

.search-result-card:hover .result-title a {
    color: #2AF5B3;
}

.result-summary {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0 0 1.25rem;
}

/* Keyword Highlighting */
mark.search-highlight {
    background: rgba(42, 245, 179, 0.18);
    color: #2AF5B3;
    padding: 0.08rem 0.28rem;
    border-radius: 4px;
    font-weight: 600;
}

.result-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.result-author-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar-mini {
    font-size: 0.95rem;
}

.author-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
}

.result-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.admin-search-btn {
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    text-decoration: none;
    color: #94a3b8;
    transition: all 0.15s;
}

.admin-search-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
}

.result-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    background: rgba(42, 245, 179, 0.06);
    border: 1px solid rgba(42, 245, 179, 0.25);
    color: #2AF5B3;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.result-view-btn:hover {
    background: #2AF5B3;
    color: #020817;
    box-shadow: 0 4px 12px rgba(42, 245, 179, 0.3);
}

/* Empty State */
.search-empty-state {
    text-align: center;
    padding: 3.5rem 2rem;
    background: rgba(7, 20, 37, 0.6);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 16px;
}

.empty-icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: rgba(42, 245, 179, 0.08);
    border: 1px solid rgba(42, 245, 179, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.empty-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 0.5rem;
}

.empty-sub {
    color: #94a3b8;
    font-size: 0.95rem;
    max-width: 480px;
    margin: 0 auto 1.75rem;
    line-height: 1.6;
}

.empty-suggestions {
    margin-bottom: 2rem;
}

.suggestions-label {
    display: block;
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.suggestions-chips {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.suggestion-chip {
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.15s ease;
}

.suggestion-chip:hover {
    border-color: #2AF5B3;
    color: #2AF5B3;
}

.btn-browse-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

/* Mini Floating Audit Widget */
.mini-floating-audit {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.mini-floating-audit.hide-on-scroll {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
}

.btn-floating-audit-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.15rem;
    border-radius: 9999px;
    background: #071425;
    border: 1px solid rgba(42, 245, 179, 0.4);
    color: #f8fafc;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(42, 245, 179, 0.15);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-floating-audit-toggle:hover {
    transform: translateY(-2px);
    border-color: #2AF5B3;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(42, 245, 179, 0.3);
    color: #2AF5B3;
}

.toggle-pulse {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2AF5B3;
    box-shadow: 0 0 6px #2AF5B3;
}

.audit-popover-card {
    position: absolute;
    bottom: calc(100% + 14px);
    right: 0;
    width: 330px;
    background: #071425;
    border: 1px solid rgba(42, 245, 179, 0.3);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 20px 45px -5px rgba(0, 0, 0, 0.7), 0 0 25px rgba(42, 245, 179, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.96);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.audit-popover-card.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.popover-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.popover-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.popover-title strong {
    display: block;
    font-size: 0.92rem;
    color: #f8fafc;
}

.popover-sub {
    display: block;
    font-size: 0.74rem;
    color: #2AF5B3;
    font-weight: 500;
}

.popover-close {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.2rem;
    line-height: 1;
    transition: color 0.15s;
}

.popover-close:hover {
    color: #f1f5f9;
}

.popover-desc {
    font-size: 0.82rem;
    line-height: 1.55;
    color: #94a3b8;
    margin: 0 0 1rem;
}

.popover-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-popover-primary {
    flex: 1;
    padding: 0.45rem 0.8rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #2AF5B3 0%, #00D4FF 100%);
    color: #020817;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.15s;
}

.btn-popover-primary:hover {
    opacity: 0.92;
}

.btn-popover-secondary {
    padding: 0.45rem 0.8rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}

.btn-popover-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Search Responsive Styles */
@media (max-width: 900px) {
    .search-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mobile-filter-bar {
        display: block;
    }

    .btn-toggle-filters {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 1.25rem;
        background: rgba(7, 20, 37, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 12px;
        color: #f1f5f9;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }

    .btn-toggle-filters:hover {
        border-color: rgba(42, 245, 179, 0.3);
    }

    .search-filters-sidebar {
        display: none;
        position: static;
        margin-bottom: 1.5rem;
    }

    .search-filters-sidebar.is-open {
        display: block;
        animation: fadeIn 0.2s ease;
    }

    .btn-toggle-filters.is-active .chevron-rot {
        transform: rotate(180deg);
        color: #2AF5B3;
    }
}

@media (max-width: 640px) {
    .search-bar-modern {
        height: 48px;
        border-radius: 12px;
        padding: 0 0.35rem 0 0.85rem;
    }

    .search-input-modern {
        font-size: 0.95rem;
    }

    .search-submit-modern {
        height: 38px;
        padding: 0 0.85rem;
        font-size: 0.84rem;
    }

    .search-submit-modern span {
        display: none;
    }

    .search-hero-title {
        font-size: 1.75rem;
    }

    .search-hero-subtitle {
        font-size: 0.92rem;
    }

    .search-result-card {
        padding: 1.15rem 1.25rem;
    }

    .mini-floating-audit {
        bottom: 1.25rem;
        right: 1.25rem;
    }

    .audit-popover-card {
        width: 290px;
        right: -10px;
    }
}

/* ==========================================================================
   ARTICLE / TUTORIAL PAGE — MODERN DOCUMENTATION SYSTEM
   Inspired by Stripe Docs, Cloudflare Docs, Vercel Docs & GitBook
   Focus: Readability, Whitespace, Typography, Zero Card Clutter
   ========================================================================== */

/* Reading Progress Line (Fixed Top) */
.reading-progress-track {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
    pointer-events: none;
}
.reading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2AF5B3, #00D4FF);
    box-shadow: 0 0 10px rgba(42,245,179,0.7);
    transition: width 0.08s ease-out;
}

/* 70/30 Documentation Container & Grid Layout */
.doc-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.25rem max(3.5vw, 1.25rem) 5rem;
}
.doc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 3.5rem;
    align-items: start;
}
@media (max-width: 1024px) {
    .doc-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
.doc-article {
    max-width: 900px;
    width: 100%;
    min-width: 0;
}

/* Admin Quick Control Bar */
.admin-doc-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem 1.1rem;
    background: rgba(14,28,48,0.7);
    border: 1px solid rgba(42,245,179,0.25);
    border-radius: 8px;
    margin-bottom: 2rem;
}
.admin-doc-badge {
    font-size: 0.75rem;
    font-weight: 750;
    color: #2AF5B3;
    background: rgba(42,245,179,0.12);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
}
.admin-doc-info { font-size: 0.85rem; color: #94a3b8; }
.admin-doc-actions { display: flex; gap: 0.45rem; align-items: center; }

/* Breadcrumbs (Professional Docs Style) */
.doc-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.86rem;
    color: #64748b;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.doc-breadcrumbs a {
    color: #8faec8;
    text-decoration: none;
    transition: color 0.15s ease;
}
.doc-breadcrumbs a:hover { color: #2AF5B3; }
.doc-bc-sep { color: #334155; font-size: 0.75rem; }

/* Metadata Row */
.doc-meta-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 1.35rem;
}
.doc-meta-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.7rem;
    border-radius: 99px;
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.doc-meta-pill.cat {
    background: rgba(42,245,179,0.08);
    color: #2AF5B3;
    border: 1px solid rgba(42,245,179,0.25);
}
.doc-meta-pill.diff {
    background: rgba(245,158,11,0.08);
    color: #fbbf24;
    border: 1px solid rgba(245,158,11,0.25);
}
.doc-meta-pill.os {
    background: rgba(0,212,255,0.08);
    color: #38bdf8;
    border: 1px solid rgba(0,212,255,0.25);
}
.doc-meta-stat {
    font-size: 0.85rem;
    color: #71879d;
    font-weight: 500;
}

/* Article Typography (H1 48px, H2 32px, H3 24px, Body 18px / 1.8 line-height) */
.doc-title {
    font-size: clamp(2.3rem, 4vw, 3rem); /* 48px on standard desktop */
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #f8fafc;
    margin: 0 0 1.25rem;
}
.doc-lead {
    font-size: 1.18rem;
    line-height: 1.78;
    color: #94a3b8;
    margin: 0 0 2rem;
    font-weight: 400;
}

/* Author & Top Social Share Bar */
.doc-author-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 2.75rem;
}
.doc-author-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.doc-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2AF5B3, #00D4FF);
    color: #020817;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(42,245,179,0.25);
    text-decoration: none;
}
.doc-author-avatar-img,
.doc-author-share-bar img.doc-author-avatar-img,
.doc-author-info img.doc-author-avatar-img {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid var(--accent) !important;
    box-shadow: 0 0 10px rgba(42,245,179,0.3) !important;
    flex-shrink: 0 !important;
    display: block !important;
    margin: 0 !important;
    cursor: pointer !important;
    background: #020817 !important;
}
.doc-author-details { display: flex; flex-direction: column; }
.doc-author-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 750;
    color: #f8fafc;
}
.doc-author-verified {
    font-size: 0.7rem;
    padding: 0.12rem 0.45rem;
    border-radius: 4px;
    background: rgba(42,245,179,0.12);
    color: #2AF5B3;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.doc-author-role {
    font-size: 0.79rem;
    color: #64748b;
    margin-top: 2px;
}

/* 44px Equal-Height Social Sharing Buttons (High Contrast & Clear Readability) */
.doc-share-group {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    align-items: center;
}
.doc-share-btn {
    min-height: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0 1.05rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    box-sizing: border-box;
    white-space: nowrap;
}
.doc-share-btn svg { flex-shrink: 0; }
.doc-share-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
/* WhatsApp */
.doc-share-btn.share-wa {
    background: rgba(37,211,102,0.12);
    color: #25D366;
    border: 1px solid rgba(37,211,102,0.35);
}
.doc-share-btn.share-wa:hover {
    background: #25D366;
    color: #020817;
    border-color: #25D366;
}
/* Telegram */
.doc-share-btn.share-tg {
    background: rgba(0,136,204,0.12);
    color: #38bdf8;
    border: 1px solid rgba(0,136,204,0.35);
}
.doc-share-btn.share-tg:hover {
    background: #0088cc;
    color: #ffffff;
    border-color: #0088cc;
}
/* X / Twitter */
.doc-share-btn.share-x {
    background: rgba(255,255,255,0.06);
    color: #f1f5f9;
    border: 1px solid rgba(255,255,255,0.16);
}
.doc-share-btn.share-x:hover {
    background: rgba(255,255,255,0.16);
    color: #ffffff;
    border-color: rgba(255,255,255,0.3);
}
/* LinkedIn */
.doc-share-btn.share-in {
    background: rgba(10,102,194,0.12);
    color: #60a5fa;
    border: 1px solid rgba(10,102,194,0.35);
}
.doc-share-btn.share-in:hover {
    background: #0a66c2;
    color: #ffffff;
    border-color: #0a66c2;
}
/* Copy Link */
.doc-share-btn.share-copy {
    background: rgba(42,245,179,0.1);
    color: #2AF5B3;
    border: 1px solid rgba(42,245,179,0.3);
}
.doc-share-btn.share-copy:hover {
    background: #2AF5B3;
    color: #020817;
    border-color: #2AF5B3;
}

/* Quick Solution / TL;DR (Clean Callout, Zero Heavy Box Borders) */
.doc-quick-fix {
    margin: 2.25rem 0;
}
.doc-quick-fix-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.doc-quick-fix-icon {
    font-size: 1.15rem;
    color: var(--accent);
}
.doc-quick-fix-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #d1fae5;
}
.doc-quick-fix-body ul {
    padding-left: 1.4rem;
    margin: 0.5rem 0 0;
}
.doc-quick-fix-body li {
    margin-bottom: 0.5rem;
}

/* Video Walkthrough (Clean 16:9 Embed) */
.doc-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    margin: 2.5rem 0;
    border: 1px solid rgba(255,255,255,0.08);
}
.doc-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Documentation Content Body & Headings */
.doc-content {
    font-size: 1.125rem; /* 18px body font */
    line-height: 1.8;
    color: #cbd5e1;
}
.doc-content p {
    margin: 1.35rem 0;
}
.doc-content h2,
.doc-article h2 {
    font-size: 2rem; /* 32px H2 */
    font-weight: 750;
    line-height: 1.25;
    color: #f8fafc;
    letter-spacing: -0.02em;
    margin-top: 3.25rem;
    margin-bottom: 1.15rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.doc-content h3,
.doc-article h3 {
    font-size: 1.5rem; /* 24px H3 */
    font-weight: 700;
    line-height: 1.35;
    color: #e2e8f0;
    margin-top: 2.25rem;
    margin-bottom: 0.85rem;
}
.doc-content h4,
.doc-article h4 {
    font-size: 1.2rem;
    font-weight: 650;
    color: #cbd5e1;
    margin-top: 1.75rem;
    margin-bottom: 0.65rem;
}
.doc-content ul,
.doc-content ol {
    padding-left: 1.6rem;
    margin: 1.25rem 0;
}
.doc-content li {
    margin-bottom: 0.6rem;
    color: #cbd5e1;
    line-height: 1.75;
}
.doc-content li strong { color: #f8fafc; }
.doc-content a {
    color: #38bdf8;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s;
}
.doc-content a:hover { color: #2AF5B3; }

/* STEP DESIGN — DE-BOXED: Subtle left accent line, small pill, flowing text */
.doc-content .step-card,
.doc-content .step-section,
.step-card {
    position: relative !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-left: 2px solid rgba(42,245,179,0.25) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0.5rem 0 2.5rem 1.75rem !important;
    margin: 0 0 0.5rem 0 !important;
    transition: border-color 0.2s ease;
}
.doc-content .step-card:hover,
.step-card:hover {
    border-left-color: var(--accent) !important;
    transform: none !important;
    box-shadow: none !important;
}
.doc-content .step-card:last-child,
.step-card:last-child {
    border-left-color: rgba(42,245,179,0.15) !important;
    padding-bottom: 1.5rem !important;
}
/* Step Number Pill */
.doc-content .step-badge,
.step-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    padding: 0.2rem 0.65rem !important;
    background: rgba(42,245,179,0.1) !important;
    border: 1px solid rgba(42,245,179,0.3) !important;
    color: #2AF5B3 !important;
    border-radius: 99px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-family: 'JetBrains Mono', monospace !important;
    margin-bottom: 0.75rem !important;
}
.doc-content .step-card h3,
.step-card h3,
.step-title {
    font-size: 1.5rem !important; /* 24px */
    font-weight: 700 !important;
    color: #f8fafc !important;
    margin: 0.25rem 0 0.85rem !important;
    line-height: 1.35 !important;
}

/* CALLOUT SYSTEM (4 Standard Types Only: INFO, TIP, WARNING, SUCCESS)
   Rules: Left border only, light tint background, no heavy cards */
.callout {
    position: relative;
    padding: 1.15rem 1.4rem;
    border-radius: 0 8px 8px 0;
    margin: 2rem 0;
    font-size: 1rem;
    line-height: 1.75;
    border: none !important;
    border-left: 3px solid !important;
    box-shadow: none !important;
}
.callout strong {
    display: inline-block;
    margin-right: 0.35rem;
    font-weight: 750;
}
/* 1. INFO: Blue border */
.callout-info {
    background: rgba(0,212,255,0.06) !important;
    border-left-color: #00D4FF !important;
    color: #e0f2fe !important;
}
.callout-info strong { color: #38bdf8 !important; }

/* 2. TIP: Green border */
.callout-tip {
    background: rgba(42,245,179,0.06) !important;
    border-left-color: #2AF5B3 !important;
    color: #d1fae5 !important;
}
.callout-tip strong { color: #2AF5B3 !important; }

/* 3. WARNING: Yellow border */
.callout-warning {
    background: rgba(245,158,11,0.07) !important;
    border-left-color: #f59e0b !important;
    color: #fef3c7 !important;
}
.callout-warning strong { color: #fbbf24 !important; }

/* 4. SUCCESS: Emerald border */
.callout-success {
    background: rgba(16,185,129,0.07) !important;
    border-left-color: #10b981 !important;
    color: #ecfdf5 !important;
}
.callout-success strong { color: #34d399 !important; }

/* CODE BLOCKS (Elevated Only for Code, Terminal Styling, Copy Button) */
.doc-content code,
code {
    background: #030c1c !important;
    color: #2AF5B3 !important;
    padding: 0.18rem 0.45rem !important;
    border-radius: 4px !important;
    border: 1px solid rgba(42,245,179,0.2) !important;
    font-size: 0.88em !important;
    font-family: 'JetBrains Mono', monospace !important;
}
.terminal-card {
    background: #020813 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 8px !important;
    margin: 2rem 0 !important;
    overflow: hidden !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5) !important;
}
.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: #061224;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.terminal-dots { display: flex; gap: 0.45rem; }
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }
.terminal-title {
    font-size: 0.75rem;
    color: #64748b;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    letter-spacing: 0.08em;
}
.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #94a3b8;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 650;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}
.copy-btn:hover {
    background: #2AF5B3;
    color: #020817;
    border-color: #2AF5B3;
}
.terminal-content {
    padding: 1.35rem 1.4rem;
    margin: 0 !important;
    overflow-x: auto;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    color: #a7f3d0 !important;
    background: #020813 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.terminal-content code {
    background: transparent !important;
    color: inherit !important;
    border: none !important;
    padding: 0 !important;
    font-size: inherit !important;
    box-shadow: none !important;
}

/* SCREENSHOTS (Full-width, rounded 8px, light border, click to zoom - Only within article content) */
.doc-content > img,
.doc-content p > img,
.doc-content figure img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    margin: 2.25rem 0;
    cursor: zoom-in;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

/* End-of-Article Author Profile Box */
.doc-author-box {
    margin: 3.5rem 0 2.5rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, rgba(7, 20, 37, 0.7), rgba(2, 8, 23, 0.85));
    border: 1px solid rgba(42, 245, 179, 0.18);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.doc-author-box-inner {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}
.doc-author-box-photo-wrap {
    display: block;
    line-height: 0;
    flex-shrink: 0;
}
.doc-author-box-img,
.doc-author-box img.doc-author-box-img {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    min-height: 76px !important;
    max-width: 76px !important;
    max-height: 76px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2.5px solid var(--accent) !important;
    box-shadow: 0 0 16px rgba(42, 245, 179, 0.35) !important;
    flex-shrink: 0 !important;
    display: block !important;
    margin: 0 !important;
    cursor: pointer !important;
    background: #020817 !important;
}
.doc-author-box-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2AF5B3, #00D4FF);
    color: #020817;
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 18px rgba(42,245,179,0.3);
    text-decoration: none;
}
.doc-author-box-content {
    flex: 1;
    min-width: 0;
}
.doc-author-box-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.doc-author-box-name {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.15rem;
    font-weight: 750;
    color: #f8fafc;
}
.doc-author-box-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}
.doc-author-box-name a:hover {
    color: var(--accent);
}
.doc-author-box-role {
    display: block;
    font-size: 0.84rem;
    color: #64748b;
    margin-top: 0.25rem;
}
.doc-author-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 650;
    color: var(--accent);
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    background: rgba(42, 245, 179, 0.08);
    border: 1px solid rgba(42, 245, 179, 0.2);
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}
.doc-author-profile-btn:hover {
    background: var(--accent);
    color: #020817;
    border-color: var(--accent);
}
.doc-author-box-bio {
    font-size: 0.95rem;
    line-height: 1.68;
    color: #94a3b8;
    margin: 0;
}

/* Sidebar Author Card */
.doc-author-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}
.doc-author-avatar-sm-img,
.doc-sidebar img.doc-author-avatar-sm-img {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid var(--accent) !important;
    box-shadow: 0 0 10px rgba(42,245,179,0.3) !important;
    flex-shrink: 0 !important;
    display: block !important;
    margin: 0 !important;
    background: #020817 !important;
}
.doc-author-avatar-sm {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2AF5B3, #00D4FF);
    color: #020817;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.doc-author-meta strong {
    font-size: 0.95rem;
    display: block;
    color: #f8fafc;
}
.doc-author-meta small {
    font-size: 0.78rem;
    color: #64748b;
    display: block;
    margin-top: 2px;
}
.doc-author-bio {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}
.doc-author-link {
    font-size: 0.82rem;
    font-weight: 650;
    color: var(--accent);
    text-decoration: none;
}
.doc-author-link:hover {
    text-decoration: underline;
}
.doc-content img:hover {
    border-color: rgba(42,245,179,0.35);
}
.doc-content figure {
    margin: 2.25rem 0;
    padding: 0;
}
.doc-content figcaption {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
    margin-top: 0.6rem;
}

/* FAQ ACCORDION SECTION (Single-Open, Zero Heavy Cards) */
.doc-faq-section {
    margin: 3.5rem 0 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.doc-faq-section h2 {
    font-size: 1.85rem;
    margin-bottom: 1.5rem;
    border-bottom: none;
    padding-bottom: 0;
}
.faq-accordion-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.faq-accordion {
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: background 0.2s ease;
}
.faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0.5rem;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f1f5f9;
    list-style: none;
    user-select: none;
    transition: color 0.15s ease;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary:hover { color: #2AF5B3; }
.faq-chevron {
    color: #64748b;
    transition: transform 0.25s ease, color 0.15s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}
.faq-summary:hover .faq-chevron { color: #2AF5B3; }
.faq-accordion[open] .faq-chevron {
    transform: rotate(180deg);
    color: #2AF5B3;
}
.faq-content {
    padding: 0 0.5rem 1.4rem;
    font-size: 1.02rem;
    line-height: 1.8;
    color: #94a3b8;
}
.faq-content p { margin: 0; }

/* INLINE ASSISTANCE CTA (Clean, Minimalist Section) */
.doc-inline-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.75rem 2rem;
    background: rgba(10,24,44,0.6);
    border: 1px solid rgba(42,245,179,0.2);
    border-radius: 12px;
    margin: 3.5rem 0;
}
.doc-inline-cta-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2AF5B3;
    margin-bottom: 0.35rem;
}
.doc-inline-cta h4 {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
    color: #f8fafc;
    font-weight: 750;
}
.doc-inline-cta p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}
.doc-inline-cta-btn {
    flex-shrink: 0;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .doc-inline-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
}

/* Bottom Share Bar */
.doc-bottom-share {
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin: 3rem 0;
}
.doc-bottom-share span {
    font-size: 0.92rem;
    color: #94a3b8;
    font-weight: 500;
}

/* MODERN DISCUSSION & COMMENTS (Threaded, Avatars, No Giant Cards) */
.doc-discussion-section {
    margin: 3.5rem 0 2rem;
    padding-top: 1rem;
}
.doc-discussion-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
.doc-discussion-header h2 {
    margin: 0 0 0.35rem;
    font-size: 1.75rem;
    border: none;
    padding: 0;
}
.doc-ai-comment-form {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    margin: 0;
}
.doc-comment-count-input {
    width: 52px;
    padding: 0.25rem;
    font-size: 0.85rem;
    border-radius: 6px;
    background: rgba(7,20,37,0.8);
    border: 1px solid rgba(42,245,179,0.3);
    color: #f1f5f9;
    text-align: center;
}
.doc-comments-feed {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 3rem;
}
.doc-comment-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.doc-comment-item:last-child {
    border-bottom: none;
}
.doc-comment-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(42,245,179,0.12);
    border: 1px solid rgba(42,245,179,0.3);
    color: #2AF5B3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 750;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.doc-comment-main { flex: 1; min-width: 0; }
.doc-comment-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}
.doc-comment-author { font-size: 0.95rem; color: #f8fafc; font-weight: 700; }
.doc-comment-badge {
    font-size: 0.7rem;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    background: rgba(42,245,179,0.1);
    color: #2AF5B3;
    font-weight: 600;
}
.doc-comment-date { font-size: 0.8rem; color: #64748b; }
.doc-comment-text {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 0.6rem;
}
.doc-comment-actions { display: flex; gap: 0.75rem; }
.doc-reply-btn {
    font-size: 0.8rem;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s;
}
.doc-reply-btn:hover { color: #2AF5B3; }
.doc-comments-empty {
    padding: 2.25rem;
    text-align: center;
    color: #64748b;
    font-style: italic;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    margin-bottom: 2.5rem;
}
.doc-comment-form-wrap {
    padding-top: 1.5rem;
}
.doc-comment-form-wrap h3 {
    font-size: 1.25rem;
    margin: 0 0 1.25rem;
    color: #f8fafc;
}

/* STICKY DOCUMENTATION SIDEBAR (320px) */
.doc-sidebar {
    width: 320px;
    position: sticky;
    top: 5.5rem;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
.doc-sidebar-widget {
    background: transparent;
    padding: 0;
    border: none;
}
.doc-sidebar-header {
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.doc-sidebar-title {
    font-size: 0.78rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

/* Reading Progress Widget in Sidebar */
.doc-progress-widget {
    padding: 0.85rem 1rem;
    background: rgba(10,22,40,0.5);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
}
.doc-progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}
.doc-progress-label strong { color: #2AF5B3; font-family: 'JetBrains Mono', monospace; }
.doc-progress-bar-bg {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 99px;
    overflow: hidden;
}
.doc-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2AF5B3, #00D4FF);
    transition: width 0.1s linear;
}

/* Table of Contents (TOC) Nav */
.doc-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-height: calc(100vh - 22rem);
    overflow-y: auto;
    padding-right: 0.5rem;
}
.doc-toc-link {
    display: block;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #8faec8;
    text-decoration: none;
    padding: 0.35rem 0 0.35rem 0.85rem;
    border-left: 2px solid rgba(255,255,255,0.08);
    transition: all 0.15s ease;
}
.doc-toc-link:hover {
    color: #2AF5B3;
    border-left-color: rgba(42,245,179,0.5);
}
.doc-toc-link.active {
    color: #2AF5B3;
    font-weight: 650;
    border-left-color: #2AF5B3;
}
.doc-toc-link.is-h3 {
    padding-left: 1.5rem;
    font-size: 0.82rem;
    color: #64748b;
}

/* Author Widget */
.doc-author-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}
.doc-author-avatar-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2AF5B3, #00D4FF);
    color: #020817;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
}
.doc-author-avatar-sm-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    box-shadow: 0 0 10px rgba(42,245,179,0.25);
    flex-shrink: 0;
    display: block;
    background: #020817;
}
.doc-author-meta strong { display: block; font-size: 0.9rem; color: #f8fafc; }
.doc-author-meta small { color: #64748b; font-size: 0.78rem; }
.doc-author-bio { font-size: 0.82rem; line-height: 1.55; color: #94a3b8; margin: 0; }
.doc-author-link {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    margin-top: 0.4rem;
    transition: color 0.15s ease;
}
.doc-author-link:hover {
    color: var(--accent2);
    text-decoration: underline;
}

/* End of Article Author Box */
.doc-author-box {
    margin: 3.5rem 0 2rem;
    padding: 1.75rem 2rem;
    background: rgba(10,24,44,0.6);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}
.doc-author-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent2));
}
.doc-author-box-inner {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.doc-author-box-photo-wrap {
    flex-shrink: 0;
    position: relative;
    display: block;
    text-decoration: none;
}
.doc-author-box-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    box-shadow: 0 0 16px rgba(42,245,179,0.25);
    display: block;
    background: #020817;
}
.doc-author-box-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #020817;
    font-weight: 900;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    box-shadow: 0 0 16px rgba(42,245,179,0.25);
}
.doc-author-box-content {
    flex: 1;
    min-width: 0;
}
.doc-author-box-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}
.doc-author-box-name {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.doc-author-box-name a {
    color: #f8fafc;
    text-decoration: none;
}
.doc-author-box-name a:hover {
    color: var(--accent);
}
.doc-author-box-role {
    font-size: 0.84rem;
    color: var(--accent);
    display: block;
    margin-top: 0.15rem;
}
.doc-author-box-bio {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #94a3b8;
    margin: 0;
}
.doc-author-profile-btn {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    padding: 0.35rem 0.85rem;
    background: rgba(42,245,179,0.08);
    border: 1px solid rgba(42,245,179,0.25);
    border-radius: 99px;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.doc-author-profile-btn:hover {
    background: var(--accent);
    color: #020817;
}

@media (max-width: 600px) {
    .doc-author-box-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .doc-author-box-header {
        flex-direction: column;
        align-items: center;
    }
    .doc-author-box-name {
        justify-content: center;
    }
}

/* Related Guides */
.doc-related-list { display: flex; flex-direction: column; gap: 0.65rem; }
.doc-related-item {
    display: block;
    padding: 0.65rem 0.8rem;
    background: rgba(10,22,40,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.18s ease;
}
.doc-related-item:hover {
    border-color: rgba(42,245,179,0.3);
    background: rgba(42,245,179,0.05);
    transform: translateY(-1px);
}
.doc-related-title { display: block; font-size: 0.86rem; color: #e2e8f0; font-weight: 600; line-height: 1.4; }
.doc-related-time { display: block; font-size: 0.75rem; color: #64748b; margin-top: 0.25rem; }

/* Sidebar Assistance CTA */
.doc-sidebar-cta {
    padding: 1.15rem 1.25rem;
    background: linear-gradient(135deg, rgba(14,32,56,0.6), rgba(6,14,26,0.8));
    border: 1px solid rgba(42,245,179,0.2);
    border-radius: 10px;
}
.doc-sidebar-cta strong { display: block; font-size: 0.92rem; color: #f8fafc; margin-bottom: 0.4rem; }
.doc-sidebar-cta p { font-size: 0.82rem; color: #94a3b8; line-height: 1.5; margin: 0 0 0.85rem; }

/* SCREENSHOT LIGHTBOX ZOOM MODAL */
.img-zoom-modal {
    position: fixed;
    inset: 0;
    background: rgba(2,8,23,0.94);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.img-zoom-modal.is-active {
    opacity: 1;
    pointer-events: auto;
}
.img-zoom-img {
    max-width: 92vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.85);
    border: 1px solid rgba(255,255,255,0.15);
    cursor: zoom-out;
}
.img-zoom-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}
.img-zoom-close:hover {
    background: #2AF5B3;
    color: #020817;
    border-color: #2AF5B3;
}

/* ==========================================================================
   FOUNDER PAGE
   ========================================================================== */
.founder-hero {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    align-items: center;
    padding: 4rem max(5vw, 1.5rem);
    max-width: 1400px;
    margin: 0 auto;
}
.founder-avatar-wrap { display: flex; justify-content: center; align-items: center; }
.founder-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 900;
    color: #010e08;
    box-shadow: 0 0 0 4px rgba(42,245,179,0.15), 0 20px 60px rgba(0,0,0,0.6);
    letter-spacing: -0.02em;
}
.founder-photo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.founder-photo-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    box-shadow: 0 0 0 8px rgba(42,245,179,0.12), 0 20px 50px rgba(0,0,0,0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #020817;
    display: block;
}
.founder-photo-img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 0 10px rgba(42,245,179,0.22), 0 25px 60px rgba(0,0,0,0.7);
}
.founder-photo-badge {
    margin-top: -16px;
    z-index: 2;
    background: #071425;
    border: 1px solid rgba(42,245,179,0.35);
    border-radius: 99px;
    padding: 0.35rem 0.95rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}
.founder-photo-badge .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    display: inline-block;
}
.founder-name { font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 900; letter-spacing: -0.03em; margin: 0.5rem 0 0.75rem; }
.founder-headline { font-size: 1.1rem; color: #8fadc6; line-height: 1.7; margin-bottom: 1.4rem; }
.founder-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.founder-social-bar {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    align-items: center;
}
.founder-social-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    background: rgba(10,24,44,0.6);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
}
.founder-social-chip:hover {
    color: var(--text);
    border-color: rgba(42,245,179,0.3);
    background: rgba(42,245,179,0.08);
    transform: translateY(-2px);
}

.founder-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    padding: 2.5rem max(5vw, 1.5rem);
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.founder-metric {
    text-align: center;
    padding: 1.5rem;
    background: rgba(10,22,42,0.5);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
}
.founder-metric strong {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.founder-metric span { font-size: 0.83rem; color: var(--muted); font-weight: 500; margin-top: 0.3rem; display: block; }

.founder-bio-section { padding: 3rem max(5vw, 1.5rem); max-width: 1400px; margin: 0 auto; }
.founder-bio-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; margin-top: 1.5rem; }

.skills-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.skill-tag {
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(0,212,255,0.25);
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent2);
    background: rgba(0,212,255,0.06);
    transition: var(--transition);
}
.skill-tag:hover { border-color: var(--accent2); background: rgba(0,212,255,0.1); }

.founder-story-section { padding: 3rem max(5vw, 1.5rem); max-width: 1400px; margin: 0 auto; }

.founder-certs-section { padding: 3rem max(5vw, 1.5rem); max-width: 1400px; margin: 0 auto; }
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}
.cert-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    background: rgba(10,24,44,0.6);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}
.cert-card:hover {
    border-color: rgba(42,245,179,0.25);
    background: rgba(10,24,44,0.85);
    transform: translateY(-2px);
}
.cert-badge-icon { font-size: 1.6rem; flex-shrink: 0; }
.cert-name { font-size: 0.95rem; font-weight: 700; color: var(--text); }

.founder-timeline-section { padding: 3rem max(5vw, 1.5rem); max-width: 1400px; margin: 0 auto; }
.timeline-track {
    border-left: 2px solid rgba(42,245,179,0.3);
    padding-left: 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
.timeline-item { position: relative; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.92rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.admin-photo-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.5rem;
    align-items: center;
}

@media (max-width: 900px) {
    .founder-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    .founder-avatar-wrap {
        order: -1;
    }
    .founder-links {
        justify-content: center;
    }
    .founder-social-bar {
        justify-content: center;
    }
    .founder-bio-grid {
        grid-template-columns: 1fr;
    }
    .founder-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-photo-card {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 540px) {
    .founder-metrics {
        grid-template-columns: 1fr;
    }
    .founder-photo-img {
        width: 170px;
        height: 170px;
    }
    .certs-grid {
        grid-template-columns: 1fr;
    }
}

.founder-projects-section { padding: 3rem max(5vw, 1.5rem); max-width: 1400px; margin: 0 auto; }
.project-card {
    padding: 1.8rem;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(10,24,44,0.75), rgba(5,13,26,0.9));
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.project-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    opacity: 0;
    transition: opacity 0.3s;
}
.project-card:hover { transform: translateY(-4px); border-color: rgba(42,245,179,0.2); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.project-card:hover::before { opacity: 1; }
.project-card-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.project-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; }
.project-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

.founder-cta-section { padding: 3rem max(5vw, 1.5rem); max-width: 1400px; margin: 0 auto; }

/* ==========================================================================
   FORMS & UI ELEMENTS
   ========================================================================== */
.muted { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.flash { margin: 0.75rem max(5vw, 1.5rem); padding: 1rem 1.4rem; border-radius: var(--radius-sm); border: 1px solid; }
.flash.error { background: rgba(255,60,80,0.1); border-color: rgba(255,60,80,0.3); color: #fcc; }
.flash.success { background: rgba(42,245,179,0.08); border-color: rgba(42,245,179,0.25); color: #afe; }
form { padding: 1.5rem; border: 1px solid rgba(255,255,255,0.06); background: rgba(10,22,40,0.6); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
label { display: block; font-size: 0.85rem; font-weight: 600; margin: 0.85rem 0 0.3rem; color: #9ab6cb; }
input, textarea, select {
    width: 100%;
    padding: 0.75rem 0.95rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(3,10,22,0.85);
    color: var(--text);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: rgba(42,245,179,0.4); box-shadow: 0 0 0 3px rgba(42,245,179,0.08); }
textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-actions { display: flex; gap: 0.8rem; margin-top: 1.3rem; }

/* ==========================================================================
   TOAST ALERT
   ========================================================================== */
.toast-alert {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    background: rgba(4,18,12,0.96);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.85rem 1.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 12px 40px rgba(0,0,0,0.7);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.toast-alert.show { transform: translateY(0); opacity: 1; }

/* Legacy footer rules removed in favor of modern 5-column SaaS footer */

/* ==========================================================================
   ADMIN PANEL
   ========================================================================== */
.admin { display: grid; grid-template-columns: 240px 1fr; background: var(--ink); }
.admin aside {
    position: sticky; top: 0; height: 100vh;
    padding: 1.4rem;
    background: rgba(4,11,22,0.98);
    border-right: 1px solid rgba(255,255,255,0.06);
    overflow-y: auto;
}
.admin aside a { display: block; padding: 0.55rem 0.6rem; color: #7090a8; border-radius: 6px; font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.admin aside a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.admin aside .brand { margin-bottom: 1.6rem; color: var(--text); }
.admin-main { padding: 2rem; overflow: auto; }
.admin-main > header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 1.5rem; padding-bottom: 1rem; }
.admin-main h1 { margin: 0 0 1rem; font-size: 1.6rem; }
.table-wrap { overflow: auto; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.06); background: rgba(8,20,38,0.5); }
.table-wrap table { width: 100%; border-collapse: collapse; }
.table-wrap th, .table-wrap td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); vertical-align: top; }
.table-wrap th { color: var(--accent); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 700; background: rgba(42,245,179,0.04); }
.table-wrap tr:hover td { background: rgba(255,255,255,0.02); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.actions { display: flex; gap: 0.5rem; align-items: center; }
.actions form { padding: 0; background: none; border: 0; box-shadow: none; }
.mini { padding: 0.32rem 0.65rem; font-size: 0.78rem; }
.login { max-width: 420px; margin: 8vh auto; }
.empty {
    padding: 3rem;
    text-align: center;
    color: var(--muted);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: var(--radius);
    font-size: 0.95rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1100px) {
    .hero { grid-template-columns: 1fr; gap: 3rem; }
    .hero-content { align-items: stretch; }
    .hero-search-bar, .hero-stats-card { max-width: 100%; }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .founder-hero { grid-template-columns: 1fr; }
    .founder-avatar-wrap { justify-content: flex-start; }
    .founder-metrics { grid-template-columns: repeat(2, 1fr); }
    .newsletter-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-brand p { max-width: 100%; }
}

@media (max-width: 768px) {
    .hero-wrap { padding-top: 2rem; padding-bottom: 2.5rem; }
    .hero, .section, .trust-section, .founder-hero, .founder-bio-section, .founder-projects-section, .founder-cta-section { padding-left: 1.2rem; padding-right: 1.2rem; }
    .section-full { padding-left: 1.2rem; padding-right: 1.2rem; }
    .newsletter-inner { padding-left: 1.2rem; padding-right: 1.2rem; }
    .section-sm { padding-left: 1.2rem; padding-right: 1.2rem; }
    .hero h1 { font-size: 2.2rem; }
    .lead { font-size: 1rem; }
    .cards { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: 1fr; }
    .article-grid, .split { grid-template-columns: 1fr; }
    .metric-grid, .stats { grid-template-columns: 1fr 1fr; }
    .founder-bio-grid { grid-template-columns: 1fr; }
    .founder-metrics { grid-template-columns: repeat(2, 1fr); padding-left: 1.2rem; padding-right: 1.2rem; }
    .tutorial-title { font-size: 1.9rem; }
    .sidebar { position: static; }
    .stats-bar-inner { gap: 0.8rem; justify-content: center; }
    .stat-pill { font-size: 0.78rem; padding: 0.35rem 0.75rem; }
    .stat-divider { display: none; }
    .site-header nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0; right: 0;
        background: rgba(2,8,23,0.98);
        padding: 1rem 1.2rem;
        flex-direction: column;
        align-items: stretch;
        border-bottom: 1px solid rgba(42,245,179,0.1);
        backdrop-filter: blur(20px);
    }
    .site-header nav.open { display: flex; }
    .nav-toggle { display: block; }
    .share-bar { gap: 0.4rem; }
    .share-btn { padding: 0.48rem 0.8rem; font-size: 0.8rem; }
    footer { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
    .hero h1 { font-size: 2rem; }
    .hero-search-bar { margin: 1.2rem 0 0.8rem; }
    .hero-search-bar input { padding: 0.9rem 1rem 0.9rem 2.8rem; font-size: 0.9rem; }
    .hero-search-btn { display: none; }
    .hero-stats-card {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
        padding: 1rem;
    }
    .hero-stat-sep { display: none; }
    .coverage-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }
    .category-card { min-height: auto; }
    .newsletter-input-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
        padding: 0.8rem;
    }
    .newsletter-mail-icon { display: none; }
    .newsletter-input-group button { width: 100%; }
    .admin { display: block; }
    .admin aside { position: static; height: auto; display: flex; gap: 0.25rem; overflow: auto; white-space: nowrap; }
    .admin aside .brand { display: none; }
    .admin-main { padding: 1rem; }
    .form-row { grid-template-columns: 1fr; }
    .cta-banner { padding: 2.2rem 1.2rem; }
    .cta-banner-actions { flex-direction: column; align-items: stretch; }
    .cta-banner-actions .button { justify-content: center; }
}

/* ==========================================================================
   ADMIN QUICK CONTROLS & AI RECREATE
   ========================================================================== */
.admin-quick-bar {
    background: #071425;
    border: 1px solid rgba(0, 212, 255, 0.35);
    border-radius: 12px;
    padding: 0.65rem 1.1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 212, 255, 0.08);
}
.admin-quick-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.admin-quick-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
}
.admin-quick-badge {
    background: rgba(42, 245, 179, 0.15);
    color: #2AF5B3;
    border: 1px solid rgba(42, 245, 179, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.admin-quick-title {
    color: #94a3b8;
}
.admin-quick-title em {
    color: #38bdf8;
    font-style: normal;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}
.admin-quick-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.btn-admin-recreate, .btn-ai-recreate {
    background: linear-gradient(135deg, #00D4FF, #2AF5B3) !important;
    color: #020817 !important;
    font-weight: 750 !important;
    border: none !important;
    box-shadow: 0 0 10px rgba(42, 245, 179, 0.3) !important;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}
.btn-admin-recreate:hover, .btn-ai-recreate:hover {
    box-shadow: 0 0 18px rgba(42, 245, 179, 0.55) !important;
    transform: translateY(-1px);
}
.admin-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.8rem;
    cursor: pointer;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s;
    padding: 0;
}
.admin-card-btn:hover {
    background: rgba(42, 245, 179, 0.2);
    border-color: #2AF5B3;
    transform: scale(1.08);
}
.admin-card-btn.danger:hover {
    background: rgba(255, 60, 80, 0.25);
    border-color: #ff3c50;
    color: #ff7584;
}

/* ==========================================================================
   hSECURITIES HOWTO — HOMEPAGE PREMIUM REDESIGN (STRIPE / LINEAR / VERCEL)
   ========================================================================== */

/* ── HERO REDESIGN ── */
.hero-v2-wrap {
    position: relative;
    padding: 3.5rem max(5vw, 1.5rem) 2.5rem;
    max-width: 1440px;
    margin: 0 auto;
    overflow: hidden;
}
.hero-v2-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(42, 245, 179, 0.08);
    border: 1px solid rgba(42, 245, 179, 0.3);
    color: #2AF5B3;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 0 16px rgba(42, 245, 179, 0.12);
    margin-bottom: 1.25rem;
}
.hero-badge .badge-icon {
    font-size: 0.95rem;
}
.hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -0.035em;
    margin: 0 0 1.25rem;
    color: #F8FAFC;
}
.hero-gradient-text {
    background: linear-gradient(135deg, #2AF5B3 0%, #00D4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.hero-subheadline {
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    color: #94A3B8;
    line-height: 1.65;
    margin: 0 0 1.75rem;
    max-width: 620px;
}
.hero-checklist {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.hero-check-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    color: #E2E8F0;
}
.hero-check-item .check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(42, 245, 179, 0.18);
    color: #2AF5B3;
    font-size: 0.75rem;
    font-weight: 800;
}

/* Stripe Docs Search Bar */
.stripe-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #030C1C;
    border: 1px solid rgba(42, 245, 179, 0.35);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(42, 245, 179, 0.12);
    padding: 0.4rem 0.5rem 0.4rem 1.25rem;
    margin-bottom: 1.25rem;
    transition: all 0.25s ease;
}
.stripe-search-box:focus-within {
    border-color: #2AF5B3;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(42, 245, 179, 0.28);
    background: #041024;
}
.stripe-search-icon {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    opacity: 0.85;
}
.stripe-search-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 0.5rem 0.75rem 0;
    color: #F8FAFC;
    font-size: 1.02rem;
    outline: none;
    box-shadow: none;
}
.stripe-search-box input::placeholder {
    color: #64748B;
    font-size: 0.95rem;
}
.stripe-search-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.search-kbd-hint {
    display: inline-block;
    padding: 0.25rem 0.55rem;
    font-size: 0.72rem;
    font-family: monospace;
    font-weight: 600;
    color: #64748B;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    white-space: nowrap;
}
.stripe-search-submit {
    background: linear-gradient(135deg, #2AF5B3 0%, #00D4FF 100%);
    color: #020817;
    font-weight: 750;
    font-size: 0.92rem;
    padding: 0.65rem 1.4rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.stripe-search-submit:hover {
    box-shadow: 0 0 20px rgba(42, 245, 179, 0.5);
    transform: translateY(-1px);
}

/* Trending Searches */
.trending-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.55rem;
    margin-bottom: 2rem;
}
.trending-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: 0.25rem;
}
.trending-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #CBD5E1;
    font-size: 0.82rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.trending-chip:hover {
    background: rgba(42, 245, 179, 0.12);
    border-color: rgba(42, 245, 179, 0.4);
    color: #2AF5B3;
    transform: translateY(-1px);
}

/* Hero Action Buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2.25rem;
}
.btn-hero-primary {
    background: linear-gradient(135deg, #2AF5B3 0%, #00D4FF 100%) !important;
    color: #020817 !important;
    font-weight: 800 !important;
    font-size: 0.98rem !important;
    padding: 0.85rem 1.8rem !important;
    border-radius: 10px !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(42, 245, 179, 0.3) !important;
}
.btn-hero-primary:hover {
    box-shadow: 0 8px 30px rgba(42, 245, 179, 0.5) !important;
    transform: translateY(-2px);
}
.btn-hero-secondary {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(0, 212, 255, 0.35) !important;
    color: #E2E8F0 !important;
    font-weight: 700 !important;
    font-size: 0.98rem !important;
    padding: 0.85rem 1.8rem !important;
    border-radius: 10px !important;
}
.btn-hero-secondary:hover {
    background: rgba(0, 212, 255, 0.12) !important;
    border-color: #00D4FF !important;
    color: #00D4FF !important;
    transform: translateY(-2px);
}

/* Hero Metrics Strip */
.hero-metrics-strip {
    display: flex;
    align-items: center;
    background: rgba(7, 20, 37, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.9rem 1.5rem;
    gap: 1.5rem;
    max-width: 580px;
}
.hero-metric-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.metric-val {
    font-size: 1.35rem;
    font-weight: 850;
    color: #2AF5B3;
    line-height: 1;
}
.metric-lbl {
    font-size: 0.76rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.hero-metric-sep {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
}

/* Interactive Dashboard Card (Linear / Vercel style) */
.hero-dashboard-card {
    background: #071425;
    border: 1px solid rgba(42, 245, 179, 0.25);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 212, 255, 0.12);
    overflow: hidden;
    position: relative;
}
.dashboard-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(3, 12, 28, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.85rem 1.25rem;
}
.dashboard-dots {
    display: flex;
    gap: 6px;
}
.dashboard-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.dashboard-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-family: monospace;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #94A3B8;
}
.dashboard-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2AF5B3;
    box-shadow: 0 0 8px #2AF5B3;
    animation: pulseGlow 1.8s infinite;
}
.dashboard-status-badge {
    background: rgba(42, 245, 179, 0.15);
    color: #2AF5B3;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
}
.dashboard-matrix-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
}
.matrix-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #071425;
    padding: 0.95rem 1.25rem;
    text-decoration: none;
    transition: all 0.2s ease;
}
.matrix-item:hover {
    background: #0d2238;
    padding-left: 1.45rem;
}
.matrix-item-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.matrix-icon {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: transform 0.2s;
}
.matrix-item:hover .matrix-icon {
    transform: scale(1.12);
    border-color: #2AF5B3;
}
.matrix-name {
    font-size: 0.95rem;
    font-weight: 750;
    color: #F8FAFC;
    margin-bottom: 0.15rem;
}
.matrix-desc {
    font-size: 0.78rem;
    color: #64748B;
}
.matrix-tag {
    font-size: 0.72rem;
    font-weight: 750;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    white-space: nowrap;
}
.tag-verified { background: rgba(42, 245, 179, 0.12); color: #2AF5B3; border: 1px solid rgba(42, 245, 179, 0.3); }
.tag-cli { background: rgba(167, 139, 250, 0.12); color: #C084FC; border: 1px solid rgba(167, 139, 250, 0.3); }
.tag-win { background: rgba(0, 212, 255, 0.12); color: #38BDF8; border: 1px solid rgba(0, 212, 255, 0.3); }
.tag-sec { background: rgba(244, 63, 94, 0.12); color: #FB7185; border: 1px solid rgba(244, 63, 94, 0.3); }
.tag-net { background: rgba(56, 189, 248, 0.12); color: #38BDF8; border: 1px solid rgba(56, 189, 248, 0.3); }
.tag-mob { background: rgba(251, 146, 60, 0.12); color: #FB923C; border: 1px solid rgba(251, 146, 60, 0.3); }

.dashboard-footer-bar {
    background: #030c1c;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-family: monospace;
    color: #64748B;
}

/* ── SECTION 2 — TRUST BAR ── */
.trust-bar-section {
    background: #030C1C;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.1rem max(5vw, 1.5rem);
}
.trust-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}
.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #E2E8F0;
    letter-spacing: 0.01em;
}
.trust-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(42, 245, 179, 0.16);
    color: #2AF5B3;
    font-size: 0.8rem;
    font-weight: 850;
    border: 1px solid rgba(42, 245, 179, 0.35);
}

/* ── SECTION 3 — POPULAR CATEGORIES (2 ROWS X 4 CARDS) ── */
.category-grid-8 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.category-card-v2 {
    background: #071425;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.category-card-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, #2AF5B3, #00D4FF);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.category-card-v2:hover {
    transform: translateY(-4px);
    border-color: rgba(42, 245, 179, 0.35);
    background: #0a1c32;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(42, 245, 179, 0.12);
}
.category-card-v2:hover::before {
    opacity: 1;
}
.category-card-v2-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}
.cat-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: transform 0.25s ease;
}
.category-card-v2:hover .cat-icon-badge {
    transform: scale(1.15) rotate(4deg);
    border-color: #2AF5B3;
    background: rgba(42, 245, 179, 0.1);
}
.cat-count-badge {
    font-size: 0.72rem;
    font-weight: 750;
    color: #2AF5B3;
    background: rgba(42, 245, 179, 0.1);
    border: 1px solid rgba(42, 245, 179, 0.25);
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
}
.category-card-v2-body h3 {
    font-size: 1.05rem;
    font-weight: 750;
    color: #F8FAFC;
    margin: 0 0 0.4rem;
}
.category-card-v2-body p {
    font-size: 0.84rem;
    color: #94A3B8;
    line-height: 1.5;
    margin: 0;
}
.category-card-v2-arrow {
    align-self: flex-end;
    font-size: 1rem;
    color: #64748B;
    margin-top: 0.75rem;
    transition: all 0.2s ease;
}
.category-card-v2:hover .category-card-v2-arrow {
    color: #2AF5B3;
    transform: translate(3px, -3px);
}

/* ── SECTION 4 — FEATURED GUIDES (PREMIUM BLOG STYLE) ── */
.featured-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.featured-card-v2 {
    background: #071425;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.featured-card-v2:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(0, 212, 255, 0.1);
    background: #0a1c32;
}
.featured-ribbon-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}
.featured-card-v2 h3 {
    font-size: 1.15rem;
    font-weight: 750;
    line-height: 1.35;
    margin: 0 0 0.65rem;
}
.featured-card-v2 h3 a {
    color: #F8FAFC;
    text-decoration: none;
    transition: color 0.2s;
}
.featured-card-v2:hover h3 a {
    color: #2AF5B3;
}
.featured-card-v2 p {
    font-size: 0.88rem;
    color: #94A3B8;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}
.featured-card-v2-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.featured-time-date {
    font-size: 0.78rem;
    color: #64748B;
}
.featured-read-btn {
    font-size: 0.85rem;
    font-weight: 750;
    color: #2AF5B3;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: transform 0.2s;
}
.featured-card-v2:hover .featured-read-btn {
    transform: translateX(4px);
    color: #00D4FF;
}

/* ── SECTION 5 — WHY HSECURITIES (4 CARDS) ── */
.why-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.why-card-v2 {
    background: #071425;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.6rem 1.4rem;
    transition: all 0.25s ease;
    position: relative;
}
.why-card-v2:hover {
    transform: translateY(-4px);
    border-color: rgba(42, 245, 179, 0.35);
    background: #091a2e;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.why-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(42, 245, 179, 0.1);
    border: 1px solid rgba(42, 245, 179, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
}
.why-card-v2 h3 {
    font-size: 1.08rem;
    font-weight: 750;
    color: #F8FAFC;
    margin: 0 0 0.5rem;
}
.why-card-v2 p {
    font-size: 0.86rem;
    color: #94A3B8;
    line-height: 1.6;
    margin: 0;
}

/* ── SECTION 6 — STRUCTURED LEARNING PATHS (5 CARDS) ── */
.paths-section {
    padding-top: clamp(1.75rem, 3.2vw, 2.5rem);
    padding-bottom: clamp(1.75rem, 3.2vw, 2.5rem);
}
.paths-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: clamp(1.25rem, 2.2vw, 1.75rem);
    flex-wrap: wrap;
}
.paths-header-content {
    max-width: 680px;
}
.paths-header-content .eyebrow-badge {
    margin-bottom: 0.45rem;
}
.paths-title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 800;
    color: var(--text);
    margin: 0 0 0.45rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}
.paths-desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--muted);
}
.paths-cta-btn {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    margin-bottom: 0.15rem;
    transition: var(--transition);
}
.paths-cta-btn .btn-arrow {
    transition: transform 0.2s ease;
}
.paths-cta-btn:hover .btn-arrow {
    transform: translateX(3px);
}

.paths-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.15rem;
}
.path-card-v2 {
    background: #071425;
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: var(--radius);
    padding: 1.35rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.path-card-v2::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #00D4FF, #2AF5B3);
    opacity: 0.7;
}
.path-card-v2:hover {
    transform: translateY(-4px);
    border-color: #00D4FF;
    background: #091a2e;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 25px rgba(0, 212, 255, 0.15);
}
.path-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.22rem 0.55rem;
    border-radius: 6px;
    background: rgba(0, 212, 255, 0.12);
    color: #00D4FF;
    border: 1px solid rgba(0, 212, 255, 0.3);
    margin-bottom: 0.75rem;
}
.path-card-v2 h3 {
    font-size: 1.02rem;
    font-weight: 750;
    color: #F8FAFC;
    margin: 0 0 0.45rem;
    line-height: 1.3;
}
.path-card-v2 p {
    font-size: 0.82rem;
    color: #94A3B8;
    line-height: 1.55;
    margin: 0 0 1rem;
    flex: 1;
}
.path-meta-strip {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    color: #64748B;
}
.path-meta-strip strong {
    color: #CBD5E1;
}

/* ── SECTION 7 — NEWSLETTER ── */
.newsletter-section {
    padding-top: clamp(1.5rem, 2.5vw, 2.25rem);
}
.newsletter-card-v2 {
    background: linear-gradient(135deg, rgba(7, 20, 37, 0.95), rgba(3, 10, 22, 0.95));
    border: 1px solid rgba(42, 245, 179, 0.25);
    border-radius: 20px;
    padding: 3rem max(5vw, 2rem);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(42, 245, 179, 0.1);
}
.newsletter-card-v2 h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 800;
    color: #F8FAFC;
    margin: 0.4rem 0 0.8rem;
}
.newsletter-card-v2 p {
    color: #94A3B8;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}
.newsletter-benefits-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #2AF5B3;
}
.newsletter-form-v2 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
}

/* ── SECTION 8 — PROFESSIONAL SERVICES CTA ── */
.services-cta-v2 {
    background: linear-gradient(135deg, rgba(10, 24, 44, 0.9), rgba(5, 13, 26, 0.95));
    border: 1px solid rgba(0, 212, 255, 0.35);
    border-radius: 20px;
    padding: 3rem max(5vw, 2rem);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 212, 255, 0.12);
}
.services-cta-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%; height: 2px;
    background: linear-gradient(90deg, transparent, #00D4FF, #2AF5B3, transparent);
}
.services-cta-v2 h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    font-weight: 800;
    color: #F8FAFC;
    margin: 0.4rem 0 0.8rem;
}
.services-cta-v2 p {
    max-width: 720px;
    margin: 0 auto 1.75rem;
    font-size: 1.05rem;
    color: #94A3B8;
    line-height: 1.65;
}
.services-trust-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: #CBD5E1;
}
.services-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ── SECTION 9 — FREQUENTLY ASKED QUESTIONS ── */
.faq-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.faq-card-v2 {
    background: #071425;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.5rem;
    transition: border-color 0.2s ease;
}
.faq-card-v2:hover {
    border-color: rgba(42, 245, 179, 0.3);
}
.faq-q {
    font-size: 1.02rem;
    font-weight: 750;
    color: #F8FAFC;
    margin: 0 0 0.6rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.faq-q-icon {
    color: #2AF5B3;
    font-weight: 800;
}
.faq-a {
    font-size: 0.88rem;
    color: #94A3B8;
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   DEDICATED NEWSLETTER STRIP (ABOVE FOOTER)
   ========================================================================== */
.footer-newsletter-strip {
    background: #020713;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(42, 245, 179, 0.12);
    padding: 2.5rem 0;
    position: relative;
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
    width: 100%;
}
.newsletter-strip-inner {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    gap: 3rem;
}
.newsletter-strip-left {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.newsletter-strip-headline {
    font-size: 1.35rem;
    font-weight: 800;
    color: #F8FAFC;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.3;
}
.newsletter-strip-sub {
    font-size: 0.88rem;
    color: #94A3B8;
    margin: 0;
    line-height: 1.5;
}
.newsletter-strip-right {
    display: flex;
    flex-direction: column;
}
.newsletter-strip-form {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.newsletter-form-row {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}
.newsletter-strip-input {
    flex: 1;
    background: #071425;
    border: 1px solid #1E293B;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    color: #F8FAFC;
    font-size: 0.88rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}
.newsletter-strip-input:focus {
    border-color: #2AF5B3;
    box-shadow: 0 0 0 3px rgba(42, 245, 179, 0.15);
}
.newsletter-strip-btn {
    background: linear-gradient(135deg, #2AF5B3 0%, #00D4FF 100%);
    color: #020817;
    font-weight: 750;
    font-size: 0.88rem;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 0 12px rgba(42, 245, 179, 0.25);
}
.newsletter-strip-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(42, 245, 179, 0.45);
}
.newsletter-strip-note {
    font-size: 0.75rem;
    color: #64748B;
    display: block;
    margin-top: 0.15rem;
}

/* ==========================================================================
   PREMIUM 5-COLUMN SAAS FOOTER (COMPACT & BALANCED)
   ========================================================================== */
.site-footer {
    background: #020712;
    color: #94A3B8;
    padding-top: 2.75rem;
    border-top: none;
    font-size: 0.88rem;
}
.footer-5col-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}
.footer-col {
    display: flex;
    flex-direction: column;
}
.footer-col-brand {
    padding-right: 0.75rem;
}
.footer-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    text-decoration: none;
}
.footer-brand-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #8BA3C7;
    margin: 0 0 1.25rem 0;
    max-width: 310px;
}
.footer-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 0.75rem;
    margin-bottom: 1.25rem;
}
.trust-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #CBD5E1;
}
.trust-badge-item span {
    color: #2AF5B3;
    font-weight: 800;
}
.footer-built-by {
    font-size: 0.8rem;
    color: #64748B;
}
.footer-built-by a {
    color: #00D4FF;
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.25rem;
    transition: color 0.15s;
}
.footer-built-by a:hover {
    color: #2AF5B3;
    text-decoration: underline;
}

/* Accordion details & column styling */
.footer-accordion {
    display: block;
}
.footer-col-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #F1F5F9;
    margin: 0 0 1rem 0;
    list-style: none;
    user-select: none;
}
.footer-col-title::-webkit-details-marker {
    display: none;
}
.accordion-chevron {
    display: none; /* hidden on desktop */
    color: #64748B;
    transition: transform 0.2s ease;
}
.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.footer-links-list a {
    color: #8BA3C7;
    text-decoration: none;
    font-size: 0.85rem;
    line-height: 1.35;
    transition: color 0.15s, transform 0.15s;
    display: inline-block;
}
.footer-links-list a:hover {
    color: #2AF5B3;
    transform: translateX(3px);
}
.footer-link-highlight {
    color: #2AF5B3 !important;
    font-weight: 600 !important;
    margin-top: 0.25rem;
}
.footer-cta-wrap {
    margin-top: 0.75rem;
}
.btn-footer-audit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(42, 245, 179, 0.08);
    border: 1px solid rgba(42, 245, 179, 0.3);
    color: #2AF5B3 !important;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-footer-audit:hover {
    background: #2AF5B3;
    color: #020817 !important;
    border-color: #2AF5B3;
    box-shadow: 0 0 14px rgba(42, 245, 179, 0.4);
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   COMPACT BOTTOM BAR
   ========================================================================== */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #01040A;
    padding: 1.1rem 0;
    font-size: 0.8rem;
    color: #64748B;
}
.bottom-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.bottom-bar-left {
    color: #64748B;
}
.bottom-bar-left strong {
    color: #94A3B8;
}
.bottom-bar-center, .bottom-bar-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.bottom-bar-center a, .bottom-bar-right a {
    color: #7085A4;
    text-decoration: none;
    transition: color 0.15s;
}
.bottom-bar-center a:hover, .bottom-bar-right a:hover {
    color: #2AF5B3;
}
.bar-separator {
    color: #2AF5B3;
    opacity: 0.4;
    font-weight: 700;
}

/* ==========================================================================
   RESPONSIVE ADAPTATIONS (MOBILE ACCORDION & ZERO OVERFLOW)
   ========================================================================== */
@media (max-width: 1200px) {
    .category-grid-8 { grid-template-columns: repeat(2, 1fr); }
    .paths-grid-5 { grid-template-columns: repeat(3, 1fr); }
    .why-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-5col-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
}

@media (max-width: 992px) {
    .hero-v2-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .featured-grid-v2 { grid-template-columns: repeat(2, 1fr); }
    .newsletter-card-v2 { grid-template-columns: 1fr; }
    .faq-grid-2col { grid-template-columns: 1fr; }
    .paths-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .newsletter-strip-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
    .hero-v2-wrap { padding-top: 2rem; }
    .hero-title { font-size: 2.2rem; }
    .stripe-search-box { padding: 0.3rem 0.4rem 0.3rem 0.8rem; }
    .search-kbd-hint { display: none; }
    .category-grid-8 { grid-template-columns: 1fr; }
    .featured-grid-v2 { grid-template-columns: 1fr; }
    .why-grid-4 { grid-template-columns: 1fr; }
    .paths-grid-5 { grid-template-columns: 1fr; }
    .paths-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
        margin-bottom: 1.25rem;
    }
    .paths-cta-btn {
        align-self: flex-start;
        width: 100%;
        justify-content: center;
    }
    .trust-bar-inner { justify-content: center; }
    .hero-metrics-strip { max-width: 100%; justify-content: space-between; }

    /* Footer Mobile Accordion */
    .footer-newsletter-strip { padding: 2rem 0; }
    .newsletter-form-row { flex-direction: column; align-items: stretch; }
    .newsletter-strip-btn { width: 100%; text-align: center; }
    .footer-5col-grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 1.5rem; }
    .footer-col-brand { padding-right: 0; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
    
    .footer-accordion {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding: 0.85rem 0;
    }
    .footer-accordion:not([open]) .footer-links-list {
        display: none;
    }
    .footer-col-title {
        margin-bottom: 0;
        cursor: pointer;
    }
    .accordion-chevron {
        display: block;
    }
    .footer-accordion[open] .accordion-chevron {
        transform: rotate(180deg);
        color: #2AF5B3;
    }
    .footer-accordion[open] .footer-links-list {
        display: flex;
        padding-top: 0.8rem;
    }
    .btn-footer-audit {
        width: 100%;
        box-sizing: border-box;
    }
    .bottom-bar-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
    }
    .bottom-bar-center, .bottom-bar-right {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.85rem; }
    .hero-metrics-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; padding: 0.8rem 1rem; }
    .hero-metric-sep { display: none; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .button { width: 100%; justify-content: center; }
    .bottom-bar-center { gap: 0.4rem; font-size: 0.76rem; }
    .bottom-bar-right { gap: 0.4rem; font-size: 0.76rem; }
}

/* ==========================================================================
   TUTORIAL COMMENTS & DISCUSSION
   ========================================================================== */
.comments-section {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 3.5rem;
}
.comment-card {
    transition: transform 0.18s ease, border-color 0.18s ease;
}
.comment-card:hover {
    border-color: rgba(42, 245, 179, 0.3) !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   ADMIN AI GENERATORS SUITE
   ========================================================================== */
.ai-generators-suite .topic-chip {
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
}
.ai-generators-suite .topic-chip:hover {
    background: rgba(42, 245, 179, 0.15);
    border-color: #2AF5B3;
    color: #2AF5B3;
}

/* ==========================================================================
   PREMIUM TUTORIALS DIRECTORY & READING EXPERIENCE (DE-BOXED & HIGH-TECH)
   ========================================================================== */

/* ── 1. TUTORIALS DIRECTORY HERO & SEARCH ── */
.tutorials-hub {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem max(5vw, 1.5rem) 6rem;
}
.tutorials-hero {
    position: relative;
    padding: 3.5rem 3rem;
    border-radius: 24px;
    background: radial-gradient(120% 120% at 50% 0%, rgba(0, 212, 255, 0.08) 0%, rgba(42, 245, 179, 0.03) 40%, rgba(3, 7, 18, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-bottom: 3.5rem;
    overflow: hidden;
}
.tutorials-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 100%;
    background: radial-gradient(circle, rgba(42, 245, 179, 0.07) 0%, transparent 60%);
    pointer-events: none;
}
.tutorials-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.95rem;
    border-radius: 99px;
    background: rgba(42, 245, 179, 0.08);
    border: 1px solid rgba(42, 245, 179, 0.25);
    color: #2AF5B3;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 1.25rem;
}
.tutorials-hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2AF5B3;
    box-shadow: 0 0 10px #2AF5B3;
    animation: livePulse 2s infinite ease-in-out;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}
.tutorials-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #f8fafc;
    margin: 0 0 1rem;
}
.tutorials-hero-gradient {
    background: linear-gradient(135deg, #2AF5B3 0%, #00D4FF 60%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.tutorials-hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 0 2.5rem;
}

/* Search & Filter Toolbar */
.tutorials-search-wrap {
    position: relative;
    max-width: 820px;
    margin-bottom: 2rem;
}
.tutorials-search-input-box {
    position: relative;
    display: flex;
    align-items: center;
}
.tutorials-search-icon {
    position: absolute;
    left: 1.4rem;
    color: #64748b;
    pointer-events: none;
    transition: color 0.2s ease;
}
.tutorials-search-input {
    width: 100%;
    padding: 1.15rem 3.5rem 1.15rem 3.4rem;
    background: rgba(11, 22, 38, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    color: #f8fafc;
    font-size: 1.05rem;
    font-family: inherit;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.25s ease;
    backdrop-filter: blur(12px);
}
.tutorials-search-input:focus {
    outline: none;
    border-color: #2AF5B3;
    background: rgba(14, 28, 48, 0.95);
    box-shadow: 0 10px 40px rgba(42, 245, 179, 0.15), 0 0 0 3px rgba(42, 245, 179, 0.15);
}
.tutorials-search-clear {
    position: absolute;
    right: 1.25rem;
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    padding: 0.2rem 0.5rem;
}
.tutorials-search-clear:hover { color: #f8fafc; }

/* Filter Chips Bar */
.tutorials-filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
}
.tutorials-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
.tutorials-filter-chip:hover {
    background: rgba(42, 245, 179, 0.08);
    border-color: rgba(42, 245, 179, 0.3);
    color: #f8fafc;
    transform: translateY(-1px);
}
.tutorials-filter-chip.is-active {
    background: linear-gradient(135deg, rgba(42, 245, 179, 0.2), rgba(0, 212, 255, 0.15));
    border-color: #2AF5B3;
    color: #2AF5B3;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(42, 245, 179, 0.2);
}
.tutorials-chip-count {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    color: inherit;
    font-family: 'JetBrains Mono', monospace;
}
.tutorials-filter-chip.is-active .tutorials-chip-count {
    background: rgba(42, 245, 179, 0.25);
    color: #2AF5B3;
}

/* Active Results Indicator */
.tutorials-results-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 1rem;
}
.tutorials-count-badge {
    font-size: 0.92rem;
    color: #94a3b8;
    font-weight: 500;
}
.tutorials-count-badge strong {
    color: #2AF5B3;
    font-family: 'JetBrains Mono', monospace;
}

/* ── 2. FEATURED SPOTLIGHT GUIDE BANNER ── */
.tutorial-spotlight-card {
    position: relative;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(14, 30, 54, 0.75), rgba(7, 16, 28, 0.95));
    border: 1px solid rgba(42, 245, 179, 0.25);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
    padding: 2.25rem 2.5rem;
    margin-bottom: 3.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
    align-items: center;
    transition: all 0.3s ease;
    overflow: hidden;
}
.tutorial-spotlight-card:hover {
    border-color: #2AF5B3;
    box-shadow: 0 20px 60px rgba(42, 245, 179, 0.15);
}
.tutorial-spotlight-content {
    min-width: 0;
}
.tutorial-spotlight-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2AF5B3;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 0.85rem;
}
.tutorial-spotlight-title {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 750;
    line-height: 1.25;
    color: #f8fafc;
    margin: 0 0 1rem;
}
.tutorial-spotlight-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.tutorial-spotlight-title a:hover {
    color: #2AF5B3;
}
.tutorial-spotlight-excerpt {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #94a3b8;
    margin: 0 0 1.5rem;
}
.tutorial-spotlight-tags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.tutorial-spotlight-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.95rem 1.85rem;
    font-size: 0.95rem;
}
@media (max-width: 900px) {
    .tutorial-spotlight-card {
        grid-template-columns: 1fr;
        padding: 1.75rem;
        gap: 1.5rem;
    }
}

/* ── 3. DE-BOXED FLUID TUTORIAL GRID & CARDS ── */
.tutorials-stream {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.75rem;
}
@media (max-width: 768px) {
    .tutorials-stream {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}
.tutorial-card-v3 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.85rem;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(13, 27, 48, 0.7), rgba(6, 14, 26, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.tutorial-card-v3::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(42, 245, 179, 0.3), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.tutorial-card-v3:hover {
    transform: translateY(-4px);
    border-color: rgba(42, 245, 179, 0.3);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 20px rgba(42, 245, 179, 0.1);
}
.tutorial-card-v3:hover::after {
    opacity: 1;
}
.tutorial-card-v3-header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-bottom: 1.1rem;
}
.tutorial-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border-radius: 99px;
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.tutorial-pill.cat-pill {
    background: rgba(42, 245, 179, 0.08);
    color: #2AF5B3;
    border: 1px solid rgba(42, 245, 179, 0.25);
}
.tutorial-pill.os-pill {
    background: rgba(0, 212, 255, 0.08);
    color: #38bdf8;
    border: 1px solid rgba(0, 212, 255, 0.2);
}
.tutorial-pill.diff-pill {
    background: rgba(245, 158, 11, 0.08);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}
.tutorial-pill.video-pill {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
}
.tutorial-card-v3-title {
    font-size: 1.28rem;
    font-weight: 750;
    line-height: 1.35;
    margin: 0 0 0.85rem;
    color: #f8fafc;
}
.tutorial-card-v3-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}
.tutorial-card-v3-title a:hover {
    color: #2AF5B3;
}
.tutorial-card-v3-summary {
    font-size: 0.94rem;
    line-height: 1.65;
    color: #94a3b8;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}
.tutorial-card-v3-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    gap: 0.75rem;
}
.tutorial-card-v3-time {
    font-size: 0.82rem;
    color: #64748b;
    font-family: 'JetBrains Mono', monospace;
}
.tutorial-card-v3-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: #2AF5B3;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.15s ease;
}
.tutorial-card-v3-cta:hover {
    gap: 0.65rem;
    color: #00D4FF;
}

/* ── 4. SINGLE TUTORIAL READING CANVAS (DE-BOXED TIMELINE) ── */
.doc-header-action-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1.15rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2.5rem;
}
.doc-author-badge {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.doc-action-pills {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.doc-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s ease;
}
.doc-action-pill:hover {
    background: rgba(42, 245, 179, 0.12);
    border-color: rgba(42, 245, 179, 0.35);
    color: #2AF5B3;
    transform: translateY(-1px);
}

/* Fast-Track Diagnostic Card */
.doc-fasttrack-card {
    position: relative;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(8, 26, 44, 0.8), rgba(4, 15, 28, 0.95));
    border: 1px solid rgba(42, 245, 179, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(42, 245, 179, 0.08);
    padding: 1.75rem 2rem;
    margin: 2.5rem 0;
}
.doc-fasttrack-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
}
.doc-fasttrack-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.65rem;
    border-radius: 99px;
    background: rgba(42, 245, 179, 0.15);
    border: 1px solid rgba(42, 245, 179, 0.4);
    color: #2AF5B3;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.doc-fasttrack-title {
    font-size: 1.2rem;
    font-weight: 750;
    color: #f8fafc;
    margin: 0;
}
.doc-fasttrack-body {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #e2e8f0;
}
.doc-fasttrack-body ul {
    margin: 0.5rem 0 0;
    padding-left: 1.3rem;
}
.doc-fasttrack-body li {
    margin-bottom: 0.65rem;
}

/* De-boxed Step Timeline */
.doc-content .step-card,
.doc-content .step-section,
.step-card {
    position: relative !important;
    background: transparent !important;
    border: none !important;
    border-left: 2px solid rgba(42, 245, 179, 0.25) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0.5rem 0 2.75rem 2rem !important;
    margin: 0 0 0.5rem 0 !important;
    transition: border-color 0.25s ease;
}
.doc-content .step-card::before,
.step-card::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 10px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #030712;
    border: 2.5px solid #2AF5B3;
    box-shadow: 0 0 12px rgba(42, 245, 179, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.doc-content .step-card:hover,
.step-card:hover {
    border-left-color: #2AF5B3 !important;
}
.doc-content .step-card:hover::before,
.step-card:hover::before {
    transform: scale(1.25);
    box-shadow: 0 0 16px #2AF5B3;
}
.doc-content .step-badge,
.step-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0.25rem 0.75rem !important;
    background: linear-gradient(135deg, rgba(42, 245, 179, 0.12), rgba(0, 212, 255, 0.08)) !important;
    border: 1px solid rgba(42, 245, 179, 0.3) !important;
    color: #2AF5B3 !important;
    border-radius: 99px !important;
    font-size: 0.74rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-family: 'JetBrains Mono', monospace !important;
    margin-bottom: 0.75rem !important;
}
.doc-content .step-title,
.step-title {
    font-size: 1.55rem !important;
    font-weight: 750 !important;
    color: #f8fafc !important;
    margin: 0.25rem 0 0.9rem !important;
    line-height: 1.32 !important;
    letter-spacing: -0.015em !important;
}

/* ── 5. UNIFIED STICKY SIDEBAR CONSOLE ── */
.doc-sidebar-console {
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(12, 26, 46, 0.8), rgba(6, 14, 25, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px);
    overflow: hidden;
}
.doc-console-section {
    padding: 1.35rem 1.45rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.doc-console-section:last-child {
    border-bottom: none;
}
.doc-console-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 0.85rem;
}
.doc-console-label strong {
    color: #2AF5B3;
}
.doc-console-meter-bg {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
    margin-top: 0.5rem;
}
.doc-console-meter-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2AF5B3, #00D4FF);
    box-shadow: 0 0 10px rgba(42, 245, 179, 0.5);
    transition: width 0.08s linear;
}
.doc-console-specs {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
}
.doc-spec-block {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
}
.doc-spec-lbl {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-family: 'JetBrains Mono', monospace;
}
.doc-spec-cat-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    background: rgba(42, 245, 179, 0.08);
    border: 1px solid rgba(42, 245, 179, 0.25);
    border-radius: 10px;
    color: #2AF5B3;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.4;
    word-break: break-word;
    white-space: normal;
    box-sizing: border-box;
    width: 100%;
}
.doc-spec-cat-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2AF5B3;
    box-shadow: 0 0 8px #2AF5B3;
    flex-shrink: 0;
}
.doc-spec-cat-text {
    flex: 1;
    min-width: 0;
}
.doc-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    width: 100%;
}
.doc-spec-cell {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}
.doc-spec-badge {
    display: block;
    padding: 0.4rem 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 0.76rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
}
.doc-spec-badge.badge-diff {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.25);
    color: #fbbf24;
}
.doc-spec-badge.badge-diff.beginner {
    background: rgba(42, 245, 179, 0.08);
    border-color: rgba(42, 245, 179, 0.25);
    color: #2AF5B3;
}
.doc-spec-badge.badge-diff.intermediate {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.25);
    color: #38bdf8;
}
.doc-spec-badge.badge-diff.advanced {
    background: rgba(244, 63, 94, 0.08);
    border-color: rgba(244, 63, 94, 0.25);
    color: #fb7185;
}
.doc-spec-badge.badge-prereq {
    color: #38bdf8;
    background: rgba(0, 212, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.2);
}

/* Fallback for legacy .doc-spec-row */
.doc-spec-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.82rem;
    width: 100%;
}
.doc-spec-key {
    color: #64748b;
    flex-shrink: 0;
    min-width: 70px;
}
.doc-spec-val {
    color: #cbd5e1;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    text-align: right;
    word-break: break-word;
    flex: 1;
    min-width: 0;
}

/* ── 6. GLASSMORPHIC CALLOUTS & TERMINAL CODE BLOCKS ── */
.doc-content .callout,
.callout {
    position: relative;
    padding: 1.35rem 1.6rem !important;
    border-radius: 14px !important;
    margin: 2.25rem 0 !important;
    font-size: 1.02rem !important;
    line-height: 1.78 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: 4px solid !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(8px);
}
.doc-content .callout-info,
.callout-info {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.07), rgba(3, 10, 24, 0.6)) !important;
    border-left-color: #00D4FF !important;
    border-color: rgba(0, 212, 255, 0.2) !important;
    color: #e0f2fe !important;
}
.doc-content .callout-info strong,
.callout-info strong { color: #38bdf8 !important; }

.doc-content .callout-tip,
.callout-tip {
    background: linear-gradient(135deg, rgba(42, 245, 179, 0.07), rgba(3, 16, 20, 0.6)) !important;
    border-left-color: #2AF5B3 !important;
    border-color: rgba(42, 245, 179, 0.22) !important;
    color: #d1fae5 !important;
}
.doc-content .callout-tip strong,
.callout-tip strong { color: #2AF5B3 !important; }

.doc-content .callout-warning,
.callout-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(24, 14, 3, 0.6)) !important;
    border-left-color: #f59e0b !important;
    border-color: rgba(245, 158, 11, 0.25) !important;
    color: #fef3c7 !important;
}
.doc-content .callout-warning strong,
.callout-warning strong { color: #fbbf24 !important; }

.doc-content .callout-success,
.callout-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(3, 20, 14, 0.6)) !important;
    border-left-color: #10b981 !important;
    border-color: rgba(16, 185, 129, 0.25) !important;
    color: #ecfdf5 !important;
}
.doc-content .callout-success strong,
.callout-success strong { color: #34d399 !important; }

/* Terminal Card Styling */
.terminal-card {
    background: #020813 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    margin: 2.25rem 0 !important;
    overflow: hidden !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(42, 245, 179, 0.05) !important;
}
.terminal-header {
    background: #061426 !important;
    padding: 0.8rem 1.35rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}
.terminal-content {
    background: #020712 !important;
    padding: 1.4rem 1.5rem !important;
}

@media (max-width: 768px) {
    .tutorials-hub { padding: 1.5rem 1rem 4rem; }
    .tutorials-hero { padding: 2rem 1.25rem; border-radius: 18px; }
    .tutorials-hero h1 { font-size: 1.85rem; }
    .tutorials-search-input { padding: 0.95rem 2.8rem 0.95rem 2.8rem; font-size: 0.95rem; }
    .tutorials-search-icon { left: 1rem; }
    .tutorials-stream { grid-template-columns: 1fr; }
    .doc-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .doc-sidebar { width: 100%; position: static; }
    .doc-header-action-strip { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .doc-action-pills { width: 100%; justify-content: flex-start; }
}



