/* ═══════════════════════════════════════════════════════════
   SignDeaf — Homepage  (home.css)
   Card grid styles: pulled from dictionary.css (enqueued as dep)
   ═══════════════════════════════════════════════════════════ */

/* ── Keyframes ───────────────────────────────────────────────────────────── */
@keyframes sdh-float {
    0%   { transform: translateY(0px)   rotate(0deg);   opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: .45; }
    100% { transform: translateY(-110vh) rotate(380deg); opacity: 0; }
}
@keyframes sdh-count-in {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes sdh-pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(25,113,194,.35); }
    50%       { box-shadow: 0 0 0 12px rgba(25,113,194,0); }
}
@keyframes sdh-section-in {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Layout helpers ──────────────────────────────────────────────────────── */
.sdh-section-in { animation: sdh-section-in .6s ease both; }

/* ══ 1. HERO ═════════════════════════════════════════════════════════════════ */
.sdh-hero {
    position: relative;
    background: linear-gradient(160deg, #06111f 0%, #0a1a3a 45%, #0c1226 100%);
    padding: 100px 0 80px;
    overflow: hidden;
    text-align: center;
}

/* Ambient glow orbs */
.sdh-hero::before {
    content: '';
    position: absolute;
    top: -140px; left: -140px;
    width: 640px; height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(25,113,194,.18) 0%, transparent 68%);
    pointer-events: none;
}
.sdh-hero::after {
    content: '';
    position: absolute;
    bottom: -100px; right: -100px;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,.14) 0%, transparent 68%);
    pointer-events: none;
}

/* Floating decorative letters */
.sdh-hero-floats {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.sdh-float {
    position: absolute;
    bottom: -10%;
    font-size: 13px;
    font-weight: 900;
    font-family: 'Courier New', monospace;
    color: rgba(255,255,255,.055);
    animation: sdh-float linear infinite;
}

/* Inner content wrapper */
.sdh-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Kicker pill */
.sdh-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(25,113,194,.18);
    border: 1px solid rgba(25,113,194,.35);
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 12px;
    font-weight: 800;
    color: #93c5fd;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: sdh-count-in .5s .1s ease both;
}
.sdh-hero-kicker .sdh-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #3b82f6;
    animation: sdh-pulse-glow 2s infinite;
}

/* H1 */
.sdh-hero-h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin: 0 0 18px;
    background: linear-gradient(135deg, #fff 0%, #93c5fd 55%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: sdh-count-in .5s .2s ease both;
}

/* Subtitle */
.sdh-hero-sub {
    font-size: clamp(.95rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.58);
    line-height: 1.65;
    margin: 0 0 36px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    animation: sdh-count-in .5s .3s ease both;
}
.sdh-hero-sub strong { color: rgba(255,255,255,.9); font-weight: 700; }

/* Search form */
.sdh-hero-search {
    display: flex;
    max-width: 620px;
    margin: 0 auto 28px;
    background: rgba(255,255,255,.07);
    border: 1.5px solid rgba(255,255,255,.14);
    border-radius: 18px;
    padding: 6px;
    backdrop-filter: blur(14px);
    transition: border-color .2s, background .2s;
    animation: sdh-count-in .5s .35s ease both;
}
.sdh-hero-search:focus-within {
    border-color: rgba(25,113,194,.65);
    background: rgba(255,255,255,.1);
}
.sdh-hero-search-icon {
    flex-shrink: 0;
    margin: auto 6px auto 12px;
    color: rgba(255,255,255,.38);
}
.sdh-hero-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    padding: 10px 8px;
    min-width: 0;
}
.sdh-hero-input::placeholder { color: rgba(255,255,255,.32); }
.sdh-hero-search-btn {
    flex-shrink: 0;
    height: 46px;
    padding: 0 24px;
    background: linear-gradient(135deg, #1971c2, #1357a0);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .2s, transform .15s;
    display: flex; align-items: center; gap: 8px;
}
.sdh-hero-search-btn:hover { opacity: .88; transform: translateY(-1px); }

/* Quick-category pills */
.sdh-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 52px;
    animation: sdh-count-in .5s .45s ease both;
}
.sdh-hero-pill {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 18px;
    text-decoration: none;
    transition: background .18s, border-color .18s, color .18s, transform .15s;
}
.sdh-hero-pill:hover {
    background: rgba(25,113,194,.28);
    border-color: rgba(25,113,194,.5);
    color: #fff;
    transform: translateY(-1px);
}

/* Stats row */
.sdh-hero-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,.09);
    padding-top: 40px;
    animation: sdh-count-in .5s .55s ease both;
}
.sdh-hero-stat {
    flex: 1;
    min-width: 120px;
    max-width: 200px;
    padding: 0 28px;
    text-align: center;
    position: relative;
}
.sdh-hero-stat + .sdh-hero-stat::before {
    content: '';
    position: absolute;
    left: 0; top: 10%; bottom: 10%;
    width: 1px;
    background: rgba(255,255,255,.1);
}
.sdh-hero-stat-num {
    display: block;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -.03em;
}
.sdh-hero-stat-label {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 600;
}

/* ══ 2. SIGN OF THE DAY ══════════════════════════════════════════════════════ */
.sdh-sotd {
    background: #fff;
    padding: 72px 0;
}
.sdh-sotd-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section header reused across sections */
.sdh-section-header {
    text-align: center;
    margin-bottom: 44px;
}
.sdh-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--sdd-blue, #1971c2);
    margin-bottom: 12px;
}
.sdh-section-kicker::before,
.sdh-section-kicker::after {
    content: '';
    width: 28px; height: 2px;
    background: var(--sdd-blue, #1971c2);
    border-radius: 999px;
    opacity: .35;
}
.sdh-section-h2 {
    font-size: clamp(1.65rem, 3.2vw, 2.5rem);
    font-weight: 900;
    color: var(--sdd-ink, #0f172a);
    line-height: 1.15;
    margin: 0 0 14px;
    letter-spacing: -.025em;
}
.sdh-section-sub {
    font-size: 1.05rem;
    color: var(--sdd-muted, #64748b);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
}

/* SOTD card */
.sdh-sotd-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    background: var(--sdd-blue-light, #eff4ff);
    border: 1.5px solid rgba(25,113,194,.2);
    border-radius: 24px;
    overflow: hidden;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 16px 48px rgba(25,113,194,.12);
    transition: transform .25s, box-shadow .25s;
}
.sdh-sotd-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 64px rgba(25,113,194,.18);
}
.sdh-sotd-thumb {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #0a1530;
    position: relative;
}
.sdh-sotd-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.sdh-sotd-card:hover .sdh-sotd-thumb img { transform: scale(1.04); }
.sdh-sotd-thumb-placeholder {
    width: 100%; height: 100%;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    background: linear-gradient(135deg, #0a1530, #1971c2);
}
.sdh-sotd-cefr {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(0,0,0,.65);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: .04em;
    backdrop-filter: blur(6px);
}
.sdh-sotd-body {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}
.sdh-sotd-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #1971c2, #1357a0);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
    width: fit-content;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.sdh-sotd-badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.7);
    animation: sdh-pulse-glow 1.8s infinite;
}
.sdh-sotd-word {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 900;
    color: var(--sdd-ink, #0f172a);
    margin: 0 0 12px;
    letter-spacing: -.03em;
    line-height: 1.1;
}
.sdh-sotd-cat {
    font-size: 12px;
    font-weight: 700;
    color: var(--sdd-blue, #1971c2);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 14px;
}
.sdh-sotd-def {
    font-size: .95rem;
    color: var(--sdd-muted, #64748b);
    line-height: 1.7;
    margin: 0 0 28px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sdh-sotd-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--sdd-ink, #0f172a);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 999px;
    width: fit-content;
    transition: background .2s, transform .15s, box-shadow .2s;
}
.sdh-sotd-link:hover {
    background: #1971c2;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(25,113,194,.35);
}

/* ══ 3. LATEST SIGNS ══════════════════════════════════════════════════════════ */
.sdh-signs {
    background: var(--sdd-bg, #f8fafc);
    padding: 72px 0;
}
.sdh-signs-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}
.sdh-signs-footer {
    text-align: center;
    margin-top: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Shared CTA buttons */
.sdh-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
    letter-spacing: -.01em;
    cursor: pointer;
    border: none;
}
.sdh-btn--primary {
    background: linear-gradient(135deg, #1971c2, #1357a0);
    color: #fff;
    font-size: 15px;
    padding: 14px 32px;
    box-shadow: 0 8px 28px rgba(25,113,194,.25);
}
.sdh-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(25,113,194,.36);
}
.sdh-btn--primary-lg {
    font-size: 17px;
    padding: 17px 44px;
    box-shadow: 0 12px 40px rgba(25,113,194,.32);
}
.sdh-btn--primary-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 56px rgba(25,113,194,.44);
}
.sdh-btn--outline {
    background: transparent;
    color: var(--sdd-blue, #1971c2);
    font-size: 15px;
    padding: 13px 30px;
    border: 2px solid var(--sdd-blue, #1971c2);
}
.sdh-btn--outline:hover {
    background: rgba(25,113,194,.07);
    transform: translateY(-1px);
}
.sdh-btn--ghost {
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 15px;
    padding: 13px 30px;
    border: 2px solid rgba(255,255,255,.3);
}
.sdh-btn--ghost:hover {
    background: rgba(255,255,255,.2);
    border-color: rgba(255,255,255,.55);
    transform: translateY(-1px);
}

/* ══ 4. DICTIONARY CTA ════════════════════════════════════════════════════════ */
.sdh-dict-cta {
    background: linear-gradient(155deg, #040c1c 0%, #091428 45%, #060f20 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.sdh-dict-cta::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 900px; height: 700px;
    background: radial-gradient(ellipse, rgba(25,113,194,.15) 0%, transparent 65%);
    pointer-events: none;
}
.sdh-dict-cta::after {
    content: '';
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(25,113,194,.4), transparent);
}
.sdh-dict-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}
.sdh-dict-cta-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(25,113,194,.18);
    border: 1px solid rgba(25,113,194,.38);
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 11px;
    font-weight: 800;
    color: #93c5fd;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.sdh-dict-cta-h2 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.08;
    letter-spacing: -.04em;
    margin: 0 0 18px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.sdh-dict-cta-h2 .sdh-hl {
    background: linear-gradient(90deg, #93c5fd, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sdh-dict-cta-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.5);
    line-height: 1.65;
    margin: 0 auto 40px;
    max-width: 560px;
}

/* Category pill strip */
.sdh-dict-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 44px;
}
.sdh-dict-cat {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 999px;
    color: rgba(255,255,255,.65);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 18px;
    text-decoration: none;
    transition: background .18s, border-color .18s, color .18s, transform .15s;
}
.sdh-dict-cat:hover {
    background: rgba(25,113,194,.28);
    border-color: rgba(25,113,194,.5);
    color: #fff;
    transform: translateY(-1px);
}

/* Main CTA button */
.sdh-dict-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #1971c2, #1357a0);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    padding: 20px 52px;
    border-radius: 999px;
    box-shadow: 0 20px 56px rgba(25,113,194,.42), 0 0 0 1px rgba(25,113,194,.25), inset 0 1px 0 rgba(255,255,255,.15);
    transition: transform .22s, box-shadow .22s;
    letter-spacing: -.02em;
}
.sdh-dict-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 72px rgba(25,113,194,.55), 0 0 0 1px rgba(25,113,194,.35), inset 0 1px 0 rgba(255,255,255,.15);
}
.sdh-dict-cta-btn .sdh-btn-arrow {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    transition: transform .2s;
}
.sdh-dict-cta-btn:hover .sdh-btn-arrow { transform: translateX(3px); }
.sdh-dict-cta-note {
    font-size: 13px;
    color: rgba(255,255,255,.3);
    margin-top: 20px;
    letter-spacing: .01em;
}
.sdh-dict-count-badge {
    display: inline-block;
    background: rgba(25,113,194,.25);
    border: 1px solid rgba(25,113,194,.4);
    color: #93c5fd;
    font-weight: 700;
    font-size: 13px;
    padding: 2px 10px;
    border-radius: 999px;
    margin-left: 4px;
}

/* ══ 5. CATEGORY EXPLORER ════════════════════════════════════════════════════ */
.sdh-cats {
    background: #fff;
    padding: 72px 0;
}
.sdh-cats-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}
.sdh-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
    margin-top: 40px;
}
.sdh-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px 20px;
    background: var(--sdd-bg, #f8fafc);
    border: 1.5px solid var(--sdd-border, #e2e8f0);
    border-radius: 20px;
    text-decoration: none;
    transition: background .2s, border-color .2s, transform .22s, box-shadow .22s;
    text-align: center;
}
.sdh-cat-card:hover {
    background: #fff;
    border-color: #1971c2;
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(25,113,194,.14);
}
.sdh-cat-emoji {
    font-size: 2.1rem;
    line-height: 1;
    display: block;
}
.sdh-cat-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--sdd-ink, #0f172a);
    line-height: 1.35;
}
.sdh-cat-count {
    font-size: 12px;
    color: var(--sdd-muted, #64748b);
    font-weight: 600;
}
.sdh-cats-footer {
    text-align: center;
    margin-top: 32px;
}

/* ══ 6. LEARNING PATH (CEFR) ══════════════════════════════════════════════════ */
.sdh-path {
    background: var(--sdd-bg, #f8fafc);
    padding: 72px 0;
}
.sdh-path-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}
.sdh-cefr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 44px;
}
.sdh-cefr-card {
    background: #fff;
    border: 1.5px solid var(--sdd-border, #e2e8f0);
    border-radius: 22px;
    padding: 26px 22px 22px;
    position: relative;
    overflow: hidden;
    transition: transform .22s, box-shadow .22s;
    text-decoration: none;
    display: block;
}
.sdh-cefr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,.09);
}
.sdh-cefr-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--cefr-color);
    border-radius: 22px 22px 0 0;
}
.sdh-cefr-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--cefr-color);
    background: var(--cefr-bg);
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 12px;
}
.sdh-cefr-level-badge {
    float: right;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--cefr-color);
    opacity: .25;
    margin-top: -4px;
    margin-left: 8px;
    line-height: 1;
}
.sdh-cefr-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--sdd-ink, #0f172a);
    margin: 0 0 8px;
    line-height: 1.3;
}
.sdh-cefr-desc {
    font-size: .85rem;
    color: var(--sdd-muted, #64748b);
    line-height: 1.65;
    margin: 0;
}
.sdh-cefr-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--cefr-color);
    margin-top: 14px;
    text-decoration: none;
    opacity: .8;
    transition: opacity .2s;
}
.sdh-cefr-link:hover { opacity: 1; }

/* ══ 7. HOW IT WORKS ══════════════════════════════════════════════════════════ */
.sdh-how {
    background: #060f1e;
    padding: 88px 0;
    position: relative;
    overflow: hidden;
}
.sdh-how::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(25,113,194,.12) 0%, transparent 65%);
    pointer-events: none;
}
.sdh-how-container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.sdh-how .sdh-section-h2 { color: #fff; }
.sdh-how .sdh-section-sub { color: rgba(255,255,255,.48); }
.sdh-how .sdh-section-kicker { color: #93c5fd; }
.sdh-how .sdh-section-kicker::before,
.sdh-how .sdh-section-kicker::after { background: #93c5fd; }

.sdh-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 52px;
    position: relative;
}
.sdh-steps::before {
    content: '';
    position: absolute;
    top: 38px;
    left: calc(50% / 3 + 38px);
    right: calc(50% / 3 + 38px);
    height: 2px;
    background: linear-gradient(90deg, rgba(25,113,194,.3), rgba(99,102,241,.3), rgba(25,113,194,.3));
    z-index: 0;
}
.sdh-step {
    position: relative;
    z-index: 1;
    text-align: center;
}
.sdh-step-icon {
    width: 76px; height: 76px;
    border-radius: 50%;
    background: rgba(25,113,194,.15);
    border: 2px solid rgba(25,113,194,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 22px;
    position: relative;
    transition: background .25s, border-color .25s;
}
.sdh-step:hover .sdh-step-icon {
    background: rgba(25,113,194,.25);
    border-color: rgba(25,113,194,.6);
}
.sdh-step-num {
    position: absolute;
    top: -6px; right: -6px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #1971c2;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sdh-step-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -.01em;
}
.sdh-step-desc {
    font-size: .875rem;
    color: rgba(255,255,255,.48);
    line-height: 1.7;
    max-width: 240px;
    margin: 0 auto;
}

/* ══ 8. FAQ ════════════════════════════════════════════════════════════════════ */
.sdh-faq {
    background: #fff;
    padding: 80px 0;
}
.sdh-faq-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}
.sdh-faq-list {
    margin-top: 48px;
}
.sdh-faq-item {
    border-bottom: 1px solid var(--sdd-border, #e2e8f0);
}
.sdh-faq-item:first-child { border-top: 1px solid var(--sdd-border, #e2e8f0); }
.sdh-faq-q {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 1.025rem;
    font-weight: 700;
    color: var(--sdd-ink, #0f172a);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color .18s;
}
.sdh-faq-q:hover,
.sdh-faq-q[aria-expanded="true"] { color: #1971c2; }
.sdh-faq-icon {
    flex-shrink: 0;
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 300;
    transition: transform .25s, border-color .18s;
    line-height: 1;
}
.sdh-faq-q[aria-expanded="true"] .sdh-faq-icon { transform: rotate(45deg); }
.sdh-faq-a {
    font-size: .9375rem;
    color: var(--sdd-muted, #64748b);
    line-height: 1.8;
    padding: 0 48px 22px 0;
    display: none;
}
.sdh-faq-a p { margin: 0 0 12px; }
.sdh-faq-a p:last-child { margin: 0; }
.sdh-faq-a a { color: #1971c2; text-decoration: underline; text-underline-offset: 3px; }
.sdh-faq-item.is-open .sdh-faq-a { display: block; }

/* ══ 9. JOIN CTA ══════════════════════════════════════════════════════════════ */
.sdh-join {
    background: linear-gradient(135deg, #1971c2 0%, #0d469b 100%);
    padding: 88px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.sdh-join::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 15% 50%, rgba(255,255,255,.07) 0%, transparent 65%),
        radial-gradient(ellipse 60% 80% at 85% 50%, rgba(0,0,0,.08) 0%, transparent 65%);
    pointer-events: none;
}
.sdh-join::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
}
.sdh-join-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}
.sdh-join-icon { font-size: 3.6rem; display: block; margin-bottom: 18px; }
.sdh-join-h2 {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -.035em;
}
.sdh-join-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.72);
    line-height: 1.62;
    margin: 0 0 38px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.sdh-join-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.sdh-join-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    color: #1971c2;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    padding: 16px 38px;
    border-radius: 999px;
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
    transition: transform .2s, box-shadow .2s;
    letter-spacing: -.01em;
}
.sdh-join-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 42px rgba(0,0,0,.26);
}
.sdh-join-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
    font-size: 13px;
    color: rgba(255,255,255,.6);
    font-weight: 600;
}
.sdh-join-trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
}

/* ══ SEO TEXT SECTION ═════════════════════════════════════════════════════════ */
.sdh-seo-body {
    background: #fff;
    padding: 64px 0;
    border-top: 1px solid var(--sdd-border, #e2e8f0);
}
.sdh-seo-body-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}
.sdh-seo-body h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--sdd-ink, #0f172a);
    margin: 0 0 14px;
    letter-spacing: -.02em;
}
.sdh-seo-body p {
    font-size: .9375rem;
    color: var(--sdd-muted, #64748b);
    line-height: 1.8;
    margin: 0 0 16px;
}
.sdh-seo-body p:last-child { margin: 0; }
.sdh-seo-body a { color: #1971c2; text-decoration: underline; text-underline-offset: 3px; }
.sdh-seo-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 48px;
}

/* ══ PRICING PREVIEW SECTION ═══════════════════════════════════════════════════ */
.sdh-pricing {
    padding: 96px 0 100px;
    background: linear-gradient(180deg, #0b1222 0%, #0d1526 100%);
    position: relative;
    overflow: hidden;
}
.sdh-pricing::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 20% 50%, rgba(25,113,194,.10) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 50%, rgba(139,92,246,.08) 0%, transparent 70%);
    pointer-events: none;
}
.sdh-pricing-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}
/* Override header colours for dark bg */
.sdh-pricing .sdh-section-kicker { color: #60a5fa; }
.sdh-pricing .sdh-section-h2 { color: #f1f5f9; }
.sdh-pricing .sdh-section-sub { color: rgba(241,245,249,.65); }

/* Cards grid */
.sdh-pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
    margin-top: 56px;
}

/* Individual card */
.sdh-pricing-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 20px;
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform .22s ease, box-shadow .22s ease;
}
.sdh-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,.4);
}

/* Featured / Master */
.sdh-pricing-card--featured {
    background: rgba(25,113,194,.12);
    border-color: rgba(25,113,194,.4);
    box-shadow: 0 0 0 1px rgba(25,113,194,.25), 0 20px 56px rgba(25,113,194,.2);
    transform: scale(1.03);
    z-index: 1;
}
.sdh-pricing-card--featured:hover {
    transform: scale(1.03) translateY(-4px);
}

/* Premium / Legend */
.sdh-pricing-card--premium {
    background: linear-gradient(135deg, rgba(139,92,246,.12) 0%, rgba(109,40,217,.08) 100%);
    border-color: rgba(139,92,246,.35);
}

/* Most Popular badge */
.sdh-pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #1971c2, #228be6);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(25,113,194,.45);
}

/* Card top block */
.sdh-pricing-card-top { margin-bottom: 24px; }

.sdh-pricing-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 12px;
    line-height: 1;
}
.sdh-pricing-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0 0 4px;
    letter-spacing: -.01em;
}
.sdh-pricing-tagline {
    font-size: .85rem;
    color: rgba(241,245,249,.5);
    margin: 0 0 20px;
}

/* Price display */
.sdh-pricing-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 6px;
}
.sdh-pricing-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: #f1f5f9;
    line-height: 1;
    letter-spacing: -.03em;
}
.sdh-pricing-amount sup {
    font-size: 1.1rem;
    font-weight: 700;
    vertical-align: super;
}
.sdh-pricing-period {
    font-size: .9rem;
    color: rgba(241,245,249,.5);
}
.sdh-pricing-annual-hint {
    font-size: .78rem;
    color: rgba(241,245,249,.4);
    margin: 0;
}
.sdh-pricing-card--featured .sdh-pricing-annual-hint { color: rgba(96,165,250,.8); }

/* Feature list */
.sdh-pricing-feats {
    list-style: none;
    margin: 0 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 28px;
}
.sdh-pricing-feat {
    font-size: .875rem;
    color: rgba(241,245,249,.75);
    padding-left: 24px;
    position: relative;
    line-height: 1.4;
}
.sdh-pricing-feat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
}
.sdh-pricing-feat--yes { color: rgba(241,245,249,.85); }
.sdh-pricing-feat--yes::before {
    content: '✓';
    background: rgba(16,185,129,.2);
    color: #10b981;
    font-size: 10px;
    line-height: 15px;
    text-align: center;
}
.sdh-pricing-feat--no { color: rgba(241,245,249,.3); text-decoration: line-through; }
.sdh-pricing-feat--no::before {
    content: '×';
    background: rgba(255,255,255,.05);
    color: rgba(241,245,249,.2);
    font-size: 12px;
    line-height: 14px;
    text-align: center;
}

/* CTAs */
.sdh-pricing-cta {
    display: block;
    text-align: center;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    margin-top: auto;
}
.sdh-pricing-cta:hover { transform: translateY(-2px); text-decoration: none; }

.sdh-pricing-cta--ghost {
    border: 1.5px solid rgba(255,255,255,.2);
    color: rgba(241,245,249,.8);
    background: transparent;
}
.sdh-pricing-cta--ghost:hover {
    border-color: rgba(255,255,255,.4);
    background: rgba(255,255,255,.05);
    color: #f1f5f9;
}
.sdh-pricing-cta--primary {
    background: linear-gradient(135deg, #1971c2, #228be6);
    color: #fff;
    box-shadow: 0 6px 24px rgba(25,113,194,.45);
}
.sdh-pricing-cta--primary:hover {
    box-shadow: 0 10px 32px rgba(25,113,194,.6);
    color: #fff;
}
.sdh-pricing-cta--legend {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
    color: #fff;
    box-shadow: 0 6px 24px rgba(139,92,246,.4);
}
.sdh-pricing-cta--legend:hover {
    box-shadow: 0 10px 32px rgba(139,92,246,.6);
    color: #fff;
}

/* Footer row */
.sdh-pricing-footer {
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.sdh-pricing-footer-text {
    font-size: .875rem;
    color: rgba(241,245,249,.45);
    max-width: 540px;
    margin: 0;
    line-height: 1.7;
}
.sdh-pricing-footer-text strong { color: rgba(241,245,249,.7); }

.sdh-pricing-compare-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .875rem;
    font-weight: 600;
    color: #60a5fa;
    text-decoration: none;
    transition: color .18s ease;
}
.sdh-pricing-compare-link:hover { color: #93c5fd; text-decoration: none; }

/* ══ RESPONSIVE ════════════════════════════════════════════════════════════════ */
@media (max-width: 1060px) {
    .sdh-cefr-grid { grid-template-columns: repeat(2, 1fr); }
    .sdh-pricing-cards { gap: 16px; }
    .sdh-pricing-card--featured { transform: scale(1.02); }
    .sdh-pricing-card--featured:hover { transform: scale(1.02) translateY(-4px); }
}
@media (max-width: 860px) {
    .sdh-steps { grid-template-columns: 1fr; }
    .sdh-steps::before { display: none; }
    .sdh-sotd-card { grid-template-columns: 1fr; }
    .sdh-sotd-body { padding: 24px; }
    .sdh-sotd-thumb { aspect-ratio: 16/9; }
    .sdh-seo-cols { grid-template-columns: 1fr; gap: 24px; }
    .sdh-pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .sdh-pricing-card--featured { transform: none; }
    .sdh-pricing-card--featured:hover { transform: translateY(-4px); }
    .sdh-pricing-badge { top: -12px; }
}
@media (max-width: 660px) {
    .sdh-hero { padding: 72px 0 56px; }
    .sdh-hero-stats { gap: 0; }
    .sdh-hero-stat { min-width: 90px; padding: 0 16px; }
    .sdh-hero-stat-num { font-size: 1.5rem; }
    .sdh-cefr-grid { grid-template-columns: 1fr; }
    .sdh-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .sdh-dict-cta-btn { font-size: 15px; padding: 16px 32px; }
}
@media (max-width: 420px) {
    .sdh-hero-search { flex-direction: column; gap: 8px; }
    .sdh-hero-search-btn { width: 100%; justify-content: center; height: 48px; }
    .sdh-hero-search-icon { display: none; }
}
