/* ===================================================================
   SmartAI — premium dark theme
   =================================================================== */
:root {
    /* Surfaces */
    --bg: #070910;
    --bg-alt: #0b0e18;
    --surface: #11151f;
    --surface-2: #161b28;
    --surface-hover: #1c2230;

    /* Text */
    --text: #eef1f7;
    --text-muted: #98a2b6;
    --text-dim: #69728a;

    /* Premium accent — electric indigo */
    --accent: #7c6cff;
    --accent-2: #4f9eff;
    --accent-soft: rgba(124, 108, 255, 0.12);
    --accent-mid: rgba(124, 108, 255, 0.28);
    --accent-grad: linear-gradient(135deg, #8b7bff 0%, #5b8dff 100%);
    --success: #34d399;

    /* Lines */
    --border: rgba(255, 255, 255, 0.07);
    --border-strong: rgba(255, 255, 255, 0.13);

    /* Type */
    --font-display: 'Sora', sans-serif;
    --font-body: 'Manrope', sans-serif;

    /* Radius / shadow */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 22px;
    --shadow-lg: 0 24px 60px -18px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 0 1px var(--border), 0 30px 70px -30px rgba(124, 108, 255, 0.4);

    --maxw: 1180px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: var(--accent-mid); color: #fff; }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 32px;
}

.container-narrow { max-width: 820px; }

a { color: inherit; text-decoration: none; }

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 26px;
    border-radius: var(--r-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-grad);
    color: #fff;
    box-shadow: 0 8px 24px -8px rgba(124, 108, 255, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(124, 108, 255, 0.8); }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: #fff; background: var(--accent-soft); }

.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ===================== HEADER ===================== */
#site-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 100;
    padding: 14px 0;
    background: rgba(7, 9, 16, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, background .3s ease;
}
#site-header.scrolled {
    border-bottom-color: var(--border);
    background: rgba(7, 9, 16, 0.9);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
    color: var(--text);
}
.logo-mark {
    display: inline-flex;
    color: var(--accent);
}
.logo-word { color: var(--text); }

#primary-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}
#primary-nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: .95rem;
    transition: color .2s;
    position: relative;
}
#primary-nav a:hover { color: var(--text); }

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang-switcher {
    display: flex;
    gap: 2px;
    padding: 3px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9px;
}
.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 5px 9px;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .5px;
    transition: all .2s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { background: var(--accent-soft); color: var(--accent); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: .3s;
}

/* ===================== SECTION PRIMITIVES ===================== */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}
.section-head.left { text-align: left; margin-left: 0; }

.section-sub {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 14px;
}
.section-sub.left { text-align: left; }

h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1px;
    color: #fff;
    text-wrap: balance;
}
h2.left { text-align: left; }

.section-desc {
    margin: 18px auto 0;
    max-width: 620px;
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}
.section-desc.left { margin-left: 0; text-align: left; }

/* ===================== HERO ===================== */
.hero {
    position: relative;
    padding: 180px 0 110px;
    overflow: hidden;
}
.hero-grid-deco {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(124, 108, 255, 0.14) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, #000 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, #000 10%, transparent 70%);
    pointer-events: none;
}
.hero-glow {
    position: absolute;
    width: 720px; height: 720px;
    top: -220px; right: -160px;
    background: radial-gradient(circle, rgba(124, 108, 255, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

.hero-layout {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 64px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 15px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-mid);
    border-radius: 30px;
    font-size: .82rem;
    font-weight: 600;
    color: #c3bbff;
    margin-bottom: 26px;
}
.pulse-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(124, 108, 255, 0.7);
    animation: pulse 2.2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(124,108,255,.6); }
    70% { box-shadow: 0 0 0 9px rgba(124,108,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(124,108,255,0); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.4vw, 3.7rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: #fff;
    margin-bottom: 22px;
    text-wrap: balance;
}
.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 34px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero-stats {
    display: flex;
    gap: 44px;
    flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-num {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.5px;
}
.hero-stat-label { font-size: .85rem; color: var(--text-muted); }

/* Hero chat visual */
.hero-visual { position: relative; }
.chat-window {
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border-strong);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.chat-header-bar {
    background: rgba(0,0,0,.25);
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border);
}
.chat-dot { width: 10px; height: 10px; border-radius: 50%; }
.chat-dot:nth-child(1) { background: #ef5f5f; }
.chat-dot:nth-child(2) { background: #f5b53f; }
.chat-dot:nth-child(3) { background: #4fcf7a; }
.chat-title { margin-left: 10px; font-size: .82rem; font-weight: 600; color: var(--text-muted); }
.chat-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.chat-msg { padding: 12px 16px; border-radius: 13px; font-size: .92rem; line-height: 1.5; max-width: 92%; }
.chat-msg.user { background: var(--accent-grad); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg.ai { background: rgba(0,0,0,.25); color: var(--text-muted); border-bottom-left-radius: 4px; display: flex; flex-direction: column; gap: 9px; }
.typing-line { height: 8px; background: var(--surface-hover); border-radius: 4px; width: 100%; }
.typing-line.short { width: 45%; }
.typing-line.medium { width: 70%; }
.chat-highlight {
    display: inline-block; width: fit-content;
    background: var(--accent-soft);
    border: 1px solid var(--accent-mid);
    color: #c3bbff;
    padding: 4px 11px; border-radius: 6px;
    font-weight: 600; font-size: .85rem;
}
.float-badge {
    position: absolute;
    display: flex; align-items: center; gap: 8px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    padding: 9px 14px; border-radius: 11px;
    font-size: .82rem; font-weight: 600; color: var(--text);
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
}
.float-badge svg { color: var(--success); }
.badge-1 { top: -16px; left: -28px; animation: floaty 4s ease-in-out infinite; }
.badge-2 { bottom: 24px; right: -24px; animation: floaty 4s ease-in-out infinite 1.6s; }
.badge-2 svg { color: #f5b53f; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ===================== TRUST BAR ===================== */
.trust-bar { padding: 46px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-label {
    text-align: center; font-size: .76rem; text-transform: uppercase;
    letter-spacing: 2.5px; color: var(--text-dim); margin-bottom: 26px; font-weight: 600;
}
.trust-logos { display: flex; justify-content: center; align-items: center; gap: 50px; flex-wrap: wrap; }
.trust-logo {
    display: flex; align-items: center; gap: 9px;
    color: var(--text-muted); font-size: 1rem; font-weight: 600;
    opacity: .55; transition: opacity .25s, color .25s;
}
.trust-logo:hover { opacity: 1; color: var(--text); }

/* ===================== SERVICES OVERVIEW (PILLARS) ===================== */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pillar-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 32px;
    background: linear-gradient(180deg, var(--surface), var(--surface));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s;
    position: relative;
    overflow: hidden;
}
.pillar-card::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--accent-soft), transparent 60%);
    opacity: 0; transition: opacity .3s;
}
.pillar-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-mid);
    box-shadow: var(--shadow-glow);
}
.pillar-card:hover::before { opacity: 1; }
.pillar-tag {
    font-size: .76rem; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--accent); margin-bottom: 22px;
    position: relative;
}
.pillar-icon {
    width: 56px; height: 56px; border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 22px;
    position: relative;
}
.pillar-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 600; color: #fff;
    margin-bottom: 12px; letter-spacing: -.4px;
    position: relative;
}
.pillar-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.65; margin-bottom: 22px; position: relative; }
.pillar-link {
    margin-top: auto; color: var(--accent); font-weight: 600; font-size: .95rem;
    position: relative;
    transition: gap .2s;
}
.pillar-card:hover .pillar-link { color: #c3bbff; }

/* ===================== FEATURE GRID ===================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.feature-grid.four { grid-template-columns: repeat(4, 1fr); }
.feature-card {
    padding: 30px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: transform .22s ease, border-color .22s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.feature-icon {
    width: 50px; height: 50px; border-radius: 13px;
    background: var(--accent-soft);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.feature-icon svg {
    width: 24px; height: 24px;
    stroke: var(--accent); fill: none; stroke-width: 1.7;
    stroke-linecap: round; stroke-linejoin: round;
}
.feature-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem; font-weight: 700; color: var(--accent);
    margin-bottom: 16px;
    opacity: .85;
}
.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.16rem; font-weight: 600; color: #fff;
    margin-bottom: 9px; letter-spacing: -.3px;
}
.feature-card.compact h3 { font-size: 1.08rem; }
.feature-card p { color: var(--text-muted); font-size: .95rem; line-height: 1.6; }

/* ===================== GEO ===================== */
.geo-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 44px;
}
.geo-benefit {
    display: flex; align-items: flex-start; gap: 13px;
    padding: 18px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    font-size: 1rem; color: var(--text);
}
.geo-benefit svg { color: var(--success); flex-shrink: 0; margin-top: 2px; }
.geo-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.geo-card {
    padding: 28px 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: border-color .22s;
}
.geo-card:hover { border-color: var(--border-strong); }
.geo-card h3 {
    font-family: var(--font-display);
    font-size: 1.12rem; font-weight: 600; color: #fff;
    margin-bottom: 16px; letter-spacing: -.3px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.geo-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.geo-card li {
    position: relative; padding-left: 22px;
    color: var(--text-muted); font-size: .92rem; line-height: 1.55;
}
.geo-card li::before {
    content: ""; position: absolute; left: 4px; top: 8px;
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* ===================== STATS ===================== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.stat-item {
    text-align: center;
    padding: 38px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
}
.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.6rem; font-weight: 800;
    letter-spacing: -1px; margin-bottom: 8px;
    background: var(--accent-grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label { font-size: .92rem; color: var(--text-muted); }

/* ===================== WHY NOW ===================== */
.why-now-content {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 64px;
}
.why-desc { color: var(--text-muted); font-size: 1.08rem; line-height: 1.7; margin: 18px 0 32px; }
.advantages-list { display: flex; flex-direction: column; gap: 12px; }
.adv-item {
    display: flex; align-items: center; gap: 13px;
    padding: 15px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-size: .98rem; color: var(--text);
}
.adv-icon { flex-shrink: 0; stroke: var(--success); fill: none; }
.chart-card {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-md);
    padding: 26px;
    box-shadow: var(--shadow-lg);
}
.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.chart-title { font-weight: 600; font-size: .98rem; color: var(--text); }
.chart-badge { background: rgba(52,211,153,.15); color: var(--success); padding: 4px 11px; border-radius: 6px; font-size: .82rem; font-weight: 700; }
.chart-svg { width: 100%; height: 120px; display: block; }
.chart-labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: .75rem; color: var(--text-dim); }

/* ===================== PROCESS ===================== */
.process-steps { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; }
.process-step { display: flex; gap: 26px; }
.step-indicator { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.step-number {
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--accent-grad); color: #fff;
    font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 22px -8px rgba(124,108,255,.8);
    z-index: 1;
}
.step-line { width: 2px; flex: 1; background: var(--border-strong); min-height: 26px; }
.step-content {
    flex: 1; margin-bottom: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 24px 30px;
}
.step-period {
    display: inline-block;
    font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    color: var(--accent); background: var(--accent-soft);
    padding: 4px 11px; border-radius: 5px; margin-bottom: 10px;
}
.step-content h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: #fff; margin-bottom: 7px; }
.step-content p { color: var(--text-muted); font-size: .98rem; line-height: 1.6; }

/* ===================== TESTIMONIALS ===================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 32px 30px;
    display: flex; flex-direction: column;
}
.testimonial-stars { color: #f5b53f; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 18px; }
.testimonial-text { color: var(--text); font-size: 1.02rem; line-height: 1.7; margin-bottom: 26px; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 13px; }
.author-avatar {
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--accent-soft); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; font-size: .9rem;
}
.author-info strong { display: block; font-size: .95rem; color: #fff; }
.author-info span { font-size: .84rem; color: var(--text-muted); }

/* ===================== FAQ ===================== */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color .2s;
}
.faq-item[open] { border-color: var(--accent-mid); }
.faq-item summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 24px 28px;
    font-family: var(--font-display);
    font-weight: 600; font-size: 1.1rem; color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron {
    flex-shrink: 0; width: 12px; height: 12px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg); transition: transform .25s; margin-top: -4px;
}
.faq-item[open] .faq-chevron { transform: rotate(-135deg); margin-top: 4px; border-color: var(--accent); }
.faq-item p { padding: 0 28px 26px; color: var(--text-muted); font-size: 1rem; line-height: 1.7; max-width: 90%; }

/* ===================== BLOG ===================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: transform .22s, border-color .22s;
    display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.blog-thumb {
    height: 168px;
    background-size: 22px 22px;
    position: relative;
}
.thumb-1 { background: linear-gradient(135deg, #2a2356, #1a1f3a); background-image: linear-gradient(135deg, rgba(124,108,255,.25), transparent), repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 12px); }
.thumb-2 { background: linear-gradient(135deg, #1a2c4a, #16203a); background-image: linear-gradient(135deg, rgba(79,158,255,.25), transparent), repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 12px); }
.thumb-3 { background: linear-gradient(135deg, #20304a, #161f2e); background-image: linear-gradient(135deg, rgba(52,211,153,.2), transparent), repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 12px); }
.blog-body { padding: 26px 26px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-tag {
    align-self: flex-start;
    font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    color: var(--accent); background: var(--accent-soft);
    padding: 4px 11px; border-radius: 5px; margin-bottom: 16px;
}
.blog-card h3 { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; color: #fff; line-height: 1.3; margin-bottom: 10px; letter-spacing: -.3px; }
.blog-card p { color: var(--text-muted); font-size: .95rem; line-height: 1.6; margin-bottom: 22px; flex: 1; }
.blog-meta { display: flex; align-items: center; justify-content: space-between; font-size: .85rem; color: var(--text-dim); }
.blog-read { color: var(--accent); font-weight: 600; }
.blog-read:hover { color: #c3bbff; }

/* ===================== CONTACT / FORM ===================== */
.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.05fr;
    gap: 64px;
    align-items: start;
}
.contact-desc { color: var(--text-muted); font-size: 1.08rem; line-height: 1.7; margin: 18px 0 30px; }
.contact-points { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.contact-points li { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 1rem; }
.contact-points svg { color: var(--success); flex-shrink: 0; }
.contact-email {
    display: inline-block;
    font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
    color: var(--accent);
}
.contact-email:hover { color: #c3bbff; }

.contact-form {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-lg);
    padding: 38px;
    box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field label { font-size: .88rem; font-weight: 600; color: var(--text); }
.form-field input,
.form-field select,
.form-field textarea {
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-sm);
    padding: 13px 15px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: .98rem;
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-dim); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-field select { cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2398a2b6' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 38px; }
.form-privacy { font-size: .82rem; color: var(--text-dim); margin-top: 14px; text-align: center; }
.form-success {
    margin-top: 16px; padding: 14px 18px;
    background: rgba(52,211,153,.12);
    border: 1px solid rgba(52,211,153,.3);
    border-radius: var(--r-sm);
    color: var(--success); font-size: .92rem; text-align: center; font-weight: 600;
}

/* ===================== FOOTER ===================== */
.site-footer {
    background: #05060c;
    border-top: 1px solid var(--border);
    padding: 72px 0 32px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 56px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}
.footer-tagline { color: var(--text-muted); font-size: .98rem; line-height: 1.65; margin-top: 18px; max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { font-family: var(--font-display); font-size: .95rem; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--text-muted); font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 28px; color: var(--text-dim); font-size: .85rem; flex-wrap: wrap; gap: 16px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 9px;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); transition: all .2s;
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent-mid); background: var(--accent-soft); }

/* ===================== GDPR ===================== */
.gdpr-popup {
    position: fixed; bottom: 22px; left: 22px; right: 22px;
    max-width: 560px; margin: 0 auto;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-md);
    padding: 20px 24px;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: transform .35s ease, opacity .35s;
}
.gdpr-popup.hidden { transform: translateY(160%); opacity: 0; pointer-events: none; }
.gdpr-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.gdpr-content p { font-size: .88rem; color: var(--text-muted); margin: 0; }
.gdpr-buttons { display: flex; gap: 8px; flex-shrink: 0; }

/* ===================== BLOG CARDS (dynamic) + READER ===================== */
.blog-card.is-clickable { cursor: pointer; }
.blog-card.is-clickable:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.reader-modal { position: fixed; inset: 0; z-index: 1100; display: none; }
.reader-modal.open { display: block; }
.reader-overlay { position: absolute; inset: 0; background: rgba(3,4,8,.8); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.reader-panel {
    position: absolute; top: 4vh; left: 50%; transform: translateX(-50%);
    width: min(780px, 92vw); max-height: 92vh; overflow-y: auto;
    background: var(--bg-alt); border: 1px solid var(--border-strong);
    border-radius: var(--r-lg); box-shadow: 0 40px 100px -24px rgba(0,0,0,.85);
}
.reader-close {
    position: sticky; top: 14px; float: right; margin: 14px 14px 0 0;
    width: 38px; height: 38px; border-radius: 10px; z-index: 3;
    background: var(--surface-2); border: 1px solid var(--border-strong);
    color: var(--text-muted); display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .2s;
}
.reader-close:hover { color: #fff; background: var(--surface-hover); }
.reader-article { padding: 16px 52px 60px; }
.article-tag { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 5px; margin-bottom: 18px; }
.reader-article h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; color: #fff; line-height: 1.12; letter-spacing: -1px; margin-bottom: 14px; text-wrap: balance; }
.article-meta { display: flex; align-items: center; gap: 13px; color: var(--text-dim); font-size: .9rem; margin-bottom: 26px; }
.article-meta .lang-chip { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .5px; padding: 3px 9px; border-radius: 5px; background: var(--surface-3, #1c2230); color: var(--text-muted); }
.article-featured { width: 100%; border-radius: var(--r-md); margin-bottom: 28px; display: block; }
.article-excerpt { font-size: 1.18rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.article-body { font-size: 1.08rem; line-height: 1.8; color: var(--text); }
.article-body h2 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: #fff; margin: 30px 0 12px; letter-spacing: -.4px; }
.article-body h3 { font-family: var(--font-display); font-size: 1.34rem; font-weight: 600; color: #fff; margin: 24px 0 10px; }
.article-body p { margin: 0 0 18px; }
.article-body a { color: var(--accent-2); text-decoration: underline; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 26px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote { margin: 20px 0; padding: 14px 24px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--text-muted); font-style: italic; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--r-sm); margin: 16px 0; display: block; }
.article-body figure { margin: 20px 0; }
.article-body figcaption { font-size: .85rem; color: var(--text-dim); text-align: center; margin-top: 8px; }

/* ===================== PRICING ===================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 34px 30px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.price-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.price-card.featured { border-color: var(--accent-mid); box-shadow: var(--shadow-glow); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent-grad); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; box-shadow: 0 8px 20px -8px rgba(124,108,255,.8); }
.price-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: #fff; margin-bottom: 12px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 22px; }
.price-from { font-size: .82rem; color: var(--text-dim); margin-right: 4px; }
.price-value { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; letter-spacing: -1px; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.price-period { font-size: .95rem; color: var(--text-muted); }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.price-features li { position: relative; padding-left: 28px; color: var(--text-muted); font-size: .95rem; line-height: 1.5; }
.price-features li svg { position: absolute; left: 0; top: 3px; width: 18px; height: 18px; color: var(--success); }
.price-card .btn { width: 100%; }

/* ===================== AI CHATBOT ===================== */
.chatbot { position: fixed; right: 22px; bottom: 22px; z-index: 1200; }
.chatbot-launch {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 20px 13px 16px; border: none; cursor: pointer;
    background: var(--accent-grad); color: #fff; border-radius: 40px;
    font-family: var(--font-body); font-weight: 600; font-size: .95rem;
    box-shadow: 0 12px 30px -8px rgba(124,108,255,.75); transition: transform .2s, box-shadow .2s;
}
.chatbot-launch:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(124,108,255,.85); }
.chatbot.open .chatbot-launch { display: none; }
.chatbot-panel {
    position: absolute; right: 0; bottom: 0;
    width: min(380px, calc(100vw - 44px)); height: min(560px, calc(100vh - 100px));
    background: var(--bg-alt); border: 1px solid var(--border-strong); border-radius: 20px;
    display: none; flex-direction: column; overflow: hidden;
    box-shadow: 0 40px 90px -24px rgba(0,0,0,.8);
}
.chatbot.open .chatbot-panel { display: flex; animation: botIn .28s ease; }
@keyframes botIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.chatbot-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 16px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-bottom: 1px solid var(--border); }
.chatbot-id { display: flex; align-items: center; gap: 11px; }
.chatbot-avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chatbot-id strong { display: block; font-family: var(--font-display); font-size: 1rem; color: #fff; }
.chatbot-status { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--text-muted); }
.chatbot-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.chatbot-close { width: 34px; height: 34px; border-radius: 9px; background: transparent; border: 1px solid var(--border); color: var(--text-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s; }
.chatbot-close:hover { color: #fff; background: var(--surface-hover); }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 20px 16px; display: flex; flex-direction: column; gap: 12px; }
.bot-msg { max-width: 84%; padding: 11px 15px; border-radius: 15px; font-size: .93rem; line-height: 1.55; }
.bot-msg.bot { background: var(--surface-2); color: var(--text); align-self: flex-start; border-bottom-left-radius: 5px; }
.bot-msg.user { background: var(--accent-grad); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.bot-typing { align-self: flex-start; display: flex; gap: 4px; padding: 13px 16px; background: var(--surface-2); border-radius: 15px; border-bottom-left-radius: 5px; }
.bot-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-dim); animation: botBlink 1.2s infinite; }
.bot-typing span:nth-child(2) { animation-delay: .2s; }
.bot-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes botBlink { 0%,60%,100% { opacity: .3; } 30% { opacity: 1; } }
.chatbot-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); background: var(--surface); }
.chatbot-input input { flex: 1; background: var(--bg); border: 1px solid var(--border-strong); border-radius: 22px; padding: 11px 16px; color: var(--text); font-family: var(--font-body); font-size: .93rem; }
.chatbot-input input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.chatbot-send { width: 44px; height: 44px; flex-shrink: 0; border: none; border-radius: 50%; background: var(--accent-grad); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .15s; }
.chatbot-send:hover { transform: scale(1.06); }
.chatbot-send:disabled { opacity: .5; cursor: default; transform: none; }
@media (max-width: 520px) {
    .chatbot { right: 14px; bottom: 14px; }
    .chatbot-launch-label { display: none; }
    .chatbot-launch { padding: 15px; border-radius: 50%; }
    .chatbot-panel { width: calc(100vw - 28px); height: calc(100vh - 90px); }
}

/* ===================== RESPONSIVE ===================== */
.nav-cta-mobile { display: none; }

@media (max-width: 1080px) {
    .feature-grid.four { grid-template-columns: repeat(2, 1fr); }
    .geo-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
    #primary-nav { display: none; }
    .nav-toggle { display: flex; }
    #primary-nav.open {
        display: flex;
        flex-direction: column;
        gap: 20px;
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(7,9,16,.98); backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border);
        padding: 22px 32px 26px;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }
    #primary-nav.open ul { flex-direction: column; gap: 4px; }
    #primary-nav.open li a {
        display: block;
        padding: 12px 4px;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--border);
    }
    #primary-nav.open .nav-cta-mobile { display: flex; margin-top: 4px; }
    .hero-layout { grid-template-columns: 1fr; gap: 56px; }
    .hero-visual { max-width: 420px; margin: 0 auto; }
    .why-now-content { grid-template-columns: 1fr; gap: 44px; }
    .contact-layout { grid-template-columns: 1fr; gap: 44px; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
    .section { padding: 76px 0; }
    .container { padding: 0 22px; }
    .section-head { margin-bottom: 44px; }
    .pillars { grid-template-columns: 1fr; }
    .feature-grid, .feature-grid.four { grid-template-columns: 1fr; }
    .geo-benefits { grid-template-columns: 1fr; }
    .geo-cards { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero { padding: 132px 0 76px; }
    .hero-stats { gap: 24px 36px; }
    .header-right .btn-primary { display: none; }
    .contact-form { padding: 26px 22px; }
    .gdpr-content { flex-direction: column; align-items: stretch; text-align: center; }
    .gdpr-buttons { justify-content: center; }
    .footer-cols { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    /* keep decorative hero badges from clipping at screen edges */
    .badge-1 { left: 6px; }
    .badge-2 { right: 6px; }
    .lang-btn { padding: 7px 10px; font-size: .8rem; }
    .pillar-card, .feature-card { padding: 28px 24px; }
    .step-content { padding: 20px 22px; }
    .faq-item summary { padding: 20px 22px; font-size: 1.02rem; }
    .faq-item p { padding: 0 22px 22px; max-width: 100%; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .header-content { gap: 12px; }
    .logo-word { font-size: 1.15rem; }
    .hero h1 { font-size: 2.05rem; letter-spacing: -1px; }
    .hero-sub { font-size: 1.05rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .hero-stats { gap: 20px 28px; }
    .hero-stat-num { font-size: 1.55rem; }
    h2 { font-size: 1.7rem; }
    .stats-row { grid-template-columns: 1fr; }
    .stat-item { padding: 30px 20px; }
    .stat-number { font-size: 2.3rem; }
    .trust-logos { gap: 20px 32px; }
    .testimonial-card, .pillar-card, .feature-card, .geo-card { padding: 26px 22px; }
    .contact-form { padding: 24px 18px; }
    .float-badge { font-size: .76rem; padding: 8px 12px; }
    .reader-article { padding: 10px 22px 40px; }
    .reader-panel { top: 0; width: 100vw; max-height: 100vh; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
}
