/* Work-mate — Enterprise Landing v3 */
:root {
    --primary: #0000ff;
    --primary-hover: #0000cc;
    --primary-subtle: #eef0ff;
    --primary-muted: #d4d8ff;
    --on-primary: #ffffff;
    --surface: #ffffff;
    --surface-alt: #f8fafc;
    --surface-dim: #f1f5f9;
    --text: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-faint: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --success: #059669;
    --shadow-xs: 0 1px 2px rgba(0,0,0,.03);
    --shadow-sm: 0 2px 8px rgba(0,0,0,.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,.05);
    --shadow-lg: 0 8px 40px rgba(0,0,0,.07);
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--surface);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
    line-height: 1.4;
    letter-spacing: -.01em;
}
.btn .material-icons { font-size: 20px; }

.btn-primary {
    background: var(--primary);
    color: var(--on-primary);
    box-shadow: 0 1px 3px rgba(0,0,255,.3);
}
.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 16px rgba(0,0,255,.3);
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-subtle);
}
.btn-white {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}
.btn-white:hover {
    background: var(--surface-alt);
    box-shadow: var(--shadow-md);
}
.btn-hero-outline {
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.85);
    border: 1.5px solid rgba(255,255,255,.15);
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.3);
    color: #fff;
}
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: var(--nav-h);
    border-bottom: 1px solid transparent;
    transition: all .3s ease;
}
.navbar.scrolled {
    background: rgba(255,255,255,.97);
    border-bottom-color: var(--border);
    box-shadow: 0 1px 4px rgba(0,0,0,.03);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: var(--text);
    letter-spacing: -.02em;
}
.logo img { width: 32px; height: 32px; }

.nav-links {
    display: flex;
    gap: 2px;
}
.nav-links a {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--r-sm);
    transition: all .15s;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: var(--surface-dim);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-cta { padding: 9px 20px; font-size: 14px; }

/* Language selector */
.lang-selector { position: relative; }
.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all .15s;
    color: var(--text-secondary);
}
.lang-btn:hover { border-color: var(--text-muted); }
.lang-btn .material-icons { font-size: 16px; color: var(--text-faint); transition: transform .2s; }
.lang-selector.active .lang-btn .material-icons { transform: rotate(180deg); }
.lang-flag { width: 20px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); object-fit: cover; }
.lang-dropdown {
    position: absolute;
    top: calc(100% + 6px); right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: all .2s;
    z-index: 100;
    overflow: hidden;
}
.lang-selector.active .lang-dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all .1s;
}
.lang-dropdown a:hover,
.lang-dropdown a.active {
    background: var(--surface-dim);
    color: var(--text);
}

/* Mobile */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    background: none; border: none;
    cursor: pointer;
    color: var(--text);
    border-radius: var(--r-sm);
}
.mobile-menu-btn .material-icons { font-size: 26px; }
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0; visibility: hidden;
    transition: all .25s ease;
    z-index: 999;
}
.mobile-menu.active {
    transform: translateY(0); opacity: 1; visibility: visible;
}
.mobile-menu a {
    padding: 12px 14px;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-secondary);
    border-radius: var(--r-sm);
    transition: all .1s;
}
.mobile-menu a:hover { background: var(--surface-dim); color: var(--text); }
.mobile-menu .btn-primary { color: #fff !important; margin-top: 8px; }
.mobile-lang {
    display: flex; gap: 6px; flex-wrap: wrap;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    margin: 4px 0;
}
.mobile-lang a {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 10px; font-size: 13px;
    background: var(--surface-dim);
    border-radius: var(--r-sm);
    color: var(--text-secondary);
}
.mobile-lang a.active { background: var(--primary); color: #fff; }

/* ── HERO (Dark) ── */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: linear-gradient(170deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,0,255,.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 100%, rgba(0,0,255,.06) 0%, transparent 60%);
    pointer-events: none;
}
.hero-inner {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hero-chip {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.65);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: .01em;
}
.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.035em;
    color: #ffffff;
    margin-bottom: 22px;
}
.hero h1 span { color: #6699ff; }
.hero-desc {
    font-size: 18px;
    color: rgba(255,255,255,.5);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.hero-trust {
    display: flex;
    gap: 36px;
    justify-content: center;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,.35);
    font-weight: 500;
    letter-spacing: .005em;
}
.trust-item .material-icons {
    font-size: 16px;
    color: rgba(255,255,255,.25);
}

/* ── STATS BAR ── */
.stats-bar {
    padding: 0;
    background: var(--surface);
    position: relative;
    z-index: 2;
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: -40px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 32px 20px;
    position: relative;
}
.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; height: 60%;
    width: 1px;
    background: var(--border);
}
.stat-num {
    font-size: 40px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    letter-spacing: -.03em;
}
.stat-num .material-icons {
    font-size: 36px;
    color: var(--primary);
}
.stat-lbl {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ── SECTION COMMON ── */
.section-chip {
    display: inline-block;
    padding: 5px 14px;
    background: var(--primary-subtle);
    color: var(--primary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 16px;
}
.section-header {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 64px;
}
.section-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -.025em;
    line-height: 1.15;
}
.section-header p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── SELF-HOSTED ── */
.self-hosted {
    padding: 120px 0 100px;
    background: var(--surface);
}
.sh-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}
.sh-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -.025em;
    line-height: 1.15;
}
.sh-intro {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.75;
}
.sh-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.sh-card {
    background: var(--surface-alt);
    border-radius: var(--r-lg);
    padding: 36px 30px;
    border: 1px solid var(--border-light);
    transition: all .2s ease;
}
.sh-card:hover {
    background: #fff;
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.sh-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-subtle);
    border-radius: var(--r-md);
    margin-bottom: 22px;
}
.sh-icon .material-icons {
    font-size: 24px;
    color: var(--primary);
}
.sh-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}
.sh-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── MODULES ── */
.modules-section {
    padding: 100px 0;
    background: var(--surface-alt);
}

.mod-spotlight {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 44px;
    margin-bottom: 32px;
}
.mod-spotlight-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.mod-spotlight-header h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.015em;
}
.mod-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-left: 8px;
    vertical-align: middle;
}
.mod-spotlight-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 800px;
}
.mod-spotlight-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
}
.msf-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    background: var(--surface-alt);
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}
.msf-item .material-icons {
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.mod-icon {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    flex-shrink: 0;
}
.mod-icon .material-icons { font-size: 22px; color: #fff; }
.mod-icon.blue { background: #0000ff; }
.mod-icon.green { background: #059669; }
.mod-icon.purple { background: #7c3aed; }
.mod-icon.orange { background: #ea580c; }
.mod-icon.teal { background: #0d9488; }
.mod-icon.indigo { background: #4f46e5; }
.mod-icon.cyan { background: #0891b2; }
.mod-icon.pink { background: #a21caf; }
.mod-icon.amber { background: #b45309; }

.mod-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
.mod-card {
    background: #fff;
    border-radius: var(--r-lg);
    padding: 30px;
    border: 1px solid var(--border);
    transition: all .2s ease;
}
.mod-card:hover {
    border-color: var(--primary-muted);
    box-shadow: var(--shadow-sm);
}
.mod-card.mod-featured { padding: 34px; }
.mod-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 16px 0 10px;
    color: var(--text);
}
.mod-card.mod-featured h3 { font-size: 19px; }
.mod-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}
.mod-card.mod-featured p { font-size: 15px; }
.mod-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
}
.mod-tags span {
    padding: 4px 12px;
    background: var(--surface-dim);
    color: var(--text-secondary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

.mod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ── FEATURES ── */
.features-section {
    padding: 100px 0;
    background: var(--surface);
}
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feat-card {
    background: var(--surface-alt);
    border-radius: var(--r-lg);
    padding: 30px;
    border: 1px solid var(--border-light);
    transition: all .2s ease;
}
.feat-card:hover {
    background: #fff;
    border-color: var(--border);
    box-shadow: var(--shadow-xs);
}
.feat-card > .material-icons {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 18px;
    display: block;
}
.feat-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}
.feat-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── HOW IT WORKS ── */
.how-section {
    padding: 100px 0;
    background: var(--surface-alt);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step-card {
    text-align: center;
    padding: 36px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all .2s ease;
}
.step-card:hover {
    border-color: var(--primary-muted);
    box-shadow: var(--shadow-sm);
}
.step-num {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--text);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 18px;
}
.step-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}
.step-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── CTA ── */
.cta-section {
    padding: 88px 0;
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
}
.cta-inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.cta-inner h2 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.2;
    letter-spacing: -.02em;
}
.cta-inner p {
    font-size: 17px;
    color: rgba(255,255,255,.5);
    margin-bottom: 32px;
    line-height: 1.65;
}

/* ── CONTACT ── */
.contact-section {
    padding: 100px 0;
    background: var(--surface);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 56px;
    align-items: start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.ci-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-dim);
    border-radius: var(--r-md);
    flex-shrink: 0;
}
.ci-icon .material-icons { font-size: 22px; color: var(--text-muted); }
.contact-item strong {
    display: block;
    font-size: 11px;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 2px;
    font-weight: 600;
}
.contact-item a,
.contact-item span {
    font-size: 16px;
    color: var(--text);
    font-weight: 600;
}
.contact-item a:hover { color: var(--primary); }
.contact-note {
    display: flex;
    gap: 10px;
    padding: 16px;
    background: var(--surface-dim);
    border-radius: var(--r-md);
    border-left: 3px solid var(--border);
    margin-top: 8px;
}
.contact-note .material-icons { color: var(--text-faint); font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.contact-note p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.contact-form-wrap {
    background: var(--surface-alt);
    padding: 40px;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    color: var(--text);
    transition: all .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,0,255,.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-faint); }

/* ── FOOTER ── */
.footer {
    padding: 56px 0 24px;
    background: #0f172a;
    color: rgba(255,255,255,.5);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    margin-bottom: 24px;
}
.footer-brand .logo {
    color: #fff;
    margin-bottom: 14px;
}
.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,.3);
}
.footer-nav h3,
.footer-contact h3 {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 18px;
}
.footer-nav a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,.35);
    padding: 4px 0;
    transition: color .15s;
}
.footer-nav a:hover { color: rgba(255,255,255,.75); }
.footer-contact p { margin-bottom: 6px; }
.footer-contact a {
    font-size: 14px;
    color: rgba(255,255,255,.35);
}
.footer-contact a:hover { color: rgba(255,255,255,.75); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,.2);
}
.footer-author a { color: rgba(255,255,255,.25); }
.footer-author a:hover { color: rgba(255,255,255,.5); }

/* ── PRICING ── */
.pricing-section {
    padding: 100px 0;
    background: var(--surface-alt);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}
.pricing-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 40px 32px;
    transition: all .25s ease;
    position: relative;
}
.pricing-card:hover {
    border-color: var(--primary-muted);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.pricing-popular {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg);
}
.pricing-popular:hover {
    box-shadow: 0 0 0 1px var(--primary), 0 12px 40px rgba(0,0,255,.15);
    transform: translateY(-6px);
}
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 4px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}
.pricing-header {
    margin-bottom: 24px;
}
.pricing-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}
.pricing-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}
.pricing-price {
    padding: 24px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.price-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.03em;
    line-height: 1;
}
.price-currency {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-secondary);
}
.price-period {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 2px;
}
.price-label {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}
.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}
.pricing-features .material-icons {
    font-size: 18px;
    color: var(--success);
    flex-shrink: 0;
}

/* ── FAQ ── */
.faq-section {
    padding: 100px 0;
    background: var(--surface);
}
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--surface-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all .2s ease;
}
.faq-item.active {
    background: #fff;
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    transition: color .15s;
}
.faq-question:hover {
    color: var(--primary);
}
.faq-arrow {
    font-size: 22px;
    color: var(--text-faint);
    transition: transform .2s ease;
    flex-shrink: 0;
}
.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}
.faq-item.active .faq-answer {
    max-height: 300px;
}
.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ── Animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-in { opacity: 0; transform: translateY(14px); }
.animate-in.visible { animation: fadeUp .4s ease forwards; }
.animate-in:nth-child(2).visible { animation-delay: .05s; }
.animate-in:nth-child(3).visible { animation-delay: .1s; }
.animate-in:nth-child(4).visible { animation-delay: .15s; }
.animate-in:nth-child(5).visible { animation-delay: .2s; }
.animate-in:nth-child(6).visible { animation-delay: .25s; }

.section-header, .sh-header { opacity: 0; transform: translateY(12px); }
.section-header.visible, .sh-header.visible { animation: fadeUp .4s ease forwards; }
.hero-inner { animation: fadeUp .5s ease .15s both; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .sh-grid { grid-template-columns: 1fr; gap: 16px; }
    .mod-featured-grid { grid-template-columns: 1fr; }
    .mod-grid { grid-template-columns: repeat(2, 1fr); }
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: span 2; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
    :root { --nav-h: 60px; }
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: flex; }
    .mobile-menu { display: flex; }
    .hero { padding: 120px 0 80px; }
    .hero h1 { font-size: 34px; }
    .hero-desc { font-size: 16px; }
    .hero-trust { flex-direction: column; gap: 10px; align-items: center; }
    .stats-row { grid-template-columns: repeat(2, 1fr); margin-top: -28px; }
    .stat-item { padding: 24px 16px; }
    .stat-num { font-size: 32px; }
    .stat-item + .stat-item::before { display: none; }
    .self-hosted { padding: 80px 0; }
    .sh-header h2, .section-header h2 { font-size: 28px; }
    .mod-spotlight { padding: 28px; border-radius: var(--r-lg); }
    .mod-spotlight-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .mod-spotlight-header h3 { font-size: 19px; }
    .mod-spotlight-features { grid-template-columns: 1fr; }
    .mod-grid, .feat-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .cta-inner h2 { font-size: 26px; }
    .cta-section { padding: 64px 0; }
    .pricing-section, .faq-section { padding: 80px 0; }
    .pricing-card { padding: 32px 24px; }
    .faq-question { padding: 16px 20px; font-size: 15px; }
    .faq-answer p { padding: 0 20px 16px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 28px; }
    .stats-row { grid-template-columns: 1fr; }
    .stat-item + .stat-item::before { display: none; }
}

[id] { scroll-margin-top: 100px; }
@media (max-width: 768px) { [id] { scroll-margin-top: 80px; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .animate-in, .section-header, .sh-header, .hero-inner { opacity: 1; transform: none; animation: none; }
}

/* ── Scroll to top ── */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,255,.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .3s ease;
    z-index: 999;
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 28px rgba(0,0,255,.4);
    transform: translateY(-2px);
}
.scroll-top .material-icons { font-size: 24px; }

/* ── Pricing note ── */
.pricing-note {
    text-align: center;
    margin-top: 32px;
    padding: 20px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.pricing-note strong {
    color: var(--text);
}

::selection { background: rgba(0,0,255,.1); color: var(--text); }
