:root {
    --bg: #f7faf8;
    --surface: rgba(255, 255, 255, .74);
    --surface-strong: #ffffff;
    --text: #10211f;
    --muted: #63716e;
    --line: rgba(15, 118, 110, .16);
    --primary: #0f766e;
    --primary-2: #2dd4bf;
    --accent: #f2b94b;
    --dark: #101e28;
    --shadow: 0 24px 70px rgba(15, 35, 32, .12);
    --radius: 24px;
}

[data-theme="dark"] {
    --bg: #07100f;
    --surface: rgba(14, 28, 27, .72);
    --surface-strong: #10201e;
    --text: #eefaf7;
    --muted: #9db3af;
    --line: rgba(45, 212, 191, .18);
    --shadow: 0 24px 70px rgba(0, 0, 0, .36);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 12% 8%, rgba(45, 212, 191, .18), transparent 28rem),
        radial-gradient(circle at 78% 0%, rgba(242, 185, 75, .13), transparent 22rem),
        var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 50;
    width: min(1180px, calc(100% - 28px));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 10px 34px rgba(11, 35, 31, .06);
    backdrop-filter: blur(18px);
    transition: .25s ease;
}

[data-theme="dark"] .site-header {
    background: rgba(8, 20, 19, .72);
}

.site-header.is-scrolled {
    top: 10px;
    box-shadow: var(--shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand img {
    max-height: 46px;
    object-fit: contain;
}

.brand-logo-main {
    width: 128px;
}

.brand-logo-partner {
    width: 132px;
}

.brand-divider {
    width: 1px;
    height: 34px;
    display: inline-block;
    background: var(--line);
}

.theme-dark {
    display: none !important;
}

[data-theme="dark"] .theme-light {
    display: none !important;
}

[data-theme="dark"] .theme-dark {
    display: block !important;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 12px 30px rgba(15, 118, 110, .22);
}

.brand strong,
.brand small {
    display: block;
    white-space: nowrap;
}

.brand strong {
    font-size: 1rem;
    letter-spacing: 0;
}

.brand small {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.main-nav a,
.ghost-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 13px;
    border-radius: 14px;
    color: var(--muted);
    font-size: .92rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transition: .2s ease;
}

.ghost-link {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 14px 28px rgba(15, 118, 110, .2);
}

.main-nav a:hover,
.ghost-link:hover {
    color: var(--primary);
    background: rgba(15, 118, 110, .08);
}

.ghost-link:hover {
    color: #fff;
    background: linear-gradient(135deg, #0d9488, #10b981);
    box-shadow: 0 18px 36px rgba(15, 118, 110, .28);
}

.mobile-nav-actions {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn,
.nav-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--text);
    background: var(--surface);
    cursor: pointer;
}

.nav-toggle {
    position: relative;
    overflow: hidden;
    display: inline-grid;
    place-items: center;
    transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.nav-toggle::before {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    opacity: 0;
    transform: scale(.55) rotate(-18deg);
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .22s ease;
}

.nav-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(15, 118, 110, .16);
}

.nav-toggle.is-active {
    border-color: transparent;
    color: #fff;
    background: rgba(15, 118, 110, .12);
    box-shadow: 0 16px 34px rgba(15, 118, 110, .24);
}

.nav-toggle.is-active::before {
    opacity: 1;
    transform: scale(1) rotate(0);
}

.hamburger-bars {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 16px;
    display: grid;
    align-content: space-between;
}

.hamburger-bars span {
    width: 100%;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    transform-origin: center;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .18s ease, width .22s ease;
}

.nav-toggle:hover .hamburger-bars span:nth-child(2) {
    width: 70%;
}

.nav-toggle.is-active .hamburger-bars span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .hamburger-bars span:nth-child(2) {
    opacity: 0;
    transform: translateX(8px) scaleX(.45);
}

.nav-toggle.is-active .hamburger-bars span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1161px) {
    .nav-toggle {
        display: none;
    }
}

.trial-btn,
.primary-btn,
.secondary-btn,
.dark-btn,
.lead-form button,
.callback-panel button[type="submit"],
.login-card button,
.sticky-save button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 16px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), #10b981);
    box-shadow: 0 16px 30px rgba(15, 118, 110, .22);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.trial-btn:hover,
.primary-btn:hover,
.dark-btn:hover,
.lead-form button:hover,
.callback-panel button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(15, 118, 110, .3);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: 138px 0 72px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, .7), transparent 52%),
        repeating-linear-gradient(90deg, transparent 0 72px, rgba(15, 118, 110, .05) 73px 74px);
    mask-image: linear-gradient(to bottom, #000, transparent 92%);
    pointer-events: none;
}

[data-theme="dark"] .hero::before {
    background:
        linear-gradient(115deg, rgba(7, 16, 15, .65), transparent 52%),
        repeating-linear-gradient(90deg, transparent 0 72px, rgba(45, 212, 191, .055) 73px 74px);
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: -8%;
    width: 66%;
    height: 100%;
    border-bottom-left-radius: 200px;
    background: rgba(236, 253, 245, .78);
    transform: skewX(6deg);
    z-index: 0;
    pointer-events: none;
}

[data-theme="dark"] .hero::after {
    background: radial-gradient(circle at 45% 42%, rgba(1, 53, 44, .9), rgba(1, 4, 7, .18) 72%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    align-items: center;
    gap: 58px;
}

.eyebrow,
.section-kicker,
.pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin-bottom: 20px;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--primary);
    background: var(--surface);
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: #4ade80;
    box-shadow: 0 0 0 7px rgba(74, 222, 128, .15);
}

.hero h1,
.section-heading h2,
.ecosystem h2,
.demo-copy h2 {
    margin: 0;
    font-weight: 900;
    letter-spacing: 0;
    line-height: .98;
}

.hero h1 {
    font-size: clamp(2.7rem, 5.4vw, 4.7rem);
    max-width: 820px;
}

.hero h1 span {
    display: block;
}

.hero-title-accent {
    color: var(--primary);
}

.hero-copy p {
    width: min(620px, 100%);
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.32;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.secondary-btn {
    color: var(--text);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: none;
}

.stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.stat-row div {
    min-width: 120px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    backdrop-filter: blur(12px);
}

.stat-row strong,
.stat-row span {
    display: block;
}

.stat-row strong {
    color: var(--primary);
    font-size: 1.45rem;
    font-weight: 900;
}

.stat-row span {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-tags span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 12px 26px rgba(15, 118, 110, .08);
    backdrop-filter: blur(14px);
    font-size: .92rem;
    font-weight: 900;
}

[data-theme="dark"] .hero-tags span {
    background: rgba(8, 20, 19, .62);
}

.hero-tags i {
    color: var(--primary);
    font-size: 1rem;
}

.hero-visual {
    position: relative;
    min-height: 560px;
}

.hero-cloud-frame {
    position: absolute;
    inset: -8px -8% -4px -2%;
    overflow: hidden;
    border-radius: 34px;
    filter: drop-shadow(0 34px 54px rgba(15, 118, 110, .14));
    animation: floaty 5.8s ease-in-out infinite;
}

.hero-cloud-frame .theme-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-cloud-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 72%, rgba(247, 250, 248, .68));
    pointer-events: none;
}

[data-theme="dark"] .hero-cloud-frame::after {
    background: linear-gradient(90deg, transparent 70%, rgba(7, 16, 15, .72));
}

.hero-cloud-frame img,
.hero-cloud-frame video {
    width: 100%;
    height: 100%;
    object-position: center;
}

.hero-cloud-frame img {
    object-fit: contain;
    transform: scale(1.05);
}

.hero-cloud-frame video {
    display: block;
    object-fit: cover;
    transform: none;
}

.floating-card {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    color: var(--text);
    font-weight: 900;
    animation: floaty 4.4s ease-in-out infinite;
}

.floating-card i {
    color: var(--primary);
}

.sync-card {
    top: 22px;
    left: 28px;
}

.report-card {
    right: 18px;
    bottom: 44px;
    animation-delay: -1.4s;
}

.orbital-dot {
    position: absolute;
    width: 118px;
    height: 118px;
    border-radius: 999px;
    filter: blur(26px);
    opacity: .5;
}

.dot-one {
    top: 26px;
    right: 64px;
    background: var(--primary-2);
}

.dot-two {
    bottom: 60px;
    left: 28px;
    background: var(--accent);
}

.section {
    padding: 116px 0;
}

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

.section-heading h2,
.ecosystem h2 {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.steps-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.track-line {
    position: absolute;
    top: 56px;
    left: 8%;
    right: 8%;
    height: 4px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(15, 118, 110, .12);
}

.track-line span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    transition: width .25s ease;
}

.step-card,
.solution-card,
.feature-card,
.demo-panel,
.admin-panel,
.login-card {
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.step-card {
    position: relative;
    z-index: 1;
    min-height: 240px;
    padding: 26px;
    border-radius: var(--radius);
    text-align: center;
}

.step-icon,
.feature-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    color: var(--primary);
    background: rgba(15, 118, 110, .08);
    font-size: 1.8rem;
}

.step-card h3,
.solution-card h3,
.feature-card h3 {
    margin: 0 0 12px;
    font-size: 1.22rem;
    font-weight: 900;
}

.step-card p,
.solution-card p,
.feature-card p,
.ecosystem p,
.demo-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-weight: 600;
}

.ecosystem {
    background:
        linear-gradient(180deg, transparent, rgba(15, 118, 110, .07), transparent);
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: 54px;
    align-items: start;
}

.ecosystem-copy {
    position: sticky;
    top: 120px;
}

.ecosystem-copy p {
    margin: 24px 0 32px;
    font-size: 1.05rem;
}

.dark-btn {
    background: var(--dark);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.solution-card {
    min-height: 220px;
    padding: 28px;
    border-radius: var(--radius);
}

.solution-card i {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

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

.feature-card {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    padding: 28px;
    border-radius: var(--radius);
}

.card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(380px circle at var(--x, 50%) var(--y, 50%), rgba(45, 212, 191, .2), transparent 40%);
    transition: opacity .2s ease;
}

.feature-card:hover .card-glow {
    opacity: 1;
}

.feature-card > *:not(.card-glow) {
    position: relative;
}

.feature-icon {
    margin-left: 0;
}

.demo-section {
    background: #101e28;
}

.demo-panel {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 44px;
    align-items: center;
    padding: clamp(28px, 7vw, 78px);
    border-radius: 38px;
    color: #fff;
    background:
        radial-gradient(circle at 5% 10%, rgba(45, 212, 191, .22), transparent 24rem),
        #101e28;
}

.demo-copy h2 {
    font-size: clamp(2.6rem, 6vw, 5.8rem);
}

.demo-copy p {
    width: min(580px, 100%);
    margin-top: 22px;
    color: #a9b9b6;
}

.phone-block {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
}

.phone-block i {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 22px;
    background: rgba(255, 255, 255, .08);
    font-size: 1.7rem;
}

.phone-block small,
.phone-block strong {
    display: block;
}

.phone-block small {
    color: var(--primary-2);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .18em;
}

.phone-block strong {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
}

.lead-form,
.callback-panel {
    display: grid;
    gap: 14px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 28px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px);
}

.lead-form label {
    color: rgba(255, 255, 255, .72);
    font-size: .82rem;
    font-weight: 800;
}

.lead-form input,
.lead-form textarea,
.callback-panel input,
.callback-panel textarea,
.login-card input,
.admin-form input,
.admin-form textarea,
.admin-shell select,
.lead-management-card textarea {
    width: 100%;
    margin-top: 7px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: 0;
    color: var(--text);
    background: var(--surface-strong);
    resize: vertical;
}

.admin-shell select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 18px) 52%, calc(100% - 12px) 52%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.lead-form input,
.lead-form textarea,
.callback-panel input,
.callback-panel textarea {
    color: #fff;
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .1);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder,
.callback-panel input::placeholder,
.callback-panel textarea::placeholder {
    color: rgba(255, 255, 255, .52);
}

.callback-widget {
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 60;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
    transform: translateY(-50%);
    pointer-events: none;
}

.callback-tab,
.callback-panel {
    pointer-events: auto;
}

.callback-tab {
    width: 54px;
    min-height: 172px;
    display: grid;
    place-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-right: 0;
    border-radius: 24px 0 0 24px;
    color: #fff;
    background: linear-gradient(180deg, var(--primary), #064e3b);
    box-shadow: var(--shadow);
    cursor: pointer;
}

.callback-tab span:last-child {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .04em;
}

.signal {
    display: flex;
    align-items: end;
    gap: 3px;
    height: 18px;
}

.signal i {
    width: 4px;
    height: 8px;
    border-radius: 99px;
    background: #86efac;
    animation: wave 1s ease-in-out infinite;
}

.signal i:nth-child(2) {
    height: 14px;
    animation-delay: .14s;
}

.signal i:nth-child(3) {
    height: 10px;
    animation-delay: .28s;
}

.callback-panel {
    width: 308px;
    max-width: calc(100vw - 92px);
    color: #fff;
    background: rgba(16, 30, 40, .92);
    box-shadow: var(--shadow);
    transform: translateX(18px);
    opacity: 0;
    visibility: hidden;
    transition: .24s ease;
}

.callback-widget.is-open .callback-panel {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.callback-panel h3 {
    margin: 0;
}

.callback-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 99px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
}

.site-footer {
    padding: 48px 0;
    background: #081413;
    color: #dff5f1;
}

.pricing-page {
    min-height: 100vh;
    padding-top: 92px;
}

.pricing-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 54px;
    border-bottom: 1px solid rgba(0, 94, 91, .58);
    background: linear-gradient(180deg, #0f766e, #005e5b);
    color: #fff;
    text-align: center;
}

[data-theme="dark"] .pricing-hero {
    border-bottom-color: rgba(45, 212, 191, .14);
    background: linear-gradient(180deg, #0f172a, #07100f);
}

.mesh-accent {
    position: absolute;
    inset: 0;
    opacity: .28;
    background:
        radial-gradient(circle at 24% 30%, rgba(255, 255, 255, .24), transparent 18rem),
        radial-gradient(circle at 76% 42%, rgba(45, 212, 191, .38), transparent 22rem),
        linear-gradient(135deg, transparent 0 48%, rgba(255, 255, 255, .12) 49% 50%, transparent 51%);
    pointer-events: none;
}

.pricing-hero .container {
    position: relative;
    z-index: 1;
}

.pricing-hero span {
    display: inline-block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, .78);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .2em;
}

.pricing-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.pricing-hero p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .74);
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 800;
}

.pricing-content {
    padding: 34px 0 88px;
}

.discount-display {
    width: fit-content;
    display: grid;
    justify-items: center;
    gap: 8px;
    margin: 0 auto 22px;
}

.discount-icon {
    width: 108px;
    height: 92px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 28px;
    color: var(--primary);
    background: var(--surface);
    box-shadow: var(--shadow);
    font-size: 2.3rem;
}

.discount-display strong {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 24px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    background: var(--surface-strong);
    box-shadow: 0 12px 30px rgba(15, 118, 110, .12);
    font-size: 1rem;
    font-weight: 900;
}

.pricing-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 30px;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 800;
}

.pricing-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
}

.pricing-meta a {
    color: var(--primary);
}

.pricing-meta .cache-note {
    color: #92400e;
    background: #fef3c7;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.pricing-card {
    position: relative;
    min-height: 235px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surface-strong);
    box-shadow: 0 10px 30px rgba(15, 35, 32, .06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

[data-theme="dark"] .pricing-card {
    background: #0b1626;
    border-color: rgba(148, 163, 184, .2);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(15, 118, 110, .34);
    box-shadow: 0 22px 48px rgba(15, 118, 110, .14);
}

.popular-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #10b981);
    font-size: .72rem;
    font-weight: 900;
}

.pricing-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 18px;
    color: var(--primary);
    background: rgba(15, 118, 110, .07);
    font-size: 1.2rem;
    transition: .22s ease;
}

.pricing-card:hover .pricing-icon {
    color: #fff;
    background: var(--primary);
}

.pricing-card h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 1.18rem;
    font-weight: 900;
}

.pricing-card p {
    flex: 1;
    margin: 0 0 20px;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.5;
    font-weight: 700;
}

.price-line {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 118, 110, .1);
}

.price-line strong {
    color: var(--text);
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 900;
}

.price-line span {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 900;
}

.price-line del {
    margin-left: 6px;
    color: var(--muted);
    font-size: .95rem;
    font-weight: 900;
    opacity: .68;
}

.pricing-footnote {
    margin: 28px 0 0;
    color: var(--muted);
    text-align: center;
    font-weight: 800;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr auto;
    gap: 32px;
    align-items: start;
}

.site-footer p,
.site-footer address {
    margin: 8px 0 0;
    color: #92aaa6;
    font-style: normal;
    line-height: 1.7;
}

.site-footer address,
.footer-links {
    display: grid;
    gap: 6px;
}

.footer-links a,
.site-footer address a {
    color: #dff5f1;
}

.reveal {
    transform: translateY(28px);
    opacity: 0;
    transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .7s ease;
}

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

.notice {
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 800;
}

.notice.success {
    color: #064e3b;
    background: #d1fae5;
}

.notice.error {
    color: #7f1d1d;
    background: #fee2e2;
}

.admin-body {
    min-height: 100vh;
}

.admin-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-card {
    width: min(440px, 100%);
    display: grid;
    gap: 16px;
    padding: 28px;
    border-radius: var(--radius);
}

.login-card h1,
.login-card p {
    margin: 0;
}

.login-card p,
.muted {
    color: var(--muted);
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 250, 248, .86);
    backdrop-filter: blur(18px);
}

.admin-topbar strong,
.admin-topbar span {
    display: block;
}

.admin-topbar span {
    color: var(--muted);
    font-size: .86rem;
    font-weight: 800;
}

.admin-topbar nav {
    display: flex;
    gap: 10px;
}

.admin-topbar a {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    font-weight: 900;
}

.admin-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto 120px;
}

.admin-form {
    display: grid;
    gap: 18px;
}

.admin-panel {
    padding: 24px;
    border-radius: var(--radius);
}

.admin-panel h2 {
    margin: 0 0 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-grid label,
.repeat-grid label {
    color: var(--muted);
    font-weight: 900;
}

.form-grid .wide {
    grid-column: 1 / -1;
}

.repeat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

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

.repeat-grid > div {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .4);
}

.lead-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.lead-list div {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-strong);
}

.lead-list span,
.lead-list small {
    color: var(--muted);
}

.lead-admin-panel {
    margin-top: 18px;
}

.lead-admin-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.lead-admin-head h2,
.lead-admin-head h1,
.lead-admin-head p {
    margin: 0;
}

.lead-admin-head strong {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--primary);
    background: rgba(15, 118, 110, .08);
    white-space: nowrap;
}

.lead-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.lead-filters a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: var(--surface-strong);
    font-weight: 900;
}

.lead-filters a.active {
    color: #fff;
    background: var(--primary);
}

.lead-filters span {
    min-width: 24px;
    min-height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: inherit;
    background: rgba(255, 255, 255, .18);
    font-size: .78rem;
}

.lead-management-list {
    display: grid;
    gap: 14px;
}

.lead-management-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1.1fr .72fr auto;
    gap: 14px;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface-strong);
    box-shadow: 0 10px 28px rgba(15, 35, 32, .06);
}

.lead-summary,
.lead-message,
.lead-management-card label {
    min-width: 0;
}

.lead-summary {
    display: grid;
    gap: 5px;
}

.lead-summary strong {
    font-size: 1.05rem;
}

.lead-summary a {
    color: var(--primary);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.lead-summary small,
.lead-message span,
.lead-management-card label {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 900;
}

.lead-status-badge {
    width: fit-content;
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    color: #fff;
    background: #64748b;
    font-size: .76rem;
    font-weight: 900;
}

.lead-status-new .lead-status-badge {
    background: #0f766e;
}

.lead-status-contacted .lead-status-badge {
    background: #2563eb;
}

.lead-status-positive .lead-status-badge {
    background: #16a34a;
}

.lead-status-negative .lead-status-badge {
    background: #dc2626;
}

.lead-status-cancelled .lead-status-badge {
    background: #6b7280;
}

.lead-message {
    display: grid;
    gap: 7px;
}

.lead-message p {
    margin: 0;
    color: var(--text);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.lead-actions {
    display: grid;
    gap: 10px;
    align-self: end;
}

.lead-management-card button {
    align-self: end;
    min-height: 46px;
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: var(--primary);
    font-weight: 900;
    cursor: pointer;
}

.lead-management-card .delete-btn {
    color: #fff;
    background: #dc2626;
}

.sticky-save {
    position: sticky;
    bottom: 18px;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes wave {
    0%, 100% { transform: scaleY(.55); opacity: .65; }
    50% { transform: scaleY(1.1); opacity: 1; }
}

@media (max-width: 1160px) {
    .site-header {
        grid-template-columns: auto 1fr;
    }

    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: grid;
        gap: 6px;
        max-height: 0;
        overflow: hidden;
        padding: 0 12px;
        border: 1px solid transparent;
        border-radius: 20px;
        background:
            linear-gradient(180deg, rgba(15, 118, 110, .08), transparent 42%),
            var(--surface-strong);
        box-shadow: none;
        backdrop-filter: blur(18px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px) scale(.96);
        transform-origin: top right;
        transition:
            max-height .34s cubic-bezier(.2, .8, .2, 1),
            padding .24s ease,
            border-color .24s ease,
            box-shadow .24s ease,
            opacity .22s ease,
            visibility .22s ease,
            transform .28s cubic-bezier(.2, .8, .2, 1);
    }

    .main-nav.is-open {
        max-height: 560px;
        padding: 12px;
        border-color: var(--line);
        box-shadow: var(--shadow);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        display: grid;
    }

    .main-nav a {
        justify-content: flex-start;
        min-height: 42px;
        border: 1px solid transparent;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity .22s ease, transform .28s cubic-bezier(.2, .8, .2, 1), background .2s ease, color .2s ease;
    }

    .main-nav a:hover {
        border-color: rgba(15, 118, 110, .16);
    }

    .main-nav.is-open a {
        opacity: 1;
        transform: none;
    }

    .main-nav.is-open a:nth-child(1) { transition-delay: .03s; }
    .main-nav.is-open a:nth-child(2) { transition-delay: .07s; }
    .main-nav.is-open a:nth-child(3) { transition-delay: .11s; }
    .main-nav.is-open a:nth-child(4) { transition-delay: .15s; }
    .main-nav.is-open a:nth-child(5) { transition-delay: .19s; }

    .mobile-nav-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 8px;
        padding-top: 12px;
        border-top: 1px solid var(--line);
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity .22s ease .22s, transform .28s cubic-bezier(.2, .8, .2, 1) .22s;
    }

    .main-nav.is-open .mobile-nav-actions {
        opacity: 1;
        transform: none;
    }

    .mobile-nav-actions a {
        min-height: 46px;
        justify-content: center;
        border-radius: 15px;
        color: #fff;
        font-weight: 900;
        box-shadow: 0 14px 28px rgba(15, 118, 110, .18);
    }

    .mobile-login-btn {
        background: linear-gradient(135deg, var(--primary), var(--primary-2));
    }

    .mobile-trial-btn {
        background: linear-gradient(135deg, #101e28, #0f766e);
    }

    .mobile-nav-actions a:hover {
        color: #fff;
        background-position: right center;
        transform: translateY(-1px);
    }

    .header-actions {
        justify-self: end;
    }

    .ghost-link {
        display: none;
    }

    .hero-grid,
    .ecosystem-grid,
    .demo-panel,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 450px;
    }

    .hero::after {
        width: 88%;
        opacity: .72;
    }

    .steps-track,
    .feature-grid,
    .repeat-grid,
    .lead-list,
    .pricing-grid,
    .lead-management-card {
        grid-template-columns: repeat(2, 1fr);
    }

    .lead-actions {
        grid-column: 1 / -1;
    }

    .track-line {
        display: none;
    }

    .ecosystem-copy {
        position: relative;
        top: auto;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .site-header {
        top: 10px;
        width: calc(100% - 18px);
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        min-height: 64px;
        padding: 10px 12px;
        border-radius: 18px;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
        gap: 8px;
        max-width: 100%;
        align-self: center;
    }

    .brand-logo-main {
        width: 108px;
    }

    .brand-logo-partner {
        width: 108px;
    }

    .brand-divider {
        height: 28px;
    }

    .nav-toggle {
        position: relative;
        top: auto;
        right: auto;
        z-index: 1;
        display: inline-grid;
        place-items: center;
    }

    .header-actions {
        grid-column: 2;
        grid-row: 1;
        position: static;
        display: flex;
        align-items: center;
        justify-self: end;
        align-self: center;
        gap: 8px;
    }

    .header-actions .icon-btn,
    .header-actions .nav-toggle {
        flex: 0 0 42px;
        display: inline-grid !important;
        place-items: center;
        visibility: visible;
        opacity: 1;
    }

    .header-actions .nav-toggle {
        color: var(--text);
        background: var(--surface);
    }

    .header-actions .hamburger-bars span {
        background: currentColor;
    }

    .header-actions .ghost-link,
    .header-actions .trial-btn {
        display: none;
    }

    .brand small,
    .trial-btn {
        display: none;
    }

    .hero {
        padding-top: 112px;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(2rem, 9vw, 2.45rem);
        line-height: 1;
    }

    .hero-copy p {
        margin-top: 22px;
        font-size: 1rem;
        line-height: 1.44;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 24px;
    }

    .hero-actions .primary-btn,
    .hero-actions .secondary-btn {
        width: 100%;
        min-height: 48px;
        padding: 0 14px;
    }

    .hero-tags {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 24px;
    }

    .hero-tags span {
        width: 100%;
        justify-content: flex-start;
        min-height: 44px;
        padding: 10px 14px;
        border-radius: 18px;
        line-height: 1.2;
        white-space: normal;
    }

    .hero-grid {
        gap: 24px;
    }

    .hero-visual {
        min-height: 340px;
    }

    .hero-cloud-frame {
        inset: 0 -14% 0 -10%;
        border-radius: 22px;
    }

    .floating-card {
        display: none;
    }

    .section {
        padding: 78px 0;
    }

    .pricing-hero {
        padding: 42px 0 46px;
    }

    .pricing-hero span {
        letter-spacing: .14em;
    }

    .pricing-hero h1 {
        max-width: 100%;
        font-size: clamp(1.4rem, 6.8vw, 1.72rem);
        line-height: 1.08;
        letter-spacing: .02em;
        overflow-wrap: normal;
        text-wrap: balance;
    }

    .pricing-hero p {
        font-size: 1rem;
        line-height: 1.35;
    }

    .pricing-meta span {
        width: 100%;
        justify-content: center;
        min-height: 40px;
        padding: 9px 12px;
        border-radius: 18px;
        line-height: 1.25;
        text-align: center;
    }

    .pricing-meta a {
        overflow-wrap: anywhere;
    }

    .pricing-card {
        min-height: auto;
        padding: 22px;
        border-radius: 24px;
    }

    .price-line {
        flex-wrap: wrap;
        align-items: baseline;
    }

    .steps-track,
    .solution-grid,
    .feature-grid,
    .form-grid,
    .repeat-grid,
    .repeat-grid.two,
    .lead-list,
    .pricing-grid,
    .lead-management-card {
        grid-template-columns: 1fr;
    }

    .demo-panel {
        border-radius: 26px;
    }

    .callback-widget {
        right: 0;
    }

    .callback-tab {
        width: 48px;
        min-height: 148px;
    }
}

@media (max-width: 380px) {
    .brand-logo-main {
        width: 94px;
    }

    .brand-logo-partner {
        width: 92px;
    }

    .hero h1 {
        font-size: clamp(1.85rem, 9vw, 2.25rem);
    }
}

@media (max-width: 340px) {
    .site-header {
        gap: 6px;
        padding: 9px 10px;
    }

    .brand {
        gap: 6px;
    }

    .brand-logo-main {
        width: 82px;
    }

    .brand-logo-partner {
        width: 80px;
    }

    .icon-btn,
    .nav-toggle {
        width: 38px;
        height: 38px;
    }

    .header-actions {
        gap: 6px;
    }

    .header-actions .icon-btn,
    .header-actions .nav-toggle {
        flex-basis: 38px;
    }
}
