:root {
    --bg: #07111f;
    --bg-soft: #0d1b30;
    --panel: rgba(10, 20, 36, 0.82);
    --panel-strong: #13243d;
    --line: rgba(148, 176, 219, 0.18);
    --text: #f3f7fd;
    --muted: #97a9c6;
    --accent: #2dd4bf;
    --accent-strong: #14b8a6;
    --accent-soft: rgba(45, 212, 191, 0.14);
    --blue: #60a5fa;
    --danger: #f87171;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    --radius: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --max: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(45, 212, 191, 0.18), transparent 32%),
        radial-gradient(circle at 85% 15%, rgba(96, 165, 250, 0.16), transparent 26%),
        linear-gradient(180deg, #07111f 0%, #08101c 100%);
    color: var(--text);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 78%);
}

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

button,
input {
    font: inherit;
}

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

.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 18px 0;
    transition: 0.3s ease;
}

.navbar.scrolled {
    background: rgba(7, 17, 31, 0.72);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
}

.brand-wordmark {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 0.95;
}

.brand-wordmark strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 3vw, 2.9rem);
    letter-spacing: -0.07em;
    color: var(--text);
}

.brand-wordmark small {
    margin-top: 6px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.brand-wordmark-panel strong {
    font-size: 2.35rem;
}

.brand-wordmark-cta strong {
    font-size: clamp(2.5rem, 4vw, 3.4rem);
}

.brand-wordmark-footer strong {
    font-size: 2.2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a,
.footer-links a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.footer-links a:hover {
    color: var(--text);
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: 0.25s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--blue) 100%);
    color: #05111d;
    box-shadow: 0 14px 34px rgba(45, 212, 191, 0.22);
}

.btn-secondary,
.btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--line);
    color: var(--text);
}

.btn-lg {
    min-height: 54px;
    padding: 0 28px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: 0.25s ease;
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

.hero {
    padding: 54px 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
    gap: 40px;
    align-items: center;
}

.hero-copy,
.hero-visual,
.intro-strip,
.feature-panel,
.benefit-card,
.pricing-card,
.faq-item,
.cta-card {
    position: relative;
}

.hero-badge,
.section-label,
.mono-chip,
.status-pill,
.recording-dot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-badge {
    padding: 10px 14px;
    background: var(--accent-soft);
    color: #9ef7ee;
    border: 1px solid rgba(45, 212, 191, 0.24);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(45, 212, 191, 0.8);
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero h1 {
    margin-top: 20px;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(3rem, 7vw, 5.4rem);
    max-width: 11ch;
}

.gradient-text {
    background: linear-gradient(135deg, #ecfeff 0%, var(--accent) 40%, var(--blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text,
.section-desc,
.feature-text p,
.benefit-card p,
.pricing-copy,
.faq-item p,
.footer-copy,
.intro-grid p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-text {
    max-width: 610px;
    font-size: 18px;
    margin: 24px 0 32px;
}

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

.proof-item,
.call-card,
.dialer-panel,
.feature-card,
.benefit-card,
.pricing-card,
.faq-item,
.cta-card,
.intro-strip {
    background: var(--panel);
    border: 1px solid var(--line);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.proof-item {
    border-radius: var(--radius-sm);
    padding: 18px;
}

.proof-item strong {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 6px;
}

.proof-item span {
    color: var(--muted);
    font-size: 14px;
}

.voice-panel {
    padding: 22px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(13, 27, 48, 0.96) 0%, rgba(8, 17, 30, 0.96) 100%);
    border: 1px solid rgba(148, 176, 219, 0.18);
    box-shadow: var(--shadow);
}

.voice-topbar {
    display: flex;
    gap: 6px;
}

.voice-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.voice-header,
.call-title,
.dialer-row,
.screen-header,
.pricing-top,
.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.voice-header {
    margin: 18px 0 24px;
}

.eyebrow,
.panel-kicker {
    margin: 0 0 8px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    font-weight: 800;
}

.voice-header h2 {
    font-size: 1.7rem;
}

.status-pill,
.recording-dot,
.mono-chip {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

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

.call-card,
.feature-card {
    padding: 18px;
    border-radius: 22px;
}

.call-card.active {
    border-color: rgba(45, 212, 191, 0.35);
}

.call-card.wide {
    grid-column: 1 / -1;
}

.call-card p,
.route-footer span,
.security-copy span {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.call-title span,
.metric-row span,
.dialer-label,
.pricing-tier,
.screen-header span:first-child {
    color: var(--muted);
    font-size: 13px;
}

.call-title strong,
.dialer-row strong,
.metric-row strong {
    font-size: 1.05rem;
}

.signal-bars,
.agent-stack,
.quality-chart,
.bars {
    display: flex;
    align-items: end;
    gap: 8px;
    margin-top: 16px;
}

.signal-bars span,
.quality-chart i,
.bars i {
    display: block;
    width: 11px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent), var(--blue));
}

.signal-bars span:nth-child(1) {
    height: 16px;
}

.signal-bars span:nth-child(2) {
    height: 22px;
}

.signal-bars span:nth-child(3) {
    height: 29px;
}

.signal-bars span:nth-child(4) {
    height: 36px;
}

.agent-stack span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(96, 165, 250, 0.14);
    border: 1px solid rgba(96, 165, 250, 0.3);
    font-size: 12px;
    font-weight: 800;
}

.quality-chart i:nth-child(1) { height: 22px; }
.quality-chart i:nth-child(2) { height: 38px; }
.quality-chart i:nth-child(3) { height: 30px; }
.quality-chart i:nth-child(4) { height: 46px; }
.quality-chart i:nth-child(5) { height: 34px; }
.quality-chart i:nth-child(6) { height: 54px; }

.dialer-panel {
    margin-top: 14px;
    padding: 18px;
    border-radius: 22px;
}

.recording-dot {
    color: #ffd8d8;
}

.recording-dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--danger);
}

.dialer-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.dialer-actions button {
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.dialer-actions .danger {
    color: #ffd6d6;
    background: rgba(248, 113, 113, 0.14);
}

.section {
    padding: 48px 0 110px;
}

.intro-strip {
    padding: 18px 22px;
    border-radius: 22px;
}

.intro-grid,
.benefits-grid,
.faq-grid {
    display: grid;
    gap: 22px;
}

.intro-grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
}

.intro-grid p {
    margin: 0;
    font-size: 15px;
}

.intro-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.intro-logos span,
.feature-tab {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.section-header {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-label {
    color: var(--accent);
    margin-bottom: 14px;
}

.section-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.2rem, 4vw, 4rem);
    margin-bottom: 16px;
}

.feature-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.feature-tab {
    color: var(--text);
    font-weight: 800;
    cursor: pointer;
}

.feature-tab.active {
    border-color: rgba(45, 212, 191, 0.4);
    background: rgba(45, 212, 191, 0.12);
}

.feature-panel {
    display: none;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 22px;
    align-items: stretch;
}

.feature-panel.active {
    display: grid;
}

.feature-text,
.benefit-block {
    padding: 16px 8px;
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-list,
.pricing-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: grid;
    gap: 12px;
}

.feature-list li,
.pricing-list li {
    padding-left: 18px;
    position: relative;
    color: var(--text);
}

.feature-list li::before,
.pricing-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--blue));
}

.softphone-preview,
.route-preview,
.analytics-preview,
.security-preview {
    min-height: 360px;
}

.screen-shell {
    display: grid;
    gap: 16px;
    height: 100%;
}

.caller-card {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 8px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
}

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

.keypad span {
    min-height: 66px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    font-size: 1.1rem;
    font-weight: 800;
}

.route-preview {
    display: grid;
    gap: 18px;
}

.route-node {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    font-weight: 800;
}

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

.route-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

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

.metric-row div {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
}

.bars {
    gap: 10px;
    min-height: 210px;
}

.bars i {
    flex: 1;
}

.bars i:nth-child(1) { height: 78px; }
.bars i:nth-child(2) { height: 108px; }
.bars i:nth-child(3) { height: 136px; }
.bars i:nth-child(4) { height: 124px; }
.bars i:nth-child(5) { height: 160px; }
.bars i:nth-child(6) { height: 184px; }
.bars i:nth-child(7) { height: 150px; }

.security-preview {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: center;
    gap: 28px;
}

.security-ring {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(45, 212, 191, 0.22) 0 28%, transparent 29%),
        conic-gradient(from 90deg, var(--accent), var(--blue), var(--accent));
    mask: radial-gradient(circle, transparent 0 44%, black 45%);
}

.security-copy {
    display: grid;
    gap: 12px;
}

.security-copy strong {
    font-size: 1.5rem;
}

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

.benefit-card,
.pricing-card,
.faq-item {
    border-radius: 26px;
    padding: 28px;
}

.benefit-card h3,
.faq-item h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.pricing-section .section-title {
    max-width: 12ch;
}

.pricing-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-label {
    color: var(--muted);
    font-weight: 800;
}

.toggle-label.active {
    color: var(--text);
}

.pricing-toggle {
    width: 62px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
    position: relative;
    cursor: pointer;
}

.pricing-toggle::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--blue));
    transition: 0.25s ease;
}

.pricing-toggle.annual::after {
    transform: translateX(28px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 26px;
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(20, 184, 166, 0.18), rgba(19, 36, 61, 0.92));
    border-color: rgba(45, 212, 191, 0.3);
}

.pricing-tier {
    display: inline-block;
    margin-bottom: 20px;
}

.pricing-value {
    font-family: "Space Grotesk", sans-serif;
    font-size: 3rem;
    margin-bottom: 8px;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.pricing-value.changing {
    opacity: 0.45;
    transform: translateY(2px);
}

.pricing-period {
    color: var(--muted);
    min-height: 24px;
}

.pricing-copy {
    margin: 16px 0 24px;
}

.faq-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.cta-card {
    border-radius: 30px;
    padding: 34px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
}

.launch-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(45, 212, 191, 0.26);
    background: rgba(45, 212, 191, 0.1);
    color: #a8fff4;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.footer {
    padding: 0 0 40px;
}

.footer-shell {
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.footer-copy {
    max-width: 440px;
    margin: 18px 0 0;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .hero-grid,
    .feature-panel.active,
    .faq-grid,
    .cta-card,
    .benefits-grid,
    .security-preview,
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .route-branch,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .nav-toggle {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 100%);
        height: 100dvh;
        padding: 96px 28px 32px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: rgba(7, 17, 31, 0.95);
        backdrop-filter: blur(18px);
        border-left: 1px solid var(--line);
        transition: right 0.3s ease;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links li,
    .nav-links a {
        width: 100%;
    }

    .nav-links a {
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
    }

    .nav-mobile-actions {
        display: grid;
        gap: 10px;
        padding-top: 18px;
    }

    .hero {
        padding-top: 20px;
    }

    .hero-actions,
    .hero-proof,
    .dialer-actions,
    .metric-row {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .call-grid,
    .hero-proof {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(var(--max), calc(100% - 24px));
    }

    .brand-wordmark strong {
        font-size: 1.9rem;
    }

    .brand-wordmark small {
        font-size: 0.72rem;
    }

    .section {
        padding: 34px 0 84px;
    }

    .hero h1 {
        font-size: 2.7rem;
    }

    .voice-panel,
    .benefit-card,
    .pricing-card,
    .faq-item,
    .cta-card {
        padding: 20px;
        border-radius: 22px;
    }

    .feature-card,
    .proof-item {
        padding: 16px;
    }

    .security-ring {
        width: 180px;
        height: 180px;
    }

    .dialer-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn,
    .nav-toggle span,
    .pricing-toggle::after,
    .pricing-value {
        transition: none;
    }
}
