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

:root {
    --primary-orange: #F28F19;
    --primary-teal: #1A514C;
    --light-blue: #E8F4F8;
    --light-green: #D4F1E4;
    --dark-teal: #0D6B63;
    --text-dark: #2F3B40;
    --text-light: #666;
    --border-light: #E0E0E0;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
    --bg-primary: #fff;
    --bg-secondary: #FBFBFB;
    --surface-muted: #F2FAF7;
    --surface-soft: #E8F4EE;
    --surface-strong: #2B7B70;
    --card-bg: #FFFFFF;
    --card-border: rgba(47, 138, 127, 0.08);
    --card-radius: 24px;
    --card-radius-sm: 18px;
}

html.dark-mode {
    --primary-orange: #F28F19;
    --primary-teal: #1A514C;
    --light-blue: #1E3A42;
    --light-green: #2A5A54;
    --dark-teal: #1B6B63;
    --text-dark: #FFFFFF;
    --text-light: rgba(255, 255, 255, 0.82);
    --border-light: #404040;
    --shadow-light: 0 12px 30px rgba(0, 0, 0, 0.28);
    --bg-primary: #3C414F;
    --bg-secondary: #353944;
    --surface-muted: #2F4650;
    --surface-soft: #404654;
    --surface-strong: #1F6359;
    --card-bg: #404654;
    --card-border: rgba(164, 240, 207, 0.14);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

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

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

input,
button {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: 1530px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    padding: 15px 0;
    z-index: 100;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.header nav a {
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
}

.header .container {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    flex-shrink: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Raleway', sans-serif;
}

.header-eyebrow {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-right: auto;
    font-family: 'Raleway', sans-serif;
}

.theme-switch {
    position: relative;
    width: 50px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    margin-left: auto;
}

.switch-track {
    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: #57D4AA;
    border-radius: 15px;
    transition: background-color 0.3s ease;
}

.switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background-color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 2px solid #57D4AA;
}

.theme-icon {
    font-size: 14px;
    width: 16px;
    height: 16px;
    line-height: 1;
}

.theme-icon svg {
    width: 100%;
    height: 100%;
}

html.dark-mode .switch-thumb {
    transform: translateX(20px);
}

main {
    display: block;
}

.section {
    padding: 88px 0;
}

.section--steps {
    padding-top: 48px;
}

.section--soft {
    background: var(--surface-soft);
}

.section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.section-heading h2 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.1;
    font-weight: 700;
    color: var(--text-dark);
}

.pro-hero {
    background: #216E66;
    color: white;
    padding: 88px 0 0;
    overflow: hidden;
}

.pro-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: end;
    gap: 48px;
}

.pro-hero__title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 0.98;
    font-weight: 800;
    margin-bottom: 30px;
}

.pro-hero__lead {
    font-size: clamp(1.05rem, 1.8vw, 1.125rem);
    max-width: 720px;
    color: #fff;
    margin-bottom: 34px;
}

.pro-hero__content {
    padding-bottom: 72px;
}

.pro-hero__benefits {
    list-style: none;
    display: grid;
    gap: 25px;
    max-width: 680px;
}

.pro-hero__benefits li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: clamp(1.05rem, 1.8vw, 1.125rem);
    color: rgba(255, 255, 255, 1);
}

.icon-tile {
    width: 46px;
    height: 46px;
    border-radius: 5px;
    flex-shrink: 0;
    background:white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-hero__visual {
    position: relative;
    align-self: end;
}

.pro-hero__visual img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 472px;
    margin-left: auto;
}

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

.feature-card {
    padding: 18px;
}

.feature-card__media {
    display: block;
    width: 100%;
    height: auto;
    min-height: 260px;
    border-radius: calc(var(--card-radius) - 6px);
    background: var(--card-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.feature-card:nth-child(1) .feature-card__media {
    background-image: url('../img/feature-card-1.svg');
}

.feature-card:nth-child(2) .feature-card__media {
    background-image: url('../img/feature-card-2.svg');
}

.feature-card:nth-child(3) .feature-card__media {
    background-image: url('../img/feature-card-3.svg');
}

.feature-card h3 {
    font-size: 1.3rem;
    line-height: 1.25;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    margin-top: 16px;
}

.placeholder-media {
    border-radius: calc(var(--card-radius) - 6px);
    border: 1px solid rgba(87, 212, 170, 0.18);
    position: relative;
    overflow: hidden;
}

.placeholder-media--wide {
    aspect-ratio: 1.48 / 1;
}

.placeholder-media--dashboard {
    aspect-ratio: 1.08 / 1;
    min-height: 340px;
    background:
        radial-gradient(circle at 80% 22%, rgba(87, 212, 170, 0.22), transparent 20%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), var(--surface-muted));
}

.placeholder-media--dashboard::before {
    width: 62%;
    left: 19%;
    bottom: 12%;
    height: 10px;
    border-radius: 999px;
    background: rgba(242, 143, 25, 0.22);
    box-shadow:
        0 -34px 0 rgba(87, 212, 170, 0.2),
        0 34px 0 rgba(43, 123, 112, 0.14);
}

.placeholder-media--dashboard::after {
    inset: 32px 32px auto 32px;
    height: 74px;
    width: auto;
    aspect-ratio: auto;
    border-radius: 18px;
    background: rgba(87, 212, 170, 0.24);
}

.steps-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.92fr);
    gap: 48px;
    align-items: center;
}

.steps-list {
    list-style: none;
    display: grid;
    gap: 28px;
}

.steps-list li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.step-index {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #3BB09A;
    color: white;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.15rem;
    margin-top: 2px;
}

.steps-list p {
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
    line-height: 1.15;
    font-weight: 500;
    color: var(--text-dark);
}

.steps-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
}

.steps-visual img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 523px;
    margin-left: auto;
}

.notify-card {
    background: var(--card-bg);
    margin: 68px auto 0;
    padding: 34px 40px 44px;
    max-width: 980px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 28px rgba(24, 39, 51, 0.08);
}

.notify-card__head {
    display: flex;
    align-items: center;
    gap: 26px;
    width: 100%;
    max-width: 760px;
}

.notify-card__icon,
.capability-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #BBE7DF;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notify-card__content h3 {
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    line-height: 1.15;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.notify-card__content p {
    font-size: 1rem;
    line-height: 1.45;
    color: #4A5564;
}

html.dark-mode .notify-card__content p {
    color: rgba(255, 255, 255, 0.82);
}

.notify-card__button {
    min-width: 388px;
    min-height: 60px;
    padding: 0 34px;
    font-size: 1.05rem;
    box-shadow: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    gap: 20px;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    background: var(--primary-teal);
    color: white;
    box-shadow: 0 12px 24px rgba(26, 81, 76, 0.18);
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(24, 31, 36, 0.42);
    backdrop-filter: blur(4px);
}

.modal__dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    background: var(--bg-primary);
    color: var(--text-dark);
    border-radius: 32px;
    padding: 56px 0 0;
    box-shadow: 0 24px 80px rgba(7, 21, 18, 0.22);
}

.modal__dialog.confirm {
    width: auto;
}

.modal__close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
}

.modal__close span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: #49C7A4;
}

.modal__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal__header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 42px;
    padding: 0 52px;
}

.modal__header h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.12;
    margin-bottom: 10px;
}

.modal__header p {
    font-size: 1.15rem;
    font-weight: 600;
}

.modal-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
    padding: 0 52px;
}

.field {
    display: block;
}

.field c-lit-input-text {
    display: block;
    width: 100%;
    --input-text-width: 100%;
    --input-text-width-adapt: 100%;
    --input-text-height: 48px;
    --input-text-outlined-border: 1.5px solid #57D4AA;
    --input-text-outlined-bg-color: var(--bg-primary);
    --input-text-filled-bg-color: var(--bg-primary);
    --input-text-label-color: var(--text-dark);
    --primary-color: #57D4AA;
    --input-text-outlined-label-bg-color: var(--bg-primary);
    --input-value-color: var(--text-dark);
}

.modal-form__error {
    display: none;
}

.modal-form__recaptcha {
    margin-top: 18px;
    padding: 0 52px;
    overflow: hidden;
}

.modal-form__recaptcha-widget {
    min-height: 78px;
}

.modal-form__recaptcha-error {
    margin-top: 6px;
    color: #D15252;
    font-size: 0.92rem;
    font-weight: 500;
}

.modal-form__response {
    margin-top: 8px;
    padding: 0 52px;
    font-size: 0.98rem;
    font-weight: 500;
}

.modal-form__response.is-success {
    color: #2F8A7F;
}

.modal-form__response.is-error {
    color: #D15252;
}

.modal-form__footer {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.modal-form__actions {
    padding: 0 52px 40px 0;
}

.modal-illustration {
    flex: 1 1 auto;
    max-width: 460px;
    align-self: flex-end;
}

.modal-illustration img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

.modal-form__submit {
    min-width: 250px;
    gap: 14px;
    margin-right: 0;
    margin-bottom: 0;
    cursor: pointer;
    border: none;
}

.modal-form__submit.is-loading {
    opacity: 0.82;
    pointer-events: none;
}

.modal-form__submit:disabled {
    cursor: wait;
}

.modal-form__submit::after {
    content: none;
}

.modal-form__submit svg {
    flex-shrink: 0;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.capability-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    padding: 24px 18px 22px;
    min-height: 0;
    box-shadow: var(--shadow-light);
}

html.dark-mode .section--soft .capability-card {
    background: #216E66;
}

.capability-card h3 {
    font-size: 1rem;
    line-height: 1.25;
    margin: 0 0 18px;
    text-align: center;
    color: var(--text-dark);
}

.capability-card__body {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    gap: 14px;
}

.capability-card p {
    font-size: 0.95rem;
    line-height: 1.45;
    color: #4A5564;
}

html.dark-mode .capability-card p {
    color: rgba(255, 255, 255, 0.82);
}

.section-note {
    margin-top: 52px;
    text-align: center;
    font-size: clamp(1.2rem, 1.4vw, 1.5rem);
    line-height: 1.45;
    font-weight: 600;
    color: var(--text-dark);
}

.banner {
    background: linear-gradient(90deg, #4CBF98 0%, #3BB19B 29.33%, #3BB19B 61.54%, #4CBF98 100%);
    padding: 10px 0;
    text-align: center;
}

.banner p {
    margin: 0;
    color: white;
    font-weight: 400;
    font-size: 16px;
    padding: 0 15px;
}

.footer {
    background: var(--dark-teal);
    color: white;
    padding: 50px 0 20px;
    transition: background-color 0.3s ease;
}

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

.footer-logo {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
    color: var(--primary-orange);
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-section p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px 40px;
    margin-bottom: 20px;
    text-align: center;
}

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

.footer-links__button {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.footer-links a:hover,
.footer-links__button:hover {
    color: var(--primary-orange);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    color: #fbfbfb;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-orange);
    text-decoration: underline;
}

.scroll-to-top {
    align-items: center;
    background: var(--primary-teal);
    border: none;
    border-radius: 50%;
    bottom: 2rem;
    box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -2px #0000000d;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    padding: 1rem;
    position: fixed;
    right: 30px;
    transform: translateX(100px);
    transition: opacity .3s ease, transform .3s ease, box-shadow .15s ease, all .3s;
    z-index: 50;
}

.scroll-to-top.is-visible {
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #1c645d;
    box-shadow: 0 20px 25px -5px #0000001a, 0 10px 10px -5px #0000000a;
    transform: scale(.95);
}

@media (max-width: 1200px) {
    .pro-hero__grid,
    .steps-layout,
    .feature-grid,
    .capability-grid {
        grid-template-columns: 1fr;
    }

    .pro-hero__visual {
        max-width: 760px;
        width: 100%;
        margin: 0 auto;
    }

    .steps-visual {
        max-width: 760px;
        width: 100%;
        margin: 0 auto;
    }

    .notify-card {
        max-width: 760px;
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 0 20px;
    }

    .header .container {
        gap: 14px;
        flex-wrap: wrap;
    }

    .header-eyebrow {
        width: 100%;
        order: 3;
        font-size: 1rem;
        margin-right: 0;
    }

    .section,
    .pro-hero {
        padding: 56px 0;
    }

    .pro-hero__content {
        padding-bottom: 0;
    }

    .pro-hero {
        padding-bottom: 0;
    }

    .pro-hero__grid {
        gap: 24px;
        align-items: end;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .pro-hero__lead,
    .pro-hero__benefits li,
    .notify-card__content p,
    .capability-card p {
        font-size: 1rem;
    }

    .pro-hero__visual img {
        max-width: 420px;
        margin: 0 auto 0 0;
    }

    .steps-list p {
        font-size: 1.25rem;
    }

    .steps-list li {
        gap: 12px;
    }

    .step-index {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .steps-visual {
        padding: 0;
    }

    .steps-visual img {
        max-width: 100%;
        margin: 0 auto;
    }

    .feature-card,
    .capability-card {
        padding: 18px;
    }

    .feature-card h3,
    .notify-card__content h3 {
        font-size: 1.2rem;
    }

    .capability-card h3 {
        font-size: 1rem;
        margin-bottom: 14px;
    }

    .capability-card__body {
        grid-template-columns: 52px 1fr;
        gap: 12px;
        align-items: flex-start;
    }

    .notify-card {
        margin-top: 48px;
        padding: 24px 18px 28px;
        gap: 22px;
    }

    .notify-card__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .notify-card__icon {
        width: 52px;
        height: 52px;
    }

    .notify-card__button {
        width: 100%;
        min-width: 0;
    }

    .modal {
        padding: 12px;
    }

    .modal__dialog {
        padding: 56px 0 0;
        border-radius: 24px;
        max-height: calc(100vh - 24px);
    }

    .modal__close {
        top: 14px;
        right: 14px;
        width: 44px;
        height: 44px;
    }

    .modal__close span {
        width: 26px;
    }

    .modal__header {
        margin-bottom: 28px;
        padding: 0 18px;
    }

    .modal__header p {
        font-size: 1rem;
    }

    .modal-form__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 18px;
    }

    .modal-form__error {
        padding: 0 18px;
    }

    .modal-form__recaptcha {
        padding: 0 18px;
    }

    .modal-form__response {
        padding: 0 18px;
    }

    .modal-form__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .modal-form__actions {
        padding: 0 18px 22px;
    }

    .modal-illustration {
        max-width: none;
        width: 100%;
        order: 2;
        align-self: stretch;
    }

    .modal-form__submit {
        width: 100%;
        min-width: 0;
        order: 1;
    }

    .banner p {
        font-size: 14px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section a {
        justify-content: center;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
    }

    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 380px) {
    .modal-form__recaptcha-widget {
        min-height: 68px;
        transform: scale(0.86);
        transform-origin: left top;
    }

    .modal-form__recaptcha-error {
        margin-top: 0;
    }
}
