:root {
    --bg: #08111f;
    --panel: #0f1b2e;
    --text: #0f172a;
    --muted: #64748b;
    --blue: #2563eb;
    --cyan: #38bdf8;
    --green: #22c55e;
    --line: #e5e7eb;
    --white: #fff
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    color: var(--text);
    background: #f7f9fc
}

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

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 7vw;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line)
}

.brand img,
.footer img {
    height: 40px
}

.nav {
    display: flex;
    gap: 8px;
    color: #334155;
    font-size: 14px
}

.nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 9px 12px;
    font-weight: 700;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease
}

.nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .2s ease, transform .2s ease
}

.nav a:hover,
.nav a:focus-visible {
    color: #0f172a;
    background: #eef6ff;
    box-shadow: 0 8px 22px rgba(37, 99, 235, .12);
    transform: translateY(-1px);
    outline: none
}

.nav a:hover::after,
.nav a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1)
}

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

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    transition: transform .2s ease, box-shadow .2s ease
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, .14);
    outline: none
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #0f172a;
    transition: transform .2s ease, opacity .2s ease
}

.nav .mobile-nav-cta {
    display: none
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    cursor: pointer;
    border: 1px solid transparent;
    transition: .2s
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--blue), #0ea5e9);
    color: #fff;
    box-shadow: 0 14px 35px rgba(37, 99, 235, .25)
}

.btn-secondary {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border-color: rgba(255, 255, 255, .22);
    backdrop-filter: blur(10px)
}

.btn-ghost {
    border-color: var(--line);
    background: #fff
}

.btn-large {
    padding: 15px 22px
}

.section {
    padding: 96px 7vw
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
    min-height: calc(100vh - 73px);
    background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, .22), transparent 32%), linear-gradient(135deg, #08111f, #111827);
    color: #fff
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 16px;
    color: #67e8f9;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px
}

.hero h1,
h2 {
    font-size: clamp(36px, 5vw, 72px);
    line-height: .96;
    margin: 0 0 20px;
    letter-spacing: -.05em
}

.hero h1 {
    max-width: 830px
}

h2 {
    font-size: clamp(32px, 4vw, 56px);
    color: #0f172a
}

.lead {
    font-size: 20px;
    line-height: 1.55;
    color: #dbeafe;
    max-width: 720px
}

.hint,
.muted {
    color: #94a3b8
}

.dashboard-card {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 35px 80px rgba(0, 0, 0, .35);
    border-radius: 28px;
    padding: 24px;
    backdrop-filter: blur(18px)
}

.dash-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px
}

.wave {
    height: 96px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px;
    background: rgba(255, 255, 255, .06);
    border-radius: 20px
}

.wave i {
    flex: 1;
    border-radius: 99px;
    background: linear-gradient(var(--cyan), var(--blue));
    height: var(--h, 42px)
}

.wave i:nth-child(1) {
    --h: 28px
}

.wave i:nth-child(2) {
    --h: 64px
}

.wave i:nth-child(3) {
    --h: 42px
}

.wave i:nth-child(4) {
    --h: 80px
}

.wave i:nth-child(5) {
    --h: 34px
}

.wave i:nth-child(6) {
    --h: 72px
}

.wave i:nth-child(7) {
    --h: 48px
}

.wave i:nth-child(8) {
    --h: 60px
}

.timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0
}

.pin {
    padding: 9px 12px;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-weight: 800;
    font-size: 13px
}

.amber {
    border-left: 5px solid #f59e0b
}

.red {
    border-left: 5px solid #ef4444
}

.green {
    border-left: 5px solid #22c55e
}

.blue {
    border-left: 5px solid #3b82f6
}


.analytics div {
    background: #fff;
    color: #0f172a;
    border-radius: 18px;
    padding: 16px
}

.analytics span {
    display: block;
    color: var(--muted);
    font-size: 12px
}

.narrow {
    max-width: 1120px;
    margin: auto;
    text-align: center
}

.video-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .24);
    border: 1px solid var(--line)
}

video {
    width: 100%;
    display: block;
    max-height: 620px;
    object-fit: cover
}

.play-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 78px;
    height: 78px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .9);
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .25);
    transition: transform .2s ease, opacity .2s ease, background .2s ease;
    z-index: 2
}

.play-badge:hover,
.play-badge:focus-visible {
    transform: translate(-50%, -50%) scale(1.08);
    background: #fff;
    outline: none
}

.play-badge.is-hidden {
    opacity: 0;
    pointer-events: none
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center
}

.split p {
    font-size: 18px;
    line-height: 1.7;
    color: #475569
}

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

.feature-list div,
.steps article,
.cards article,
blockquote {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 16px 44px rgba(15, 23, 42, .06);
    font-weight: 800
}

.steps,
.cards,
.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.steps b {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #dbeafe;
    color: var(--blue)
}

.cards article {
    text-align: center;
    font-size: 20px
}

.insight {
    background: #fff
}

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

.analytics b {
    font-size: 22px
}

.testimonials {
    grid-template-columns: repeat(4, 1fr)
}

blockquote {
    margin: 0;
    font-weight: 600;
    line-height: 1.55
}

cite {
    display: block;
    margin-top: 18px;
    color: var(--blue);
    font-style: normal;
    font-weight: 900
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #08111f, #111827);
    color: #fff
}

.cta-section h2 {
    color: #fff
}

.cta-section p {
    color: #cbd5e1;
    font-size: 18px;
    margin: 0 0 26px
}

.cta-section .cta-note {
    margin: 16px 0 0;
    color: #cbd5e1
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 32px 7vw;
    background: #fff;
    border-top: 1px solid var(--line)
}

.mobile-sticky {
    display: none
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: reveal .7s ease forwards
}

.delay {
    animation-delay: .18s
}

@keyframes reveal {
    to {
        opacity: 1;
        transform: none
    }
}

@media(max-width:920px) {

    .header {
        padding: 12px 5vw
    }

    .header-actions {
        display: none
    }

    .menu-toggle {
        display: flex
    }

    .header.is-menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg)
    }

    .header.is-menu-open .menu-toggle span:nth-child(2) {
        opacity: 0
    }

    .header.is-menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg)
    }

    .nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 5vw;
        right: 5vw;
        display: grid;
        gap: 8px;
        padding: 14px;
        color: #0f172a;
        background: rgba(255, 255, 255, .96);
        border: 1px solid var(--line);
        border-radius: 22px;
        box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
        backdrop-filter: blur(18px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px) scale(.98);
        transition: opacity .2s ease, visibility .2s ease, transform .2s ease
    }

    .header.is-menu-open .nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1)
    }

    .nav a {
        justify-content: center;
        width: 100%;
        padding: 13px 14px;
        font-size: 15px
    }

    .nav a::after {
        display: none
    }

    .nav .mobile-nav-cta {
        display: inline-flex;
        margin-top: 4px;
        background: linear-gradient(135deg, var(--blue), #0ea5e9);
        color: #fff;
        box-shadow: 0 14px 35px rgba(37, 99, 235, .24)
    }

    .hero,
    .split {
        grid-template-columns: 1fr
    }

    .section {
        padding: 72px 5vw
    }

    .steps,
    .cards,
    .testimonials {
        grid-template-columns: 1fr
    }

    .analytics {
        grid-template-columns: 1fr
    }

    .mobile-sticky {
        display: flex;
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 16px;
        z-index: 20;
        justify-content: center;
        background: linear-gradient(135deg, var(--blue), #0ea5e9);
        color: #fff;
        border-radius: 999px;
        padding: 15px;
        font-weight: 900;
        box-shadow: 0 16px 40px rgba(37, 99, 235, .32)
    }

    .footer {
        padding-bottom: 82px;
        flex-direction: column;
        align-items: flex-start
    }

    .hero h1 {
        font-size: 44px
    }

    .lead {
        font-size: 18px
    }

    .cta-row {
        flex-direction: column;
        align-items: stretch
    }
}
/* Product UI mockups based on the real Callpattern app demo */
.app-shell {
    background: #f8fafc;
    color: #252a35;
    border: 2px solid #2f3440;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
    overflow: hidden
}

.app-shell-dark {
    background: rgba(248, 250, 252, .96);
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 35px 80px rgba(0, 0, 0, .35)
}

.app-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    color: #202633
}

.app-head b {
    font-size: 28px;
    letter-spacing: -.04em
}

.app-head span {
    border: 2px solid #252a35;
    border-radius: 5px;
    padding: 8px 18px;
    font-weight: 800;
    background: #fff
}

.app-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #c9ced8;
    margin-bottom: 24px;
    overflow-x: auto
}

.app-tabs span {
    padding: 14px 18px;
    font-weight: 900;
    letter-spacing: .04em;
    white-space: nowrap;
    color: #383d48
}

.app-tabs .active {
    background: #fff;
    border-bottom: 3px solid #2b303b
}

.audio-table-mini {
    display: grid;
    gap: 0;
    border-top: 1px solid #d9dde5
}

.table-head,
.audio-row {
    display: grid;
    grid-template-columns: 1.1fr .8fr .6fr .6fr;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #e2e6ee;
    font-size: 13px;
    color: #343946
}

.table-head {
    font-weight: 900
}

.audio-row {
    position: relative;
    padding-left: 44px
}

.play-square {
    position: absolute;
    left: 0;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 2px solid #242a35;
    border-radius: 4px;
    background: #fff;
    font-size: 12px
}

.audio-row button {
    justify-self: start;
    border: 2px solid #242a35;
    border-radius: 4px;
    background: #fff;
    padding: 7px 14px;
    font-weight: 800
}

.product-demo {
    background: #fff
}

.product-copy {
    max-width: 860px;
    margin-bottom: 36px
}

.product-copy p {
    color: #475569;
    font-size: 18px;
    line-height: 1.7
}

.product-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 24px;
    align-items: stretch
}

.analysis-panel {
    border: 2px solid #383d48;
    border-radius: 10px;
    padding: 24px;
    background: #f8fafc
}

.filters {
    display: grid;
    gap: 9px;
    margin-bottom: 22px
}

.filters span {
    display: block;
    border: 1px solid #c8ccd5;
    background: #fff;
    padding: 8px 10px;
    color: #171923
}

.stats-line {
    font-size: 19px;
    letter-spacing: .04em;
    border-bottom: 2px dashed #c8ccd5;
    padding-bottom: 14px;
    margin: 0 0 20px
}

.stats-line em {
    color: #2d62d9;
    font-style: normal
}

.stats-line strong {
    color: #892de2;
    margin-left: 12px
}

.analysis-panel h3 {
    margin: 0 0 12px;
    letter-spacing: .08em
}

.pattern-list {
    margin: 0;
    padding-left: 22px;
    font-size: 17px;
    line-height: 1.75
}

.app-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px
}

.app-actions button {
    border: 0;
    border-radius: 6px;
    padding: 11px 22px;
    background: #2f70df;
    color: #fff;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase
}

.app-actions .copy {
    background: #22c94a
}

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

.modal-card {
    border: 2px solid #343946;
    border-radius: 12px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .10)
}

.modal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px
}

.modal-top b {
    font-size: 24px;
    letter-spacing: .04em
}

.modal-top span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 2px solid #343946;
    border-radius: 50%;
    color: #e11d48;
    font-size: 28px;
    line-height: 1
}

.pattern-detail {
    border-bottom: 2px dashed #d1d5db;
    padding: 12px 0;
    font-size: 16px
}

.pattern-detail a,
.transcript-card a {
    color: #2f62d6;
    font-weight: 900;
    text-decoration: underline
}

.pattern-detail small {
    display: block;
    margin-top: 10px;
    color: #4b5563;
    font-weight: 800
}

.mini-player {
    display: grid;
    grid-template-columns: 34px 1fr 42px;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px
}

.mini-player span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 2px solid #343946;
    border-radius: 4px;
    font-size: 12px
}

.mini-player i {
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2d62d9 0 8%, #c8ccd5 8% 100%)
}

.transcript-card p {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    line-height: 1.7;
    color: #3b4150
}

.transcript-card kbd {
    background: #f1f3f7;
    border-radius: 4px;
    padding: 3px 7px;
    font-family: inherit
}

.transcript-card mark {
    background: #dce8ff;
    color: #2f4ca0;
    border-radius: 999px;
    padding: 3px 8px;
    font-weight: 900
}

@media(max-width:1100px) {
    .product-grid {
        grid-template-columns: 1fr
    }

    .table-head,
    .audio-row {
        grid-template-columns: 1fr .8fr .6fr .6fr
    }
}

@media(max-width:620px) {
    .app-shell,
    .analysis-panel,
    .modal-card {
        padding: 16px
    }

    .app-head b {
        font-size: 22px
    }

    .table-head,
    .audio-row {
        grid-template-columns: 1fr;
        gap: 6px
    }

    .audio-row {
        padding-left: 42px
    }

    .stats-line strong {
        display: block;
        margin-left: 0;
        margin-top: 6px
    }

    .pattern-list {
        font-size: 15px
    }
}
