/* ДАРА ОТПЕЧАТОК — Главные стили */

/* ─── Переменные ───────────────────────────────────────────────────────────── */
:root {
    --orange:    #E8481C;
    --orange-dk: #C93A14;
    --black:     #111111;
    --dark:      #0A0A0A;
    --gray-100:  #F9F9F9;
    --gray-200:  #F0F0F0;
    --gray-400:  #AAAAAA;
    --gray-600:  #666666;
    --white:     #FFFFFF;
    --border:    #E2E2E2;
    --dash:      #DDDDDD;
    --radius:    6px;
    --max-w:     1200px;
    --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ─── Сброс ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font); }

/* ─── Контейнер ────────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ─── Кнопки ───────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 15px; font-weight: 600;
    border: none; transition: all .18s ease;
}
.btn-primary {
    background: var(--orange); color: var(--white);
}
.btn-primary:hover { background: var(--orange-dk); transform: translateY(-1px); }
.btn-outline {
    background: transparent; color: var(--black);
    border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--black); }
.btn-ghost { background: transparent; color: var(--orange); font-weight: 600; }
.btn-ghost:hover { text-decoration: underline; }

/* ─── Навигация ─────────────────────────────────────────────────────────────── */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.nav__inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.nav__logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 17px; font-weight: 700; letter-spacing: -.3px;
}
.nav__logo svg { color: var(--orange); }
.nav__links {
    display: flex; align-items: center; gap: 32px;
    list-style: none;
}
.nav__links a {
    font-size: 14px; color: var(--gray-600); font-weight: 500;
    transition: color .15s;
}
.nav__links a:hover { color: var(--black); }
.nav__links a.nav__external::after { content: ' ↗'; opacity: .5; }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; background: none; border: none; padding: 4px; }
.nav__burger span {
    display: block; width: 22px; height: 2px;
    background: var(--black); margin: 5px 0; transition: .2s;
}

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
    padding: 80px 0 60px;
    border-bottom: 1px dashed var(--dash);
}
.hero__inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero__label {
    font-size: 12px; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; color: var(--gray-600);
    margin-bottom: 20px;
}
.hero__title {
    font-size: 52px; font-weight: 800;
    line-height: 1.1; letter-spacing: -1.5px;
    margin-bottom: 20px;
}
.hero__title em { font-style: normal; color: var(--orange); }
.hero__desc {
    font-size: 18px; color: var(--gray-600); line-height: 1.65;
    margin-bottom: 36px; max-width: 480px;
}
.hero__buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* Демо-виджет */
.hero__demo {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 40px rgba(0,0,0,.08);
}
.demo__body { padding: 24px; }
.demo__visitor {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 16px;
    background: var(--gray-100);
    border: 1px dashed var(--dash); border-radius: 8px;
    margin-bottom: 16px;
}
.demo__visitor-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, #FFD6C9, #FF8A6A);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.demo__label { font-size: 12px; color: var(--gray-600); margin-bottom: 4px; }
.demo__id {
    font-family: 'Courier New', monospace;
    font-size: 14px; font-weight: 700; color: var(--orange);
    word-break: break-all;
}
.demo__id--loading { color: var(--gray-400); font-style: italic; }
.demo__data-grid {
    display: flex; flex-direction: column;
    gap: 0;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}
.demo__data-row {
    display: flex; align-items: baseline; gap: 8px;
    padding: 6px 12px;
    font-size: 12px;
    border-bottom: 1px solid var(--gray-200);
}
.demo__data-row:last-child { border-bottom: none; }
.demo__data-key {
    color: var(--gray-600); min-width: 82px; flex-shrink: 0; font-size: 11px;
}
.demo__data-val {
    font-weight: 500; color: var(--black);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.demo__data-val--geo { color: var(--orange); }

.demo__history {
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}
.demo__history-title {
    font-size: 10px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--gray-600);
    padding: 8px 12px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--border);
}
.demo__history-row {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 12px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 12px;
}
.demo__history-row:last-child { border-bottom: none; }
.demo__history-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--orange); flex-shrink: 0;
}
.demo__history-dot--past { background: var(--gray-400); }
.demo__history-date { color: var(--gray-600); min-width: 48px; }
.demo__history-info { flex: 1; font-weight: 500; }
.demo__history-device { color: var(--gray-600); font-size: 11px; }
.demo__vpn--detected { color: #c00; font-weight: 600; }
.demo__vpn--clean    { color: #1a7a3f; font-weight: 600; }

.demo__signals { display: flex; flex-wrap: wrap; gap: 6px; }
.demo__signal {
    font-size: 11px; font-weight: 600;
    padding: 4px 10px; border-radius: 20px;
    background: var(--white); border: 1px solid var(--border);
    color: var(--gray-600);
}
.demo__signal.active { border-color: var(--orange); color: var(--orange); }

/* ─── Trust strip ───────────────────────────────────────────────────────────── */
.trust {
    padding: 40px 0;
    border-bottom: 1px dashed var(--dash);
}
.trust__label {
    text-align: center; font-size: 11px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--gray-400); margin-bottom: 28px;
}
.trust__logos {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 40px;
}
.trust__logo {
    font-size: 16px; font-weight: 700; color: var(--gray-400);
    letter-spacing: -.3px; opacity: .7; transition: opacity .2s;
}
.trust__logo:hover { opacity: 1; }

/* ─── What we solve ─────────────────────────────────────────────────────────── */
.solve {
    padding: 80px 0;
    border-bottom: 1px dashed var(--dash);
}
.solve__inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.solve__left .section-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; color: var(--gray-600);
    letter-spacing: .5px; margin-bottom: 20px;
}
.solve__title {
    font-size: 40px; font-weight: 800; line-height: 1.15;
    letter-spacing: -1px; margin-bottom: 16px;
}
.solve__title em { font-style: normal; color: var(--orange); }
.solve__desc { font-size: 16px; color: var(--gray-600); margin-bottom: 28px; }

/* Аккордеон */
.accordion__item {
    border-top: 1px solid var(--border);
    overflow: hidden;
}
.accordion__item:last-child { border-bottom: 1px solid var(--border); }
.accordion__btn {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 20px 0; background: none; border: none;
    font-size: 16px; font-weight: 600; text-align: left; gap: 16px;
    cursor: pointer; transition: color .15s;
}
.accordion__btn:hover { color: var(--orange); }
.accordion__btn .icon { flex-shrink: 0; color: var(--gray-400); font-size: 20px; transition: .2s; }
.accordion__btn[aria-expanded="true"] .icon { transform: rotate(180deg); color: var(--orange); }
.accordion__body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion__body p { padding: 0 0 20px; font-size: 15px; color: var(--gray-600); line-height: 1.65; }
.accordion__item.open .accordion__body { max-height: 200px; }

/* ─── Stats ─────────────────────────────────────────────────────────────────── */
.stats {
    border-bottom: 1px dashed var(--dash);
}
.stats__inner {
    display: grid; grid-template-columns: repeat(3, 1fr);
}
.stats__item {
    padding: 56px 40px;
    border-right: 1px dashed var(--dash);
}
.stats__item:last-child { border-right: none; }
.stats__num {
    font-size: 40px; font-weight: 800; color: var(--orange);
    letter-spacing: -1.5px; margin-bottom: 8px;
}
.stats__desc { font-size: 14px; color: var(--gray-600); line-height: 1.5; }

/* ─── Developer section ─────────────────────────────────────────────────────── */
.developer {
    background: var(--dark); color: var(--white);
    padding: 80px 0;
    border-bottom: 1px dashed rgba(255,255,255,.1);
}
.developer__inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.developer__tag {
    font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--orange); margin-bottom: 20px;
}
.developer__title {
    font-size: 40px; font-weight: 800; line-height: 1.15;
    letter-spacing: -1px; margin-bottom: 16px;
}
.developer__title em { font-style: normal; color: var(--orange); }
.developer__desc { font-size: 16px; color: rgba(255,255,255,.6); margin-bottom: 32px; }
.developer__btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.1); color: var(--white);
    padding: 10px 20px; border-radius: var(--radius);
    font-size: 14px; font-weight: 600; border: 1px solid rgba(255,255,255,.15);
    transition: background .2s;
}
.developer__btn:hover { background: rgba(255,255,255,.18); }

/* Code block */
.code-block {
    background: #1A1A1A; border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px; overflow: hidden;
}
.code-block__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 12px; color: rgba(255,255,255,.4);
}
.code-block__dots { display: flex; gap: 6px; }
.code-block__dot { width: 10px; height: 10px; border-radius: 50%; }
.code-block__dot--red { background: #FF5F57; }
.code-block__dot--yellow { background: #FFBD2E; }
.code-block__dot--green { background: #28CA41; }
.code-block__body { padding: 24px 20px; overflow-x: auto; }
.code-block__body pre { font-family: 'Courier New', monospace; font-size: 13px; line-height: 1.7; }
.c-comment { color: #6A9955; }
.c-tag  { color: #808080; }
.c-str  { color: #CE9178; }
.c-key  { color: #9CDCFE; }
.c-val  { color: #B5CEA8; }
.c-fn   { color: #DCDCAA; }
.c-obj  { color: #4EC9B0; }

/* Сигналы */
.signal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; }
.signal-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
    font-size: 13px; color: rgba(255,255,255,.75);
}
.signal-item::before { content: '◈'; color: var(--orange); font-size: 10px; }

/* ─── CTA ───────────────────────────────────────────────────────────────────── */
.cta {
    padding: 80px 0;
    border-bottom: 1px dashed var(--dash);
}
.cta__inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.cta__title {
    font-size: 40px; font-weight: 800; line-height: 1.15;
    letter-spacing: -1px; margin-bottom: 16px;
}
.cta__title em { font-style: normal; color: var(--orange); }
.cta__desc { font-size: 16px; color: var(--gray-600); margin-bottom: 8px; }
.cta__note { font-size: 14px; color: var(--gray-400); }
.cta__note a { color: var(--orange); }
.cta__buttons { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta__compliance {
    display: flex; gap: 20px; flex-wrap: wrap; margin-top: 32px;
}
.badge {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px; border: 1px solid var(--border);
    border-radius: var(--radius); font-size: 13px; font-weight: 600;
}
.badge__icon { font-size: 20px; }

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.footer {
    background: var(--gray-100);
    border-top: 1px solid var(--border);
    padding: 60px 0 32px;
}
.footer__top {
    display: grid; grid-template-columns: 200px repeat(4, 1fr); gap: 40px;
    padding-bottom: 48px; border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}
.footer__logo {
    font-size: 16px; font-weight: 700; margin-bottom: 12px;
    display: flex; align-items: center; gap: 8px;
}
.footer__tagline { font-size: 13px; color: var(--gray-600); line-height: 1.6; }
.footer__col h4 {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: var(--gray-400); margin-bottom: 16px;
}
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul a { font-size: 14px; color: var(--gray-600); }
.footer__col ul a:hover { color: var(--black); }
.footer__bottom {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
}
.footer__copy { font-size: 13px; color: var(--gray-400); }
.footer__links { display: flex; gap: 20px; }
.footer__links a { font-size: 13px; color: var(--gray-400); }
.footer__links a:hover { color: var(--black); }
.footer__daratech a { color: var(--orange); font-weight: 600; }

/* ─── Утилиты ───────────────────────────────────────────────────────────────── */
.orange { color: var(--orange); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ─── Адаптив ───────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero__title { font-size: 40px; }
    .hero__inner { gap: 40px; }
    .solve__inner, .developer__inner, .cta__inner { gap: 48px; }
    .stats__num { font-size: 32px; }
}

@media (max-width: 768px) {
    .nav__links, .nav__cta .btn-outline { display: none; }
    .nav__burger { display: block; }
    .hero { padding: 52px 0 40px; }
    .hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .hero__title { font-size: 34px; }
    .hero__desc { font-size: 16px; }
    .solve__inner, .developer__inner, .cta__inner { grid-template-columns: 1fr; gap: 40px; }
    .stats__inner { grid-template-columns: 1fr; }
    .stats__item { border-right: none; border-bottom: 1px dashed var(--dash); padding: 36px 24px; }
    .stats__item:last-child { border-bottom: none; }
    .footer__top { grid-template-columns: 1fr 1fr; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
    .solve__title, .developer__title, .cta__title { font-size: 30px; }
    .signal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 28px; }
    .hero__buttons { flex-direction: column; }
    .hero__buttons .btn { width: 100%; justify-content: center; }
    .trust__logos { gap: 24px; }
    .footer__top { grid-template-columns: 1fr; }
}
