/* ==========================================================================
   SugNext Brand System: Editorial Light-Glass + Violet (#5B3CE6) + Emerald (#10B981)
   ========================================================================== */

:root {
    --sn-purple: #5b3ce6;
    --sn-purple-dark: #4328c7;
    --sn-emerald: #10b981;
    --sn-emerald-dark: #059669;
    --sn-ink: #0f172a;
    --sn-muted: #64748b;
    --sn-border: #e5e7eb;
    --sn-bg: #ffffff;
    --sn-surface: #f7f9fc;
}

html, body {
    overflow-x: clip;
    max-width: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--sn-ink);
    background: var(--sn-bg);
    margin: 0;
}

.sn-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 clamp(20px, 3.6vw, 64px);
}

/* ---- Buttons ---- */
.sn-btn, .lnd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s ease;
}
.sn-btn-primary, .lnd-btn-primary {
    background: linear-gradient(135deg, var(--sn-purple), #4f46e5 55%, var(--sn-emerald));
    color: #fff;
    box-shadow: 0 10px 24px rgba(91, 60, 230, 0.24);
}
.sn-btn-primary:hover, .lnd-btn-primary:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(91, 60, 230, 0.34);
}
.sn-btn-emerald { background: var(--sn-emerald); color: #052e16; font-weight: 700; }
.sn-btn-emerald:hover { background: #34d399; color: #052e16; }
.sn-btn-ghost { background: #fff; color: var(--sn-ink); border-color: var(--sn-border); }
.sn-btn-ghost:hover { background: var(--sn-surface); color: var(--sn-purple); border-color: #cbd5e1; }
.sn-btn-dark { background: rgba(255, 255, 255, 0.1); color: #f8fafc; border-color: rgba(255, 255, 255, 0.18); }
.sn-btn-dark:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.sn-btn-lg, .lnd-btn-lg { padding: 13px 26px; font-size: 15px; border-radius: 12px; }
.lnd-btn-block { width: 100%; }

/* ---- Sticky Solid White Navbar (blends seamlessly with SugNext logo) ---- */
.sn-nav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #ffffff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 1px solid #e5e7eb;
}
.sn-nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sn-brand img { height: 34px; width: auto; display: block; }
.sn-nav-links { display: flex; align-items: center; gap: 6px; }
.sn-nav-links a {
    color: #334155; text-decoration: none; font-weight: 500; font-size: 14px;
    padding: 8px 14px; border-radius: 10px; transition: all 0.15s;
}
.sn-nav-links a:hover, .sn-nav-links a.active { color: var(--sn-purple); background: rgba(91, 60, 230, 0.08); }
.sn-nav-actions { display: flex; align-items: center; gap: 12px; }
.sn-link-signin { color: #334155; text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 12px; }
.sn-link-signin:hover { color: var(--sn-purple); }
.sn-burger {
    display: none; align-items: center; justify-content: center; width: 40px; height: 40px;
    background: #fff; border: 1px solid var(--sn-border); border-radius: 10px;
    color: var(--sn-ink); cursor: pointer; font-size: 16px; flex-shrink: 0;
}
.sn-mobile-menu {
    display: none; background: #fff; border-top: 1px solid #f1f5f9; border-bottom: 1px solid var(--sn-border);
    max-height: calc(100vh - 64px); overflow-y: auto; -webkit-overflow-scrolling: touch;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}
.sn-mobile-menu.open { display: block; }
.sn-mobile-menu a {
    display: block; text-decoration: none; color: var(--sn-ink); font-weight: 500;
    padding: 9px 10px; border-radius: 8px; font-size: 14.5px;
}
.sn-mobile-menu a:hover, .sn-mobile-menu a:active { background: #f8fafc; color: var(--sn-purple); }
@media (max-width: 1024px) {
    .sn-nav-links, .sn-link-signin { display: none !important; }
    .sn-burger { display: inline-flex !important; }
}

/* ---- Modern Split Hero ---- */
.sn-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 88px;
    background:
        radial-gradient(820px 440px at 8% -10%, rgba(91, 60, 230, 0.13), transparent 65%),
        radial-gradient(760px 420px at 92% 10%, rgba(16, 185, 129, 0.13), transparent 65%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--sn-border);
}
.sn-hero-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
}
@media (max-width: 980px) { .sn-hero-split { grid-template-columns: 1fr; gap: 36px; } }
.sn-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 600; background: #fff; color: var(--sn-purple);
    border: 1px solid rgba(91, 60, 230, 0.2); box-shadow: 0 4px 12px rgba(91, 60, 230, 0.08);
    margin-bottom: 20px;
}
.sn-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sn-emerald); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22); }
.sn-hero h1 {
    font-size: clamp(36px, 4.4vw, 54px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08;
    margin: 0 0 18px;
}
.sn-gradient-text {
    background: linear-gradient(135deg, var(--sn-purple), #3b82f6 52%, var(--sn-emerald));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.sn-hero-sub { font-size: 17px; color: var(--sn-muted); max-width: 540px; margin: 0 0 28px; line-height: 1.65; }
.sn-hero-ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.sn-trust-row { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--sn-muted); }
.sn-trust-row i { color: var(--sn-emerald); margin-right: 6px; }

/* ---- Floating Light-Glass Interactive Showcase Card ---- */
.sn-showcase {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(203, 213, 225, 0.85);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(91, 60, 230, 0.06);
    overflow: hidden;
}
.sn-showcase-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 16px 20px; border-bottom: 1px solid #eef2f6; background: #fbfcfe;
}
.sn-showcase-logo {
    width: 34px; height: 34px; border-radius: 10px;
    background: linear-gradient(135deg, var(--sn-purple), var(--sn-emerald));
    color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}
.sn-showcase-tabs {
    display: inline-flex; background: #f1f5f9; padding: 4px; border-radius: 10px; gap: 2px;
}
.sn-showcase-tabs button {
    border: 0; background: transparent; padding: 5px 12px; border-radius: 8px;
    font-size: 12px; font-weight: 600; color: #64748b; cursor: pointer;
}
.sn-showcase-tabs button.active { background: #fff; color: var(--sn-ink); box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08); }
.sn-showcase-body { padding: 18px 20px; }
.sn-sc-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 13px 14px; border-radius: 14px; border: 1px solid #edf2f7; background: #fff;
    margin-bottom: 10px; transition: border-color 0.15s, transform 0.15s;
}
.sn-sc-item:last-child { margin-bottom: 0; }
.sn-sc-item:hover { border-color: rgba(91, 60, 230, 0.35); transform: translateY(-1px); }
.sn-sc-vote {
    min-width: 44px; padding: 6px 4px; border-radius: 10px; border: 1px solid #e2e8f0; background: #f8fafc;
    display: flex; flex-direction: column; align-items: center; font-size: 12px; font-weight: 700; color: var(--sn-ink);
}
.sn-sc-vote.active { background: rgba(91, 60, 230, 0.1); border-color: var(--sn-purple); color: var(--sn-purple); }
.sn-sc-status {
    font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px;
    background: color-mix(in srgb, var(--st) 12%, transparent); color: var(--st); white-space: nowrap;
}
.sn-sc-tags { display: flex; gap: 6px; }
.sn-sc-tags span { font-size: 11px; background: #f1f5f9; color: #475569; padding: 2px 8px; border-radius: 6px; font-weight: 500; }
.sn-sc-col { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px; height: 100%; }
.sn-sc-col-hd { font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.sn-sc-col-hd span { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.sn-sc-mini { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px; font-size: 11px; font-weight: 600; margin-bottom: 6px; }
.sn-sc-mini b { color: #94a3b8; font-weight: 500; }
.sn-sc-cl { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px; }

/* ---- Sections, Cards & Pricing ---- */
.sn-section { padding: 80px 0; }
.sn-section-alt { background: var(--sn-surface); border-top: 1px solid var(--sn-border); border-bottom: 1px solid var(--sn-border); }
.sn-section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.sn-section-head h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 12px; }
.sn-section-head p { color: var(--sn-muted); font-size: 16px; margin: 0; line-height: 1.6; }

.sn-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .sn-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sn-bento { grid-template-columns: 1fr; } }

.sn-card {
    background: #fff; border: 1px solid var(--sn-border); border-radius: 18px; padding: 26px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.sn-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07); border-color: rgba(91, 60, 230, 0.3); }
.sn-icon-badge {
    width: 46px; height: 46px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff; margin-bottom: 16px;
    background: linear-gradient(135deg, var(--sn-purple), var(--sn-emerald));
}
.sn-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.sn-card p { font-size: 14px; color: var(--sn-muted); margin: 0; line-height: 1.6; }

.sn-pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 1120px) { .sn-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 640px) { .sn-pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.sn-plan { background: #fff; border: 1px solid var(--sn-border); border-radius: 20px; padding: 26px 22px; display: flex; flex-direction: column; position: relative; }
.sn-plan-popular { border: 2px solid var(--sn-purple); box-shadow: 0 22px 52px rgba(91, 60, 230, 0.14); }
.sn-plan-badge {
    position: absolute; top: -13px; right: 24px;
    background: linear-gradient(135deg, var(--sn-purple), var(--sn-emerald));
    color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 12px; border-radius: 999px;
}
.sn-plan-price { font-size: 42px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 16px 0 8px; }
.sn-plan-price small { font-size: 15px; font-weight: 500; color: var(--sn-muted); letter-spacing: 0; }
.sn-plan-list { list-style: none; padding: 0; margin: 20px 0 28px; flex: 1; }
.sn-plan-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #334155; margin-bottom: 11px; }
.sn-plan-list i { color: var(--sn-emerald); margin-top: 3px; }
.sn-billing-toggle { display: inline-flex; align-items: center; gap: 6px; background: #eef2f6; padding: 5px; border-radius: 12px; margin-bottom: 32px; }
.sn-billing-toggle button { border: 0; background: transparent; padding: 8px 18px; border-radius: 9px; font-size: 14px; font-weight: 600; color: #475569; cursor: pointer; }
.sn-billing-toggle button.active { background: #fff; color: var(--sn-ink); box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08); }

.sn-page-hero {
    padding: 64px 0 44px;
    background: radial-gradient(700px 300px at 20% 0%, rgba(91, 60, 230, 0.1), transparent 65%), radial-gradient(600px 300px at 80% 0%, rgba(16, 185, 129, 0.1), transparent 65%), #f8fafc;
    border-bottom: 1px solid var(--sn-border); text-align: center;
}
.sn-page-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 12px; }
.sn-page-hero p { font-size: 17px; color: var(--sn-muted); max-width: 660px; margin: 0 auto; }

.sn-prose { max-width: 800px; margin: 0 auto; font-size: 16px; line-height: 1.75; color: #334155; }
.sn-prose h2 { font-size: 23px; font-weight: 700; color: var(--sn-ink); margin: 32px 0 12px; }
.sn-prose h3 { font-size: 18px; font-weight: 700; color: var(--sn-ink); margin: 24px 0 10px; }
.sn-prose ul, .sn-prose ol { padding-left: 22px; margin-bottom: 18px; }
.sn-prose li { margin-bottom: 8px; }
.sn-prose code { background: #f1f5f9; color: var(--sn-purple); padding: 2px 6px; border-radius: 5px; font-size: 0.9em; }

.sn-cta-band {
    background: linear-gradient(135deg, #0f172a 0%, #241b66 55%, #065f46 100%);
    color: #fff; padding: 72px 0; text-align: center;
}
.sn-cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.sn-cta-band p { color: #cbd5e1; max-width: 580px; margin: 0 auto 28px; font-size: 16px; }

/* ---- Footer ---- */
.sn-footer { background: #0f172a; color: #94a3b8; padding: 64px 0 32px; border-top: 1px solid rgba(148, 163, 184, 0.14); }
.sn-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 42px; border-bottom: 1px solid rgba(148, 163, 184, 0.14); }
@media (max-width: 900px) { .sn-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sn-footer-grid { grid-template-columns: 1fr; } }
.sn-footer h4 { color: #f8fafc; font-size: 14px; font-weight: 700; margin: 0 0 14px; }
.sn-footer ul { list-style: none; padding: 0; margin: 0; }
.sn-footer li { margin-bottom: 9px; font-size: 14px; }
.sn-footer a { color: #94a3b8; text-decoration: none; transition: color 0.15s; }
.sn-footer a:hover { color: #10b981; }
.sn-footer-brand p { font-size: 14px; line-height: 1.6; max-width: 310px; }
.sn-footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.sn-footer-socials a { width: 34px; height: 34px; border-radius: 9px; background: #1e293b; border: 1px solid rgba(148,163,184,0.18); display: inline-flex; align-items: center; justify-content: center; color: #cbd5e1; }
.sn-footer-socials a:hover { background: var(--sn-purple); color: #fff; border-color: var(--sn-purple); }
.sn-country-label { display: block; font-size: 12px; color: #cbd5e1; font-weight: 600; margin-bottom: 6px; }
.sn-country-select { width: 100%; background: #1e293b; color: #f8fafc; border: 1px solid rgba(148, 163, 184, 0.24); border-radius: 9px; padding: 8px 10px; font-size: 13px; }
.sn-footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* ---- Auth Split Layout (.ap) for /signup & /signin ---- */
.ap { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 440px 1fr; }
.ap-side { background: linear-gradient(160deg, #0f172a 0%, #241b66 58%, #065f46 100%); color: #fff; padding: 36px 40px; display: flex; flex-direction: column; justify-content: space-between; }
.ap-side h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.ap-side p { color: #cbd5e1; font-size: 15px; line-height: 1.6; }
.ap-side ul { list-style: none; padding: 0; margin: 24px 0 0; }
.ap-side li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; color: #e2e8f0; }
.ap-side li i { color: #10b981; }
.ap-main { padding: 32px 48px; display: flex; flex-direction: column; background: #fff; }
.ap-top { text-align: right; font-size: 14px; color: var(--sn-muted); margin-bottom: 24px; }
.ap-top a { color: var(--sn-purple); font-weight: 600; text-decoration: none; }
.ap-form { max-width: 480px; width: 100%; margin: auto; }
.ap-brand img { height: 38px; width: auto; margin-bottom: 20px; }
.ap-form h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.ap-sub { color: var(--sn-muted); margin-bottom: 22px; font-size: 15px; }
.ap-addr { background: #f8fafc; border: 1px solid var(--sn-border); border-radius: 12px; padding: 12px 14px; }
.ap-addr-view { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.ap-addr-label { color: var(--sn-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.ap-addr-url { color: var(--sn-ink); flex: 1; }
.ap-linkbtn { border: 0; background: none; color: var(--sn-purple); font-weight: 600; font-size: 13px; cursor: pointer; }
@media (max-width: 900px) {
    .ap { grid-template-columns: 1fr; }
    .ap-side { display: none; }
    .ap-main { padding: 24px; }
}

/* ==========================================================================
   Editorial Blog, Help Center & 3-Column Knowledge Base / Release Notes UI
   ========================================================================== */

.sn-ed-hero {
    padding: 54px 0 58px;
    background:
        radial-gradient(640px 320px at 14% 15%, rgba(91, 60, 230, 0.12), transparent 65%),
        radial-gradient(560px 300px at 88% 20%, rgba(16, 185, 129, 0.09), transparent 65%),
        linear-gradient(180deg, #f5f3ff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e9e7fb;
}
.sn-ed-hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 44px;
}
@media (max-width: 920px) { .sn-ed-hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.sn-ed-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; color: var(--sn-purple); border: 1px solid #e4ddff;
    font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
    box-shadow: 0 3px 10px rgba(91, 60, 230, 0.08); margin-bottom: 16px;
}
.sn-ed-hero h1 {
    font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12;
    margin: 0 0 14px; color: var(--sn-ink);
}
.sn-ed-accent { color: var(--sn-purple); }
.sn-ed-sub { font-size: 15px; color: var(--sn-muted); line-height: 1.65; max-width: 500px; margin: 0 0 24px; }
.sn-ed-search {
    display: flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 999px;
    padding: 6px 6px 6px 18px; max-width: 480px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}
.sn-ed-search i { color: #94a3b8; font-size: 14px; }
.sn-ed-search input {
    border: 0; outline: 0; background: transparent; flex: 1; font-size: 14px; color: var(--sn-ink); min-width: 0;
}
.sn-ed-search button {
    border: 0; border-radius: 999px; background: var(--sn-purple); color: #fff;
    font-size: 13px; font-weight: 600; padding: 9px 20px; cursor: pointer; transition: background 0.15s;
}
.sn-ed-search button:hover { background: var(--sn-purple-dark); }

/* Featured Hero Story Card */
.sn-ed-featured-wrap { position: relative; padding-bottom: 18px; }
.sn-ed-featured {
    display: block; position: relative; height: 245px; border-radius: 20px; overflow: hidden;
    text-decoration: none; box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.sn-ed-featured-overlay {
    position: absolute; inset: 0; padding: 22px 24px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.84) 100%);
    display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
}
.sn-ed-feat-pill {
    background: #facc15; color: #1e293b; font-size: 11px; font-weight: 700;
    padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.sn-ed-featured-overlay h3 { color: #fff; font-size: 19px; font-weight: 700; line-height: 1.3; margin: 0 0 10px; }
.sn-ed-stat-badge {
    position: absolute; left: 18px; bottom: 0;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
    padding: 10px 14px; display: inline-flex; align-items: center; gap: 10px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}
.sn-ed-stat-ic {
    width: 34px; height: 34px; border-radius: 50%; background: #f3e8ff; color: var(--sn-purple);
    display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}
.sn-ed-stat-badge strong { display: block; font-size: 13px; color: var(--sn-ink); line-height: 1.2; }
.sn-ed-stat-badge span { display: block; font-size: 11px; color: var(--sn-muted); }

/* Category Bar & Story Cards */
.sn-ed-body { padding: 36px 0 80px; background: #f8fafc; }
.sn-ed-filter-bar {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
    margin-bottom: 28px;
}
.sn-ed-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sn-ed-pill {
    display: inline-flex; align-items: center; padding: 7px 15px; border-radius: 999px;
    font-size: 13px; font-weight: 600; text-decoration: none;
    background: #fff; color: #475569; border: 1px solid #e2e8f0; transition: all 0.15s;
}
.sn-ed-pill:hover { border-color: var(--sn-purple); color: var(--sn-purple); }
.sn-ed-pill.active { background: #1d4ed8; color: #fff; border-color: #1d4ed8; box-shadow: 0 6px 16px rgba(29, 78, 216, 0.25); }
.sn-ed-count { font-size: 13px; color: var(--sn-muted); font-weight: 500; }

.sn-ed-card {
    display: flex; flex-direction: column; height: 100%; background: #fff;
    border: 1px solid #e5e9f2; border-radius: 18px; overflow: hidden; text-decoration: none;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.sn-ed-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09); border-color: rgba(91, 60, 230, 0.3); }
.sn-ed-card-media {
    position: relative; height: 186px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.sn-ed-media-art { font-size: 46px; color: rgba(255, 255, 255, 0.22); }
.sn-ed-media-tag {
    position: absolute; top: 12px; right: 12px; background: rgba(255, 255, 255, 0.94);
    color: var(--sn-ink); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}
.sn-ed-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.sn-ed-card-meta {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; color: #94a3b8; margin-bottom: 10px;
}
.sn-ed-card-body h3 { font-size: 17px; font-weight: 700; color: var(--sn-ink); line-height: 1.35; margin: 0 0 8px; }
.sn-ed-card-body p {
    font-size: 13.5px; color: var(--sn-muted); line-height: 1.55; margin: 0 0 16px; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sn-ed-card-foot {
    padding-top: 14px; border-top: 1px solid #f1f5f9;
    display: flex; justify-content: space-between; align-items: center; font-size: 12.5px;
}
.sn-ed-author { display: inline-flex; align-items: center; gap: 7px; color: #475569; font-weight: 600; }
.sn-ed-av {
    width: 22px; height: 22px; border-radius: 50%; background: #eef2ff; color: var(--sn-purple);
    display: inline-flex; align-items: center; justify-content: center; font-size: 10px;
}
.sn-ed-read { color: var(--sn-purple); font-weight: 700; }

/* ---- 3-Column Knowledge Base / Article / Release Notes Reader ---- */
.sn-kb-crumb {
    background: #fff; border-bottom: 1px solid #e5e9f2; padding: 14px 0; font-size: 14px;
}
.sn-kb-crumb a { color: #475569; text-decoration: none; font-weight: 600; }
.sn-kb-crumb a:hover { color: var(--sn-purple); }
.sn-kb-wrap { padding: 36px 0 76px; background: #f8fafc; min-height: 70vh; }
.sn-kb-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 260px;
    gap: 24px;
    align-items: start;
}
@media (max-width: 1080px) { .sn-kb-grid { grid-template-columns: 230px minmax(0, 1fr); } }
@media (max-width: 820px) { .sn-kb-grid { grid-template-columns: 1fr; } }
.sn-kb-side { position: sticky; top: 92px; }
.sn-kb-card {
    background: #fff; border: 1px solid #e5e9f2; border-radius: 18px; padding: 20px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.03);
}
.sn-kb-main { padding: 36px 40px; }
@media (max-width: 640px) { .sn-kb-main { padding: 24px 20px; } }
.sn-kb-side-head {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 11px; font-weight: 800; letter-spacing: 0.06em; color: #475569;
    text-transform: uppercase; margin-bottom: 16px;
}
.sn-kb-count {
    background: #f1f5f9; color: #475569; font-weight: 600; font-size: 11px;
    padding: 3px 8px; border-radius: 999px; text-transform: none; letter-spacing: 0;
}
.sn-kb-timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.sn-kb-timeline::before {
    content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: #e2e8f0;
}
.sn-kb-timeline li { position: relative; padding-left: 22px; margin-bottom: 14px; font-size: 13px; line-height: 1.45; }
.sn-kb-timeline li:last-child { margin-bottom: 0; }
.sn-kb-timeline li::before {
    content: ''; position: absolute; left: 1px; top: 5px; width: 10px; height: 10px; border-radius: 50%;
    background: #fff; border: 2px solid #cbd5e1; z-index: 1;
}
.sn-kb-timeline li.active::before {
    background: #10b981; border-color: #bbf7d0; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
}
.sn-kb-timeline a { color: #64748b; text-decoration: none; display: block; }
.sn-kb-timeline a:hover { color: var(--sn-purple); }
.sn-kb-timeline li.active a { color: var(--sn-ink); font-weight: 700; }

.sn-kb-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    background: #eef2ff; color: var(--sn-purple); border: 1px solid #dbe4ff;
    font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.sn-kb-main h1 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 10px; }
.sn-kb-lead { font-size: 16px; color: var(--sn-muted); margin: 0; line-height: 1.6; }
.sn-kb-meta-row {
    display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
    font-size: 13.5px; color: #64748b; margin-bottom: 24px;
}
.sn-kb-tag-pill {
    background: var(--sn-purple); color: #fff; font-weight: 700; font-size: 12.5px;
    padding: 5px 14px; border-radius: 999px;
}
.sn-kb-latest-badge {
    background: #10b981; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 0.05em;
    padding: 3px 7px; border-radius: 6px; flex-shrink: 0; margin-top: 2px;
}
.sn-kb-link { color: var(--sn-purple); font-size: 13px; font-weight: 700; text-decoration: none; }
.sn-kb-link:hover { text-decoration: underline; }

/* ---- Top Header Currency Icon Selector ---- */
.sn-cur-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 999px;
    padding: 6px 12px; font-size: 13px; font-weight: 700; color: var(--sn-ink);
    cursor: pointer; transition: all 0.15s ease;
}
.sn-cur-btn:hover { border-color: var(--sn-purple); color: var(--sn-purple); background: #f5f3ff; }
.sn-cur-icon {
    width: 22px; height: 22px; border-radius: 50%;
    background: linear-gradient(135deg, var(--sn-purple), var(--sn-emerald));
    color: #fff; font-size: 12px; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center;
}
.sn-cur-menu { min-width: 230px; border-radius: 12px; padding: 6px; border: 1px solid #e2e8f0; }
.sn-cur-menu .dropdown-item { border-radius: 8px; padding: 7px 10px; }
.sn-cur-menu .dropdown-item.active { background: var(--sn-purple); color: #fff; }

/* ---- Footer Inline Subscribe Form ---- */
.sn-footer-sub {
    margin-top: 18px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.18);
    max-width: 340px;
}
.sn-footer-sub-title { font-size: 12.5px; font-weight: 700; color: #f8fafc; margin-bottom: 4px; }
.sn-footer-sub-desc { font-size: 12px; color: #94a3b8; margin-bottom: 10px; }
.sn-footer-sub-form { display: flex; gap: 6px; }
.sn-footer-sub-form input {
    flex: 1; min-width: 0; background: #0f172a; color: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 8px;
    padding: 8px 10px; font-size: 13px; outline: none;
}
.sn-footer-sub-form input:focus { border-color: var(--sn-emerald); }
.sn-footer-sub-form button {
    border: 0; border-radius: 8px; background: var(--sn-emerald); color: #052e16;
    font-size: 12.5px; font-weight: 700; padding: 8px 13px; cursor: pointer; white-space: nowrap;
}
.sn-footer-sub-form button:hover { background: #34d399; }

/* ---- Cookie Consent Banner ---- */
.sn-cookie-bar {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1040;
    max-width: 720px; margin: 0 auto;
    background: #0f172a; color: #e2e8f0; border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 16px; padding: 16px 20px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.35);
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.sn-cookie-bar p { margin: 0; font-size: 13px; line-height: 1.5; flex: 1; min-width: 220px; }
.sn-cookie-bar a { color: #34d399; text-decoration: underline; }
.sn-cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ---- Responsive Prose, Articles, Blog & Mobile Polish ---- */
.sn-prose {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.75;
    font-size: 15.5px;
    color: #334155;
}
.sn-prose h2 { font-size: 21px; font-weight: 800; color: var(--sn-ink); margin: 28px 0 10px; }
.sn-prose h3 { font-size: 17px; font-weight: 700; color: var(--sn-ink); margin: 22px 0 8px; }
.sn-prose pre {
    max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
    background: #0f172a; color: #e2e8f0; padding: 14px 16px; border-radius: 12px; font-size: 13px;
}
.sn-prose code {
    word-break: break-word; overflow-wrap: anywhere;
    background: #f1f5f9; color: #4328c7; padding: 2px 6px; border-radius: 6px; font-size: 0.9em;
}
.sn-prose pre code { background: transparent; color: inherit; padding: 0; word-break: normal; }
.sn-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.sn-prose table { display: block; max-width: 100%; overflow-x: auto; }
.sn-kb-card, .sn-kb-main, .sn-ed-card { min-width: 0; max-width: 100%; }

@media (max-width: 991px) {
    .sn-kb-grid { grid-template-columns: 1fr; gap: 20px; }
    .sn-kb-side { position: static; top: auto; }
    .sn-kb-main { order: -1; }
}
@media (max-width: 768px) {
    .sn-container { padding: 0 16px; }
    .sn-nav-inner { height: 64px; gap: 10px; }
    .sn-brand img { height: 28px; }
    .sn-nav-actions { gap: 8px; }
    .sn-link-signin, .sn-nav-cta { display: none; }
    .sn-cur-btn { padding: 5px 9px; font-size: 12px; }
    .sn-cur-code { display: none; }
    .sn-ed-hero { padding: 34px 0 38px; }
    .sn-ed-hero h1 { font-size: 28px; }
    .sn-ed-search { max-width: 100%; padding: 5px 5px 5px 14px; }
    .sn-ed-search button { padding: 8px 14px; font-size: 12.5px; }
    .sn-ed-featured { height: 200px; }
    .sn-ed-featured-overlay h3 { font-size: 16.5px; }
    .sn-ed-body { padding: 26px 0 56px; }
    .sn-ed-pills { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; max-width: 100%; }
    .sn-ed-pill { white-space: nowrap; flex-shrink: 0; }
    .sn-kb-wrap { padding: 20px 0 56px; }
    .sn-kb-main { padding: 22px 16px; border-radius: 14px; }
    .sn-kb-card { padding: 16px; border-radius: 14px; }
    .sn-kb-main h1 { font-size: 23px; line-height: 1.25; }
    .sn-kb-lead { font-size: 14.5px; }
    .sn-prose { font-size: 14.5px; }
    .sn-prose h2 { font-size: 18.5px; }
    .sn-footer-sub { max-width: 100%; }
    .sn-cookie-bar { left: 10px; right: 10px; bottom: 10px; padding: 14px; }
}


/* ==========================================================================
   v27 Mega-Menu Header, 5-Column Footer, Dark Monitoring Showcase,
   10 Individual Testimonials & Android / iOS Coming Soon Badges
   ========================================================================== */

/* ---- Header Mega-Menu ---- */
.sn-mega-item { position: relative; }
.sn-mega-trigger {
    background: none; border: 0; color: #334155; font-weight: 500; font-size: 14px;
    padding: 8px 13px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
    transition: all 0.15s;
}
.sn-mega-trigger:hover, .sn-mega-trigger.active, .sn-mega-item:hover .sn-mega-trigger, .sn-mega-item.open .sn-mega-trigger {
    color: var(--sn-purple); background: rgba(91, 60, 230, 0.08);
}
.sn-caret { font-size: 10px; opacity: 0.7; transition: transform 0.16s; }
.sn-mega-item:hover .sn-caret, .sn-mega-item.open .sn-caret { transform: rotate(180deg); }
.sn-mega-panel {
    position: absolute; top: calc(100% + 10px); left: 0; background: #fff;
    border: 1px solid #e2e8f0; border-radius: 18px; padding: 20px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
    z-index: 1060;
}
.sn-mega-item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.sn-mega-item:hover .sn-mega-panel, .sn-mega-item.open .sn-mega-panel {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.sn-mega-wide { width: 760px; max-width: calc(100vw - 48px); }
.sn-mega-two { width: 490px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sn-mega-compact { width: 280px; }
.sn-mega-cols { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 22px; }
.sn-mega-hd {
    font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
    color: #64748b; margin-bottom: 10px;
}
.sn-mega-panel a {
    display: block; padding: 7px 10px; border-radius: 9px; font-size: 13.5px;
    font-weight: 500; color: #1e293b; text-decoration: none; transition: background 0.12s, color 0.12s;
}
.sn-mega-panel a:hover { background: #f5f3ff; color: var(--sn-purple); }
.sn-mega-div { height: 1px; background: #f1f5f9; margin: 8px 0; }
.sn-mega-aside { border-left: 1px solid #f1f5f9; padding-left: 18px; }
.sn-mega-card {
    display: flex !important; align-items: flex-start; gap: 11px; padding: 10px 11px !important;
    border-radius: 12px !important; background: #f8fafc; border: 1px solid #eef2f6; margin-bottom: 8px;
}
.sn-mega-card:last-child { margin-bottom: 0; }
.sn-mega-card:hover { background: #f5f3ff !important; border-color: rgba(91, 60, 230, 0.28); }
.sn-mega-card i { font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.sn-mega-card strong { display: block; font-size: 13px; color: #0f172a; line-height: 1.25; }
.sn-mega-card small { display: block; font-size: 11.5px; color: #64748b; line-height: 1.35; }

/* ---- 5-Column Footer ---- */
.sn-footer-grid-5 {
    display: grid; grid-template-columns: 1.75fr 1fr 1fr 1fr 1.1fr; gap: 28px;
    padding-bottom: 42px; border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
@media (max-width: 1020px) { .sn-footer-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sn-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .sn-footer-grid-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .sn-footer-grid-5 { grid-template-columns: 1fr; } }

/* ---- Mobile App Store Coming Soon Badges ---- */
.sn-store-badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sn-store-badges-sm { justify-content: flex-start; gap: 8px; }
.sn-store-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 12px;
    background: #0b1220; color: #f8fafc; border: 1px solid rgba(255, 255, 255, 0.22);
    cursor: pointer; text-align: left; transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.sn-store-badge:hover { transform: translateY(-2px); border-color: #34d399; background: #131c31; color: #fff; }
.sn-store-badge small { display: block; font-size: 9px; letter-spacing: 0.06em; opacity: 0.78; line-height: 1.1; }
.sn-store-badge strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.2; }
.sn-store-badges-sm .sn-store-badge { padding: 7px 11px; border-radius: 10px; }
.sn-store-badges-sm .sn-store-badge strong { font-size: 12.5px; }

/* ---- Dark Slate Monitoring & Alerting Showcase (UptimeRobot-inspired) ---- */
.sn-dark-section {
    background: radial-gradient(800px 420px at 85% 15%, rgba(16, 185, 129, 0.14), transparent 65%),
                radial-gradient(700px 420px at 10% 85%, rgba(91, 60, 230, 0.18), transparent 65%),
                #0b1220;
    color: #e2e8f0; padding: 84px 0;
}
.sn-dark-card {
    background: rgba(15, 23, 42, 0.82); border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 22px; padding: 36px; box-shadow: 0 24px 60px rgba(2, 6, 23, 0.45);
}
@media (max-width: 640px) { .sn-dark-card { padding: 22px; } }
.sn-mon-console {
    background: #0f172a; border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 16px; overflow: hidden;
}
.sn-mon-console-hd {
    padding: 12px 16px; border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: #94a3b8;
}
.sn-mon-row {
    display: flex; align-items: center; gap: 12px; padding: 11px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1); font-size: 13px;
}
.sn-mon-row:last-child { border-bottom: 0; }
.sn-dot-up { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.22); flex-shrink: 0; }
.sn-dot-warn { width: 10px; height: 10px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.22); flex-shrink: 0; }
.sn-dot-down { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.22); flex-shrink: 0; }
.sn-mon-tag {
    font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 6px;
    background: rgba(148, 163, 184, 0.14); color: #cbd5e1; white-space: nowrap;
}
.sn-alert-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
@media (max-width: 560px) { .sn-alert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sn-alert-node {
    background: #0f172a; border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 14px;
    padding: 16px 10px; text-align: center; transition: transform 0.16s, border-color 0.16s;
}
.sn-alert-node:hover { transform: translateY(-3px); border-color: #34d399; }
.sn-alert-node i { font-size: 22px; display: block; margin-bottom: 8px; }
.sn-alert-node span { font-size: 12px; font-weight: 600; color: #e2e8f0; }

/* ---- 10 Individual Testimonials Carousel ---- */
.sn-testi-track {
    display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 6px 2px 16px; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.sn-testi-card {
    flex: 0 0 340px; scroll-snap-align: start;
    background: rgba(15, 23, 42, 0.88); border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px; padding: 24px; display: flex; flex-direction: column;
}
@media (max-width: 480px) { .sn-testi-card { flex: 0 0 86vw; } }
.sn-testi-stars { color: #22c55e; font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.sn-testi-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin: 12px 0 8px; }
.sn-testi-card p { font-size: 13.5px; color: #cbd5e1; line-height: 1.65; margin: 0; flex: 1; }
.sn-testi-author { font-weight: 700; color: #f8fafc; font-size: 14px; line-height: 1.25; }
.sn-testi-role { color: #94a3b8; font-size: 12px; }
