/* ============================================
   НалогЭкспресс — SaaS landing
   ============================================ */

:root {
    /* Colors */
    --bg: #0b1220;
    --bg-elev: #0f1729;
    --bg-light: #ffffff;
    --bg-section: #f7f8fc;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --text: #ffffff;
    --text-muted: #a4b0c4;
    --text-dark: #0b1220;
    --text-dark-muted: #4a5670;

    --accent: #4f8bff;
    --accent-2: #a37bff;
    --accent-hover: #6b9eff;
    --success: #26d97f;
    --danger: #ff5c5c;
    --warning: #ffb547;

    --gradient: linear-gradient(135deg, #4f8bff 0%, #a37bff 100%);
    --gradient-soft: linear-gradient(135deg, rgba(79, 139, 255, 0.15) 0%, rgba(163, 123, 255, 0.15) 100%);

    /* Type */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Manrope', 'Inter', sans-serif;

    /* Space */
    --container: 1200px;
    --container-narrow: 780px;
    --radius: 14px;
    --radius-lg: 22px;

    /* Shadow */
    --shadow-md: 0 10px 40px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px -10px rgba(79, 139, 255, 0.35);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }

/* ============================================
   Layout
   ============================================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow { max-width: var(--container-narrow); }

section {
    padding: clamp(64px, 8vw, 120px) 0;
    position: relative;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(40px, 5vw, 64px);
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 6px 14px;
    background: rgba(79, 139, 255, 0.1);
    border-radius: 100px;
    border: 1px solid rgba(79, 139, 255, 0.2);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 700; letter-spacing: -0.01em; }

.section-lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 12px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.2s ease, border-color 0.15s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 8px 22px -8px rgba(79, 139, 255, 0.55);
}
.btn-primary:hover { box-shadow: 0 12px 28px -8px rgba(79, 139, 255, 0.7); }

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
}
.btn-outline:hover { background: var(--surface); border-color: var(--accent); }

.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface-hover); }

.btn-ghost-light {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); }

.btn-white {
    background: white;
    color: var(--text-dark);
}
.btn-white:hover { background: #f0f2f7; }

/* ============================================
   Header
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 18, 32, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
}
.logo-text { color: var(--text); }

.nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
    margin-right: 24px;
}
.nav a {
    font-size: 15px;
    color: var(--text-muted);
    transition: color 0.15s ease;
}
.nav a:hover { color: var(--text); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 24px 20px;
    border-top: 1px solid var(--border);
}
.mobile-nav a {
    padding: 12px 8px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    font-size: 16px;
}
.mobile-nav a:last-child { border: 0; margin-top: 8px; }

@media (max-width: 860px) {
    .nav, .header-inner .btn-primary { display: none; }
    .menu-toggle { display: flex; }
    .site-header.menu-open .mobile-nav { display: flex; }
    .site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
    .site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================
   Hero
   ============================================ */
.hero {
    padding-top: clamp(48px, 6vw, 80px);
    padding-bottom: clamp(64px, 8vw, 120px);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 400px at 15% -10%, rgba(79, 139, 255, 0.22), transparent 60%),
        radial-gradient(ellipse 600px 500px at 90% 10%, rgba(163, 123, 255, 0.18), transparent 60%),
        radial-gradient(ellipse 500px 300px at 50% 100%, rgba(38, 217, 127, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 24px;
}
.badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    margin-bottom: 20px;
}

.hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-trust {
    display: flex;
    gap: 20px 28px;
    flex-wrap: wrap;
}
.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}
.pill-icon { font-size: 16px; }

/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 9 / 16;
    border-radius: 32px;
    overflow: hidden;
    background: var(--bg-elev);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transform: rotate(-2deg);
    position: relative;
}
.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Telegram chat mockup (hero) */
.phone-mockup-chat {
    background: linear-gradient(180deg, #17212b 0%, #0e1621 100%);
    display: flex;
    flex-direction: column;
    padding: 0;
}
.tg-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px 14px;
    background: rgba(23, 33, 43, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.tg-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f8bff, #a37bff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tg-name {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
}
.tg-status {
    color: #7d8b99;
    font-size: 12px;
    margin-top: 2px;
}
.tg-chat {
    flex: 1;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 30%, rgba(79, 139, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(163, 123, 255, 0.05) 0%, transparent 40%),
        #0e1621;
}
.tg-msg {
    max-width: 82%;
    padding: 8px 12px 6px;
    border-radius: 14px;
    font-size: 12.5px;
    line-height: 1.4;
    position: relative;
    color: #fff;
    word-wrap: break-word;
}
.tg-msg-in {
    align-self: flex-start;
    background: #182533;
    border-bottom-left-radius: 4px;
}
.tg-msg-out {
    align-self: flex-end;
    background: #2b5278;
    border-bottom-right-radius: 4px;
}
.tg-msg-text {
    padding: 8px 14px 6px;
}
.tg-time, .tg-time-in {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 3px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    gap: 4px;
}
.tg-time-in { color: #7d8b99; }
.tg-check { color: #6aabff; font-size: 11px; }
.tg-file {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
}
.tg-file-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff5c5c, #ff8a5c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}
.tg-file-icon-done {
    background: linear-gradient(135deg, #26d97f, #6ae5a5);
}
.tg-file-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}
.tg-file-size {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 2px;
}
.tg-msg-in .tg-file-size { color: #7d8b99; }

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(15, 23, 41, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    animation: float 4s ease-in-out infinite;
}
.floating-card-1 {
    top: 15%;
    left: -8%;
    animation-delay: 0s;
}
.floating-card-2 {
    bottom: 12%;
    right: -6%;
    animation-delay: 2s;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.fc-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-soft);
    border-radius: 10px;
}
.fc-title { font-size: 13px; font-weight: 600; }
.fc-sub { font-size: 12px; color: var(--text-muted); }

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: 2; }
    .floating-card-1 { left: 0; }
    .floating-card-2 { right: 0; }
    .phone-mockup { max-width: 320px; }
}

/* ============================================
   Problem
   ============================================ */
.problem {
    background: var(--bg-elev);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.problem-card {
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.problem-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}
.problem-card h3 { margin-bottom: 10px; }
.problem-card p { color: var(--text-muted); font-size: 15px; }

.p-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    font-size: 26px;
    border-radius: 14px;
    margin-bottom: 20px;
}
.p-icon-red { background: rgba(255, 92, 92, 0.12); }
.p-icon-amber { background: rgba(255, 181, 71, 0.12); }
.p-icon-blue { background: rgba(79, 139, 255, 0.14); }

/* ============================================
   How it works
   ============================================ */
.how {
    background: var(--bg);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: clamp(48px, 6vw, 80px);
}

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.step.reverse .step-content { order: 2; }

.step-num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    background: rgba(79, 139, 255, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.step-content h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-bottom: 14px; }
.step-content p { color: var(--text-muted); font-size: 1.05rem; }

.step-visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.step-visual img {
    width: 100%;
    max-width: 380px;
    border-radius: 22px;
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-md);
}

.step-final { }

/* Chat mockup for step 3 */
.chat-mockup {
    width: 100%;
    max-width: 380px;
    padding: 20px 18px;
    background: linear-gradient(180deg, #17212b 0%, #0e1621 100%);
    border: 1px solid var(--border-strong);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cm-msg {
    max-width: 88%;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #fff;
}
.cm-msg-in {
    align-self: flex-start;
    background: #182533;
    border-bottom-left-radius: 4px;
}
.cm-msg-out {
    align-self: flex-end;
    background: #2b5278;
    border-bottom-right-radius: 4px;
    max-width: 60%;
}
.cm-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    font-size: 13px;
}
.cm-title.cm-ok { color: #6ae5a5; margin-bottom: 0; }
.cm-line {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4px;
    line-height: 1.5;
}
.cm-line span {
    display: inline-block;
    min-width: 110px;
    color: #7d8b99;
    font-weight: 500;
}
.cm-hint {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #7d8b99;
    font-size: 12px;
    font-style: italic;
}
.cm-msg-file { max-width: 92%; }
.cm-file {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
}
.cm-file-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #26d97f, #6ae5a5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}
.cm-file-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}
.cm-file-meta {
    font-size: 11px;
    color: #7d8b99;
    margin-top: 3px;
}
.cm-balance {
    font-size: 12px;
    color: #7d8b99;
}
.cm-balance b { color: #6aabff; font-weight: 700; }

.pdf-preview {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 3 / 4;
    background: white;
    color: var(--text-dark);
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: var(--shadow-md), 0 0 80px -20px rgba(79, 139, 255, 0.4);
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}
.pdf-line {
    height: 8px;
    background: #e6ebf3;
    border-radius: 3px;
    width: 100%;
}
.pdf-line-title { height: 14px; width: 70%; background: #0b1220; }
.pdf-line-short { width: 50%; }
.pdf-line-medium { width: 80%; }
.pdf-line-heading { height: 10px; width: 60%; background: #4f8bff; margin-top: 6px; }
.pdf-gap { height: 16px; }
.pdf-gap-sm { height: 8px; }

.pdf-badge {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 100px;
    white-space: nowrap;
    box-shadow: 0 8px 20px -6px rgba(38, 217, 127, 0.5);
}

.tech-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 720px;
    margin: clamp(48px, 6vw, 72px) auto 0;
    padding: 18px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
}
.tech-note svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }

@media (max-width: 860px) {
    .step { grid-template-columns: 1fr; gap: 30px; }
    .step.reverse .step-content { order: 0; }
    .step-visual img, .pdf-preview { max-width: 280px; }
}

/* ============================================
   Cases
   ============================================ */
.cases {
    background: var(--bg-elev);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.case-card {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}
.case-card:hover {
    background: var(--surface-hover);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}
.case-icon {
    font-size: 32px;
    margin-bottom: 16px;
}
.case-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.case-card p { color: var(--text-muted); font-size: 14px; line-height: 1.55; margin-bottom: 14px; }
.case-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    background: rgba(79, 139, 255, 0.12);
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.03em;
}

.cases-note {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   Pricing
   ============================================ */
.pricing {
    background: var(--bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
@media (min-width: 1100px) {
    .pricing-grid { grid-template-columns: repeat(4, 1fr); }
}

.price-card {
    position: relative;
    padding: 32px 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.price-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.price-card-popular {
    background: linear-gradient(180deg, rgba(79, 139, 255, 0.1), rgba(163, 123, 255, 0.06));
    border-color: rgba(79, 139, 255, 0.35);
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.price-head { margin-bottom: 24px; }
.price-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.price-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}
.price-value span { font-size: 0.55em; color: var(--text-muted); margin-left: 4px; }
.price-per {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

.price-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}
.price-features li {
    position: relative;
    padding-left: 26px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}
.price-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background: var(--gradient-soft);
    border-radius: 50%;
}
.price-features li::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 8px;
    width: 8px;
    height: 5px;
    border-left: 1.5px solid var(--accent);
    border-bottom: 1.5px solid var(--accent);
    transform: rotate(-45deg);
}

.b2b-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 820px;
    margin: 0 auto 24px;
    padding: 18px 22px;
    background: rgba(79, 139, 255, 0.08);
    border: 1px solid rgba(79, 139, 255, 0.25);
    border-radius: 14px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}
.b2b-notice strong {
    color: var(--text);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}
.b2b-notice-icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.b2b-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding: 32px 36px;
    background: var(--gradient);
    border-radius: var(--radius-lg);
    color: white;
}
.b2b-block h3 { color: white; margin-bottom: 8px; font-size: 1.35rem; }
.b2b-block p { opacity: 0.9; font-size: 15px; }

@media (max-width: 720px) {
    .b2b-block { flex-direction: column; align-items: flex-start; padding: 28px; }
    .price-card-popular { transform: none; }
}

/* ============================================
   Who
   ============================================ */
.who {
    background: var(--bg-elev);
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.who-card {
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s ease;
}
.who-card:hover { border-color: var(--border-strong); }
.who-icon {
    font-size: 40px;
    margin-bottom: 18px;
}
.who-card h3 { margin-bottom: 16px; }
.who-card ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.who-card li {
    position: relative;
    padding-left: 18px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}
.who-card li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent);
}
.who-suggest {
    padding: 10px 14px;
    background: rgba(79, 139, 255, 0.1);
    border: 1px solid rgba(79, 139, 255, 0.25);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
}

/* ============================================
   FAQ
   ============================================ */
.faq { background: var(--bg); }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-list details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s ease;
}
.faq-list details[open] { border-color: var(--border-strong); }

.faq-list summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::marker { content: ""; }

.faq-toggle {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
}
.faq-toggle::before, .faq-toggle::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    background: var(--text-muted);
    transition: transform 0.2s ease;
}
.faq-toggle::before {
    width: 12px; height: 2px;
    transform: translate(-50%, -50%);
}
.faq-toggle::after {
    width: 2px; height: 12px;
    transform: translate(-50%, -50%);
}
.faq-list details[open] .faq-toggle::after { transform: translate(-50%, -50%) scaleY(0); }

.faq-body {
    padding: 0 24px 22px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
}
.faq-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================
   Final CTA
   ============================================ */
.final-cta { background: var(--bg-elev); }
.final-card {
    padding: clamp(48px, 6vw, 80px);
    background:
        radial-gradient(ellipse 600px 300px at 50% 0%, rgba(79, 139, 255, 0.25), transparent 70%),
        var(--gradient);
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.final-card h2 { color: white; margin-bottom: 12px; }
.final-card p { opacity: 0.95; font-size: 1.1rem; margin-bottom: 32px; }
.final-actions {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 24px;
}
.final-note { font-size: 12px; opacity: 0.8; }
.final-note a { color: white; text-decoration: underline; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: #060b16;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 720px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col .logo { margin-bottom: 8px; }
.footer-desc { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

.footer-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 4px;
}
.footer-col a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--text); }
.hours {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 8px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* ============================================
   Cookie banner
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-elev);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
    z-index: 90;
    animation: slideUp 0.4s ease;
}
.cookie-banner.hidden { display: none; }
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-inner p {
    flex: 1;
    min-width: 220px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}
.cookie-inner a { color: var(--accent); text-decoration: underline; }

/* ============================================
   Modal
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal.open { display: flex; }
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
}
.modal-content {
    position: relative;
    max-width: 500px;
    width: 100%;
    background: var(--bg-elev);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 32px 32px 24px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
    animation: modalIn 0.25s ease;
    max-height: 90vh;
    overflow-y: auto;
}
@keyframes modalIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    font-size: 24px;
    color: var(--text-muted);
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}
.modal-close:hover { background: var(--surface); color: var(--text); }

.modal h3 { margin-bottom: 8px; }
.modal-lead { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }

.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}
.lead-form input, .lead-form textarea {
    font: inherit;
    font-size: 15px;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    padding: 12px 14px;
    resize: vertical;
    transition: border-color 0.15s ease;
}
.lead-form input:focus, .lead-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.form-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.5;
}
.form-note a { color: var(--accent); text-decoration: underline; }

.lead-success {
    text-align: center;
    padding: 20px 0;
}
.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--success);
    color: white;
    font-size: 32px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
}
.lead-success h4 { margin-bottom: 8px; font-size: 1.2rem; }
.lead-success p { color: var(--text-muted); font-size: 14px; }

/* ============================================
   Legal pages
   ============================================ */
.legal-page {
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}
.legal-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}
.legal-content h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    margin-bottom: 8px;
}
.legal-content .legal-meta {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.legal-content h2 {
    font-size: 1.4rem;
    margin: 40px 0 16px;
    text-align: left;
}
.legal-content h3 {
    font-size: 1.1rem;
    margin: 24px 0 12px;
}
.legal-content p, .legal-content li {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 12px;
}
.legal-content ul, .legal-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}
.legal-content li { list-style: disc; }
.legal-content ol li { list-style: decimal; }
.legal-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 32px;
    text-decoration: none;
}
.legal-back:hover { text-decoration: underline; }

/* ============================================
   Utilities & small screens
   ============================================ */
@media (max-width: 500px) {
    .btn-lg { padding: 13px 22px; font-size: 15px; }
    .hero-actions .btn { flex: 1; }
    section { padding: 56px 0; }
}
