:root {
    --bg: #ffffff;
    --surface: #F6F7F9;
    --surface-2: #EEF1F5;
    
    /* Оновлені кольори тексту */
    --ink: #252627;         
    --ink-soft: #383547;    
    --ink-faint: #7A8094;
    --border: #E3E6EC;
    
    /* Оновлений акцентний колір (зелений замість синього) */
    --accent: #55822C;      
    --accent-hover: #456B23; 
    --accent-soft: #E8F0E1; 
    --accent-text: #3E6120;
    
    /* Колір безпеки */
    --secure: #55822C;
    --secure-soft: #E8F0E1;
    
    /* Оновлені темні секції (футер, урядовий блок) */
    --dark: #252627;        
    --dark-2: #383547;      
    --dark-3: #1E1F21;
    
    --on-dark: #F2F4F8;
    --on-dark-soft: #9BA2B5;
    --on-dark-border: #4A465B;
    --radius-s: 10px;
    --radius-m: 16px;
    --radius-l: 24px;
    --shadow-s: 0 1px 2px rgba(11,14,20,0.06), 0 1px 1px rgba(11,14,20,0.04);
    --shadow-m: 0 8px 24px rgba(11,14,20,0.08), 0 2px 6px rgba(11,14,20,0.05);
    --shadow-l: 0 24px 60px rgba(11,14,20,0.14), 0 8px 20px rgba(11,14,20,0.08);
    --maxw: 1240px;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.1; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: 12px; top: -60px;
    background: var(--ink);
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    z-index: 999;
    font-weight: 600;
    font-size: 14px;
    transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

.eyebrow {
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.eyebrow.on-dark { color: #7FA0FF; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--secure); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 22px;
    border-radius: 99px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .12s ease, background-color .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-s); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--ink-faint); background: var(--surface); }
.btn-ghost-dark { background: transparent; color: var(--on-dark); border-color: var(--on-dark-border); }
.btn-ghost-dark:hover { background: var(--dark-3); }
.btn-on-dark { background: #fff; color: var(--dark); }
.btn-on-dark:hover { background: #DCE3F5; }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* ---------- Header ---------- */
header.site {
    position: sticky; top: 0; z-index: 80;
    background: #252627;
    border-bottom: 1px solid var(--on-dark-border);
}
.nav-row {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
    position: relative; /* потрібно як точка прив'язки для мобільного випадного меню */
}
.brand {
    display: flex; align-items: center; gap: 10px; 
    font-family: var(--font-display); font-weight: 700; font-size: 19px; 
    text-decoration: none; 
    color: #ffffff; 
}
.brand .mark { width: 30px; height: 30px; }

nav.primary { display: flex; gap: 4px; align-items: center; }
nav.primary a {
    padding: 10px 14px;
    border-radius: 99px;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    color: #ffffff; 
    transition: background .12s ease;
}
nav.primary a:hover {
    background: var(--dark-2); 
}

/* ---------- Dropdown Navigation ---------- */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropbtn {
    background: transparent;
    border: none;
    padding: 10px 14px;
    border-radius: 99px;
    font-size: 14.5px;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background .12s ease;
    font-family: inherit;
    width: 100%;
}
.dropdown:hover .dropbtn, .dropbtn:focus {
    background: var(--dark-2);
}
.dropbtn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}
.dropdown:hover .dropbtn svg,
.dropdown.is-open .dropbtn svg {
    transform: rotate(180deg);
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dark-2);
    min-width: 240px;
    box-shadow: var(--shadow-m);
    border-radius: var(--radius-m);
    padding: 8px 0;
    z-index: 100;
    border: 1px solid var(--on-dark-border);
    margin-top: 4px;
}
/* Hover керує dropdown лише на пристроях з реальним курсором (десктоп) */
@media (hover: hover) and (pointer: fine) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}
/* Клік (через JS-клас is-open) керує dropdown на всіх пристроях, включно з тачскрінами */
.dropdown.is-open .dropdown-content {
    display: block;
}
nav.primary .dropdown-content a {
    border-radius: 0;
    padding: 10px 20px;
    display: block;
    font-size: 14px;
}
nav.primary .dropdown-content a:hover {
    background: var(--dark-3);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
    display: flex; font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
    border: 1px solid var(--on-dark-border); border-radius: 99px; overflow: hidden;
}
.lang-toggle a {
    padding: 8px 11px; text-decoration: none; 
    color: #ffffff;
}
.lang-toggle a[aria-current="true"] {
    background: var(--dark-2); 
}

.nav-toggle {
    display: none; background: none; border: 1px solid var(--on-dark-border); 
    border-radius: 10px; padding: 8px 10px; 
    color: #ffffff; 
    cursor: pointer;
}

/* ---------- Мобільне меню (бургер) ---------- */
@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }

    /* Приховане за замовчуванням, розкривається класом .is-open, який додає script.js */
    nav.primary {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        background: var(--dark-2);
        border-bottom: 1px solid var(--on-dark-border);
        padding: 12px;
        box-shadow: var(--shadow-m);
        z-index: 90;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
    nav.primary.is-open {
        display: flex;
    }
    nav.primary a,
    nav.primary .dropbtn {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 14px;
    }

    /* Dropdown на мобільному — вбудований у потік (не absolute), розкривається по кліку */
    .dropdown { width: 100%; }
    .dropdown-content {
        position: static;
        background: var(--dark-3);
        border: none;
        box-shadow: none;
        margin-top: 0;
        padding-left: 8px;
        border-radius: 0;
    }

    /* Перемикач мови — ховаємо в хедері, показуємо всередині розкритого мобільного меню */
    .lang-toggle {
        display: none;
    }
    nav.primary.is-open ~ .nav-actions .lang-toggle.is-open,
    .lang-toggle.is-open {
        display: flex;
        position: absolute;
        top: calc(100% + 2px);
        right: 12px;
        background: var(--dark-2);
        z-index: 91;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 88px 0 96px;
    overflow: hidden;
    background: radial-gradient(600px 400px at 82% -10%, var(--accent-soft) 0%, rgba(234,240,255,0) 70%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero h1 {
    font-size: clamp(34px, 4.6vw, 58px);
    font-weight: 700;
    margin: 18px 0 22px;
    color: var(--ink);
}
.hero p.lede {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 52ch;
    margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-note { font-size: 13.5px; color: var(--ink-faint); }
.hero-note strong { color: var(--ink-soft); font-weight: 600; }

/* device mockup */
.device-stage { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.desktop-frame {
    width: 100%;
    max-width: 480px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-l);
    overflow: hidden;
}
.desktop-titlebar {
    height: 34px; background: var(--surface); border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 6px; padding: 0 12px;
}
.tb-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.desktop-body { padding: 18px 18px 20px; background: linear-gradient(180deg,#fff, var(--surface)); }
.chat-thread { display: flex; flex-direction: column; gap: 10px; }
.bubble {
    max-width: 74%;
    padding: 10px 13px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.4;
    display: flex; align-items: flex-end; gap: 6px;
}
.bubble.in { background: var(--surface-2); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble.out { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.bubble .lock { width: 12px; height: 12px; flex: none; opacity: .85; }
.composer {
    margin-top: 14px; height: 38px; border-radius: 99px; background: #fff; border: 1px solid var(--border);
    display: flex; align-items: center; padding: 0 6px 0 14px; gap: 8px; color: var(--ink-faint); font-size: 12.5px;
}
.composer .send { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); flex: none; }

.phone-frame {
    position: absolute;
    right: -6%;
    bottom: -8%;
    width: 172px;
    border-radius: 28px;
    background: #0B0E14;
    padding: 8px;
    box-shadow: var(--shadow-l);
}
@media (max-width: 960px) { .phone-frame { right: 2%; } }
.phone-screen {
    background: #fff; border-radius: 20px; overflow: hidden; padding: 14px 12px 16px;
}
.phone-badge {
    display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 9.5px; font-weight: 600;
    color: var(--secure); background: var(--secure-soft); padding: 4px 8px; border-radius: 99px; width: max-content; margin-bottom: 10px;
}
.phone-badge .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--secure); }
.phone-frame .bubble { font-size: 10.5px; padding: 7px 9px; max-width: 86%; }

/* trust strip */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); padding: 28px 0; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-label { font-size: 13px; color: var(--ink-faint); font-weight: 500; white-space: nowrap; }
.stat-row { display: flex; gap: 34px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink); }
.stat .lbl { font-size: 12.5px; color: var(--ink-faint); }

/* ---------- Sections generic ---------- */
section { padding: 96px 0; }
@media (max-width: 640px) { section { padding: 64px 0; } }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(28px,3.4vw,40px); margin: 14px 0 14px; font-weight: 700; }
.section-head p { font-size: 16.5px; color: var(--ink-soft); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* pillar cards */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: 32px 28px 30px;
    transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.pillar-card:hover { box-shadow: var(--shadow-m); border-color: #D6DBE5; transform: translateY(-2px); }
.pillar-ill { width: 52px; height: 52px; margin-bottom: 20px; color: var(--accent); }
.pillar-card h3 { font-size: 19px; margin-bottom: 10px; }
.pillar-card p { font-size: 14.5px; color: var(--ink-soft); }

/* industries grid */
.industries { background: var(--surface); }
.industry-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-l); overflow: hidden; }
@media (max-width: 900px) { .industry-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .industry-grid { grid-template-columns: 1fr; } }
.industry-card { background: #fff; padding: 26px 24px; min-height: 168px; display: flex; flex-direction: column; gap: 10px; }
.industry-card .idx { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); font-weight: 600; }
.industry-card h4 { font-size: 15.5px; font-weight: 700; }
.industry-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }
.industries-ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* government dark panel */
.gov {
    background: var(--dark);
    color: var(--on-dark);
}
.gov .section-head p { color: var(--on-dark-soft); }
.gov .section-head h2 { color: #fff; }
.gov-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 40px; }
@media (max-width: 960px) { .gov-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .gov-grid { grid-template-columns: 1fr; } }
.gov-card {
    background: var(--dark-2);
    border: 1px solid var(--on-dark-border);
    border-radius: var(--radius-m);
    padding: 24px 20px;
    display: flex; flex-direction: column; gap: 12px;
}
.gov-card .g-icon { width: 34px; height: 34px; color: #7FA0FF; }
.gov-card h4 { font-size: 15.5px; color: #fff; }
.gov-card p { font-size: 13.5px; color: var(--on-dark-soft); line-height: 1.5; }
.gov-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* security / encryption */
.security-layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: start; }
@media (max-width: 960px) { .security-layout { grid-template-columns: 1fr; } }
.enc-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: 32px;
    position: sticky; top: 96px;
}
@media (max-width: 960px) { .enc-panel { position: static; } }
.enc-diagram { width: 100%; height: auto; }
.enc-caption { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); text-align: center; }
.enc-caption code { font-family: var(--font-mono); background: var(--surface-2); padding: 2px 6px; border-radius: 5px; font-size: 12.5px; }

.feature-list { display: flex; flex-direction: column; }
.feature-item {
    display: grid; grid-template-columns: 44px 1fr; gap: 16px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}
.feature-item:first-child { padding-top: 0; }
.feature-item:last-child { border-bottom: none; }
.f-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); display: flex; align-items: center; justify-content: center; }
.f-icon svg { width: 22px; height: 22px; }
.feature-item h4 { font-size: 16px; margin-bottom: 6px; }
.feature-item p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

/* testimonials */
.testimonials { background: var(--surface); }
.t-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 900px) { .t-grid { grid-template-columns: 1fr; } }
.t-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-m); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.t-quote { font-size: 16px; line-height: 1.5; color: var(--ink); font-weight: 500; }
.t-quote::before { content: "“"; color: var(--accent-text); }
.t-quote::after { content: "”"; color: var(--accent-text); }
.t-who { display: flex; align-items: center; gap: 10px; }
.t-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 600; font-size: 13px; }
.t-name { font-size: 13.5px; font-weight: 600; }
.t-role { font-size: 12.5px; color: var(--ink-faint); }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item button {
    width: 100%; background: none; border: none; text-align: left; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 22px 4px; font-size: 16.5px; font-weight: 600; color: var(--ink);
}
.faq-item .chev { width: 18px; height: 18px; flex: none; color: var(--ink-faint); transition: transform .18s ease; }
.faq-item[data-open="true"] .chev { transform: rotate(180deg); color: var(--accent); }
.faq-panel {
    max-height: 0; overflow: hidden; transition: max-height .22s ease;
}
.faq-item[data-open="true"] .faq-panel { max-height: 280px; }
.faq-panel p { padding: 0 4px 22px; font-size: 14.5px; color: var(--ink-soft); max-width: 70ch; line-height: 1.6; }

/* blog */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { border: 1px solid var(--border); border-radius: var(--radius-m); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease; }
.blog-card:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.blog-thumb { height: 120px; background: linear-gradient(135deg, var(--accent-soft), var(--surface-2)); display: flex; align-items: center; justify-content: center; }
.blog-thumb svg { width: 34px; height: 34px; color: var(--accent-text); }
.blog-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .04em; }
.blog-card h4 { font-size: 15.5px; line-height: 1.35; }
.blog-card .read { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--accent-text); }

/* final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
    color: #fff;
    border-radius: var(--radius-l);
    padding: 64px 48px;
    display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.final-cta h2 { font-size: clamp(24px,3vw,32px); max-width: 560px; color: #fff; margin-bottom: 10px; }
.final-cta p { color: var(--on-dark-soft); max-width: 520px; font-size: 15.5px; }
.final-cta .ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* footer */
footer.site { background: var(--dark); color: var(--on-dark-soft); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4,1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--on-dark-border); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; margin-bottom: 12px; }
.footer-brand .mark { width: 26px; height: 26px; }
footer.site p.tag { font-size: 13.5px; max-width: 32ch; line-height: 1.5; }
footer.site h5 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
footer.site ul li { margin-bottom: 10px; }
footer.site a { font-size: 14px; text-decoration: none; color: var(--on-dark-soft); transition: color .12s ease; }
footer.site a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 12.5px; flex-wrap: wrap; gap: 12px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

[data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
    [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
    [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* ---------- Pricing Table ---------- */
.table-wrapper {
    width: 100%;
    overflow-x: auto; /* Додає скрол на мобільних пристроях */
    border-radius: var(--radius-m);
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow-s);
}

.wewe-table {
    width: 100%;
    min-width: 900px; /* Запобігає стисненню тексту на малих екранах */
    border-collapse: collapse;
    text-align: left;
}

.wewe-table th, 
.wewe-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.wewe-table th {
    background: var(--surface);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    position: sticky;
    top: 0;
    z-index: 10;
}

.wewe-table td {
    font-size: 14px;
    color: var(--ink-soft);
    vertical-align: middle;
}

.wewe-table tr:last-child td {
    border-bottom: none;
}

.wewe-table tr:hover td {
    background: var(--surface-2);
}

.wewe-table .feature {
    font-weight: 500;
    color: var(--ink);
    width: 28%;
}

.wewe-table .value {
    text-align: center;
    width: 18%;
}

/* Елементи всередині таблиці */
.wewe-table .check {
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
}

.wewe-table .check-double {
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -2px;
}

.wewe-table .dash {
    color: var(--ink-faint);
    font-weight: 700;
}

.wewe-table .badge {
    display: inline-block;
    background: var(--surface);
    color: var(--ink-faint);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border);
}

.wewe-table .text-val {
    font-size: 13px;
    line-height: 1.4;
    display: inline-block;
}

/* Кнопки в таблиці */
.wewe-btn-container {
    padding-top: 24px;
    padding-bottom: 24px;
}

.wewe-btn {
    display: inline-block;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s ease;
}

.wewe-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-s);
}

/* ---------- Dealer Form ---------- */
.tg-form-wrapper {
    max-width: 750px; 
    margin: 40px auto; 
    padding: 40px; 
    border-radius: var(--radius-l);
    background: #232323; 
    border: 1px solid #444444;
    box-shadow: 0 16px 40px rgba(0,0,0,.2);
}

@media (max-width: 640px) {
    .tg-form-wrapper {
        padding: 24px;
        margin: 20px auto;
    }
}

.tg-form-title { 
    color: #ffffff; 
    margin-bottom: 30px; 
    font-size: clamp(24px, 4vw, 36px); 
    font-weight: 700; 
    font-family: var(--font-display);
}

.tg-section-title { 
    color: #ffffff; 
    margin-top: 40px; 
    margin-bottom: 20px; 
    font-size: 24px; 
    font-weight: 600; 
    border-bottom: 1px solid #444444; 
    padding-bottom: 10px; 
    font-family: var(--font-display);
}

.tg-form-group { 
    margin-bottom: 25px; 
}

.tg-form-group label { 
    display: block; 
    margin-bottom: 10px; 
    color: #9ea0c3; 
    font-size: 16px; 
    font-weight: 500;
}

.tg-form-group input[type='text'], 
.tg-form-group input[type='email'], 
.tg-form-group input[type='tel'], 
.tg-form-group textarea, 
.tg-form-group select {
    width: 100%; 
    padding: 18px 22px; 
    border-radius: var(--radius-m); 
    border: 1px solid #444444;
    background: #232323; 
    color: #ffffff;
    font-size: 16px; 
    outline: none; 
    box-sizing: border-box;
    font-family: var(--font-body);
    transition: border-color .15s ease;
}

.tg-form-group input:focus, 
.tg-form-group textarea:focus, 
.tg-form-group select:focus {
    border-color: var(--accent);
}

.tg-form-group textarea { 
    min-height: 140px; 
    resize: vertical;
}

.tg-checkbox-label { 
    display: flex; 
    align-items: center; 
    cursor: pointer; 
    color: #ffffff; 
    font-size: 15.5px; 
    margin-bottom: 14px; 
}

.tg-checkbox-label input[type='checkbox'] { 
    margin-right: 12px; 
    width: 20px; 
    height: 20px; 
    accent-color: var(--accent); 
    cursor: pointer;
}

.tg-submit-btn {
    width: 100%; 
    padding: 20px; 
    border: none; 
    border-radius: var(--radius-m); 
    margin-top: 20px;
    background: var(--accent);
    color: white; 
    font-size: 18px; 
    font-weight: 700; 
    cursor: pointer;
    transition: background-color .15s ease, transform .1s ease;
}

.tg-submit-btn:hover {
    background: var(--accent-hover);
}

.tg-submit-btn:active {
    transform: translateY(2px);
}

.tg-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.tg-success { 
    margin-top: 20px; 
    padding: 16px; 
    background: #E8F0E1; 
    color: #3E6120; 
    border-radius: var(--radius-s); 
    font-weight: 500;
}

.tg-error { 
    margin-top: 20px; 
    padding: 16px; 
    background: #FDE8E8; 
    color: #9B1C1C; 
    border-radius: var(--radius-s); 
    font-weight: 500;
}

/* ---------- Contact Form Specifics (Inquiry Cards) ---------- */
.tg-inquiry-wrapper { 
    margin-bottom: 35px; 
}
.tg-inquiry-main-title { 
    display: block; 
    margin-bottom: 15px; 
    color: #ffffff; 
    font-size: 20px; 
    font-weight: 700; 
    font-family: var(--font-display);
}
.tg-inquiry-grid { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 12px; 
}
.tg-inquiry-label { 
    cursor: pointer; 
    display: block; 
    margin: 0; 
}
.tg-inquiry-label input { 
    display: none; 
}
.tg-inquiry-card { 
    border: 2px solid #444444; 
    background: #232323; 
    border-radius: 12px; 
    padding: 20px 8px; 
    text-align: center; 
    height: 100%; 
    transition: all 0.2s ease; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: flex-start; 
    box-sizing: border-box; 
}
.tg-inquiry-label input:checked + .tg-inquiry-card { 
    border-color: var(--accent); 
    background: rgba(255,255,255,0.03); 
}
.tg-inquiry-icon { 
    margin-bottom: 12px; 
    color: #ffffff; 
    transition: color 0.2s ease; 
}
.tg-inquiry-icon svg { 
    width: 26px; 
    height: 26px; 
    stroke: currentColor; 
    stroke-width: 1.5; 
    fill: none; 
    stroke-linecap: round; 
    stroke-linejoin: round; 
}
.tg-inquiry-label input:checked + .tg-inquiry-card .tg-inquiry-icon { 
    color: var(--accent); 
}
.tg-inquiry-title { 
    font-size: 14px; 
    font-weight: 600; 
    color: #ffffff; 
    line-height: 1.3; 
    margin-bottom: 6px; 
}
.tg-inquiry-desc { 
    font-size: 12px; 
    color: #9ea0c3; 
    line-height: 1.2; 
}

@media (max-width: 768px) { 
    .tg-inquiry-grid { grid-template-columns: repeat(2, 1fr); } 
    .tg-inquiry-grid .tg-inquiry-label:last-child { grid-column: span 2; } 
}
@media (max-width: 480px) { 
    .tg-inquiry-grid { grid-template-columns: 1fr; } 
    .tg-inquiry-grid .tg-inquiry-label:last-child { grid-column: span 1; } 
}

/* ---------- Contact FAQ Styles ---------- */
.tg-faq-wrapper { 
    max-width: 750px; 
    margin: 40px auto 0; 
    padding: 0; 
}
.tg-faq-title { 
    color: var(--ink); 
    font-size: 26px; 
    font-weight: 700; 
    margin-bottom: 20px; 
    text-align: center; 
    font-family: var(--font-display);
}
.tg-faq-item { 
    background: var(--surface); 
    border: 1px solid var(--border); 
    border-radius: var(--radius-m); 
    margin-bottom: 15px; 
    overflow: hidden; 
}
.tg-faq-item summary { 
    padding: 20px; 
    color: var(--ink); 
    font-size: 17px; 
    font-weight: 600; 
    cursor: pointer; 
    outline: none; 
    list-style: none; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.tg-faq-item summary::-webkit-details-marker { 
    display: none; 
}
.tg-faq-item summary::after { 
    content: '+'; 
    font-size: 24px; 
    font-weight: 400; 
    color: var(--accent); 
}
.tg-faq-item[open] summary::after { 
    content: '−'; 
}
.tg-faq-content { 
    padding: 0 20px 20px; 
    color: var(--ink-soft); 
    font-size: 15px; 
    line-height: 1.6; 
}

/* ---------- Password Input Styles ---------- */
.password-group {
    position: relative;
    width: 100%;
}

.password-group input[type="password"],
.password-group input[type="text"] {
    width: 100%;
    padding: 18px 48px 18px 22px; /* Збільшений правий відступ для іконки */
    border-radius: var(--radius-m);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    font-size: 16px;
    font-family: var(--font-body);
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Якщо форма на темному фоні (як у вас у login.php) */
.tg-form-group .password-group input[type="password"],
.tg-form-group .password-group input[type="text"] {
    background: #232323;
    border-color: #444444;
    color: #ffffff;
}

.password-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Кнопка "Очима" для показу/приховування пароля */
.password-toggle-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--ink-faint);
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.password-toggle-btn:hover {
    color: var(--accent);
}

.password-toggle-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* 
  Використовуємо :not([class]), щоб ці стилі НЕ ламали вашу власну HTML-верстку, 
  якщо ви додаєте класи (наприклад, <a class="btn"> або <p class="lede">).
*/
.blog-formatted-content { font-size: 17px; line-height: 1.7; color: var(--ink); }

.blog-formatted-content h2:not([class]) { font-size: 32px; margin: 40px 0 20px 0; font-family: var(--font-display); color: var(--ink); }
.blog-formatted-content h3:not([class]) { font-size: 24px; margin: 30px 0 15px 0; font-family: var(--font-display); color: var(--ink); }
.blog-formatted-content p:not([class]) { margin-bottom: 20px; }

.blog-formatted-content ul:not([class]) { margin: 20px 0 20px 20px !important; list-style-type: disc !important; padding-left: 20px !important; }
.blog-formatted-content ol:not([class]) { margin: 20px 0 20px 20px !important; list-style-type: decimal !important; padding-left: 20px !important; }
.blog-formatted-content li:not([class]) { margin-bottom: 10px; display: list-item !important; }

.blog-formatted-content img:not([class]) { max-width: 100%; height: auto; border-radius: 12px; margin: 30px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

.blog-formatted-content a:not([class]) { color: var(--accent); text-decoration: underline; transition: 0.2s; }
.blog-formatted-content a:not([class]):hover { color: var(--accent-hover); }

.blog-formatted-content blockquote:not([class]) { border-left: 4px solid var(--accent); padding: 20px; margin: 30px 0; background: var(--surface); color: var(--ink-soft); font-style: italic; border-radius: 0 8px 8px 0; }


.editor-btn { background: #fff; border: 1px solid var(--border); padding: 6px 10px; border-radius: 4px; cursor: pointer; color: var(--ink); font-family: var(--font-body); font-size: 14px; font-weight: 600; transition: 0.15s; }
.editor-btn:hover { background: var(--surface-2); border-color: #ccc; }
.editor-sep { width: 1px; background: var(--border); margin: 0 4px; }
#editorContent:focus { border-color: var(--accent) !important; }
