:root {
    --bg: #f7f4f1;
    --bg-soft: #fcfbf9;
    --surface: rgba(255, 255, 255, 0.84);
    --surface-strong: #ffffff;
    --text: #2f2959;
    --muted: #6d6881;
    --line: rgba(47, 41, 89, 0.1);
    --brand: #6256ca;
    --brand-strong: #4d41ad;
    --brand-soft: rgba(98, 86, 202, 0.1);
    --brand-softer: rgba(98, 86, 202, 0.05);
    --shadow: 0 22px 52px rgba(47, 41, 89, 0.08);
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 34px;
    --container: 1160px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Quicksand", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(98, 86, 202, 0.06), transparent 24%),
        linear-gradient(180deg, #fffdfa 0%, #f7f4f1 55%, #fbf8f4 100%);
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.site-shell {
    overflow: clip;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(47, 41, 89, 0.06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.65rem;
}

.brand img {
    width: clamp(4.9rem, 6vw, 6rem);
}

.nav-toggle,
.nav-burger {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-links a:not(.button) {
    color: rgba(47, 41, 89, 0.84);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.1;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(47, 41, 89, 0.12);
}

.button-primary {
    background: var(--brand);
    color: #fff;
}

.button-primary:hover {
    background: var(--brand-strong);
}

.button-secondary {
    border-color: rgba(98, 86, 202, 0.16);
    background: rgba(255, 255, 255, 0.88);
    color: var(--text);
}

.button.block {
    width: 100%;
}

.nav-login {
    min-width: 6.6rem;
}

.section,
.hero-section {
    padding: 4rem 0;
}

.viewport-section {
    min-height: auto;
}

.hero-grid,
.dual-grid,
.dashboard-grid,
.faq-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: center;
}

.hero-grid {
    min-height: calc(100vh - 3.65rem);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.95rem;
    color: var(--brand);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.product-shell__side h2 {
    margin: 0;
    letter-spacing: -0.04em;
}

.hero-copy h1 {
    font-size: clamp(2rem, 4.4vw, 3.35rem);
    line-height: 1.02;
    max-width: 11ch;
}

.section-heading h2,
.product-shell__side h2 {
    font-size: clamp(1.55rem, 2.6vw, 2.2rem);
    line-height: 1.08;
}

.hero-text,
.section-heading p,
.timeline-card p,
.benefit-card p,
.dashboard-panel p,
.experience-card p,
.faq-item p,
.footer-brand p,
.seo-point p {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

.hero-copy {
    max-width: 38rem;
}

.hero-actions,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-quote {
    margin: 1.25rem 0 0;
    max-width: 40rem;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.7;
}

.surface-card,
.comparison-card,
.timeline-card,
.dashboard-panel,
.faq-item,
.contact-form,
.hero-panel {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
}

.surface-card,
.contact-form {
    border-radius: var(--radius-md);
    padding: 1.2rem;
}

.hero-panel {
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.hero-panel__top,
.impact-grid,
.timeline-grid,
.benefits-grid,
.dashboard-stats,
.experience-grid,
.industries-grid,
.seo-points {
    display: grid;
    gap: 1rem;
}

.hero-panel__top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.hero-stat strong,
.impact-card strong,
.dashboard-stat strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--brand);
}

.hero-stat strong {
    font-size: 1.3rem;
}

.hero-stat span,
.impact-card small,
.dashboard-stat small {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.product-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1rem;
}

.product-shell__main,
.product-shell__side {
    border-radius: 28px;
    padding: 1.15rem;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--line);
}

.product-shell__tabs,
.dashboard-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.product-shell__tabs span,
.dashboard-tabs span {
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.product-shell__tabs .active,
.dashboard-tabs .active {
    background: var(--brand-soft);
    color: var(--brand);
}

.product-shell__chart,
.dashboard-bars {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: end;
    gap: 0.7rem;
    min-height: 11rem;
}

.product-shell__chart span,
.dashboard-bars span {
    border-radius: 999px 999px 12px 12px;
    background: linear-gradient(180deg, rgba(98, 86, 202, 0.9), rgba(98, 86, 202, 0.28));
}

.feature-list {
    display: grid;
    gap: 0.8rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 1.45rem;
    color: var(--muted);
    line-height: 1.58;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.48rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: rgba(98, 86, 202, 0.88);
}

.compact {
    margin-top: 1rem;
}

.section-heading {
    max-width: 42rem;
    margin-bottom: 1.5rem;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.impact-card {
    text-align: left;
}

.impact-card strong {
    font-size: 1.55rem;
}

.impact-card h3,
.timeline-card h3,
.benefit-card h3,
.experience-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1rem;
}

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

.comparison-card {
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.comparison-card--soft {
    background: rgba(255, 255, 255, 0.76);
}

.comparison-card--focus {
    background:
        linear-gradient(180deg, rgba(98, 86, 202, 0.08), rgba(255, 255, 255, 0.95)),
        rgba(255, 255, 255, 0.92);
}

.comparison-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 700;
}

.comparison-label--muted {
    background: rgba(47, 41, 89, 0.06);
    color: var(--text);
}

.comparison-label--brand {
    background: var(--brand-soft);
    color: var(--brand);
}

.comparison-list li {
    font-size: 1rem;
}

.comparison-list--brand li {
    color: var(--text);
}

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

.timeline-card {
    position: relative;
    min-height: 14rem;
    padding: 1.15rem;
    border-radius: 26px;
    border: 1px solid rgba(98, 86, 202, 0.11);
    overflow: hidden;
}

.timeline-card::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(98, 86, 202, 0.95), rgba(98, 86, 202, 0.28));
}

.timeline-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 700;
}

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

.benefit-card,
.experience-card,
.industry-card {
    height: 100%;
}

.icon-badge {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.9rem;
    border-radius: 16px;
    background: var(--brand-softer);
    color: var(--brand);
}

.icon-badge svg {
    width: 1.45rem;
    height: 1.45rem;
}

.icon-badge--small {
    width: 2.5rem;
    height: 2.5rem;
}

.dashboard-panel {
    border-radius: var(--radius-lg);
    padding: 1.3rem;
}

.dashboard-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.dashboard-stat {
    padding: 0.95rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
}

.dashboard-stat strong {
    font-size: 1.3rem;
}

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

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

.industry-card {
    text-align: center;
}

.industry-card strong {
    display: block;
    font-size: 0.96rem;
}

.seo-layout {
    display: grid;
    gap: 1.2rem;
}

.seo-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-point p {
    margin: 0;
}

.faq-list {
    display: grid;
    gap: 0.9rem;
}

.faq-item {
    border-radius: 22px;
    padding: 1.15rem 1.2rem;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-size: 0.98rem;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin: 0.75rem 0 0;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

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

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 0.95rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
}

.contact-form .full,
.contact-form .button,
.form-status {
    grid-column: 1 / -1;
}

.form-status {
    margin: 0;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    font-size: 0.92rem;
    font-weight: 700;
}

.form-status--success {
    background: rgba(98, 86, 202, 0.08);
    color: var(--brand);
}

.form-status--error {
    background: rgba(47, 41, 89, 0.08);
    color: var(--text);
}

.site-footer {
    padding: 0 0 2rem;
}

.footer-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(47, 41, 89, 0.08);
}

.footer-brand {
    max-width: 30rem;
}

.footer-brand img {
    width: 6rem;
    margin-bottom: 0.8rem;
}

.footer-links {
    justify-content: flex-end;
}

@media (min-width: 1024px) {
    .viewport-section {
        min-height: min(100vh, 54rem);
        display: flex;
        align-items: center;
    }

    .seo-section,
    .faq-section,
    .contact-section {
        min-height: auto;
        display: block;
    }
}

@media (max-width: 1080px) {
    .hero-grid,
    .dual-grid,
    .dashboard-grid,
    .faq-grid,
    .contact-grid,
    .comparison-grid,
    .timeline-grid,
    .impact-grid,
    .experience-grid,
    .industries-grid,
    .seo-points,
    .dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .nav-burger {
        display: inline-flex;
        flex-direction: column;
        gap: 0.24rem;
        width: 2.5rem;
        padding: 0.45rem 0.35rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.88);
        border: 1px solid var(--line);
        cursor: pointer;
    }

    .nav-burger span {
        width: 100%;
        height: 2px;
        border-radius: 999px;
        background: var(--text);
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 1rem;
        left: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: 22px;
        background: rgba(255, 252, 248, 0.98);
        box-shadow: var(--shadow);
        border: 1px solid rgba(47, 41, 89, 0.06);
    }

    .nav-toggle:checked ~ .nav-links {
        display: flex;
    }

    .hero-grid,
    .dual-grid,
    .dashboard-grid,
    .faq-grid,
    .contact-grid,
    .comparison-grid,
    .timeline-grid,
    .impact-grid,
    .benefits-grid,
    .dashboard-stats,
    .experience-grid,
    .industries-grid,
    .seo-points,
    .contact-form,
    .hero-panel__top {
        grid-template-columns: 1fr;
    }

    .section,
    .hero-section {
        padding: 3rem 0;
    }

    .hero-grid {
        min-height: auto;
    }

    .hero-copy h1 {
        font-size: clamp(1.85rem, 9vw, 2.55rem);
        max-width: 12ch;
    }

    .section-heading h2,
    .product-shell__side h2 {
        font-size: clamp(1.4rem, 7vw, 1.95rem);
    }

    .timeline-card {
        min-height: auto;
    }

    .comparison-list li,
    .hero-text,
    .section-heading p,
    .timeline-card p,
    .benefit-card p,
    .dashboard-panel p,
    .experience-card p,
    .faq-item p,
    .footer-brand p,
    .seo-point p,
    .hero-quote {
        font-size: 0.95rem;
    }

    .footer-layout,
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
    }
}
