:root {
    --bg: #07111f;
    --bg-alt: #0d1a2c;
    --panel: rgba(255, 255, 255, 0.06);
    --panel-strong: rgba(255, 255, 255, 0.1);
    --text: #edf3ff;
    --muted: #9db0cf;
    --line: rgba(255,255,255,0.12);
    --primary: #1a73e8;
    --security: #00c6a2;
    --hosting: #5b8cff;
    --tools: #b56eff;
    --danger: #ff7f7f;
    --warning: #ffd166;
    --radius: 24px;
    --radius-sm: 16px;
    --shadow: 0 20px 50px rgba(0,0,0,0.28);
    --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

[data-theme="light"] {
    --bg: #f4f7fb;
    --bg-alt: #ffffff;
    --panel: rgba(255,255,255,0.92);
    --panel-strong: rgba(255,255,255,0.98);
    --text: #0b1830;
    --muted: #53627d;
    --line: rgba(10,31,68,0.10);
    --primary: #155fca;
    --security: #009d81;
    --hosting: #2f68ff;
    --tools: #8b49ef;
    --danger: #dc4c64;
    --warning: #b7791f;
    --shadow: 0 18px 40px rgba(13, 35, 70, 0.08);
}
body {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    background:
        radial-gradient(circle at top, rgba(26,115,232,.18), transparent 30%),
        linear-gradient(180deg, #07111f, #09172a 35%, #07111f 100%);
    color: var(--text);
}
[data-theme="light"] body {
    background:
        radial-gradient(circle at top, rgba(47,104,255,.10), transparent 24%),
        linear-gradient(180deg, #f7faff, #eef4fb 38%, #f4f7fb 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
code { background: rgba(255,255,255,.06); padding: .18rem .45rem; border-radius: 8px; border: 1px solid var(--line); }
.container { width: min(calc(100% - 2rem), var(--container)); margin: 0 auto; }
.narrow { width: min(calc(100% - 2rem), 820px); margin: 0 auto; }
.site-shell { min-height: 100vh; }
.topbar { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.03); }
.topbar-wrap { display:flex; justify-content:space-between; gap:1rem; align-items:center; min-height: 42px; font-size: .92rem; }
.topbar-copy, .topbar-links a { color: var(--muted); }
.topbar-links { display:flex; gap: 1rem; flex-wrap: wrap; }
.topbar-links a:hover { color: var(--text); }
.site-header {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(7,17,31,.72);
    border-bottom: 1px solid var(--line);
}
[data-theme="light"] .site-header { background: rgba(255,255,255,.82); }
.nav-wrap { display:flex; align-items:center; justify-content:space-between; gap: 1rem; min-height: 78px; }
.brand { display:inline-flex; align-items:center; gap:.9rem; font-weight:800; }
.brand-mark {
    width:42px; height:42px; display:grid; place-items:center; border-radius:14px;
    background: linear-gradient(135deg, var(--primary), var(--tools)); box-shadow: var(--shadow);
}
.brand-text-wrap { display:flex; flex-direction:column; gap:2px; }
.brand-subtext { font-size: .75rem; color: var(--muted); font-weight:500; }
.site-nav { display:flex; align-items:center; gap: 1rem; }
.site-nav a { color: var(--muted); font-weight: 600; }
.site-nav a.active, .site-nav a:hover { color: var(--text); }
.nav-toggle { display:none; background:none; border:0; padding:0; color: var(--text); }
.nav-toggle span { display:block; width:24px; height:2px; background: currentColor; margin:5px 0; }
.theme-toggle {
    appearance:none; border:1px solid var(--line); background: rgba(255,255,255,.05); color: var(--text);
    padding: .72rem .95rem; border-radius: 12px; font:inherit; font-weight:700; cursor:pointer;
}
[data-theme="light"] .theme-toggle { background: rgba(10,31,68,.03); }
.hero, .page-hero { padding: 6rem 0 4rem; }
.hero-home { padding-top: 5.5rem; }
.hero-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items:center; }
.single-focus { grid-template-columns: 1fr; }
.eyebrow {
    display:inline-flex; align-items:center; gap:.5rem; color: #b5c8eb; text-transform: uppercase;
    letter-spacing: .15em; font-size: .75rem; font-weight: 700; margin-bottom: 1rem;
}
h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 1rem; }
h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); max-width: 12ch; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); line-height: 1.7; margin: 0 0 1rem; }
.lead { font-size: 1.12rem; max-width: 60ch; }
.hero-actions, .hero-meta, .cta-actions, .footer-badges { display:flex; flex-wrap: wrap; gap: .9rem; align-items:center; }
.hero-meta { margin-top: 1.5rem; }
.hero-meta span, .pill {
    border: 1px solid var(--line); background: rgba(255,255,255,.04); color: #d8e4fb;
    padding: .55rem .8rem; border-radius: 999px; font-size: .84rem; font-weight: 600;
}
.button {
    display:inline-flex; align-items:center; justify-content:center; padding: .95rem 1.25rem; border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #3f8cff); color:#fff; font-weight:700; border: 1px solid transparent; box-shadow: var(--shadow);
}
.button-sm { padding: .7rem 1rem; border-radius: 12px; }
.button-outline { background: transparent; border-color: var(--line); }
.feature-card, .info-card, .price-card, .tool-card, .cta-banner, .contact-form, .panel-card {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-panel, .stack-cards { display:grid; gap:1rem; }
.feature-card, .info-card, .price-card, .tool-card, .panel-card { padding: 1.5rem; }
.feature-card a, .tool-card a, .info-card a { color: #fff; font-weight:700; }
.accent-security { box-shadow: inset 0 0 0 1px rgba(0,198,162,.3), var(--shadow); }
.accent-hosting { box-shadow: inset 0 0 0 1px rgba(91,140,255,.35), var(--shadow); }
.accent-tools { box-shadow: inset 0 0 0 1px rgba(181,110,255,.35), var(--shadow); }
.section { padding: 4.5rem 0; }
.section-alt { background: rgba(255,255,255,.03); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 2rem; }
.three-col-grid, .pricing-grid, .tools-grid, .stats-grid { display:grid; gap: 1.2rem; }
.three-col-grid, .pricing-grid, .tools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-grid { grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 1.5rem; }
.compact-stats > div, .trust-item {
    padding: 1rem 1.1rem; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.04);
}
.compact-stats strong { display:block; font-size: 1.6rem; margin-bottom: .25rem; }
.compact-stats span { color: var(--muted); }
.trust-strip-section { padding-top: 0; }
.trust-strip { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.trust-kicker { display:block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .5rem; }
.price-card.featured { transform: translateY(-8px); border-color: rgba(91,140,255,.5); }
.split-grid { display:grid; grid-template-columns: .95fr 1.05fr; gap: 2rem; align-items:start; }
.timeline-list, .check-list { display:grid; gap:1rem; }
.timeline-list > div, .check-list > div {
    padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.04); color: #dbe7ff;
}
.cta-banner { padding: 2rem; display:flex; justify-content:space-between; gap: 2rem; }
.footer-grid { display:grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap:1.5rem; padding: 3rem 0 2rem; }
.site-footer { border-top: 1px solid var(--line); margin-top: 2rem; }
.site-footer h4 { margin-bottom: .8rem; }
.site-footer ul { list-style:none; margin:0; padding:0; display:grid; gap:.6rem; }
.footer-brand { font-weight:800; font-size:1.2rem; margin-bottom:.7rem; }
.footer-bar { display:flex; justify-content:space-between; gap:1rem; padding: 1rem 0 2rem; color: var(--muted); border-top: 1px solid var(--line); }
.contact-form { padding:1.5rem; }
.form-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
label { display:grid; gap:.45rem; margin-bottom: 1rem; }
input, select, textarea {
    width:100%; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.04);
    color: var(--text); padding: .95rem 1rem; font: inherit;
}
input::placeholder, textarea::placeholder { color: #8ba2c6; }
.mini-list { list-style:none; padding:0; margin:1rem 0 1.25rem; }
.mini-list li { color: var(--muted); padding: .6rem 0; border-top: 1px solid var(--line); }
.mini-list li:last-child { border-bottom: 1px solid var(--line); }
.tight-list li { padding: .5rem 0; }
.support-split .panel-card { height: 100%; }
.muted { color: var(--muted); }
.contact-card { height: 100%; }

.section-security .brand-mark { background: linear-gradient(135deg, var(--security), var(--primary)); }
.section-hosting .brand-mark { background: linear-gradient(135deg, var(--hosting), var(--primary)); }
.section-tools .brand-mark { background: linear-gradient(135deg, var(--tools), var(--primary)); }
.section-ai .brand-mark { background: linear-gradient(135deg, var(--primary), var(--security)); }

[data-theme="light"] .hero-meta span,
[data-theme="light"] .pill,
[data-theme="light"] code { background: rgba(10,31,68,.03); color: var(--text); }
[data-theme="light"] .button-outline { background: rgba(255,255,255,.55); }
[data-theme="light"] .section-alt { background: rgba(10,31,68,.025); }
[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] textarea { background: #fff; }
[data-theme="light"] .site-nav,
[data-theme="light"] .feature-card a,
[data-theme="light"] .tool-card a,
[data-theme="light"] .info-card a { color: var(--text); }

@media (max-width: 980px) {
    .hero-grid, .split-grid, .footer-grid, .three-col-grid, .pricing-grid, .tools-grid, .form-grid, .trust-strip, .stats-grid {
        grid-template-columns: 1fr;
    }
    .cta-banner, .footer-bar, .topbar-wrap { flex-direction: column; align-items:flex-start; }
    .price-card.featured { transform:none; }
    .site-nav {
        display:none; position:absolute; right:1rem; top:122px; width:min(360px, calc(100% - 2rem));
        padding:1rem; background: rgba(7,17,31,.96); border:1px solid var(--line); border-radius:18px; flex-direction:column; align-items:flex-start;
    }
    .site-nav.open { display:flex; }
    .nav-toggle { display:block; }
}

.price-tag { font-size: 1.35rem; font-weight: 800; margin: .65rem 0 0; }
.page-hero { padding: 4.2rem 0 2rem; }
.single-focus { grid-template-columns: 1fr; }
.legal-copy { max-width: 860px; }
.legal-copy h2 { margin-top: 2rem; }
.footer-badges { display:flex; flex-wrap:wrap; gap:.75rem; margin-top:1rem; }


.comparison-wrap { margin-top: 2rem; }
.comparison-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.comparison-table th, .comparison-table td { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); text-align: left; }
.comparison-table th { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.faq-list { display: grid; gap: 1rem; }
.faq-item { border: 1px solid var(--line); background: var(--panel); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.faq-question { width: 100%; background: transparent; color: var(--text); border: 0; text-align: left; padding: 1.15rem 1.25rem; font: inherit; font-weight: 700; cursor: pointer; }
.faq-answer { display: none; padding: 0 1.25rem 1.15rem; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }
.alert-success { margin-bottom: 1rem; padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid rgba(0,198,162,.35); background: rgba(0,198,162,.12); color: var(--text); }
.status-chip-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.status-chip { display: inline-flex; align-items: center; padding: .45rem .7rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted); font-size: .85rem; }
.chat-shell { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.chat-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); }
.chat-log { display: grid; gap: .9rem; padding: 1rem 1.15rem; }
.chat-bubble { padding: .9rem 1rem; border-radius: 16px; max-width: 90%; }
.chat-bubble-assistant { background: rgba(91,140,255,.12); border: 1px solid rgba(91,140,255,.22); }
.chat-bubble-user { background: rgba(255,255,255,.04); border: 1px solid var(--line); margin-left: auto; }
.chat-composer { display: grid; grid-template-columns: 1fr auto; gap: .8rem; padding: 1rem 1.15rem 1.15rem; border-top: 1px solid var(--line); }
.tools-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1200px) { .tools-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) { .tools-grid-4 { grid-template-columns: 1fr; } }


/* v14 tool hub */
.tool-hub-controls{display:grid;gap:14px;margin:22px 0 24px}
.tool-hub-search input{width:100%;padding:14px 16px;border-radius:16px;border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--text);font:inherit}
.tool-hub-filters{display:flex;gap:10px;flex-wrap:wrap}
.tool-filter-chip{padding:10px 14px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--text);font:inherit;font-weight:700;cursor:pointer}
.tool-filter-chip.active{background:var(--text);color:var(--bg)}
.tool-hub-meta{color:var(--muted);font-size:14px}
.tool-hub-empty{padding:18px 20px;border:1px dashed var(--line);border-radius:18px;color:var(--muted);margin-top:16px}
.tool-card-searchable[hidden]{display:none !important}
[data-theme="light"] .tool-hub-search input{background:#fff}

/* v15 TLINK hub polish */
.tool-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.tool-icon-badge{width:48px;height:48px;display:grid;place-items:center;font-size:22px;border-radius:16px;background:linear-gradient(135deg, rgba(26,115,232,.18), rgba(181,110,255,.18))}
.tool-card-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.tool-card-meta span{font-size:12px;color:var(--muted);padding:6px 10px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.03)}
.workflow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.workflow-card{padding:1.35rem;border-radius:24px;border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow)}
.workflow-card .tool-icon-badge{margin-bottom:14px}
@media (max-width: 980px){.workflow-grid{grid-template-columns:1fr}}


.price-period {
    font-size: .95rem;
    color: var(--muted);
    font-weight: 600;
    margin-left: .25rem;
}
.pricing-subline {
    margin: .35rem 0 1rem;
    color: var(--muted);
    font-weight: 700;
}
.price-note {
    margin-top: 1rem;
    padding: .9rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
    color: var(--muted);
    font-size: .95rem;
}
.pricing-callout {
    margin-top: 1.25rem;
}

/* Revenue-page expansion */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.stack-list { display: flex; flex-direction: column; gap: 1rem; }
.two-up-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cta-banner {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(26,115,232,.16), rgba(181,110,255,.10));
    box-shadow: var(--shadow);
}
.price-card .button,
.info-card .button { margin-top: auto; }
.price-card,
.info-card {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
@media (max-width: 900px) {
    .feature-grid,
    .two-up-grid,
    .cta-banner { grid-template-columns: 1fr; }
}


/* Homepage sales + request-service integration */
.hero-home-sales .hero-grid { align-items: start; }
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.workflow-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 1.4rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: .9rem;
}
.text-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.compact-actions {
    gap: .65rem;
    flex-wrap: wrap;
}
.button-small {
    padding: .65rem .95rem;
    font-size: .92rem;
}
.request-layout {
    align-items: start;
}
.request-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.request-summary-card h3 {
    margin-bottom: .45rem;
}
.inline-note {
    margin-top: .75rem;
    padding: .75rem .85rem;
    border-radius: calc(var(--radius) - 6px);
    background: rgba(26,115,232,.08);
    border: 1px solid rgba(26,115,232,.18);
    font-size: .95rem;
}
.request-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}
.small-text { font-size: .9rem; }

@media (max-width: 900px) {
    .workflow-grid { grid-template-columns: 1fr; }
    .request-form-footer { flex-direction: column; align-items: flex-start; }
}

/* v24 text and spacing polish */
body {
    overflow-wrap: break-word;
}
p, li, td, th, label, input, select, textarea, .button, .pill, .status-chip {
    line-height: 1.5;
}
h1, h2, h3, h4 {
    overflow-wrap: anywhere;
}
.lead,
.feature-card p,
.info-card p,
.price-card p,
.panel-card p,
.tool-card p,
.workflow-card p,
.trust-item span,
.trust-item strong {
    overflow-wrap: anywhere;
}
.hero-meta span,
.pill,
.status-chip,
.tool-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 2.2rem;
    padding: .5rem .82rem;
    text-align: left;
    white-space: normal;
}
.pill,
.status-chip {
    vertical-align: top;
}
.feature-card,
.info-card,
.price-card,
.panel-card,
.tool-card,
.workflow-card,
.trust-item,
.cta-banner,
.contact-form {
    overflow: hidden;
}
.feature-card > *:last-child,
.info-card > *:last-child,
.price-card > *:last-child,
.panel-card > *:last-child,
.tool-card > *:last-child,
.workflow-card > *:last-child {
    margin-bottom: 0;
}
.feature-card h3,
.info-card h3,
.price-card h3,
.tool-card h3,
.workflow-card h3,
.panel-card h3 {
    margin-bottom: .7rem;
}
.feature-card p,
.info-card p,
.price-card p,
.panel-card p,
.tool-card p,
.workflow-card p {
    margin-bottom: .9rem;
}
.mini-list li,
.tight-list li {
    margin-bottom: .65rem;
}
.mini-list li:last-child,
.tight-list li:last-child {
    margin-bottom: 0;
}
.tool-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin: .9rem 0 1rem;
}
.tool-card-meta span {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.03);
}
.trust-item {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}
.trust-item strong {
    font-size: 1.02rem;
    line-height: 1.35;
}
.form-grid label,
.contact-form > label {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    min-width: 0;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    min-width: 0;
}
.cta-banner,
.workflow-card,
.info-card,
.feature-card,
.price-card,
.tool-card,
.panel-card {
    position: relative;
}
.tlinkx-corner-mark {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
    pointer-events: none;
}
.tlinkx-corner-mark img {
    width: clamp(92px, 10vw, 132px);
    height: auto;
    opacity: .9;
    filter: drop-shadow(0 16px 26px rgba(0,0,0,.18));
}
.tlinkx-corner-mark-hub {
    margin: 0 0 2rem;
}
@media (max-width: 768px) {
    .hero-meta span,
    .pill,
    .status-chip,
    .tool-card-meta span {
        min-height: 0;
    }
    .tlinkx-corner-mark img {
        width: 88px;
    }
}

/* v25 ecosystem top bar + sidebar */
.ecosystem-topbar {
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, rgba(181,110,255,.14), rgba(26,115,232,.1));
}
.ecosystem-topbar-wrap {
    min-height: 42px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
}
.ecosystem-topbar-copy {
    color: var(--text);
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 800;
}
.ecosystem-topbar-links {
    display: flex;
    gap: .55rem;
    flex-wrap: wrap;
    align-items: center;
}
.ecosystem-topbar-links a {
    color: var(--muted);
    padding: .45rem .7rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: .86rem;
    font-weight: 600;
    line-height: 1.35;
}
.ecosystem-topbar-links a:hover,
.ecosystem-topbar-links a.active {
    color: var(--text);
    border-color: var(--line);
    background: rgba(255,255,255,.06);
}
.ecosystem-toggle,
.ecosystem-close {
    appearance: none;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.05);
    color: var(--text);
    border-radius: 14px;
    padding: .68rem .95rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
}
.ecosystem-toggle-inline {
    display: inline-flex;
}
.nav-actions-left {
    display: none;
}
.ecosystem-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, calc(100vw - 1rem));
    height: 100vh;
    z-index: 120;
    transform: translateX(104%);
    transition: transform .28s ease;
    pointer-events: none;
}
.ecosystem-sidebar.open {
    transform: translateX(0);
    pointer-events: auto;
}
.ecosystem-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2,10,20,.6);
    backdrop-filter: blur(6px);
    z-index: 110;
}
.ecosystem-sidebar-panel {
    margin-left: auto;
    height: 100%;
    overflow-y: auto;
    padding: 1.25rem;
    border-left: 1px solid var(--line);
    background: rgba(7,17,31,.96);
    box-shadow: -24px 0 50px rgba(0,0,0,.26);
}
[data-theme="light"] .ecosystem-sidebar-panel {
    background: rgba(255,255,255,.98);
}
.ecosystem-sidebar-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.ecosystem-sidebar-head h2 {
    font-size: 1.55rem;
    margin-bottom: .25rem;
    max-width: 12ch;
}
.ecosystem-sidebar-section {
    padding: 1rem 0;
    border-top: 1px solid var(--line);
}
.ecosystem-sidebar-section:first-of-type {
    border-top: 0;
    padding-top: 0;
}
.ecosystem-sidebar-intro {
    margin-bottom: 1rem;
}
.ecosystem-sidebar-grid {
    display: grid;
    gap: .8rem;
}
.ecosystem-card {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    padding: 1rem 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.04);
}
.ecosystem-card strong {
    color: var(--text);
    line-height: 1.3;
}
.ecosystem-card span {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.45;
}
.ecosystem-card.active {
    box-shadow: inset 0 0 0 1px rgba(181,110,255,.35);
}
.ecosystem-link-list {
    display: grid;
    gap: .75rem;
}
.ecosystem-link-list a {
    display: block;
    padding: .95rem 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.03);
    color: var(--text);
    font-weight: 600;
    line-height: 1.4;
}
.ecosystem-link-list a:hover,
.ecosystem-card:hover {
    border-color: rgba(91,140,255,.35);
    background: rgba(255,255,255,.06);
}
.site-header {
    top: 0;
}
@media (max-width: 1180px) {
    .nav-actions-left {
        display: flex;
        margin-left: auto;
    }
    .ecosystem-topbar-wrap {
        grid-template-columns: 1fr auto;
    }
    .ecosystem-topbar-links {
        grid-column: 1 / -1;
        order: 3;
        padding-bottom: .6rem;
    }
}
@media (max-width: 960px) {
    .ecosystem-topbar-links {
        display: none;
    }
    .ecosystem-topbar-wrap {
        grid-template-columns: 1fr auto;
    }
    .nav-actions-left {
        display: none;
    }
}
@media (max-width: 720px) {
    .ecosystem-toggle-inline {
        display: none;
    }
    .ecosystem-topbar-copy {
        font-size: .72rem;
    }
    .ecosystem-sidebar-panel {
        padding: 1rem;
    }
}

body.ecosystem-open { overflow: hidden; }

/* v26 OpenTech-style left ecosystem drawer */
.ecosystem-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2,10,20,.58);
    backdrop-filter: blur(6px);
    z-index: 110;
}
.ecosystem-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(520px, calc(100vw - 1rem));
    height: 100vh;
    z-index: 120;
    transform: translateX(-104%);
    transition: transform .28s ease;
    pointer-events: none;
}
.ecosystem-drawer.open {
    transform: translateX(0);
    pointer-events: auto;
}
.ecosystem-drawer__inner {
    height: 100%;
    overflow-y: auto;
    padding: 1.15rem;
    border-right: 1px solid var(--line);
    background: rgba(7,17,31,.97);
    box-shadow: 24px 0 50px rgba(0,0,0,.26);
}
[data-theme="light"] .ecosystem-drawer__inner {
    background: rgba(255,255,255,.985);
}
.ecosystem-drawer__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.ecosystem-drawer__eyebrow {
    color: var(--muted);
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 800;
    margin-bottom: .35rem;
}
.ecosystem-drawer__title {
    color: var(--text);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.2;
    font-weight: 800;
    max-width: 18ch;
    margin-bottom: .35rem;
}
.ecosystem-drawer__sub {
    color: var(--muted);
    line-height: 1.5;
    max-width: 48ch;
}
.ecosystem-drawer__close {
    appearance: none;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.05);
    color: var(--text);
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font: inherit;
    font-size: 1.1rem;
    cursor: pointer;
    flex: 0 0 auto;
}
.ecosystem-drawer__body {
    display: grid;
    gap: 1rem;
}
.ecosystem-block {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,255,255,.035);
    padding: 1rem;
    overflow: hidden;
}
.ecosystem-block__label {
    color: var(--muted);
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 800;
    margin-bottom: .9rem;
}
.ecosystem-brand-grid {
    display: grid;
    gap: .85rem;
}
.ecosystem-brand-card {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.04);
}
.ecosystem-brand-card--active {
    box-shadow: inset 0 0 0 1px rgba(181,110,255,.35);
}
.ecosystem-brand-card--muted {
    opacity: .82;
}
.ecosystem-brand-card__top {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    justify-content: space-between;
}
.ecosystem-brand-card__title {
    color: var(--text);
    font-weight: 800;
    line-height: 1.3;
}
.ecosystem-brand-card__text {
    color: var(--muted);
    line-height: 1.55;
}
.ecosystem-brand-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.ecosystem-brand-card__links span {
    padding: .42rem .62rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.35;
}
.ecosystem-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.ecosystem-link-list {
    display: grid;
    gap: .75rem;
}
.ecosystem-link-row {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: .95rem 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.03);
}
.ecosystem-link-row span {
    color: var(--text);
    font-weight: 700;
    line-height: 1.35;
}
.ecosystem-link-row small {
    color: var(--muted);
    line-height: 1.45;
}
.ecosystem-health-grid {
    display: grid;
    gap: .75rem;
}
.ecosystem-health-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.03);
}
.ecosystem-health-item__name {
    color: var(--text);
    font-weight: 700;
    line-height: 1.35;
}
.ecosystem-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: .42rem .65rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
}
.ecosystem-status-pill--up {
    background: rgba(0,198,162,.14);
    border-color: rgba(0,198,162,.26);
    color: #baf5e7;
}
.ecosystem-status-pill--soon {
    background: rgba(255,209,102,.12);
    border-color: rgba(255,209,102,.28);
    color: #ffe6a3;
}
.ecosystem-status-pill--loading {
    background: rgba(255,255,255,.06);
    color: var(--muted);
}
.ecosystem-sidebar,
.ecosystem-sidebar-panel,
.ecosystem-sidebar-head,
.ecosystem-sidebar-section,
.ecosystem-sidebar-grid,
.ecosystem-card,
.ecosystem-link-list a {
    display: none !important;
}
@media (max-width: 960px) {
    .ecosystem-drawer {
        width: min(100vw, 460px);
    }
}
@media (max-width: 720px) {
    .ecosystem-drawer__inner {
        padding: .95rem;
    }
    .ecosystem-brand-card__top,
    .ecosystem-health-item {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* v27 polish to match OpenTech visual exactly */
.ecosystem-drawer__inner {
    background: linear-gradient(180deg, #0b1a2b 0%, #091423 100%);
}

.ecosystem-brand-card {
    background: linear-gradient(180deg, rgba(20,35,60,.9), rgba(10,20,35,.95));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}

.ecosystem-brand-card--active {
    border: 1px solid rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 0 1px rgba(255,215,0,.35);
}

.ecosystem-brand-card__links span {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: #cbd5e1;
}

.ecosystem-block {
    background: linear-gradient(180deg, rgba(20,35,60,.85), rgba(10,20,35,.9));
    border: 1px solid rgba(255,255,255,.06);
}

.ecosystem-link-row {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
}

.ecosystem-link-row:hover {
    background: rgba(255,255,255,.08);
}

.ecosystem-status-pill {
    font-size: .72rem;
    padding: .3rem .55rem;
}

.ecosystem-status-pill--up {
    background: rgba(0, 255, 150, .12);
    border-color: rgba(0,255,150,.3);
    color: #6fffd2;
}

.ecosystem-status-pill--loading {
    background: rgba(255,255,255,.08);
}

.ecosystem-status-pill--soon {
    background: rgba(255,180,0,.12);
    border-color: rgba(255,180,0,.3);
    color: #ffd27a;
}

.ecosystem-health-item {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
}

/* tighten spacing like screenshot */
.ecosystem-brand-card__text {
    font-size: .9rem;
}

.ecosystem-link-row small {
    font-size: .78rem;
}

/* header alignment tweak */
.ecosystem-drawer__head {
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding-bottom: .75rem;
    margin-bottom: 1rem;
}


.ecosystem-brand-card:nth-child(1){border-color: rgba(0,150,255,.35);} 


/* v32 mobile optimization + cleanup */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
.container {
    width: min(calc(100% - 1.25rem), var(--container));
}
.site-nav {
    min-width: 0;
}
.site-nav .button,
.site-nav .theme-toggle {
    flex-shrink: 0;
}
.hero-grid,
.split-grid,
.three-col-grid,
.pricing-grid,
.tools-grid,
.stats-grid,
.feature-grid,
.workflow-grid,
.trust-strip,
.form-grid,
.footer-grid {
    min-width: 0;
}
.tool-card,
.feature-card,
.info-card,
.price-card,
.panel-card,
.contact-form,
.cta-banner,
.workflow-card,
.trust-item {
    min-width: 0;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1rem;
}
.contact-form label,
.form-grid label {
    min-width: 0;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
}
.site-footer ul {
    padding-left: 0;
    list-style: none;
    margin: 0;
}
.site-footer li + li {
    margin-top: .5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr .8fr;
    gap: 1.25rem;
}
.footer-bar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 0 2rem;
    color: var(--muted);
    border-top: 1px solid var(--line);
    margin-top: 1.25rem;
}
.site-nav.open {
    display: flex;
}
@media (max-width: 1100px) {
    .site-nav {
        gap: .8rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}
@media (max-width: 920px) {
    .nav-wrap {
        flex-wrap: wrap;
        min-height: auto;
        padding: .9rem 0;
    }
    .nav-toggle {
        display: block;
        margin-left: auto;
    }
    .site-nav {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: .6rem;
        padding-top: .9rem;
    }
    .site-nav a,
    .site-nav .theme-toggle,
    .site-nav .button {
        width: 100%;
        justify-content: center;
    }
    .hero,
    .page-hero {
        padding: 4.2rem 0 2.6rem;
    }
    .hero-grid,
    .split-grid,
    .three-col-grid,
    .pricing-grid,
    .tools-grid,
    .stats-grid,
    .feature-grid,
    .workflow-grid,
    .trust-strip,
    .form-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    h1 {
        max-width: none;
        font-size: clamp(2.2rem, 8vw, 3.2rem);
    }
    h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .hero-actions,
    .cta-actions,
    .request-form-footer,
    .hero-meta {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .button,
    .cta-actions .button,
    .request-form-footer .button {
        width: 100%;
    }
    .topbar-wrap,
    .ecosystem-topbar-wrap {
        align-items: flex-start;
    }
}
@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 1rem), var(--container));
    }
    .brand {
        max-width: calc(100% - 58px);
    }
    .brand-text {
        font-size: .98rem;
    }
    .brand-subtext {
        font-size: .7rem;
    }
    .topbar,
    .ecosystem-topbar {
        font-size: .82rem;
    }
    .topbar-wrap,
    .ecosystem-topbar-wrap {
        gap: .65rem;
    }
    .topbar-links,
    .ecosystem-topbar-links {
        width: 100%;
    }
    .topbar-links a,
    .ecosystem-topbar-links a {
        width: auto;
    }
    .button,
    .button-sm,
    .theme-toggle,
    .ecosystem-toggle {
        min-height: 46px;
    }
    .feature-card,
    .info-card,
    .price-card,
    .tool-card,
    .panel-card,
    .contact-form,
    .cta-banner,
    .workflow-card {
        padding: 1rem;
        border-radius: 18px;
    }
    .trust-item {
        padding: .95rem 1rem;
        border-radius: 16px;
    }
    .status-chip-row,
    .hero-meta,
    .tool-card-meta {
        gap: .5rem;
    }
    .footer-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* v33 form hardening + final mobile QA */
.alert-error {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid rgba(255,127,127,.28);
    background: rgba(255,127,127,.10);
    color: #ffd7d7;
    line-height: 1.55;
}
[data-theme="light"] .alert-error {
    color: #8b1e2d;
    background: rgba(220,76,100,.08);
    border-color: rgba(220,76,100,.22);
}
a, button, input, select, textarea {
    touch-action: manipulation;
}
.filter-chip,
.button,
.button-sm,
.theme-toggle,
.ecosystem-toggle,
.nav-toggle,
.ecosystem-drawer__close {
    -webkit-tap-highlight-color: transparent;
}
.tool-card-searchable[hidden] {
    display: none !important;
}
@media (max-width: 640px) {
    .ecosystem-drawer {
        width: min(100vw, 100%);
    }
    .ecosystem-drawer__inner {
        border-right: 0;
        box-shadow: none;
    }
    .ecosystem-link-row,
    .ecosystem-brand-card,
    .tlink-sidebar-nav a,
    .tlink-link-stack a {
        min-height: 52px;
        justify-content: center;
    }
}


/* v34 navigation cleanup + mega menus */
.nav-item {
    position: relative;
}
.nav-item-has-mega > a,
.nav-item-has-dropdown > .nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.nav-item-has-mega > a::after,
.nav-item-has-dropdown > .nav-dropdown-toggle::after {
    content: "▾";
    font-size: .72rem;
    opacity: .7;
}
.nav-dropdown-toggle {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}
.nav-dropdown-toggle.active,
.nav-dropdown-toggle:hover {
    color: var(--text);
}
.mega-menu,
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    pointer-events: none;
    z-index: 80;
}
.nav-item:hover > .mega-menu,
.nav-item:focus-within > .mega-menu,
.nav-item:hover > .nav-dropdown-menu,
.nav-item:focus-within > .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.mega-menu {
    width: min(760px, calc(100vw - 2rem));
}
.mega-menu-grid {
    display: grid;
    grid-template-columns: minmax(240px, .9fr) minmax(0, 1.1fr);
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(7,17,31,.96);
    box-shadow: var(--shadow);
}
[data-theme="light"] .mega-menu-grid {
    background: rgba(255,255,255,.98);
}
.mega-menu-feature,
.mega-menu-group {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.03);
}
.mega-menu-feature h3 {
    font-size: 1.1rem;
    margin: .8rem 0 .55rem;
}
.mega-menu-feature p,
.mega-menu-group p {
    margin-bottom: .75rem;
}
.mega-menu-feature a,
.mega-menu-group a,
.nav-dropdown-menu a {
    display: block;
    padding: .7rem .8rem;
    border-radius: 14px;
    font-weight: 700;
}
.mega-menu-feature a:hover,
.mega-menu-group a:hover,
.nav-dropdown-menu a:hover {
    background: rgba(255,255,255,.05);
}
.mega-menu-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1rem;
}
.mega-menu-group h4 {
    margin: 0 0 .7rem;
    font-size: .92rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .12em;
}
.nav-dropdown-menu {
    min-width: 240px;
    padding: .6rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(7,17,31,.96);
    box-shadow: var(--shadow);
}
[data-theme="light"] .nav-dropdown-menu {
    background: rgba(255,255,255,.98);
}
.footer-grid-clean {
    grid-template-columns: 1.2fr .9fr .9fr .9fr .9fr;
}
.footer-grid-clean h4 {
    margin-bottom: .8rem;
}
.footer-grid-clean ul li a {
    color: var(--muted);
}
.footer-grid-clean ul li a:hover {
    color: var(--text);
}
@media (max-width: 1180px) {
    .footer-grid-clean {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}
@media (max-width: 920px) {
    .site-nav .nav-item {
        width: 100%;
    }
    .site-nav .nav-item > a,
    .site-nav .nav-dropdown-toggle {
        width: 100%;
        justify-content: center;
        min-height: 46px;
    }
    .mega-menu,
    .nav-dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        display: none;
        margin-top: .6rem;
    }
    .nav-item.open > .mega-menu,
    .nav-item.open > .nav-dropdown-menu {
        display: block;
    }
    .mega-menu-grid,
    .mega-menu-links {
        grid-template-columns: 1fr;
    }
    .nav-item-has-mega > a::after,
    .nav-item-has-dropdown > .nav-dropdown-toggle::after {
        margin-left: auto;
    }
}
@media (max-width: 640px) {
    .footer-grid-clean {
        grid-template-columns: 1fr;
    }
}


/* v35 mega-menu visual refinement + accessibility polish */
.site-nav > a,
.site-nav > .nav-item > a,
.site-nav > .nav-item > .nav-dropdown-toggle {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
}
.mega-menu-grid,
.nav-dropdown-menu {
    backdrop-filter: blur(16px);
}
.mega-menu-feature {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(91,140,255,.16), transparent 36%),
        rgba(255,255,255,.03);
}
.mega-menu-feature::after {
    content: "";
    position: absolute;
    inset: auto -40px -40px auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(181,110,255,.14), transparent 68%);
    pointer-events: none;
}
.mega-menu-feature .pill {
    margin-bottom: .15rem;
}
.mega-menu-feature a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .3rem;
    width: auto;
    padding-left: 0;
    color: var(--text);
}
.mega-menu-feature a::after {
    content: "→";
    opacity: .8;
}
.mega-menu-group {
    display: flex;
    flex-direction: column;
}
.mega-menu-group h4 {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding-bottom: .55rem;
    border-bottom: 1px solid var(--line);
}
.mega-menu-icon {
    display: inline-grid;
    place-items: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: var(--text);
    font-size: .78rem;
    flex: 0 0 auto;
}
.mega-menu-group a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}
.mega-menu-group a::after,
.nav-dropdown-menu a::after {
    content: "↗";
    opacity: .35;
    transition: transform .15s ease, opacity .15s ease;
}
.mega-menu-group a:hover::after,
.nav-dropdown-menu a:hover::after {
    opacity: .75;
    transform: translateX(2px);
}
.nav-dropdown-menu {
    padding: .75rem;
}
.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}
.site-nav a.active,
.site-nav .nav-dropdown-toggle.active {
    color: var(--text);
}
.site-nav a.active::before,
.site-nav .nav-dropdown-toggle.active::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--tools));
    border-radius: 999px;
}
.site-nav > a,
.site-nav > .nav-item > a,
.site-nav > .nav-item > .nav-dropdown-toggle {
    position: relative;
}
.footer-grid-clean h4 {
    font-size: .96rem;
    letter-spacing: .02em;
}
.footer-grid-clean ul li a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    line-height: 1.45;
}
.footer-grid-clean ul li a:hover {
    transform: translateX(2px);
}
.footer-grid-clean ul li a::before {
    content: "•";
    opacity: .35;
}
@media (prefers-reduced-motion: reduce) {
    .mega-menu,
    .nav-dropdown-menu,
    .mega-menu-group a::after,
    .nav-dropdown-menu a::after,
    .footer-grid-clean ul li a {
        transition: none !important;
    }
}
@media (max-width: 920px) {
    .site-nav a.active::before,
    .site-nav .nav-dropdown-toggle.active::before {
        display: none;
    }
    .nav-item.open > a,
    .nav-item.open > .nav-dropdown-toggle {
        color: var(--text);
    }
}


/* v36 mega menu spacing expansion */
.mega-menu {
    width: min(980px, calc(100vw - 2rem));
}

.mega-menu-grid {
    grid-template-columns: minmax(320px, 1fr) minmax(0, 1.4fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.mega-menu-feature,
.mega-menu-group {
    padding: 1.25rem;
}

.mega-menu-links {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1.25rem;
}

.mega-menu-group a {
    padding: .8rem .9rem;
}

.mega-menu-feature h3 {
    font-size: 1.2rem;
}

@media (min-width: 1400px) {
    .mega-menu {
        width: min(1100px, calc(100vw - 3rem));
    }
}

@media (max-width: 920px) {
    .mega-menu-grid {
        padding: 1rem;
        gap: 1rem;
    }
}


/* v37 center mega menu properly */
.nav-item-has-mega {
    position: static;
}

.mega-menu {
    left: 50%;
    transform: translateX(-50%) translateY(8px);
}

.nav-item:hover > .mega-menu,
.nav-item:focus-within > .mega-menu {
    transform: translateX(-50%) translateY(0);
}

/* prevent overflow on smaller desktops */
@media (max-width: 1200px) {
    .mega-menu {
        width: min(920px, calc(100vw - 1.5rem));
    }
}

@media (max-width: 1024px) {
    .mega-menu {
        width: calc(100vw - 1.25rem);
        left: 50%;
        transform: translateX(-50%);
    }
}


/* v38 distinct mega menu identities */
.mega-menu-grid {
    position: relative;
    overflow: hidden;
}
.mega-menu-grid::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    border-radius: 999px;
    opacity: .95;
}
.mega-menu-security .mega-menu-grid::before {
    background: linear-gradient(180deg, var(--security), rgba(0,198,162,.25));
}
.mega-menu-hosting .mega-menu-grid::before {
    background: linear-gradient(180deg, var(--hosting), rgba(91,140,255,.25));
}
.mega-menu-tools .mega-menu-grid::before {
    background: linear-gradient(180deg, var(--tools), rgba(181,110,255,.25));
}

.mega-menu-security .mega-menu-feature {
    background:
        radial-gradient(circle at top right, rgba(0,198,162,.16), transparent 36%),
        linear-gradient(180deg, rgba(0,198,162,.08), rgba(255,255,255,.03));
    border-color: rgba(0,198,162,.22);
}
.mega-menu-hosting .mega-menu-feature {
    background:
        radial-gradient(circle at top right, rgba(91,140,255,.18), transparent 36%),
        linear-gradient(180deg, rgba(91,140,255,.08), rgba(255,255,255,.03));
    border-color: rgba(91,140,255,.22);
}
.mega-menu-tools .mega-menu-feature {
    background:
        radial-gradient(circle at top right, rgba(181,110,255,.20), transparent 36%),
        linear-gradient(180deg, rgba(181,110,255,.08), rgba(255,255,255,.03));
    border-color: rgba(181,110,255,.24);
}

.mega-menu-feature-security .pill {
    background: rgba(0,198,162,.12);
    border-color: rgba(0,198,162,.22);
    color: #baf5e7;
}
.mega-menu-feature-hosting .pill {
    background: rgba(91,140,255,.12);
    border-color: rgba(91,140,255,.22);
    color: #d7e4ff;
}
.mega-menu-feature-tools .pill {
    background: rgba(181,110,255,.12);
    border-color: rgba(181,110,255,.22);
    color: #edd7ff;
}

.mega-menu-security .mega-menu-group h4 .mega-menu-icon {
    background: rgba(0,198,162,.12);
    border: 1px solid rgba(0,198,162,.22);
}
.mega-menu-hosting .mega-menu-group h4 .mega-menu-icon {
    background: rgba(91,140,255,.12);
    border: 1px solid rgba(91,140,255,.22);
}
.mega-menu-tools .mega-menu-group h4 .mega-menu-icon {
    background: rgba(181,110,255,.12);
    border: 1px solid rgba(181,110,255,.22);
}

.mega-menu-security .mega-menu-group a:hover {
    background: rgba(0,198,162,.08);
}
.mega-menu-hosting .mega-menu-group a:hover {
    background: rgba(91,140,255,.08);
}
.mega-menu-tools .mega-menu-group a:hover {
    background: rgba(181,110,255,.08);
}

.nav-item-security > a.active,
.nav-item-security > a:hover {
    color: var(--security);
}
.nav-item-hosting > a.active,
.nav-item-hosting > a:hover {
    color: var(--hosting);
}
.nav-item-tools > a.active,
.nav-item-tools > a:hover {
    color: var(--tools);
}

.nav-item-security > a.active::before,
.nav-item-security > a:hover::before {
    background: linear-gradient(90deg, var(--security), rgba(0,198,162,.25));
}
.nav-item-hosting > a.active::before,
.nav-item-hosting > a:hover::before {
    background: linear-gradient(90deg, var(--hosting), rgba(91,140,255,.25));
}
.nav-item-tools > a.active::before,
.nav-item-tools > a:hover::before {
    background: linear-gradient(90deg, var(--tools), rgba(181,110,255,.25));
}

.mega-menu-feature .mega-menu-feature-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .75rem;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mega-menu-feature::after {
    width: 180px;
    height: 180px;
    opacity: .9;
}
.mega-menu-security .mega-menu-feature::after {
    background: radial-gradient(circle, rgba(0,198,162,.16), transparent 68%);
}
.mega-menu-hosting .mega-menu-feature::after {
    background: radial-gradient(circle, rgba(91,140,255,.16), transparent 68%);
}
.mega-menu-tools .mega-menu-feature::after {
    background: radial-gradient(circle, rgba(181,110,255,.16), transparent 68%);
}

.mega-menu-group {
    backdrop-filter: blur(10px);
}
.mega-menu-security .mega-menu-group {
    box-shadow: inset 0 0 0 1px rgba(0,198,162,.05);
}
.mega-menu-hosting .mega-menu-group {
    box-shadow: inset 0 0 0 1px rgba(91,140,255,.05);
}
.mega-menu-tools .mega-menu-group {
    box-shadow: inset 0 0 0 1px rgba(181,110,255,.05);
}

@media (max-width: 920px) {
    .nav-item-security > a.active,
    .nav-item-security > a:hover,
    .nav-item-hosting > a.active,
    .nav-item-hosting > a:hover,
    .nav-item-tools > a.active,
    .nav-item-tools > a:hover {
        color: var(--text);
    }
}


/* v39 allow open class to persist */
.nav-item-has-mega.open > .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}


/* v40 theme icon + stronger light theme consistency */
[data-theme="light"] body,
[data-theme="light"] .site-shell {
    color-scheme: light;
}
[data-theme="light"] .topbar,
[data-theme="light"] .ecosystem-topbar {
    background: rgba(255,255,255,.72);
}
[data-theme="light"] .section-alt {
    background: rgba(10,31,68,.03);
}
[data-theme="light"] .mega-menu-grid,
[data-theme="light"] .nav-dropdown-menu,
[data-theme="light"] .ecosystem-drawer__inner {
    box-shadow: 0 20px 42px rgba(13, 35, 70, 0.12);
}
[data-theme="light"] .feature-card a,
[data-theme="light"] .tool-card a,
[data-theme="light"] .info-card a {
    color: var(--primary);
}
[data-theme="light"] .hero-meta span,
[data-theme="light"] .pill {
    color: var(--text);
    background: rgba(10,31,68,.04);
}
[data-theme="light"] .topbar-copy,
[data-theme="light"] .topbar-links a,
[data-theme="light"] .ecosystem-topbar-links a,
[data-theme="light"] .ecosystem-drawer__sub,
[data-theme="light"] .ecosystem-brand-card__text,
[data-theme="light"] .ecosystem-link-row small {
    color: var(--muted);
}
.theme-toggle-icon {
    position: relative;
    min-width: 46px;
    min-height: 46px;
    padding: .72rem .82rem;
    gap: .2rem;
}
.theme-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.theme-toggle-sun,
.theme-toggle-moon {
    display: inline-grid;
    place-items: center;
    width: 1rem;
    height: 1rem;
    font-size: 1rem;
    line-height: 1;
    transition: transform .18s ease, opacity .18s ease;
}
.theme-toggle.is-dark .theme-toggle-sun {
    opacity: .55;
    transform: scale(.92);
}
.theme-toggle.is-dark .theme-toggle-moon {
    opacity: 1;
}
.theme-toggle.is-light .theme-toggle-sun {
    opacity: 1;
}
.theme-toggle.is-light .theme-toggle-moon {
    opacity: .45;
    transform: scale(.92);
}
@media (max-width: 920px) {
    .site-nav .theme-toggle-icon {
        width: 100%;
        justify-content: center;
        gap: .55rem;
    }
    .site-nav .theme-toggle-label {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip-path: none;
        white-space: normal;
        font-size: .95rem;
    }
}


/* v41 hybrid-width layout system */
:root {
    --container-wide: 1400px;
    --container-narrow: 820px;
}
.container-wide {
    width: min(calc(100% - 1.25rem), var(--container-wide));
    margin: 0 auto;
}
.narrow {
    width: min(calc(100% - 1.25rem), var(--container-narrow));
    margin: 0 auto;
}
.section-bleed {
    width: 100%;
}
.tlink-app-shell .container,
.tlink-app-shell-hub .container,
.section-tools-wide .container,
.section-platform-wide .container {
    width: min(calc(100% - 1.25rem), var(--container-wide));
}
.table-wrap-wide,
.comparison-wrap-wide {
    width: min(calc(100% - 1.25rem), var(--container-wide));
    margin: 0 auto;
}
.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
@media (max-width: 640px) {
    .container-wide,
    .table-wrap-wide,
    .comparison-wrap-wide,
    .tlink-app-shell .container,
    .tlink-app-shell-hub .container,
    .section-tools-wide .container,
    .section-platform-wide .container {
        width: min(calc(100% - 1rem), var(--container-wide));
    }
}


/* v42 ecosystem drawer theme corrections */
.ecosystem-drawer__inner {
    color: var(--text);
}
.ecosystem-drawer__eyebrow,
.ecosystem-block__label {
    color: var(--muted);
}
.ecosystem-drawer__title,
.ecosystem-brand-card__title,
.ecosystem-health-item__name,
.ecosystem-link-row span {
    color: var(--text);
}
.ecosystem-drawer__sub,
.ecosystem-brand-card__text,
.ecosystem-link-row small {
    color: var(--muted);
}
.ecosystem-brand-card,
.ecosystem-block,
.ecosystem-link-row,
.ecosystem-health-item {
    box-shadow: none;
}
[data-theme="dark"] .ecosystem-drawer__inner {
    background: linear-gradient(180deg, #0b1a2b 0%, #091423 100%);
}
[data-theme="dark"] .ecosystem-block {
    background: linear-gradient(180deg, rgba(20,35,60,.85), rgba(10,20,35,.9));
    border-color: rgba(255,255,255,.06);
}
[data-theme="dark"] .ecosystem-brand-card {
    background: linear-gradient(180deg, rgba(20,35,60,.92), rgba(10,20,35,.96));
    border-color: rgba(255,255,255,.08);
}
[data-theme="dark"] .ecosystem-brand-card__links span,
[data-theme="dark"] .ecosystem-link-row,
[data-theme="dark"] .ecosystem-health-item {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.08);
}
[data-theme="dark"] .ecosystem-link-row:hover,
[data-theme="dark"] .ecosystem-brand-card:hover {
    background: rgba(255,255,255,.08);
}
[data-theme="dark"] .ecosystem-status-pill--up {
    background: rgba(0, 255, 150, .12);
    border-color: rgba(0,255,150,.3);
    color: #6fffd2;
}
[data-theme="dark"] .ecosystem-status-pill--soon {
    background: rgba(255,180,0,.12);
    border-color: rgba(255,180,0,.3);
    color: #ffd27a;
}
[data-theme="dark"] .ecosystem-status-pill--loading {
    background: rgba(255,255,255,.08);
    color: var(--muted);
}

[data-theme="light"] .ecosystem-drawer__inner {
    background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
    border-right-color: rgba(10,31,68,.10);
    box-shadow: 24px 0 50px rgba(13,35,70,.12);
}
[data-theme="light"] .ecosystem-drawer__head {
    border-bottom-color: rgba(10,31,68,.08);
}
[data-theme="light"] .ecosystem-block {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,249,253,.98));
    border-color: rgba(10,31,68,.10);
}
[data-theme="light"] .ecosystem-brand-card {
    background: linear-gradient(180deg, rgba(255,255,255,1), rgba(247,250,255,.98));
    border-color: rgba(10,31,68,.10);
}
[data-theme="light"] .ecosystem-brand-card--active {
    border-color: rgba(21,95,202,.35);
    box-shadow: 0 0 0 1px rgba(21,95,202,.14);
}
[data-theme="light"] .ecosystem-brand-card__links span {
    background: rgba(10,31,68,.035);
    border-color: rgba(10,31,68,.08);
    color: var(--muted);
}
[data-theme="light"] .ecosystem-link-row,
[data-theme="light"] .ecosystem-health-item {
    background: rgba(10,31,68,.03);
    border-color: rgba(10,31,68,.08);
}
[data-theme="light"] .ecosystem-link-row:hover,
[data-theme="light"] .ecosystem-brand-card:hover {
    background: rgba(21,95,202,.05);
    border-color: rgba(21,95,202,.14);
}
[data-theme="light"] .ecosystem-status-pill {
    color: var(--text);
}
[data-theme="light"] .ecosystem-status-pill--up {
    background: rgba(0,157,129,.10);
    border-color: rgba(0,157,129,.18);
    color: #0d6b59;
}
[data-theme="light"] .ecosystem-status-pill--soon {
    background: rgba(183,121,31,.10);
    border-color: rgba(183,121,31,.18);
    color: #8d5d16;
}
[data-theme="light"] .ecosystem-status-pill--loading {
    background: rgba(10,31,68,.05);
    border-color: rgba(10,31,68,.08);
    color: var(--muted);
}
[data-theme="light"] .ecosystem-drawer__close {
    background: rgba(10,31,68,.03);
    border-color: rgba(10,31,68,.10);
    color: var(--text);
}
[data-theme="light"] .ecosystem-drawer__close:hover {
    background: rgba(21,95,202,.06);
}
[data-theme="light"] .ecosystem-overlay {
    background: rgba(12, 24, 44, .24);
}


/* v43 homepage visual polish */
.hero-home-polish {
    position: relative;
    overflow: hidden;
}
.hero-home-polish::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 16%, rgba(26,115,232,.14), transparent 32%),
        radial-gradient(circle at 88% 10%, rgba(181,110,255,.12), transparent 28%);
    pointer-events: none;
}
[data-theme="light"] .hero-home-polish::before {
    background:
        radial-gradient(circle at 18% 16%, rgba(21,95,202,.08), transparent 32%),
        radial-gradient(circle at 88% 10%, rgba(139,73,239,.07), transparent 28%);
}
.hero-grid-polish {
    align-items: start;
    position: relative;
    z-index: 1;
}
.hero-copy {
    padding-top: .4rem;
}
.hero-home-polish h1 {
    max-width: 10.5ch;
    letter-spacing: -.03em;
}
[data-theme="light"] .hero-home-polish {
    background:
        radial-gradient(circle at top right, rgba(21,95,202,.08), transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}
[data-theme="light"] .hero-home-polish h1 {
    color: #0b1220;
}
[data-theme="light"] .hero-home-polish .lead {
    color: #3a475a;
}
.button-quiet {
    background: transparent;
    border-color: var(--line);
    color: var(--text);
    box-shadow: none;
}
.button-quiet:hover {
    transform: translateY(-1px);
}
[data-theme="light"] .button-quiet {
    background: #ffffff;
    border: 1px solid rgba(10,31,68,.12);
    color: var(--text);
    box-shadow: 0 4px 12px rgba(13,35,70,.06);
}
[data-theme="light"] .button-quiet:hover {
    border-color: rgba(21,95,202,.35);
    box-shadow: 0 6px 18px rgba(13,35,70,.10);
}
.hero-meta-polish span {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.12);
}
[data-theme="light"] .hero-meta-polish span {
    background: rgba(10,31,68,.04);
    border-color: rgba(10,31,68,.08);
    color: var(--text);
}
.compact-stats-polish {
    margin-top: 1.5rem;
}
.compact-stats-polish > div {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
}
[data-theme="light"] .compact-stats-polish > div {
    background: rgba(255,255,255,.78);
}
.hero-platform-stack {
    display: grid;
    gap: 1rem;
}
.hero-platform-card {
    position: relative;
    padding: 1.25rem;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.hero-platform-card::after {
    content: "";
    position: absolute;
    right: -24px;
    bottom: -24px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    opacity: .9;
    pointer-events: none;
}
.hero-platform-card-security::after {
    background: radial-gradient(circle, rgba(0,198,162,.18), transparent 70%);
}
.hero-platform-card-hosting::after {
    background: radial-gradient(circle, rgba(91,140,255,.18), transparent 70%);
}
.hero-platform-card-tools::after {
    background: radial-gradient(circle, rgba(181,110,255,.18), transparent 70%);
}
.hero-platform-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .8rem;
}
.hero-platform-card__tag {
    display: inline-flex;
    align-items: center;
    padding: .45rem .65rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    background: rgba(255,255,255,.03);
}
.hero-platform-card h3 {
    font-size: 1.18rem;
    margin-bottom: .65rem;
}
.hero-platform-card p {
    margin-bottom: .9rem;
}
.hero-platform-card a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 700;
}
.hero-platform-card a::after {
    content: "→";
}
.trust-strip-polish {
    gap: 1rem;
}
.trust-strip-polish .trust-item {
    background: var(--panel);
    box-shadow: var(--shadow);
}
[data-theme="light"] .trust-strip-polish .trust-item {
    background: rgba(255,255,255,.84);
}
.homepage-card-grid,
.homepage-workflow-grid {
    gap: 1.15rem;
}
.homepage-info-card {
    position: relative;
    padding-top: 1.15rem;
}
.homepage-band {
    position: relative;
}
.homepage-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
    pointer-events: none;
}
[data-theme="light"] .homepage-band::before {
    background:
        linear-gradient(180deg, rgba(21,95,202,.02), rgba(21,95,202,.01));
}
.homepage-band-grid {
    align-items: center;
}
.homepage-pricing-stack {
    display: grid;
    gap: .9rem;
}
.homepage-pricing-card {
    padding: 1rem 1.05rem;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
}
[data-theme="light"] .homepage-pricing-card {
    background: rgba(255,255,255,.86);
}
.homepage-pricing-card h3 {
    margin: .7rem 0 .45rem;
    font-size: 1.18rem;
}
.homepage-pricing-card-featured {
    box-shadow: inset 0 0 0 1px rgba(91,140,255,.24), var(--shadow);
}
.homepage-cta-banner {
    position: relative;
    overflow: hidden;
}
.homepage-cta-banner::after {
    content: "";
    position: absolute;
    inset: auto -40px -40px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91,140,255,.16), transparent 68%);
    pointer-events: none;
}
.homepage-cta-banner > * {
    position: relative;
    z-index: 1;
}
@media (max-width: 920px) {
    .hero-home-polish h1 {
        max-width: none;
    }
    .hero-platform-card__top {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* v44 ThreatGrid design system */
:root {
  --tg-primary: #1A73E8;
  --tg-security: #00C6A2;
  --tg-hosting: #5B8CFF;
  --tg-tools: #B56EFF;

  --tg-bg: #07111F;
  --tg-surface: #0D1A2C;
  --tg-surface-2: #091423;

  --tg-text: #EDF3FF;
  --tg-muted: #9DB0CF;

  --tg-line: rgba(255,255,255,0.08);

  --tg-radius-lg: 24px;
  --tg-radius-md: 16px;
  --tg-radius-sm: 10px;

  --tg-shadow: 0 20px 50px rgba(0,0,0,0.28);
  --tg-success: #00C896;
  --tg-warning: #F5A623;
  --tg-danger: #FF5A5F;
}
[data-theme="light"] {
  --tg-bg: #F4F7FB;
  --tg-surface: #FFFFFF;
  --tg-surface-2: #F6F9FC;
  --tg-text: #0B1220;
  --tg-muted: #3A475A;
  --tg-line: rgba(10,31,68,0.10);
  --tg-shadow: 0 18px 40px rgba(13,35,70,0.08);
}
.btn-primary,
.button:not(.button-outline):not(.button-quiet) {
  background: linear-gradient(135deg, var(--tg-primary), #3f8cff);
  color: #fff;
  border-radius: var(--tg-radius-md);
  box-shadow: var(--tg-shadow);
}
.btn-secondary,
.button-outline,
.button-quiet {
  background: var(--tg-surface);
  border: 1px solid var(--tg-line);
  color: var(--tg-text);
}
.button-outline:hover,
.button-quiet:hover {
  border-color: var(--tg-primary);
  transform: translateY(-1px);
}
[data-theme="light"] .button-outline,
[data-theme="light"] .button-quiet {
  background: #fff;
}
.card,
.feature-card,
.info-card,
.price-card,
.tool-card,
.panel-card,
.contact-form,
.cta-banner,
.workflow-card {
  background: var(--tg-surface);
  border: 1px solid var(--tg-line);
  border-radius: var(--tg-radius-lg);
  box-shadow: var(--tg-shadow);
}
.card-hover,
.feature-card,
.info-card,
.price-card,
.tool-card,
.workflow-card,
.hero-platform-card,
.homepage-pricing-card,
.trust-item {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card-hover:hover,
.feature-card:hover,
.info-card:hover,
.price-card:hover,
.tool-card:hover,
.workflow-card:hover,
.hero-platform-card:hover,
.homepage-pricing-card:hover,
.trust-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.18);
}
[data-theme="light"] .card-hover:hover,
[data-theme="light"] .feature-card:hover,
[data-theme="light"] .info-card:hover,
[data-theme="light"] .price-card:hover,
[data-theme="light"] .tool-card:hover,
[data-theme="light"] .workflow-card:hover,
[data-theme="light"] .hero-platform-card:hover,
[data-theme="light"] .homepage-pricing-card:hover,
[data-theme="light"] .trust-item:hover {
  border-color: rgba(21,95,202,.16);
}
.card-security { border-left: 3px solid var(--tg-security); }
.card-hosting { border-left: 3px solid var(--tg-hosting); }
.card-tools { border-left: 3px solid var(--tg-tools); }

.pill {
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--tg-line);
}
.pill-security {
  background: rgba(0,198,162,.12);
  border-color: rgba(0,198,162,.25);
}
.pill-hosting {
  background: rgba(91,140,255,.12);
  border-color: rgba(91,140,255,.25);
}
.pill-tools {
  background: rgba(181,110,255,.12);
  border-color: rgba(181,110,255,.25);
}
.input,
.contact-form input,
.contact-form select,
.contact-form textarea,
.tool-form input,
.tool-form select,
.tool-form textarea {
  background: var(--tg-surface);
  border: 1px solid var(--tg-line);
  border-radius: var(--tg-radius-sm);
  padding: 0.8rem;
  color: var(--tg-text);
}
.input:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.tool-form input:focus,
.tool-form select:focus,
.tool-form textarea:focus {
  border-color: var(--tg-primary);
  outline: none;
}
.table,
.tool-table {
  width: 100%;
  border-collapse: collapse;
}
.table th,
.tool-table th {
  text-align: left;
  color: var(--tg-muted);
  font-weight: 600;
}
.table td,
.tool-table td {
  border-top: 1px solid var(--tg-line);
  padding: 0.8rem;
}
.status-success { color: var(--tg-success); }
.status-warning { color: var(--tg-warning); }
.status-danger { color: var(--tg-danger); }

.section { padding: 4rem 0; }
.section-alt { background: var(--tg-surface-2); }
