﻿:root {
    --bg: #f6f2ea;
    --bg-soft: #fffaf0;
    --ink: #111f30;
    --ink-soft: #4a5a6c;
    --line: #d8ccb9;
    --line-strong: #b89f7a;
    --brand: #dd5d1e;
    --brand-strong: #a73d10;
    --teal: #167b79;
    --teal-soft: #d8f0ee;
    --amber: #ffd27c;
    --white: #ffffff;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --shadow-soft: 0 12px 34px rgba(16, 32, 48, 0.12);
    --shadow-deep: 0 30px 70px rgba(10, 22, 36, 0.2);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Urbanist', sans-serif;
    color: var(--ink);
    line-height: 1.55;
    overflow-x: hidden;
    background: linear-gradient(165deg, #f5efe4 0%, #efe8dd 100%);
    position: relative;
}

.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.27;
    pointer-events: none;
    z-index: -2;
}

.shape-a {
    width: 340px;
    height: 340px;
    background: #ffbc89;
    left: -90px;
    top: -80px;
}

.shape-b {
    width: 380px;
    height: 380px;
    background: #98d8de;
    right: -120px;
    bottom: -140px;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(17, 31, 48, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(17, 31, 48, 0.03) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(circle at 45% 10%, #000 35%, transparent 76%);
    pointer-events: none;
    z-index: -1;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.12;
}

p {
    margin-top: 0;
}

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

.container {
    width: min(1160px, 92%);
    margin: 0 auto;
}

.section {
    padding: 3.2rem 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(9px);
    background: rgba(246, 242, 234, 0.84);
    border-bottom: 1px solid rgba(216, 204, 185, 0.72);
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.9rem 0;
}

.scroll-track {
    height: 3px;
    background: rgba(17, 31, 48, 0.1);
}

.scroll-track span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--brand), var(--teal));
    transition: width 0.2s linear;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-image {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    object-position: top center;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, var(--brand), #f48a55);
    color: var(--white);
    font-weight: 700;
}

.logo-text {
    font-weight: 800;
    letter-spacing: 0.01em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ink-soft);
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--ink);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.72rem 1.18rem;
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(140deg, var(--brand), #f17f46);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(221, 93, 30, 0.3);
}

.btn-outline {
    border-color: var(--line);
    background: var(--bg-soft);
}

.btn-ghost {
    border-color: rgba(17, 31, 48, 0.12);
    background: rgba(17, 31, 48, 0.04);
}

.btn-small {
    font-size: 0.84rem;
    padding: 0.6rem 0.95rem;
    background: var(--ink);
    color: var(--white);
}

.eyebrow {
    margin-bottom: 0.68rem;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 700;
}

.hero {
    padding-top: 3.7rem;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.1rem;
}

.hero-copy h1 {
    font-size: clamp(2.2rem, 4.1vw, 3.55rem);
    margin-bottom: 0.9rem;
    max-width: 16.5ch;
}

.lead {
    color: var(--ink-soft);
    max-width: 57ch;
}

.hero-live {
    margin: 1.05rem 0;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    border-radius: 12px;
    padding: 0.68rem 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.58rem;
}

.hero-live-label {
    display: inline-flex;
    padding: 0.2rem 0.48rem;
    border-radius: 999px;
    background: rgba(22, 123, 121, 0.15);
    color: #12625f;
    font-size: 0.72rem;
    font-weight: 700;
}

#heroLiveWord {
    min-width: 170px;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 1.35rem 0;
}

.hero-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.hero-kpis article {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    padding: 0.82rem;
}

.hero-kpis strong {
    display: block;
    font-size: 1.38rem;
    margin-bottom: 0.2rem;
}

.hero-kpis span {
    font-size: 0.85rem;
    color: var(--ink-soft);
}

.hero-card {
    background: linear-gradient(168deg, #102739, #195062);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    box-shadow: var(--shadow-deep);
    align-self: start;
}

.hero-logo-wrap {
    width: fit-content;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 14px;
    padding: 0.6rem;
    margin-bottom: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.hero-logo {
    width: 124px;
    display: block;
}

.hero-card h2 {
    margin-bottom: 0.8rem;
}

.hero-card ul {
    margin: 0 0 1rem;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.42rem;
}

.section-head {
    margin-bottom: 1.3rem;
}

.section-head h2 {
    max-width: 18ch;
    margin-bottom: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.feature-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    box-shadow: var(--shadow-soft);
    padding: 1rem;
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
}

.feature-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(140deg, #ffe7bf, #ffcf87);
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.66rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.section-dark {
    background: linear-gradient(165deg, #102232, #1a4252);
    color: var(--white);
}

.scenario-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0.95rem;
}

.scenario-tabs {
    display: grid;
    gap: 0.58rem;
}

.scenario-tab {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font: inherit;
    font-weight: 700;
    text-align: left;
    padding: 0.7rem 0.85rem;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.scenario-tab:hover,
.scenario-tab.is-active {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.62);
}

.scenario-panel {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    padding: 1rem;
}

.scenario-panel .eyebrow {
    color: #9be7e0;
}

.scenario-panel h3 {
    margin-bottom: 0.7rem;
}

.scenario-panel p {
    color: rgba(255, 255, 255, 0.87);
}

.scenario-footer {
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 0.7rem;
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    font-size: 0.88rem;
}

.scenario-footer strong {
    color: var(--amber);
}

.builder-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0.95rem;
}

.builder-panel,
.builder-result {
    border-radius: var(--radius-lg);
    padding: 1.1rem;
}

.builder-panel {
    background: linear-gradient(160deg, #fff8ec, #f8edd8);
    border: 1px solid var(--line);
}

.builder-panel p {
    color: var(--ink-soft);
}

.builder-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.54rem;
    margin-top: 1rem;
}

.builder-option {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.68);
    display: flex;
    align-items: center;
    gap: 0.52rem;
    padding: 0.62rem 0.68rem;
    cursor: pointer;
}

.builder-option input {
    accent-color: var(--brand);
}

.builder-option span {
    font-size: 0.87rem;
}

.builder-result {
    border: 1px solid rgba(22, 123, 121, 0.26);
    background: linear-gradient(170deg, #143a49, #1a5862);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.builder-result .eyebrow {
    color: #9ce7e3;
}

.builder-result p {
    color: rgba(255, 255, 255, 0.86);
}

.builder-result ul {
    margin: 0.2rem 0 1rem;
    padding-left: 1rem;
    display: grid;
    gap: 0.35rem;
}

.builder-meter {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    overflow: hidden;
    margin-bottom: 1rem;
}

.builder-meter span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #ffbe5c, #4bd7c9);
    transition: width 0.28s ease;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.82rem;
}

.plan-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    box-shadow: var(--shadow-soft);
    padding: 0.95rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
}

.plan-card.is-featured {
    border-color: #2d8a86;
    box-shadow: 0 16px 36px rgba(22, 123, 121, 0.22);
}

.plan-card.is-emphasis {
    border-color: var(--brand);
    box-shadow: 0 16px 36px rgba(221, 93, 30, 0.25);
}

.plan-badge {
    display: inline-block;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.22rem 0.56rem;
    background: var(--teal-soft);
    color: #106664;
}

.plan-card h3 {
    margin: 0.34rem 0 0.18rem;
    font-size: 1.1rem;
}

.plan-card header p,
.plan-description,
.plan-card li {
    color: var(--ink-soft);
}

.plan-card ul {
    margin: 0.25rem 0 1rem;
    padding-left: 1rem;
    display: grid;
    gap: 0.35rem;
    font-size: 0.89rem;
}

.plan-note {
    margin-top: auto;
    color: var(--teal);
    font-weight: 700;
}

.section-table {
    background: linear-gradient(165deg, #f6ecd8, #f1e3cb);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

.comparison-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    text-align: left;
    padding: 0.8rem 0.9rem;
    border-bottom: 1px solid var(--line);
}

.comparison-table thead th {
    background: #f3e8d5;
}

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

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, #102434, #1a4a5d);
    color: var(--white);
    box-shadow: var(--shadow-deep);
    padding: 1.25rem;
}

.contact-copy p {
    color: rgba(255, 255, 255, 0.86);
}

.selected-plan-copy strong {
    color: var(--amber);
}

.contact-email a {
    color: #ffd89a;
    font-weight: 700;
}

.contact-form {
    display: grid;
    gap: 0.56rem;
}

.contact-form label {
    font-size: 0.88rem;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font: inherit;
    padding: 0.64rem 0.72rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.68);
}

.alert {
    border-radius: 10px;
    padding: 0.74rem 0.86rem;
    font-weight: 700;
}

.alert.success {
    border: 1px solid rgba(108, 224, 171, 0.48);
    background: rgba(108, 224, 171, 0.18);
}

.alert.error {
    border: 1px solid rgba(255, 124, 124, 0.46);
    background: rgba(255, 124, 124, 0.18);
}

.hp-field-wrap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-footer {
    text-align: center;
    color: var(--ink-soft);
    padding: 1.6rem 0 2.2rem;
}

.site-footer a {
    color: var(--teal);
    font-weight: 700;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1080px) {
    .hero-layout,
    .scenario-layout,
    .builder-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-copy h1 {
        max-width: none;
    }
}

@media (max-width: 760px) {
    .top-bar {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.72rem;
    }

    .hero {
        padding-top: 2.7rem;
    }

    .hero-kpis,
    .feature-grid,
    .builder-options,
    .plan-grid {
        grid-template-columns: 1fr;
    }
}
