:root {
    --bg: #f3f7f4;
    --bg-strong: #e7f4ea;
    --surface: #ffffff;
    --surface-2: #f0fdf4;
    --ink: #0b1220;
    --muted: #475569;
    --accent: #10b981;
    --accent-dark: #065f46;
    --accent-alt: #4f46e5;
    --accent-warm: #f59e0b;
    --accent-gold: #fbbf24;
    --line: #d1fae5;
    --shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
    --shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.12);
    --text: var(--ink);
}

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

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes heroGlow {
    0% { transform: scale(1) translateY(0); opacity: 0.9; }
    50% { transform: scale(1.02) translateY(-4px); opacity: 0.82; }
    100% { transform: scale(1) translateY(0); opacity: 0.9; }
}

@keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.22); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background-color: var(--bg);
    background-image:
        radial-gradient(circle at 12% 8%, rgba(79, 70, 229, 0.14), transparent 52%),
        radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.18), transparent 55%),
        radial-gradient(circle at 5% 100%, rgba(245, 158, 11, 0.12), transparent 55%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.72), transparent 62%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

section, .hero, .footer {
    opacity: 0;
    animation: riseIn 0.75s ease-out forwards;
    animation-delay: var(--delay, 0s);
}

.shell {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.hero {
    padding: 52px 7vw 90px;
    position: relative;
    overflow: hidden;
    --delay: 0.05s;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(243, 247, 244, 0.88), rgba(243, 247, 244, 0.88)),
        radial-gradient(circle at 15% 10%, rgba(245, 158, 11, 0.22), transparent 50%),
        radial-gradient(circle at 86% 12%, rgba(79, 70, 229, 0.16), transparent 58%),
        linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(79, 70, 229, 0.08) 55%, transparent 80%),
        url('images/background.png');
    background-size: cover, 140% 140%, 140% 140%, 140% 140%, cover;
    background-position: center, 50% 50%, 50% 50%, 50% 50%, center;
    background-repeat: no-repeat;
    animation: heroGlow 12s ease-in-out infinite;
    pointer-events: none;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
    position: relative;
    z-index: 1;
}

.hero-ticker {
    margin-top: 12px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.72);
    box-shadow: var(--shadow-soft);
}

.ticker-track {
    display: inline-flex;
    gap: 40px;
    padding: 10px 14px;
    min-width: 200%;
    animation: tickerMove 18s linear infinite;
    font-weight: 700;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 13px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-alt), var(--accent));
    display: grid;
    place-items: center;
    font-size: 24px;
    box-shadow: 0 12px 22px rgba(16, 185, 129, 0.22);
    overflow: hidden;
}

.logo-icon.image {
    padding: 0;
    background: transparent;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.14);
}

.logo-icon.image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    line-height: 1.2;
}

.logo-text .brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.logo-text small {
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.nav-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.primary, .ghost {
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.22);
    animation: pulse 5s ease-in-out infinite;
}

.primary.slim {
    padding: 8px 14px;
    font-size: 14px;
}

.primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.7);
}

.ghost.alt {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.22);
    color: var(--accent-dark);
}

.ghost.alt:hover {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.4);
}

.ghost:hover {
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.large {
    padding: 14px 24px;
    font-size: 16px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--accent-dark);
}

.text-link:hover {
    color: var(--accent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    margin-top: 70px;
    position: relative;
    z-index: 1;
}

.hero-copy {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 26px;
    padding: 30px 32px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}

.hero-copy h1 {
    text-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}

.hero-copy .accent {
    color: var(--accent-dark);
}

.hero-alert {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.22);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--accent-dark);
}

.hero-alert a {
    color: var(--accent-dark);
    text-decoration: underline;
}

.eyebrow {
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
    font-size: 12px;
    margin: 0 0 12px;
}

h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(34px, 5vw, 56px);
    margin: 0 0 16px;
    line-height: 1.05;
}

h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(26px, 3.6vw, 40px);
    margin: 4px 0 12px;
}

h3 {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0 0 8px;
}

.accent {
    color: var(--accent);
}

.sub {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
    max-width: 58ch;
    margin: 0 0 26px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.badge {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.22);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 600;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
    backdrop-filter: blur(8px);
}

.metric-title {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
}

.metric-text {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.hero-visual {
    display: grid;
    gap: 18px;
}

.social-proof {
    padding: 64px 7vw 48px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(79, 70, 229, 0.04));
    border-bottom: 1px solid var(--line);
}

.social-head {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: center;
}

.social-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 12px;
    min-width: 320px;
}

.social-logos {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.pill {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-weight: 600;
    color: var(--muted);
}

.testimonial {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #0f172a;
    color: #e2e8f0;
}

.testimonial-quote {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.testimonial-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    color: #cbd5e1;
}

.activation {
    padding: 80px 7vw;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(120deg, rgba(16, 185, 129, 0.08), rgba(255, 255, 255, 0.82));
}

.activation-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 18px;
}

.activation-steps {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.step-pill {
    padding: 10px 12px;
    border-radius: 12px;
    background: #0f172a;
    color: #e2e8f0;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.activation-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: start;
}

.activation-points-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow-soft);
}

.activation-points {
    margin: 14px 0 0;
    padding: 0 0 0 18px;
    color: var(--muted);
    line-height: 1.6;
}

.activation-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.activation-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    display: grid;
    gap: 12px;
    box-shadow: var(--shadow-soft);
}

.activation-form label {
    display: grid;
    gap: 6px;
    font-weight: 600;
    color: var(--text);
}

.activation-form input,
.activation-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    font-size: 15px;
    font-family: 'Manrope', sans-serif;
}

.activation-form textarea {
    resize: vertical;
}

.activation-message {
    font-size: 14px;
    margin: 0;
}

.activation-message.success { color: #16a34a; }
.activation-message.error { color: #dc2626; }

.app-shot {
    padding: 80px 7vw;
    background: #fff;
}

.app-shot-grid {
    display: grid;
    gap: 28px;
    align-items: center;
}

.app-shot-grid.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-columns: 1fr 1.05fr 1fr;
}

.app-shot-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-shot-points {
    margin: 12px 0 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.6;
}

.app-shot-card {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    background: #0f172a;
    border-radius: 22px;
    padding: 14px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.app-shot-card img {
    display: block;
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    background: #000;
}

.app-shot-left {
    justify-self: end;
}

.app-shot-right {
    justify-self: start;
}

.hero-preview {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 24px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    animation: float 7s ease-in-out infinite;
}

.hero-preview::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.18), transparent 70%);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.preview-title {
    font-weight: 700;
    font-size: 16px;
}

.preview-pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 600;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 18px;
}

.preview-card {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px 14px;
    display: grid;
    gap: 4px;
    font-size: 13px;
}

.preview-card strong {
    font-size: 14px;
}

.preview-card.accent {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(79, 70, 229, 0.9));
    color: #fff;
    border-color: transparent;
}

.preview-card.accent .preview-sub,
.preview-card.accent .preview-label {
    color: rgba(255, 255, 255, 0.85);
}

.preview-label {
    color: var(--muted);
    font-weight: 600;
}

.preview-sub {
    color: var(--muted);
    font-size: 12px;
}

.preview-list {
    display: grid;
    gap: 12px;
}

.preview-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.preview-row strong {
    display: block;
    font-size: 14px;
}

.preview-row small {
    color: var(--muted);
    font-size: 12px;
}

.preview-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 6px;
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.15);
}

.hero-ribbon {
    background: var(--accent-warm);
    color: #fff;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.24);
}

.bar {
    padding: 0 7vw 70px;
    --delay: 0.2s;
}

.bar-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    padding: 22px;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(14, 25, 21, 0.08);
}

.bar-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.bar-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.12);
    display: grid;
    place-items: center;
    font-size: 18px;
}

.bar-title {
    font-weight: 700;
    color: var(--accent-dark);
    display: block;
}

.bar-sub {
    color: var(--muted);
    font-size: 14px;
}

.section-head {
    max-width: 64ch;
    margin: 0 0 48px;
}

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

.value {
    padding: 80px 7vw;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(240, 253, 244, 0.95));
    border-top: 1px solid rgba(16, 185, 129, 0.08);
    border-bottom: 1px solid rgba(16, 185, 129, 0.08);
    --delay: 0.3s;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.value-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 16px 32px rgba(14, 25, 21, 0.08);
}

.value-kicker {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.16);
    color: #92400e;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

.portals {
    padding: 80px 7vw;
    --delay: 0.45s;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.portal-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    display: grid;
    gap: 16px;
    position: relative;
    box-shadow: 0 16px 34px rgba(14, 25, 21, 0.08);
}

.portal-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 4px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.2);
}

.portal-card.highlight {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.16);
}

.portal-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.portal-head p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.portal-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--surface-2);
    font-size: 20px;
}

.portal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

.portal-list li {
    padding-left: 18px;
    position: relative;
}

.portal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-warm);
}

.portal-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 600;
}

.portal-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--accent-dark);
}

.portal-action:hover {
    color: var(--accent);
}

.features {
    padding: 80px 7vw;
    --delay: 0.6s;
}

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

.feature-card {
    background: var(--surface);
    border-radius: 18px;
    border: 1px solid var(--line);
    padding: 22px;
    display: grid;
    gap: 10px;
    box-shadow: 0 14px 28px rgba(14, 25, 21, 0.08);
}

.feature-card .icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(16, 185, 129, 0.12);
    font-size: 20px;
}

.feature-card p {
    color: var(--muted);
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.split {
    padding: 80px 7vw;
    background: var(--surface-2);
    border-top: 1px solid rgba(16, 185, 129, 0.12);
    border-bottom: 1px solid rgba(16, 185, 129, 0.12);
    --delay: 0.75s;
}

.split-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    align-items: center;
}

.split-panel .sub {
    margin-bottom: 24px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-dark);
}

.split-card {
    background: var(--surface);
    border-radius: 22px;
    border: 1px solid var(--line);
    padding: 24px;
    box-shadow: var(--shadow);
}

.flow-list {
    padding-left: 18px;
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.6;
}

.flow-list li {
    margin-bottom: 10px;
}

.card-header {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
}

.steps {
    padding: 80px 7vw;
    --delay: 0.9s;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.step {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 14px 26px rgba(14, 25, 21, 0.08);
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-dark);
    font-weight: 700;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
}

.step p {
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

.access {
    padding: 80px 7vw;
    --delay: 1.05s;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.access-card {
    background: var(--surface);
    border-radius: 18px;
    border: 1px solid var(--line);
    padding: 22px;
}

.access-card p {
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

.app-shot {
    padding: 80px 7vw;
    background: #fff;
}

.app-shot-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
}

.app-shot-points {
    margin: 12px 0 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.6;
}

.app-shot-card {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    background: #0f172a;
    border-radius: 22px;
    padding: 14px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.app-shot-card img {
    display: block;
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    background: #000;
}

.cta {
    padding: 80px 7vw;
    --delay: 1.2s;
}

.cta-content {
    background: linear-gradient(135deg, var(--accent), var(--accent-alt) 55%, var(--accent-warm));
    color: #fff;
    border-radius: 26px;
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    box-shadow: 0 18px 40px rgba(16, 185, 129, 0.26);
}

.cta-content .eyebrow,
.cta-content h2,
.cta-content .sub {
    color: #fff;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.cta-actions .primary {
    background: #fff;
    color: var(--accent-dark);
}

.cta-actions .primary:hover {
    background: #ecfdf5;
}

.cta-actions .ghost {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.cta-actions .ghost:hover {
    background: rgba(255, 255, 255, 0.25);
}

.mobile-sticky-cta {
    position: fixed;
    left: 6vw;
    right: 6vw;
    bottom: 16px;
    display: none;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
    z-index: 50;
}

.mobile-sticky-cta a {
    flex: 1;
    text-align: center;
}

.floating-cta-desktop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
    z-index: 40;
}

.floating-cta-desktop .primary {
    animation: none;
}

.floating-cta-desktop .ghost {
    border-color: rgba(16, 185, 129, 0.3);
}

.support-chat-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 24px;
    z-index: 80;
}

.support-chat-overlay[aria-hidden="true"] {
    display: none;
}

.support-chat-panel {
    width: min(420px, 100%);
    height: min(620px, calc(100vh - 48px));
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
}

.support-chat-header {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(79, 70, 229, 0.1));
    border-bottom: 1px solid rgba(209, 250, 229, 0.78);
}

.support-chat-header-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.support-chat-header-text strong {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.01em;
}

.support-chat-header-text small {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.support-chat-close {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.7);
    color: rgba(15, 23, 42, 0.7);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.support-chat-close:hover {
    background: rgba(255, 255, 255, 0.88);
    transform: translateY(-1px);
}

.support-chat-close:active {
    transform: translateY(0);
}

.support-chat-close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

.support-chat-content {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    flex: 1;
}

.support-chat-intro {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.support-chat-start {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-chat-start label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
}

.support-chat-start input,
.support-chat-start textarea,
.support-chat-send textarea {
    font: inherit;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.36);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.support-chat-start textarea {
    min-height: 92px;
    resize: vertical;
}

.support-chat-note {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.support-chat-note a {
    color: var(--accent-dark);
    text-decoration: underline;
}

.support-chat-thread {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
    min-height: 0;
}

.support-chat-messages {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding-right: 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-chat-bubble {
    max-width: 92%;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    line-height: 1.4;
    font-size: 14px;
}

.support-chat-bubble.visitor {
    align-self: flex-end;
    border-color: rgba(16, 185, 129, 0.26);
    background: rgba(16, 185, 129, 0.1);
}

.support-chat-bubble.supervisor {
    align-self: flex-start;
    border-color: rgba(79, 70, 229, 0.2);
    background: rgba(79, 70, 229, 0.08);
}

.support-chat-bubble .meta {
    margin-top: 6px;
    font-size: 11px;
    color: rgba(71, 85, 105, 0.9);
}

.support-chat-send {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.support-chat-send textarea {
    flex: 1;
    min-height: 44px;
    max-height: 140px;
    resize: none;
}

.support-chat-status {
    font-size: 12px;
    color: var(--muted);
}

.support-chat-new {
    width: 100%;
    text-align: center;
}

.support-chat-start button[disabled],
.support-chat-send button[disabled] {
    opacity: 0.72;
    cursor: not-allowed;
    transform: none;
}

.footer {
    padding: 40px 7vw;
    border-top: 1px solid var(--line);
    --delay: 1.35s;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-weight: 600;
}

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

.footer-note {
    color: var(--muted);
    margin: 0;
    font-size: 14px;
}

.footer-note.legal {
    font-size: 13px;
    line-height: 1.5;
}

.legal-page {
    padding: 64px 7vw 80px;
    background: #fff;
    color: var(--ink);
}

.legal-page h1 {
    margin-top: 0;
}

.legal-page h2 {
    margin-top: 26px;
}

.legal-page ul {
    padding-left: 18px;
    line-height: 1.7;
    color: var(--muted);
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .section-head {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 720px) {
    .hero {
        padding: 42px 6vw 70px;
    }

    .bar,
    .value,
    .portals,
    .features,
    .split,
    .steps,
    .access,
    .cta {
        padding: 64px 6vw;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-copy {
        padding: 22px;
        border-radius: 22px;
    }

    .cta-content {
        padding: 32px;
    }

    .social-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-metrics {
        width: 100%;
        min-width: unset;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

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

    .app-shot-grid.three-col {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .app-shot-left,
    .app-shot-right {
        justify-self: center;
    }

    .mobile-sticky-cta {
        display: flex;
    }

    .floating-cta-desktop {
        display: none;
    }

    .support-chat-overlay {
        padding: 12px;
    }

    .support-chat-panel {
        height: calc(100vh - 24px);
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    section, .hero, .footer {
        animation: none;
        opacity: 1;
    }

    .hero-preview {
        animation: none;
    }
}
