/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --magenta: #E7005B;
    --magenta-dark: #B8004A;
    --magenta-darker: #8A0037;
    --magenta-light: #FF4D8D;
    --magenta-tint: #FFE5F0;
    --magenta-subtle: #FFF0F6;
    --white: #FFFFFF;
    --surface-gray: #F9FAFB;
    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;
    --text-secondary: #6B7280;
    --text-disabled: #9CA3AF;
    --text-primary: #111827;
    --success: #16A34A;
    --font-head: 'Golos Text', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Golos Text', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius: 16px;
    --radius-lg: 20px;
    --radius-pill: 999px;
    --default-gap: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--white);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== LANGUAGE SWITCHER ===== */
[data-lang] {
    display: none !important;
}

body.lang-ru [data-lang="ru"],
body.lang-uz [data-lang="uz"],
body.lang-en [data-lang="en"] {
    display: block !important;
}

span[data-lang] {
    display: none;
}

body.lang-ru span[data-lang="ru"],
body.lang-uz span[data-lang="uz"],
body.lang-en span[data-lang="en"] {
    display: inline;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar-logo .logo-wordmark {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 22px;
    color: var(--magenta);
    letter-spacing: -0.5px;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: var(--default-gap);
}

.lang-switcher {
    display: flex;
    gap: 4px;
    background: var(--surface-gray);
    border-radius: var(--radius-xs);
    padding: 4px;
}

.lang-btn {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    padding: 5px 12px;
    border: none;
    background: transparent;
    border-radius: var(--radius-xs);
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.lang-btn.active {
    background: var(--white);
    color: var(--text-primary);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.btn-nav {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    padding: 10px var(--default-gap);
    background: var(--magenta);
    color: var(--white);
    border: none;
    border-radius: var(--radius-xs);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.btn-nav:hover {
    background: var(--magenta-dark);
    transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #FFE5F0;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(44px, 6vw, 80px);
    line-height: 1.04;
    letter-spacing: -1.5px;
    color: var(--text-primary);
    margin-bottom: var(--default-gap);
}

.hero-title span {
    color: var(--magenta);
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: var(--default-gap);
}

.btn-primary {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 500;
    padding: 16px 32px;
    background: var(--magenta);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(231, 0, 91, 0.3);
}

.btn-primary:hover {
    background: var(--magenta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(231, 0, 91, 0.35);
}

.btn-primary svg {
    transition: transform 0.2s;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-transparent {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 500;
    padding: 14px 30px;
    background: transparent;
    color: var(--magenta);
    border: 2px solid var(--magenta);
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(231, 0, 91, 0.3);
}

.btn-transparent:hover {
    background: var(--magenta-dark);
    border-color: var(--magenta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(231, 0, 91, 0.35);
    color: var(--white);
}

.btn-transparent svg {
    transition: transform 0.2s;
}

.btn-transparent:hover svg {
    transform: translateX(3px);
}

.hero-note {
    font-size: 13px;
    color: var(--text-disabled);
}

.hero-visual {
    position: relative;
}

.hero-screen-image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-screen-image img {
    max-width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.hero-stats {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-stats-icon {
    width: 40px;
    height: 40px;
    background: var(--magenta-tint);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stats-icon svg {
    color: var(--magenta);
}

.hero-stats-text .num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 20px;
    color: var(--text-primary);
}

.hero-stats-text .lbl {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ===== SECTION COMMON ===== */
section {
    padding: 96px 40px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.container.text p {
    margin: 15px 0;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--magenta);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
}

/* ===== FEATURES ===== */
.features {
    background: var(--white);
}

.features-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
    gap: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--default-gap);
}

.feature-card {
    background: var(--surface-gray);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--border-light);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: rgba(231, 0, 91, 0.25);
    box-shadow: 0 8px 32px rgba(231, 0, 91, 0.08);
    transform: translateY(-3px);
}

.feature-card.featured {
    background: linear-gradient(135deg, var(--magenta) 0%, var(--magenta-dark) 100%);
    border-color: transparent;
    color: var(--white);
}

.feature-card.featured .feature-title,
.feature-card.featured .feature-text {
    color: var(--white);
}

.feature-card.featured .feature-text {
    opacity: 0.85;
}

.feature-card.featured .feature-icon-wrap {
    background: rgba(255, 255, 255, 0.15);
}

.feature-card.featured .feature-icon-wrap svg {
    color: var(--white);
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--magenta-tint);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--default-gap);
}

.feature-icon-wrap svg {
    color: var(--magenta);
}

.feature-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.feature-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-tag {
    display: inline-block;
    margin-top: 20px;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    color: var(--white);
}

/* ===== HOW IT WORKS ===== */
.how {
    background: var(--surface-gray);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 64px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5% + 28px);
    right: calc(12.5% + 28px);
    height: 2px;
    background: linear-gradient(90deg, var(--magenta) 0%, var(--magenta-light) 100%);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 56px;
    height: 56px;
    background: var(--magenta);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--default-gap);
    box-shadow: 0 4px 16px rgba(231, 0, 91, 0.3);
    position: relative;
}

.step-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--magenta);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.step-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.step-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== FOR WHOM ===== */
.for-whom {
    background: var(--white);
}

.segments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.segment-card {
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    cursor: default;
}

.segment-card:hover {
    border-color: var(--magenta);
    box-shadow: 0 4px 20px rgba(231, 0, 91, 0.1);
    transform: translateY(-2px);
}

.segment-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--magenta-tint);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.segment-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.segment-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.segment-card .segment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.segment-card .segment-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 4px;
}

.segment-card .segment-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--magenta);
}

.segment-card .segment-target {
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
    opacity: 0.9;
}

/* ===== INTEGRATIONS ===== */
.integrations {
    background: var(--text-primary);
}

.integrations .section-label {
    color: var(--magenta-light);
}

.integrations .section-title {
    color: var(--white);
}

.integrations .section-sub {
    color: rgba(255, 255, 255, 0.6);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.integration-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 32px;
    transition: background 0.2s, border-color 0.2s;
}

.integration-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(231, 0, 91, 0.4);
}

.integration-logo {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 20px;
    color: var(--white);
    margin-bottom: 8px;
}

.integration-role {
    font-size: 12px;
    color: var(--magenta-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.integration-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

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

.faq-list {
    margin-top: 56px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item.open {
    border-color: rgba(231, 0, 91, 0.3);
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: var(--default-gap) 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.2s;
}

.faq-item.open .faq-q {
    color: var(--magenta);
}

.faq-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--surface-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.3s;
}

.faq-item.open .faq-icon {
    background: var(--magenta-tint);
    transform: rotate(45deg);
}

.faq-icon svg {
    color: var(--text-secondary);
}

.faq-item.open .faq-icon svg {
    color: var(--magenta);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding: 0 28px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.open .faq-a {
    max-height: 300px;
    padding: 0 28px var(--default-gap);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--magenta) 0%, var(--magenta-darker) 100%);
    padding: 96px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section .section-title {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section .section-sub {
    color: rgba(255, 255, 255, 0.75);
    margin: 0 auto 40px;
}

.btn-white {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 500;
    padding: 16px 36px;
    background: var(--white);
    color: var(--magenta);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

/* ===== FOOTER ===== */
footer {
    background: var(--text-primary);
    padding: 64px 40px 40px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-wordmark {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 22px;
    color: var(--white);
    display: block;
    margin-bottom: 12px;
}

.footer-brand .tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    max-width: 260px;
}

.footer-col-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-requisites {
    margin-top: 20px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.footer-requisites p {
    margin: 0 0 6px 0;
}

.footer-requisites p:last-child {
    margin-bottom: 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 12px;
}

/* ===== CTA MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-cta {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 var(--default-gap) 48px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.25s;
}

.modal-overlay.is-open .modal-cta {
    transform: scale(1);
}

.modal-cta-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--surface-gray);
    border-radius: var(--radius-xs);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: background 0.2s, color 0.2s;
}

.modal-cta-close:hover {
    background: var(--border-light);
    color: var(--text-primary);
}

.modal-cta-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: var(--default-gap);
    padding-right: 40px;
}

.modal-cta .form-group {
    margin-bottom: 20px;
}

.modal-cta .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.modal-cta .form-group input {
    width: 100%;
    font-family: var(--font-body);
    font-size: 16px;
    padding: 14px 16px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    transition: border-color 0.2s;
}

.modal-cta .form-group input::placeholder {
    color: var(--text-disabled);
}

.modal-cta .form-group input:focus {
    outline: none;
    border-color: var(--magenta);
    box-shadow: 0 0 0 3px var(--magenta-tint);
}

.modal-cta .form-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 14px;
    text-align: left;
}
.modal-cta .form-consent input[type="checkbox"] {
    flex: none;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--magenta);
    cursor: pointer;
}
.modal-cta .form-consent label {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-secondary);
    cursor: pointer;
}
.modal-cta .form-consent a {
    color: var(--magenta);
    text-decoration: underline;
}

.modal-cta .btn-submit {
    width: 100%;
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 500;
    padding: 16px;
    background: var(--magenta);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 8px;
}

.modal-cta .btn-submit:hover {
    background: var(--magenta-dark);
    transform: translateY(-1px);
}

.modal-cta-success {
    display: none;
    text-align: center;
    padding: 20px 0 0;
}

.modal-cta.is-success .modal-cta-form-wrap {
    display: none;
}

.modal-cta.is-success .modal-cta-success {
    display: block;
}

.modal-cta-success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: var(--success);
    color: var(--white);
    font-size: 28px;
    font-weight: bold;
    line-height: 56px;
    border-radius: 50%;
}

.modal-cta-success-text {
    font-size: 17px;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .navbar {
        padding: 0 20px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 60px 20px;
    }

    .hero-visual {
        display: none;
    }

    section {
        padding: 64px 20px;
    }

    .features-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .steps::before {
        display: none;
    }

    .segments-grid {
        grid-template-columns: 1fr;
    }

    .integrations-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .navbar-right .btn-nav {
        display: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .steps {
        grid-template-columns: 1fr;
    }
}
/* ===== KNOWLEDGE BASE (landing section) ===== */
.knowledge {
    padding: 100px 0;
    background: var(--surface-gray);
}
.kb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.kb-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 32px;
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.kb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(231, 0, 91, 0.08);
    border-color: var(--magenta-tint);
}
.kb-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 500;
    color: var(--magenta);
    background: var(--magenta-tint);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 18px;
}
.kb-title {
    font-family: var(--font-head);
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 12px;
}
.kb-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}
.kb-link {
    font-weight: 500;
    color: var(--magenta);
}

/* Knowledge base: "see all" link + rubricator filter */
.kb-more {
    text-align: center;
    margin-top: 44px;
}
.kb-more a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    color: var(--magenta);
    border: 1px solid var(--magenta);
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    transition: background .2s ease, color .2s ease;
}
.kb-more a:hover {
    background: var(--magenta);
    color: #fff;
}
.kb-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
}
.kb-filter button {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    padding: 9px 18px;
    border: 1px solid var(--border-light);
    background: var(--white);
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.kb-filter button:hover {
    border-color: var(--magenta);
    color: var(--magenta);
}
.kb-filter button.active {
    background: var(--magenta);
    border-color: var(--magenta);
    color: #fff;
}
.kb-card.is-hidden {
    display: none;
}

/* Knowledge base: cost calculator */
.calc {
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
    margin: 28px 0;
    background: var(--surface-gray);
}
.calc-row { display: flex; flex-wrap: wrap; gap: 18px; }
.calc-field { flex: 1 1 180px; }
.calc-field label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
.calc-field input {
    width: 100%;
    font-family: var(--font-mono);
    font-size: 16px;
    padding: 11px 14px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    background: #fff;
}
.calc-field input:focus { outline: none; border-color: var(--magenta); }
.calc-out { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.calc-card {
    flex: 1 1 160px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
}
.calc-card .lbl { font-size: 12px; color: var(--text-secondary); }
.calc-card .val { font-family: var(--font-body); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; margin-top: 6px; }
.calc-card.accent { background: var(--magenta-subtle); border-color: var(--magenta-tint); }
.calc-card.accent .val { color: var(--magenta); }
.calc-note { font-size: 13px; color: var(--text-secondary); margin-top: 14px; }

/* ===== ARTICLE PAGE ===== */
.article-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 140px 24px 80px;
}
.article-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 32px;
}
.article-back:hover { color: var(--magenta); }
.article-wrap h1 {
    font-family: var(--font-head);
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 16px;
}
.article-meta {
    font-size: 14px;
    color: var(--text-disabled);
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}
.article-body h2 {
    font-family: var(--font-head);
    font-size: 26px;
    margin: 44px 0 16px;
}
.article-body h3 {
    font-family: var(--font-head);
    font-size: 19px;
    margin: 28px 0 12px;
}
.article-body p { margin-bottom: 16px; }
.article-body ul { margin: 0 0 16px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 24px;
    font-size: 15px;
}
.article-body th, .article-body td {
    border: 1px solid var(--border-light);
    padding: 10px 14px;
    text-align: left;
}
.article-body th { background: var(--magenta-subtle); }
.article-body blockquote {
    border-left: 3px solid var(--magenta);
    background: var(--magenta-subtle);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin: 0 0 20px;
}
.article-toc {
    background: var(--surface-gray);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 40px;
}
.article-toc ol { margin-left: 18px; }
.article-toc a { color: var(--text-primary); text-decoration: none; }
.article-toc a:hover { color: var(--magenta); }
.article-note {
    font-size: 13px;
    color: var(--text-disabled);
    border-top: 1px solid var(--border-light);
    margin-top: 40px;
    padding-top: 20px;
}
/* highlighted AKJET brand mention */
.akjet-mention {
    color: var(--magenta);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--magenta-tint);
}
.akjet-mention:hover { border-bottom-color: var(--magenta); }

/* ===== AKJET promo callouts inside articles ===== */
.akjet-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--magenta-subtle);
    border: 1px solid var(--magenta-tint);
    border-left: 4px solid var(--magenta);
    border-radius: var(--radius);
    padding: 22px 26px;
    margin: 28px 0;
}
.akjet-cta p {
    margin: 0;
    flex: 1 1 320px;
    font-size: 15px;
}
.akjet-cta-btn {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--magenta);
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    transition: background .2s ease, transform .2s ease;
}
.akjet-cta-btn:hover { background: var(--magenta-dark); transform: translateY(-1px); }
.akjet-cta .akjet-mention { font-weight: 600; }

/* large closing CTA */
.akjet-cta-lg {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
    background: linear-gradient(135deg, var(--magenta), var(--magenta-darker));
    border: none;
    color: #fff;
    padding: 26px 30px;
    margin: 40px 0 8px;
}
.akjet-cta-lg p { color: #fff; font-size: 16px; flex: 0 0 auto; }
.akjet-cta-lg .akjet-mention { color: #fff; border-bottom-color: rgba(255,255,255,.55); }
.akjet-cta-lg .akjet-cta-btn { background: #fff; color: var(--magenta); }
.akjet-cta-lg .akjet-cta-btn:hover { background: var(--text-primary); color: #fff; }

/* ============================================================
   OPENAI-STYLE REDESIGN LAYER
   System fonts (set in :root) · icons hidden · flat airy blocks.
   Appended last so it overrides earlier rules. Remove this block
   to fully revert the visual restyle.
   ============================================================ */

/* --- typography: restrained weights, tighter tracking --- */
.hero-title { font-weight: 800; letter-spacing: -0.022em; line-height: 1.05; }
.section-title { font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
.feature-title, .segment-title, .kb-title,
.step-title, .modal-cta-title { font-weight: 700; letter-spacing: -0.012em; }
.integration-logo, .hero-stats-text .num { font-weight: 700; letter-spacing: -0.01em; }
.navbar-logo .logo-wordmark, .footer-logo-wordmark { font-weight: 700; letter-spacing: -0.02em; }
.section-label, .step-label, .integration-role { letter-spacing: 0.06em; }

/* --- hide all decorative icons --- */
.feature-icon-wrap,
.segment-icon,
.hero-stats-icon,
.faq-icon,
.btn-primary svg,
.btn-white svg,
.btn-nav svg { display: none !important; }

/* --- flat, airy feature cards --- */
.feature-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-sm); box-shadow: none; }
.feature-card:hover { border-color: var(--border-medium); box-shadow: none; transform: none; }
.feature-card.featured { background: var(--white); border-color: var(--border-light); color: var(--text-primary); }
.feature-card.featured .feature-title { color: var(--text-primary); }
.feature-card.featured .feature-text { color: var(--text-secondary); opacity: 1; }

/* --- segments --- */
.segment-card { border: 1px solid var(--border-light); border-radius: var(--radius-sm); }
.segment-card:hover { border-color: var(--border-medium); box-shadow: none; transform: none; }
.segment-card .segment-list li::before { color: var(--text-disabled); }

/* --- steps: neutral & flat --- */
.steps::before { background: var(--border-medium); }
.step-num { background: var(--white); color: var(--text-primary); border: 1px solid var(--border-medium); box-shadow: none; }
.step-label { color: var(--text-secondary); }

/* --- FAQ: clean divider list instead of boxes --- */
.faq-list { gap: 0; }
.faq-item { background: transparent; border: none; border-bottom: 1px solid var(--border-light); border-radius: 0; }
.faq-item:first-child { border-top: 1px solid var(--border-light); }
.faq-item.open { border-color: var(--border-light); }
.faq-q { padding-left: 0; padding-right: 0; }
.faq-item.open .faq-q { color: var(--text-primary); }
.faq-a { padding-left: 0; padding-right: 0; }
.faq-item.open .faq-a { padding-left: 0; padding-right: 0; padding-bottom: var(--default-gap); }

/* --- knowledge base cards flat --- */
.kb-card { border: 1px solid var(--border-light); border-radius: var(--radius-sm); box-shadow: none; }
.kb-card:hover { transform: none; box-shadow: none; border-color: var(--border-medium); }

/* --- integrations (dark section) subtle --- */
.integration-card { border-radius: var(--radius-sm); }
.integration-card:hover { border-color: rgba(255, 255, 255, 0.25); }

/* --- flatten buttons / CTA (keep brand magenta, drop glow & gradient) --- */
.btn-primary { box-shadow: none; }
.btn-primary:hover { box-shadow: none; transform: none; background: var(--magenta-dark); }
.btn-nav:hover { transform: none; }
.btn-white { box-shadow: none; }
.btn-white:hover { box-shadow: none; transform: none; }
.cta-section { background: var(--magenta); }
.cta-section::before { display: none; }

/* --- steps: left-aligned (drop the connecting line) --- */
.steps::before { display: none; }
.step { align-items: flex-start; text-align: left; padding: 0 28px 0 0; }

/* --- tighten gap between FAQ and knowledge base --- */
.knowledge { padding-top: 40px; }

/* --- integration logos (dark section) --- */
.integration-card { display: flex; align-items: center; justify-content: center; min-height: 104px; }
.integration-logo { margin-bottom: 0; display: flex; align-items: center; justify-content: center; }
.int-logo-img { height: 44px; width: auto; max-width: 100%; display: block; }
.int-logo-img.is-icon { height: 52px; border-radius: var(--radius-sm); }

/* --- integration logos: bigger, no card boxes (row of logos) --- */
.integration-card { background: transparent; border: none; padding: 0; min-height: 88px; }
.integration-card:hover { background: transparent; border-color: transparent; }
.int-logo-img { height: 64px; }
.int-logo-img.is-icon { height: 72px; border-radius: var(--radius); }

/* --- integration logos: tighter row (no full-width spread) --- */
.integrations-grid { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 56px; }
.integration-card { flex: 0 0 auto; }

/* --- hero: app-notification style payout chip --- */
.hero-notif {
    position: absolute; left: -24px; bottom: -22px;
    display: flex; gap: 12px; align-items: flex-start;
    width: 330px; max-width: 86%;
    background: rgba(255,255,255,.72);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: var(--radius-lg); padding: 14px 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,.16);
}
.app-notif-icon {
    width: 40px; height: 40px; border-radius: var(--radius-sm); flex: 0 0 auto;
    background: var(--magenta); display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 20px; letter-spacing: -.02em;
}
.app-notif-body { flex: 1; min-width: 0; }
.app-notif-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 3px; }
.app-notif-app { font-size: 12px; font-weight: 600; color: var(--text-secondary); letter-spacing: .02em; }
.app-notif-time { font-size: 11px; color: var(--text-disabled); white-space: nowrap; }
.app-notif-amount { font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--text-primary); line-height: 1.2; }
.app-notif-amount b { color: var(--magenta); }
.app-notif-sub { font-size: 12px; color: var(--text-secondary); margin-top: 3px; line-height: 1.35; }

/* --- hero notif: calmer, messenger-like message --- */
.app-notif-msg { font-size: 14px; color: var(--text-primary); line-height: 1.45; }
.hero-notif { align-items: center; }

/* --- collapsible OKED service lists (reference article) --- */
details.okd { border: 1px solid var(--border-light); border-radius: var(--radius-sm); margin: 8px 0; background: var(--white); }
details.okd > summary { cursor: pointer; padding: 12px 14px; font-weight: 600; list-style: none; display: flex; align-items: baseline; justify-content: flex-start; text-align: left; gap: 12px; }
details.okd > summary::-webkit-details-marker { display: none; }
details.okd > summary::before { content: "▸"; color: var(--text-disabled); margin-right: 8px; display: inline-block; transition: transform .15s; }
details.okd[open] > summary::before { transform: rotate(90deg); }
details.okd[open] > summary { border-bottom: 1px solid var(--border-light); }
.okd-count { color: var(--text-secondary); font-weight: 500; white-space: nowrap; font-size: 14px; margin-left: auto; }
.okd-list { list-style: none; margin: 0; padding: 6px 14px 10px; }
.okd-list li { padding: 6px 0; border-bottom: 1px solid var(--border-light); font-size: 14px; line-height: 1.45; }
.okd-list li:last-child { border-bottom: none; }
.okd-code { display: inline-block; min-width: 56px; color: var(--text-secondary); font-family: var(--font-mono); font-size: 13px; }


/* --- motion --- */
@keyframes ak-rise {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}
@keyframes ak-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.hero-title { animation: ak-rise .7s cubic-bezier(.22,.68,.28,1) both; }
.hero-subtitle { animation: ak-rise .7s cubic-bezier(.22,.68,.28,1) .08s both; }
.hero-cta-group { animation: ak-rise .7s cubic-bezier(.22,.68,.28,1) .16s both; }
.hero-note { animation: ak-fade .8s ease .3s both; }
.hero-visual { animation: ak-rise .8s cubic-bezier(.22,.68,.28,1) .12s both; }
.hero-notif { animation: ak-rise .6s cubic-bezier(.22,.68,.28,1) .55s both; }

/* micro-interactions */
.feature-card,
.segment-card,
.kb-card,
.integration-card {
    transition: transform .28s cubic-bezier(.22,.68,.28,1),
                box-shadow .28s cubic-bezier(.22,.68,.28,1),
                border-color .28s ease;
}
.btn-primary,
.btn-nav,
.btn-white,
.wl-btn {
    transition: transform .2s cubic-bezier(.22,.68,.28,1), background .2s ease;
}
.btn-primary:active,
.btn-nav:active,
.wl-btn:active { transform: translateY(1px) scale(.99); }

.wl-frame { transition: transform .5s cubic-bezier(.22,.68,.28,1); }
.wl-visual:hover .wl-frame { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}


/* --- features: 3 columns, equal cards --- */
.features-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 18px; }
.feature-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.feature-card .feature-title { font-size: 19px; margin-bottom: 10px; }
.feature-card .feature-text { font-size: 14.5px; line-height: 1.6; }
@media (max-width: 1120px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 24px; }
}
