:root {
    --brand: #5347CE;
    --brand-hover: #887CFD;
    --brand-link: #4896FE;
    --brand-success: #16C8C7;
    --brand-soft: #F4F2FF;
    --brand-border: #D9D5FF;
    --brand-rgb: 83, 71, 206;
    --brand-hover-rgb: 136, 124, 253;
    --brand-link-rgb: 72, 150, 254;
    --brand-success-rgb: 22, 200, 199;
    --primary: var(--brand);
    --primary-dark: var(--brand);
    --primary-soft: var(--brand-soft);
    --ink: #111827;
    --muted: #64748b;
    --soft: #f8fafc;
    --line: #e2e8f0;
    --blue: var(--brand-link);
    --emerald: var(--brand-success);
    --violet: var(--brand-hover);
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    --quote-text-size: clamp(1.25rem, 2.2vw, 2.25rem);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: #fafcff;
    color: var(--ink);
    line-height: 1.5;
}

a {
    color: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(226, 232, 240, 0.82);
    backdrop-filter: blur(18px);
}

.nav-bar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.site-logo span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: transparent;
    overflow: hidden;
}

.site-logo span img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-logo strong {
    font-size: 1.45rem;
    letter-spacing: -0.04em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #475569;
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-links a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-login {
    padding: 9px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink) !important;
    background: #fff;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-button span {
    width: 17px;
    height: 2px;
    border-radius: 99px;
    background: #475569;
}

section {
    padding: 96px 0;
    scroll-margin-top: 92px;
}

.bg-soft {
    background:
        radial-gradient(circle at 18% 20%, rgba(var(--brand-rgb), 0.08), transparent 32%),
        linear-gradient(135deg, var(--brand-soft) 0%, #eef6ff 100%);
}

.hero-section {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 64px;
    padding-bottom: 80px;
    scroll-margin-top: 82px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    gap: 64px;
    align-items: center;
}

.hero-badge,
.section-kicker,
.section-heading span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 22px 0 22px;
    max-width: 790px;
    font-size: clamp(2.7rem, 6vw, 5.15rem);
    line-height: 1.05;
    letter-spacing: -0.07em;
    color: #0f172a;
}

.hero-copy p {
    margin: 0;
    max-width: 680px;
    color: #475569;
    font-size: clamp(1.05rem, 2vw, 1.24rem);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
}

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

.btn-primary {
    background: #111827;
    color: #fff;
    box-shadow: 0 18px 34px rgba(17, 24, 39, 0.16);
}

.btn-primary:hover {
    background: #020617;
}

.btn-outline {
    background: #fff;
    color: #1f2937;
    border-color: #dbe3ef;
}

.btn-outline:hover {
    border-color: var(--brand-border);
    box-shadow: 0 14px 28px rgba(var(--brand-rgb), 0.09);
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
    color: #64748b;
    font-size: 0.87rem;
}

.hero-proof span {
    padding-left: 14px;
    border-left: 2px solid var(--brand-border);
}

.hero-proof strong {
    display: block;
    color: #1e293b;
}

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

.product-window {
    position: relative;
    z-index: 2;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.8)),
        radial-gradient(circle at 75% 8%, rgba(59, 130, 246, 0.12), transparent 28%);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.window-top {
    height: 58px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 22px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.76);
    color: #64748b;
    font-size: 0.82rem;
}

.window-top span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--brand-border);
}

.window-top span:nth-child(2) {
    background: #bfdbfe;
}

.window-top span:nth-child(3) {
    background: #bbf7d0;
    margin-right: 10px;
}

.finance-hero-card {
    margin: 28px;
    padding: 30px;
    min-height: 190px;
    display: flex;
    justify-content: space-between;
    gap: 28px;
    border-radius: 26px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.18), transparent 32%),
        linear-gradient(145deg, #101827, #1e293b 66%, #251d3d);
}

.finance-hero-card span,
.finance-hero-card small {
    color: #aab7ca;
    font-weight: 700;
}

.finance-hero-card strong {
    display: block;
    margin: 8px 0 8px;
    font-size: clamp(2.1rem, 4vw, 3.35rem);
    letter-spacing: -0.06em;
}

.finance-hero-card svg {
    width: min(34%, 180px);
    min-width: 130px;
    align-self: center;
}

.finance-hero-card path {
    fill: none;
    stroke: var(--brand-success);
    stroke-width: 6;
    stroke-linecap: round;
}

.finance-hero-card .soft {
    stroke: rgba(255, 255, 255, 0.22);
}

.preview-layout {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    padding: 0 28px 30px;
}

.preview-layout aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    padding: 18px 0;
    border-radius: 22px;
    background: #f8fafc;
}

.preview-layout aside span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #e2e8f0;
}

.preview-layout aside .active {
    background: #111827;
}

.preview-main {
    min-width: 0;
}

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

.metric-row div {
    padding: 18px;
    border: 1px solid #e5edf7;
    border-radius: 18px;
    background: #fff;
}

.metric-row small {
    display: block;
    color: #94a3b8;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.metric-row strong {
    display: block;
    margin-top: 8px;
    font-size: 1.7rem;
}

.table-preview {
    display: grid;
    grid-template-columns: 1fr 0.7fr 0.9fr 0.55fr;
    gap: 12px;
    margin-top: 18px;
}

.table-preview span {
    height: 18px;
    border-radius: 999px;
    background: #edf2f8;
}

.table-preview span:nth-child(4n + 1) {
    background: var(--brand-border);
}

.floating-note {
    position: absolute;
    z-index: 3;
    width: 210px;
    padding: 16px;
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(12px);
}

.floating-note strong {
    display: block;
    color: var(--primary-dark);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.floating-note span {
    display: block;
    margin-top: 6px;
    color: #475569;
    font-size: 0.9rem;
}

.note-a {
    top: 62px;
    right: -20px;
}

.note-b {
    left: -26px;
    bottom: 78px;
}

.logo-strip {
    padding: 28px 0;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
    background: #fff;
}

.strip-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 22px 34px;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.strip-inner strong {
    color: #334155;
}

.showcase-section {
    padding: 58px 0 64px;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 16%, rgba(var(--brand-rgb), 0.18), transparent 32%),
        linear-gradient(145deg, #05070d, #111827);
    color: #fff;
}

.showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.66fr) minmax(640px, 1.34fr);
    gap: 54px;
    align-items: center;
}

.showcase-copy h2 {
    margin: 16px 0 16px;
    max-width: 580px;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.showcase-copy h2 {
    color: #fff;
}

.showcase-copy p {
    margin: 0;
    max-width: 560px;
    color: #cbd5e1;
    font-size: 1.04rem;
}

.showcase-3d {
    position: relative;
    perspective: 1500px;
}

.showcase-3d::before {
    content: "";
    position: absolute;
    top: calc(-58px - 16px);
    right: -18%;
    bottom: calc(-64px - 16px);
    left: -6%;
    z-index: 0;
    background-image:
        linear-gradient(rgba(var(--brand-hover-rgb), 0.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--brand-hover-rgb), 0.28) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.9;
    mask-image:
        linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%),
        linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
    -webkit-mask-image:
        linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%),
        linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
    pointer-events: none;
}

.showcase-screen {
    width: 108%;
    margin: 0 auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: 0 40px 90px rgba(15, 23, 42, 0.18);
    overflow: visible;
    transform: rotateY(-12deg) rotateX(7deg) rotateZ(-1deg);
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.showcase-screen {
    position: relative;
    z-index: 2;
}

.showcase-3d:hover .showcase-screen {
    transform: rotateY(-5deg) rotateX(3deg) rotateZ(0deg) translateY(-6px);
    box-shadow: 0 52px 110px rgba(15, 23, 42, 0.23);
}

.showcase-screen img {
    display: block;
    width: 100%;
    height: auto;
}

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

.section-heading h2,
.workflow-copy h2,
.feature-panel h2,
.testimonial-grid h2,
.contact-info h2 {
    margin: 16px 0 14px;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.section-heading p,
.workflow-copy p,
.feature-panel p,
.testimonial-grid p,
.contact-info p {
    margin: 0;
    color: #64748b;
    font-size: 1.04rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 46px;
}

.service-card {
    min-height: 250px;
    padding: 28px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(var(--brand-rgb), 0.28);
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.08);
}

.reveal-on-scroll,
.reveal-workflow-step {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.72s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.25s ease,
        border-color 0.25s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible,
.reveal-workflow-step.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-step {
    transition:
        opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.72s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.28s ease,
        padding-left 0.28s ease;
}

.timeline-step.is-current {
    padding-left: 8px;
    background: linear-gradient(90deg, rgba(var(--brand-rgb), 0.08), transparent 72%);
}

.timeline-step.is-current span {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 26px rgba(var(--brand-rgb), 0.18);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll,
    .reveal-workflow-step,
    .timeline-step {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.service-icon-tile {
    width: 58px;
    height: 58px;
    display: inline-grid;
    place-items: center;
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.service-icon-tile svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-orange {
    color: var(--brand);
    background: linear-gradient(145deg, var(--brand-soft), var(--brand-soft));
}

.icon-blue {
    color: var(--brand-link);
    background: linear-gradient(145deg, #eff6ff, #dbeafe);
}

.icon-emerald {
    color: var(--brand-success);
    background: linear-gradient(145deg, #ecfdf5, #d1fae5);
}

.icon-violet {
    color: #7c3aed;
    background: linear-gradient(145deg, #f5f3ff, #ede9fe);
}

.icon-slate {
    color: #475569;
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
}

.icon-rose {
    color: #e11d48;
    background: linear-gradient(145deg, #fff1f2, #ffe4e6);
}

.service-card h3 {
    margin: 24px 0 10px;
    font-size: 1.2rem;
    letter-spacing: -0.025em;
}

.service-card p {
    margin: 0;
    color: #64748b;
}

.stats-section {
    padding: 72px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 34px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.05);
}

.stat-item {
    padding: 24px 20px;
    text-align: center;
    border-radius: 24px;
    background: #f8fafc;
}

.stat-item h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.stat-item p {
    margin: 10px 0 0;
    color: #64748b;
    font-weight: 600;
}

.workflow-grid,
.feature-grid,
.testimonial-grid,
.contact-flex {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    gap: 42px;
    align-items: stretch;
}

.workflow-copy {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 560px;
    padding: 20px 0;
}

.workflow-copy .section-kicker {
    margin-bottom: 12px;
}

.workflow-copy h2 {
    margin-top: 6px;
    margin-bottom: 14px;
}

.workflow-copy p {
    max-width: 520px;
}

.workflow-copy .btn {
    margin-top: 20px;
}

.timeline-card {
    padding: 30px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 32px;
    background: #fff;
    box-shadow: var(--shadow);
}

.timeline-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}

.timeline-step:last-child {
    border-bottom: 0;
}

.timeline-step span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #f1f5f9;
    color: #64748b;
    font-weight: 800;
}

.timeline-step.active span {
    background: var(--primary);
    color: #fff;
}

.timeline-step strong {
    display: block;
    color: #0f172a;
}

.timeline-step p {
    margin: 5px 0 0;
    color: #64748b;
}

.feature-section {
    padding: 82px 0;
}

.feature-grid {
    grid-template-columns: 1fr;
    gap: 22px;
}

.feature-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
    gap: 42px;
    align-items: center;
    padding: 38px;
    border-radius: 32px;
}

.feature-panel > span,
.feature-panel > h2,
.feature-panel > p {
    grid-column: 1;
}

.feature-panel h2 {
    max-width: 780px;
    font-size: clamp(2rem, 3.55vw, 2.85rem);
}

.feature-panel p {
    max-width: 760px;
}

.dark-panel {
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(var(--brand-rgb), 0.18), transparent 34%),
        linear-gradient(145deg, #111827, #1e293b);
}

.dark-panel h2 {
    color: #fff;
}

.dark-panel p {
    color: #cbd5e1;
}

.dark-panel > span {
    color: #fdba74;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.mini-ledger {
    display: grid;
    grid-column: 2;
    grid-row: 1 / span 3;
    gap: 0;
    margin-top: 0;
    padding: 12px 22px;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.mini-ledger span {
    display: block;
    color: #94a3b8;
    font-weight: 700;
}

.mini-ledger strong {
    display: block;
    margin: 6px 0 20px;
    color: #fff;
    font-size: 1.65rem;
    letter-spacing: -0.04em;
}

.mini-ledger strong:last-child {
    margin-bottom: 0;
}

.mini-ledger .danger {
    color: #fb7185;
}

.mini-ledger .violet {
    color: #c4b5fd;
}

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

.feature-list article {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    padding: 26px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #fff;
    min-height: 210px;
}

.feature-card-icon {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
}

.feature-card-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-list strong {
    display: block;
    font-size: 1.12rem;
}

.feature-list p {
    margin: 0;
    color: #64748b;
}

.quote-card {
    position: relative;

    padding: 34px;
    border: 3px dashed #cbd5e1;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.07);
}

.quote-slider-window {
    position: relative;
    min-height: 260px;
    overflow: hidden;
}

.quote-card .quote-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    color: #172033;
    font-size: var(--quote-text-size);
    font-style: italic;
    line-height: 1.02;
    letter-spacing: -0.065em;
    max-width: 980px;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.quote-card .quote-slide.is-active {
    transform: translate3d(0, 0, 0);
}

.quote-card .quote-slide.enter-from-right {
    transform: translate3d(112%, 0, 0);
}

.quote-card .quote-slide.enter-from-left {
    transform: translate3d(-112%, 0, 0);
}

.quote-card .quote-slide.exit-to-left {
    transform: translate3d(-112%, 0, 0);
}

.quote-card .quote-slide.exit-to-right {
    transform: translate3d(112%, 0, 0);
}

.quote-indicators {
    position: absolute;
    left: 34px;
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.quote-indicators button {
    width: 58px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: width 0.22s ease, background 0.22s ease, opacity 0.22s ease;
}

.quote-indicators button:hover {
    opacity: 0.78;
}

.quote-indicators button.is-active {
    width: 76px;
    background: linear-gradient(90deg, var(--brand-hover), var(--brand));
}

.quote-controls {
    position: absolute;
    right: 30px;
    bottom: -30px;
    display: flex;
    gap: 12px;
}

.quote-controls button {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--brand-border);
    border-radius: 14px;
    background: linear-gradient(145deg, var(--brand-hover), var(--brand));
    color: #fff;
    box-shadow: 0 16px 34px rgba(var(--brand-rgb), 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quote-controls button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(var(--brand-rgb), 0.28);
}

.quote-controls svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 46px;
}

.price-card {
    padding: 30px;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.04);
}

.price-card.featured {
    border-color: rgba(var(--brand-rgb), 0.28);
    box-shadow: 0 28px 54px rgba(var(--brand-rgb), 0.12);
}

.price-card h3 {
    margin: 0;
    font-size: 1.35rem;
}

.price-card p {
    min-height: 72px;
    color: #64748b;
}

.price-card > strong {
    display: block;
    margin: 20px 0;
    color: #0f172a;
    font-size: 2.1rem;
    letter-spacing: -0.05em;
}

.price-card > strong span {
    color: #94a3b8;
    font-size: 1rem;
    letter-spacing: 0;
}

.price-card .price-note {
    min-height: 0;
    margin: -10px 0 18px;
    color: var(--brand);
    font-size: 0.84rem;
    font-weight: 700;
}

.price-card ul {
    display: grid;
    gap: 12px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
    color: #475569;
}

.price-card li::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 9px;
    border-radius: 999px;
    background: var(--primary);
}

.contact-flex {
    align-items: stretch;
    padding: 42px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 34px;
    background: #fff;
    box-shadow: var(--shadow);
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.contact-list span {
    display: block;
    color: #64748b;
}

.contact-list strong {
    display: block;
    color: #0f172a;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form h3 {
    margin: 0 0 4px;
    font-size: 1.35rem;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #dbe3ef;
    border-radius: 18px;
    background: #fff;
    color: #111827;
    font: inherit;
    font-weight: 500;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-hover);
    box-shadow: 0 0 0 4px rgba(var(--brand-hover-rgb), 0.14);
}

.form-feedback {
    min-height: 22px;
    color: var(--brand-success);
    font-size: 0.9rem;
    font-weight: 700;
}

.site-footer {
    padding: 56px 0 42px;
    color: #94a3b8;
    background: #0b1220;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

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

.footer-logo strong {
    color: #fff;
}

.site-footer p {
    max-width: 330px;
}

.site-footer h4 {
    margin: 0 0 14px;
    color: #fff;
}

.site-footer a {
    display: block;
    margin: 9px 0;
    color: #94a3b8;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.copyright {
    font-size: 0.9rem;
}

.toast-stack {
    position: fixed;
    top: 92px;
    right: 24px;
    z-index: 300;
    display: grid;
    gap: 10px;
    width: min(380px, calc(100vw - 40px));
}

.toast {
    padding: 14px 16px;
    border: 1px solid #bbf7d0;
    border-radius: 18px;
    background: #f0fdf4;
    color: #166534;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
    font-weight: 700;
}

.toast-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

@media (max-width: 1024px) {
    .hero-grid,
    .showcase-grid,
    .workflow-grid,
    .feature-grid,
    .testimonial-grid,
    .contact-flex {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 0;
    }

    .services-grid,
    .feature-list,
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .showcase-screen {
        transform: rotateY(-6deg) rotateX(4deg);
    }
}

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

    .nav-bar {
        min-height: 68px;
    }

    .mobile-menu-button {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: 68px;
        left: 14px;
        right: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border: 1px solid #e2e8f0;
        border-radius: 22px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 14px;
    }

    section {
        padding: 64px 0;
    }

    .hero-section {
        min-height: auto;
        padding-top: 54px;
    }

    .hero-copy h1 {
        letter-spacing: -0.055em;
    }

    .hero-proof,
    .services-grid,
    .feature-list,
    .pricing-grid,
    .stats-container,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .feature-panel {
        grid-template-columns: 1fr;
    }

    .mini-ledger {
        grid-column: 1;
        grid-row: auto;
        grid-template-columns: 1fr;
        margin-top: 24px;
        padding: 24px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .product-window {
        border-radius: 24px;
    }

    .finance-hero-card {
        flex-direction: column;
        margin: 18px;
        padding: 22px;
    }

    .finance-hero-card svg {
        width: 100%;
    }

    .preview-layout {
        grid-template-columns: 1fr;
        padding: 0 18px 22px;
    }

    .preview-layout aside {
        display: none;
    }

    .metric-row {
        grid-template-columns: 1fr;
    }

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

    .showcase-screen {
        min-height: 0;
        transform: none;
    }

    .showcase-3d:hover .showcase-screen {
        transform: translateY(-4px);
    }

    .floating-note {
        position: static;
        width: auto;
        margin-top: 14px;
    }

    .contact-flex,
    .feature-panel,
    .timeline-card {
        padding: 24px;
    }
}
