:root {
    --bg: #f3f6ff;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --text: #18213f;
    --muted: #5f6987;
    --muted-strong: #394465;
    --line: rgba(117, 131, 183, 0.18);
    --primary: #5658dd;
    --primary-deep: #3f46b5;
    --accent: #8ea0ff;
    --success: #23a26d;
    --shadow: 0 30px 80px rgba(72, 85, 154, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", "Arial Nova", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(149, 168, 255, 0.45), transparent 30%),
        radial-gradient(circle at right center, rgba(147, 118, 255, 0.18), transparent 24%),
        linear-gradient(180deg, #eef2ff 0%, #f8faff 44%, #eef3ff 100%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.modal-open {
    overflow: hidden;
}

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

button {
    font: inherit;
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 80px;
}

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

.notice-card {
    width: min(100%, 720px);
    padding: 52px 40px;
    border: 1px solid rgba(117, 131, 183, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 30px 80px rgba(72, 85, 154, 0.18);
    text-align: center;
}

.notice-card h1 {
    margin: 14px 0 0;
    font-size: clamp(2rem, 5vw, 3.6rem);
    letter-spacing: -0.05em;
    line-height: 0.95;
}

.notice-card p {
    max-width: 560px;
    margin: 18px auto 0;
    color: var(--muted-strong);
    font-size: 1.04rem;
    line-height: 1.2;
}

.notice-card .button {
    margin-top: 26px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    margin-bottom: 32px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 40px rgba(109, 124, 190, 0.08);
}

.brandmark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brandmark-badge {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #6a69f5 0%, #4da1ff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.topnav {
    display: flex;
    gap: 24px;
    color: var(--muted);
    font-size: 0.95rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    gap: 10px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button-icon,
.stat-icon,
.feature-icon,
.workflow-icon,
.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.button-icon svg,
.stat-icon svg,
.feature-icon svg,
.workflow-icon svg,
.trust-icon svg {
    width: 18px;
    height: 18px;
}

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

.button.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, #6f8cff 100%);
    box-shadow: 0 18px 40px rgba(86, 88, 221, 0.3);
}

.button.secondary,
.button.ghost {
    color: var(--primary-deep);
    border-color: rgba(86, 88, 221, 0.18);
    background: rgba(255, 255, 255, 0.76);
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 42px;
    align-items: center;
    padding: 36px 0 28px;
}

.eyebrow,
.mini-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
}

.hero-copy h1,
.section-heading h2,
.workflow-copy h2,
.cta-panel h2,
.meeting-copy h2 {
    margin: 0;
    letter-spacing: -0.05em;
}

.hero-copy h1 {
    max-width: 90%;
    margin-top: 17px;
    font-size: clamp(2rem, 7vw, 4.4rem);
    line-height: 0.9;
}

.hero-copy p {
    max-width: 560px;
    margin: 15px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.2;
}

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

.trust-list {
    display: grid;
    gap: 5px;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
    color: var(--muted-strong);
}

.trust-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.96rem;
}

.trust-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    color: var(--success);
    background: rgba(35, 162, 109, 0.12);
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.stat-card,
.feature-card,
.workflow-step,
.floating-card,
.main-panel,
.cta-panel {
    border: 1px solid var(--line);
    background: var(--surface);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.stat-card {
    padding: 18px;
    border-radius: 20px;
}

.stat-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 14px;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(86, 88, 221, 0.12) 0%, rgba(111, 140, 255, 0.24) 100%);
}

.stat-card strong {
    display: block;
    font-size: 1.2rem;
}

.stat-card span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
    display: flex;
}

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

.main-panel {
    position: absolute;
    inset: 30px 48px 90px 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(168, 181, 255, 0.32), transparent 28%),
        linear-gradient(180deg, rgba(94, 94, 229, 0.97) 0%, rgba(68, 81, 200, 0.93) 100%);
    color: #fff;
    overflow: hidden;
}

.main-panel::before,
.main-panel::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.main-panel::before {
    top: -120px;
    right: -90px;
    width: 260px;
    height: 260px;
}

.main-panel::after {
    left: -70px;
    bottom: -110px;
    width: 220px;
    height: 220px;
}

.panel-bar {
    display: flex;
    gap: 8px;
}

.panel-bar span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
}

.panel-status {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.status-meta {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

.meeting-card {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
    padding: 22px;
    margin-top: 4px;
    border-radius: 28px;
    background: rgba(17, 27, 91, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.meeting-copy h2 {
    max-width: 11ch;
    margin-top: 8px;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.04;
}

.meeting-insight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
}

.meeting-insight span {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.76);
}

.meeting-insight strong {
    max-width: 260px;
    font-size: 0.95rem;
    line-height: 1.45;
    text-align: right;
}

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

.participant {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 146px;
    padding: 16px;
    border-radius: 24px;
    font-size: 1.05rem;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.participant.lilac { background: linear-gradient(135deg, #c7bfff 0%, #8d83ff 100%); }
.participant.sky { background: linear-gradient(135deg, #85d6ff 0%, #4f8cff 100%); }
.participant.rose { background: linear-gradient(135deg, #ffc0db 0%, #ff7eb2 100%); }
.participant.navy { background: linear-gradient(135deg, #22305e 0%, #4159b8 100%); }

.participant-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.94);
    background: rgba(255, 255, 255, 0.18);
}

.participant-avatar {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 18px;
    font-size: 1.1rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.participant strong {
    font-size: 1rem;
    letter-spacing: -0.03em;
}

.chat-strip {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    max-width: 88%;
    padding: 14px 16px 13px;
    border-radius: 18px;
    font-weight: 500;
    line-height: 1.5;
    backdrop-filter: blur(10px);
}

.chat-bubble span {
    font-size: 0.74rem;
    white-space: nowrap;
    opacity: 0.76;
}

.chat-bubble.incoming {
    color: #20305a;
    background: rgba(255, 255, 255, 0.88);
}

.chat-bubble.outgoing {
    justify-self: end;
    align-self: flex-end;
    background: rgba(137, 196, 255, 0.26);
}

.control-dock {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(11, 18, 70, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
}

.control-dot.active {
    background: #61f2a7;
    box-shadow: 0 0 0 6px rgba(97, 242, 167, 0.18);
}

.control-label {
    margin-left: 6px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.88rem;
    font-weight: 600;
}

.floating-card {
    position: absolute;
    padding: 18px 18px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
}

.metrics-card {
    top: 0;
    right: 0;
    width: 220px;
}

.note-card {
    right: 16px;
    bottom: 0;
    width: 280px;
}

.floating-card strong {
    display: block;
    margin-top: 10px;
    font-size: 1.08rem;
}

.floating-card p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.feature-section,
.workflow-section,
.cta-section {
    padding-top: 52px;
}

.section-heading,
.workflow-copy {
    max-width: 720px;
}

.section-heading h2,
.workflow-copy h2,
.cta-panel h2 {
    margin-top: 12px;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 0.95;
}

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

.feature-card {
    padding: 26px;
    border-radius: 26px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(86, 88, 221, 0.16) 0%, rgba(111, 140, 255, 0.32) 100%);
}

.feature-card h3 {
    margin: 18px 0 10px;
    font-size: 1.18rem;
    letter-spacing: -0.03em;
}

.feature-card p,
.workflow-step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.workflow-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 20px;
    align-items: start;
}

.workflow-steps {
    display: grid;
    gap: 16px;
}

.workflow-step {
    display: grid;
    grid-template-columns: 72px 56px 1fr;
    gap: 18px;
    align-items: start;
    padding: 22px;
    border-radius: 24px;
}

.workflow-step strong {
    display: inline-grid;
    place-items: center;
    height: 56px;
    border-radius: 18px;
    color: var(--primary);
    background: rgba(86, 88, 221, 0.1);
    font-size: 1.15rem;
}

.workflow-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, #6f8cff 100%);
    box-shadow: 0 16px 32px rgba(86, 88, 221, 0.2);
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 32px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(228, 235, 255, 0.98) 100%);
}

.page-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 6px 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.modal-shell {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 20px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 17, 54, 0.66);
    backdrop-filter: blur(2px);
}

.demo-modal {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    padding: 40px 35px;
    border: 1px solid rgba(117, 131, 183, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 36px 80px rgba(30, 41, 94, 0.26);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    color: var(--primary-deep);
    background: rgba(86, 88, 221, 0.08);
    cursor: pointer;
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 18px;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(86, 88, 221, 0.14) 0%, rgba(111, 140, 255, 0.28) 100%);
}

.modal-icon svg {
    width: 24px;
    height: 24px;
}

.demo-modal h2 {
    margin: 14px 0 0;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.demo-modal p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.2;
}

.demo-form {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.field-label {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--muted-strong);
}

.field-input {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(117, 131, 183, 0.24);
    border-radius: 16px;
    background: #fff;
    color: var(--text);
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field-wrap {
    position: relative;
}

.field-leading-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transform: translateY(-50%);
}

.field-leading-icon svg {
    width: 18px;
    height: 18px;
}

.field-input.has-leading-icon {
    padding-left: 46px;
}

.field-input:focus {
    border-color: rgba(86, 88, 221, 0.48);
    box-shadow: 0 0 0 4px rgba(86, 88, 221, 0.1);
}

.modal-submit {
    width: 100%;
    margin-top: 4px;
    cursor: pointer;
}

.modal-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.modal-footnote {
    font-size: 0.9rem;
}

.modal-error {
    color: #b42318;
    font-size: 0.92rem;
    font-weight: 600;
}

.modal-success {
    color: var(--success);
    font-weight: 700;
}

.modal-success strong {
    display: block;
    font-size: 1rem;
}

.modal-success p {
    margin-top: 8px;
    color: var(--muted-strong);
    font-weight: 500;
}

@media (max-width: 980px) {
    .hero-section,
    .workflow-section,
    .feature-grid,
    .stat-row {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        max-width: 12ch;
    }

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

    .main-panel {
        inset: 24px 0 100px;
    }

    .metrics-card {
        top: auto;
        left: 0;
        bottom: 0;
    }

    .note-card {
        right: 0;
        bottom: 120px;
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(100% - 20px, 1180px);
        padding-top: 12px;
    }

    .topbar,
    .cta-panel,
    .page-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .topnav {
        justify-content: space-between;
        gap: 12px;
        font-size: 0.88rem;
    }

    .hero-section {
        gap: 28px;
        padding-top: 12px;
    }

    .hero-copy h1 {
        font-size: clamp(2.45rem, 13vw, 3.4rem);
    }

    .hero-copy p,
    .floating-card p,
    .feature-card p,
    .workflow-step p {
        font-size: 0.96rem;
    }

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

    .main-panel {
        padding: 18px;
        border-radius: 28px;
    }

    .panel-status,
    .meeting-insight {
        flex-direction: column;
        align-items: flex-start;
    }

    .meeting-insight strong {
        max-width: none;
        text-align: left;
    }

    .participant {
        min-height: 118px;
        border-radius: 20px;
    }

    .workflow-step {
        grid-template-columns: 56px 1fr;
    }

    .workflow-step strong {
        grid-column: 1;
        grid-row: 1;
    }

    .workflow-icon {
        grid-column: 2;
        grid-row: 1;
    }

    .workflow-step p {
        grid-column: 1 / -1;
    }

    .cta-panel {
        padding: 24px;
    }
}
