/* ===== Insights for ConnectWise - insightsmsp.com ===== */

:root {
    /* Dark (hero, proof, close, nav, footer) */
    --hero-bg: #1a0f28;
    --hero-surface: rgba(255,255,255,0.05);
    /* Light (body) */
    --bg: #ffffff;
    --bg-subtle: #f7f5fa;
    --bg-muted: #efedf3;
    --surface: #ffffff;
    --text: #1c1528;
    --text-secondary: #5c5270;
    --text-muted: #9590a0;
    --border: #e8e4ef;
    --border-light: #f0edf5;
    /* Accents */
    --accent: #7c3aed;
    --accent-hover: #6d28d9;
    --accent-light: #ede9fe;
    --accent-glow: rgba(124,58,237,0.1);
    --warm: #ea580c;
    --warm-bg: #fff7ed;
    --warm-border: #fed7aa;
    --success: #059669;
    --success-bg: #ecfdf5;
    /* Shared */
    --radius: 12px;
    --radius-lg: 20px;
    --max-width: 1140px;
    --font: 'DM Sans', sans-serif;
    --mono: 'Space Mono', monospace;
    --header-height: 60px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; color: var(--text); }
h1 { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.0625rem; font-weight: 600; }
p { margin-bottom: 1rem; }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.25rem; }

/* ===== Award Banner ===== */
.award-banner {
    display: block;
    background: var(--warm-bg);
    border-bottom: 1px solid var(--warm-border);
    padding: 0.75rem 2rem;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--warm);
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: background 0.2s;
}
.award-banner:hover { background: #fff3e0; color: var(--warm); }
.award-banner > span {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
}
.award-icon { font-size: 1.125rem; line-height: 1; }
.award-logo { height: 22px; width: auto; display: inline-block; }

/* ===== Header / Nav ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(26,15,40,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}
.logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.logo-img { height: 32px; width: auto; }

/* Desktop nav */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}
.nav-desktop > a,
.nav-desktop .dropdown-toggle {
    color: rgba(255,255,255,0.65);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.375rem 0;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
}
.nav-desktop > a:hover,
.nav-desktop .dropdown-toggle:hover,
.nav-desktop > a.active { color: #fff; }
.header-cta {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 0.4375rem 1.125rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.8125rem !important;
    transition: all 0.2s !important;
}
.header-cta:hover { background: var(--accent-hover) !important; transform: translateY(-1px); }

/* Dropdowns */
.has-dropdown { position: relative; }
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    padding: 0.5rem 0;
    z-index: 100;
    padding-top: 0.75rem;
}
/* Invisible bridge so hover doesn't break crossing the gap */
.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.75rem;
    display: none;
}
.has-dropdown:hover::after { display: block; }
.has-dropdown:hover .dropdown,
.has-dropdown.dropdown-open .dropdown { display: block; }
.dropdown a {
    display: block;
    padding: 0.5rem 1.25rem;
    color: var(--text);
    font-size: 0.8125rem;
    transition: background 0.15s;
}
.dropdown a:hover { background: var(--bg-subtle); color: var(--accent); }

/* Mega menu */
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 700px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    padding: 1.5rem;
    padding-top: 2.25rem;
    z-index: 100;
    gap: 1.5rem;
}
.has-mega-menu:hover .mega-menu,
.has-mega-menu.dropdown-open .mega-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.mega-col h4 {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
    font-family: var(--mono);
}
.mega-col a {
    display: block;
    padding: 0.35rem 0.5rem;
    color: var(--text);
    font-size: 0.8125rem;
    border-radius: 4px;
    transition: all 0.15s;
}
.mega-col a:hover { background: var(--bg-subtle); color: var(--accent); }
.mega-col a.active { color: var(--accent); font-weight: 600; }

/* Mobile nav */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-bg);
    padding: 1.5rem;
    overflow-y: auto;
    z-index: 999;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
    display: block;
    color: rgba(255,255,255,0.8);
    padding: 0.625rem 0;
    font-size: 0.9375rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-mobile a:hover { color: #fff; }
.mobile-section-title { font-weight: 700; color: #fff !important; }
.mobile-group-label {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.3);
    padding: 1rem 0 0.25rem;
    font-family: var(--mono);
}
.mobile-dropdown-toggle {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    padding: 0.625rem 0;
    font-size: 0.9375rem;
    font-family: inherit;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
}
.mobile-dropdown-arrow {
    float: right;
    font-size: 0.75rem;
    transition: transform 0.2s;
}
.mobile-dropdown-toggle.open .mobile-dropdown-arrow { transform: rotate(180deg); }
.mobile-dropdown-content {
    display: none;
    padding-left: 1rem;
}
.mobile-dropdown-content.open { display: block; }
.mobile-cta {
    display: block !important;
    text-align: center;
    background: var(--accent);
    color: #fff !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 1rem;
    border: none !important;
}

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

/* ===== Main content ===== */
main { min-height: 60vh; }

/* ===== Sections ===== */
.section { padding: 2.5rem 2rem; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-alt { background: var(--bg-subtle); }
.section-dark { background: var(--hero-bg); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-brand { background: var(--hero-bg); color: #fff; }
.section-brand h2, .section-brand h3 { color: #fff; }
.section-label {
    font-family: var(--mono);
    font-size: 0.6875rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}
.section-heading {
    font-size: clamp(1.625rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.7;
    margin-top: 0.75rem;
}
.section-center { text-align: center; margin-bottom: 3rem; }
.section-center .section-desc { margin-left: auto; margin-right: auto; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3rem; }

/* ===== Hero ===== */
.hero {
    background: var(--hero-bg);
    padding: 5rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.hero::before {
    content: '';
    position: absolute;
    width: 1000px;
    height: 600px;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(124,58,237,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    color: #fff;
    animation: fadeUp 0.6s ease both;
}
.hero h1 .hl {
    background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    animation: fadeUp 0.6s ease 0.1s both;
}
.hero-ctas {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.6s ease 0.2s both;
}
.hero-note {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
    margin-top: 0.75rem;
    margin-bottom: 0;
    animation: fadeUp 0.6s ease 0.25s both;
}
.hero-visual {
    margin-top: 3rem;
    animation: fadeUp 0.7s ease 0.3s both;
}
.hero-visual video, .hero-animation {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 32px 64px rgba(0,0,0,0.4), 0 0 80px rgba(124,58,237,0.08);
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font);
    text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px var(--accent-glow); }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.15); }
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); background: var(--accent-light); }
.btn-white { background: #fff; color: var(--hero-bg); font-weight: 700; }
.btn-white:hover { background: #f3f0ff; color: var(--hero-bg); transform: translateY(-1px); }
.btn-sm { padding: 0.5rem 1.125rem; font-size: 0.8125rem; }

/* ===== Problem cards ===== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.problem-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.problem-card:hover { border-color: var(--accent); box-shadow: 0 4px 20px var(--accent-glow); }
.problem-num {
    font-family: var(--mono);
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.problem-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.625rem; line-height: 1.3; }
.problem-card p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.65; margin: 0; }
@media (max-width: 768px) { .problem-grid { grid-template-columns: 1fr; } }

/* ===== Steps ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 2.5rem 0 3rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.step { padding: 2rem 1.75rem; }
.step + .step { border-left: 1px solid var(--border); }
.step-num {
    font-family: var(--mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.25;
    margin-bottom: 0.75rem;
    line-height: 1;
}
.step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.step p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.65; margin: 0; }
@media (max-width: 768px) {
    .steps { grid-template-columns: 1fr; }
    .step + .step { border-left: none; border-top: 1px solid var(--border); }
}

/* ===== Video ===== */
.video-wrap {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.video-wrap iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    border: 0;
}
/* YouTube facade — thumbnail + play button, loads iframe on click */
.yt-facade {
    position: relative;
    cursor: pointer;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}
.yt-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: rgba(0,0,0,0.7);
    border-radius: 14px;
    transition: background 0.2s;
}
.yt-facade:hover .yt-play { background: #e00; }
.yt-play::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
}
.yt-facade iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}
.video-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* ===== Proof card (dark) ===== */
.proof-card {
    background: var(--hero-bg);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: #fff;
}
.proof-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
}
.proof-stat-num {
    font-family: var(--mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: #a78bfa;
    line-height: 1;
    margin-bottom: 0.375rem;
}
.proof-stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.testimonial-layout {
    display: grid;
    grid-template-columns: 39fr 61fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.25rem;
}
.testimonial-short {
    grid-row: 1 / -1;
}
.testimonial-short .yt-facade {
    height: 100%;
    aspect-ratio: auto;
}
.testimonial-stack {
    display: contents;
}
.testimonial-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.testimonial-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    overflow: hidden;
}
.testimonial-card iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    border: 0;
}
.testimonial-meta {
    padding: 0.875rem 1.125rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.testimonial-meta strong { font-size: 0.875rem; }
.testimonial-meta span { font-size: 0.8125rem; color: rgba(255,255,255,0.4); }
@media (max-width: 768px) {
    .proof-stats { grid-template-columns: repeat(2, 1fr); }
    .testimonial-row { grid-template-columns: 1fr; }
    .testimonial-layout { grid-template-columns: 1fr; grid-template-rows: auto; }
    .testimonial-short { grid-row: auto; }
    .testimonial-short .yt-facade { height: auto; aspect-ratio: 9/16; }
}
@media (max-width: 480px) { .proof-card { padding: 2rem 1.25rem; } }

/* ===== Feature grid ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 24px var(--accent-glow); }
.feature-card-img { width: 100%; height: 140px; object-fit: cover; border-bottom: 1px solid var(--border); }
.feature-card-body { padding: 1.25rem; }
.feature-card-body h3 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.375rem; }
.feature-card-body p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }
@media (max-width: 768px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .feature-grid { grid-template-columns: 1fr; } }

/* ===== Feature detail (features page) ===== */
.feature-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.feature-detail-reverse { direction: rtl; }
.feature-detail-reverse > * { direction: ltr; }
.feature-detail-text .section-label { margin-bottom: 0.5rem; }
.feature-detail-text h2 { margin-bottom: 0.75rem; }
.feature-detail-text p { color: var(--text-secondary); line-height: 1.7; }
.feature-detail-img img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    width: 100%;
}
@media (max-width: 768px) {
    .feature-detail { grid-template-columns: 1fr; gap: 2rem; }
    .feature-detail-reverse { direction: ltr; }
}

/* ===== Cards (generic) ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 4px 20px var(--accent-glow); transform: translateY(-2px); }

/* ===== Integration logos ===== */
.integration-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
}
.integration-logos img { height: 40px; width: auto; opacity: 0.35; transition: opacity 0.3s; }
.integration-logos img:hover { opacity: 0.7; }

/* ===== Close / CTA section ===== */
.close-section {
    background: var(--hero-bg);
    color: #fff;
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}
.close-section::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 500px;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(124,58,237,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.close-inner { max-width: 620px; margin: 0 auto; position: relative; }
.close-section .section-heading { color: #fff; font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
.close-desc { font-size: 1.0625rem; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 2rem; }
.guarantees {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.625rem 1.25rem;
    margin-bottom: 2rem;
}
.guarantee {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.guarantee-check { color: #7ee6a8; font-weight: 700; }
.close-note { margin-top: 1.25rem; font-size: 0.8125rem; color: rgba(255,255,255,0.3); }

/* ===== User Guide layout ===== */
.ug-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1.5rem 2rem;
}
.ug-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
    align-self: start;
    max-height: calc(100vh - var(--header-height) - 2rem);
    overflow-y: auto;
    padding-right: 1rem;
}
.ug-group { margin-bottom: 1.5rem; }
.ug-group h4 {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--border-light);
    font-family: var(--mono);
}
.ug-group a {
    display: block;
    padding: 0.35rem 0.5rem;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    border-radius: 4px;
    transition: all 0.15s;
}
.ug-group a:hover { background: var(--bg-subtle); color: var(--accent); }
.ug-group a.active { color: var(--accent); font-weight: 600; background: var(--accent-light); }
.ug-content { min-width: 0; }
.ug-content h1 { font-size: 2rem; margin-bottom: 1rem; }
.ug-content h2 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 0.75rem; }
.ug-content h3 { font-size: 1.25rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.ug-content img { border-radius: var(--radius); margin: 1.5rem 0; border: 1px solid var(--border); }
.ug-prev-next {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.ug-prev-next a {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
    max-width: 48%;
}
.ug-prev-next a:hover { border-color: var(--accent); background: var(--accent-light); }
.ug-next { align-items: flex-end; margin-left: auto; text-align: right; }
.ug-pn-arrow { font-size: 1.25rem; color: var(--accent); }
.ug-pn-meta { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin: 0.25rem 0 0.125rem; }
.ug-pn-title { font-size: 0.9375rem; font-weight: 600; color: var(--text); }
@media (max-width: 768px) {
    .ug-layout { grid-template-columns: 1fr; padding: 1rem; }
    .ug-sidebar { position: static; max-height: none; padding: 1rem; background: var(--bg-subtle); border-radius: var(--radius); }
    .ug-prev-next { flex-direction: column; }
    .ug-prev-next a { max-width: 100%; }
    .ug-next { align-items: flex-start; text-align: left; }
}

/* ===== Page content ===== */
.page-content { max-width: 800px; margin: 0 auto; padding: 1.5rem 1.5rem 1rem; }
.ug-content .page-content { padding: 0; }
.ug-content .section { padding: 0; }
.ug-content .section-inner { margin: 0; }
.page-content h1 { margin-bottom: 1.5rem; }
.page-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; }

/* ===== Contact form ===== */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.375rem; font-size: 0.875rem; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* ===== Article cards ===== */
.article-list { display: grid; gap: 1.5rem; }
.article-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: box-shadow 0.2s;
}
.article-card:hover { box-shadow: 0 4px 20px var(--accent-glow); }
.article-card img { border-radius: var(--radius); width: 100%; height: 140px; object-fit: cover; }
@media (max-width: 600px) { .article-card { grid-template-columns: 1fr; } }

/* ===== Pricing ===== */
.pricing-table { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.pricing-card {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
}
.pricing-card.featured { border-color: var(--accent); }
.price { font-size: 2.5rem; font-weight: 800; color: var(--hero-bg); }
.price span { font-size: 1rem; font-weight: 400; color: var(--text-secondary); }

/* Pricing hero + perks */
.pricing-hero-card {
    text-align: center;
    max-width: 500px;
    margin: 0 auto 2.5rem;
    background: var(--hero-bg);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
}
.pricing-hero-card .price-amount { color: #fff; }
.pricing-hero-card .price-period { color: rgba(255,255,255,0.7); }
.pricing-hero-card .text-muted { color: rgba(255,255,255,0.5); }
.pricing-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 900px; margin: 0 auto; }
@media (max-width: 700px) { .pricing-perks { grid-template-columns: 1fr; } }
.pricing-perk {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.pricing-perk:hover { border-color: var(--accent); box-shadow: 0 4px 16px var(--accent-glow); }
.pricing-perk-check { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--success-bg); color: var(--success); font-weight: 700; font-size: 1.1rem; margin: 0 auto 0.75rem; }
.pricing-perk h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.pricing-perk p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.5; }

/* ROI Calculator */
.roi-calculator { background: var(--bg); border-radius: var(--radius-lg); padding: 2rem; max-width: 700px; margin: 0 auto; color: var(--text); }
.roi-currency { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.roi-currency-option { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-size: 1rem; color: var(--text); }
.roi-currency-option img { width: 40px; height: 24px; border-radius: 3px; object-fit: cover; }
.roi-currency-option input[type="radio"] { width: 20px; height: 20px; accent-color: var(--accent); }
.roi-table { width: 100%; border-collapse: collapse; }
.roi-table td, .roi-table th { padding: 0.75rem 0.5rem; vertical-align: middle; font-size: 0.95rem; }
.roi-table td:last-child { white-space: nowrap; width: 170px; }
.roi-table th { text-align: center; font-weight: 600; color: var(--text-secondary); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; }
.roi-table tbody tr:nth-child(even) { background: var(--bg-subtle); }
.roi-table input[type="number"] { width: 60px; padding: 6px 8px; font-size: 1rem; border: 1px solid var(--border); border-radius: 6px; text-align: center; font-family: var(--font); }
.roi-table input[type="number"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.roi-table-results td:nth-child(2), .roi-table-results td:nth-child(3) { text-align: center; }
.roi-table-results span { font-weight: 600; color: var(--success); }
.roi-results { margin-top: 1.5rem; border-top: 2px solid var(--border); padding-top: 1.5rem; }
.roi-summary { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.roi-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.75rem; font-size: 0.95rem; border-radius: 8px; }
.roi-summary-row span:last-child { font-weight: 700; white-space: nowrap; margin-left: 1rem; }
.roi-total { background: var(--success-bg); font-size: 1.05rem; padding: 0.75rem; border-radius: 8px; }
.roi-total span:last-child { color: var(--success); font-size: 1.1rem; }
@media (max-width: 600px) {
    .roi-calculator { padding: 1rem; }
    .roi-table td, .roi-table th { font-size: 0.85rem; padding: 0.5rem 0.25rem; }
    .roi-summary-row { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
}

/* ===== Footer ===== */
.site-footer {
    background: var(--hero-bg);
    color: rgba(255,255,255,0.8);
    padding: 3rem 2rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.25);
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2.5rem;
}
.footer-logo { height: 28px; width: auto; margin-bottom: 1rem; opacity: 0.9; }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.6; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-social a:hover { color: #fff; }
.footer-col h4 {
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: var(--mono);
}
.footer-col a { display: block; color: rgba(255,255,255,0.45); font-size: 0.875rem; padding: 0.25rem 0; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-col p { color: rgba(255,255,255,0.45); font-size: 0.875rem; margin-bottom: 0.375rem; }
.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-legal, .footer-reg { font-size: 0.8125rem; color: rgba(255,255,255,0.25); }
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .hero h1 { font-size: 2rem; }
    .hero { padding: 3rem 1.5rem 3rem; }
    .section { padding: 3rem 1rem; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== Cookie banner ===== */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--hero-bg);
    color: rgba(255,255,255,0.8);
    border-top: 1px solid rgba(255,255,255,0.06);
}
.cookie-banner-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.cookie-banner p { margin: 0; font-size: 0.875rem; }
.cookie-banner a { color: var(--accent); }
.cookie-dismiss {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8125rem;
    white-space: nowrap;
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
