:root {
    --bg: #07111f;
    --bg-soft: #0b1b31;
    --bg-card: rgba(10, 24, 44, 0.78);
    --bg-card-strong: #0e203a;
    --line: rgba(160, 187, 255, 0.14);
    --text: #f3f7ff;
    --muted: #98abc8;
    --primary: #4da2ff;
    --primary-strong: #1570ef;
    --accent: #67e8f9;
    --success: #3ddc97;
    --danger: #fb7185;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Manrope, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(77, 162, 255, 0.2), transparent 30%),
        radial-gradient(circle at bottom right, rgba(103, 232, 249, 0.12), transparent 28%),
        linear-gradient(180deg, #050b15 0%, var(--bg) 42%, #081324 100%);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

button,
input {
    font: inherit;
}

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

.section {
    position: relative;
    padding: 110px 0;
    z-index: 1;
}

.section-compact {
    position: relative;
    padding: 56px 0 20px;
    z-index: 1;
}

.section-contrast {
    background: linear-gradient(180deg, rgba(14, 32, 58, 0.7), rgba(8, 19, 36, 0.4));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 44px;
}

.section-heading h2,
.hero-copy h1,
.split-copy h2,
.video-copy h2,
.cta-copy h2,
.faq-intro h2 {
    margin: 0;
    font-family: Sora, sans-serif;
    letter-spacing: -0.04em;
    line-height: 1.06;
}

.section-heading h2,
.split-copy h2,
.video-copy h2,
.cta-copy h2,
.faq-intro h2 {
    font-size: clamp(2rem, 4.6vw, 3.5rem);
}

.section-heading p,
.hero-lead,
.split-copy p,
.video-copy p,
.cta-copy p,
.faq-intro p,
.showcase-copy p,
.plan-card p,
.testimonial-card p,
.info-card p,
.feature-card p {
    color: var(--muted);
    line-height: 1.7;
}

.eyebrow,
.card-tag,
.featured-tag,
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(121, 169, 255, 0.24);
    background: rgba(77, 162, 255, 0.09);
    color: #b5d5ff;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
    animation: drift 14s ease-in-out infinite alternate;
}

.bg-orb-a {
    width: 420px;
    height: 420px;
    left: -120px;
    top: 70px;
    background: rgba(21, 112, 239, 0.28);
}

.bg-orb-b {
    width: 380px;
    height: 380px;
    right: -90px;
    top: 460px;
    background: rgba(103, 232, 249, 0.14);
    animation-duration: 18s;
}

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.7), transparent 78%);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(5, 11, 21, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 20px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-text strong {
    font-family: Sora, sans-serif;
    font-size: 0.95rem;
}

.brand-text span {
    color: var(--muted);
    font-size: 0.83rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    font-weight: 700;
    color: #dbeafe;
}

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 18px;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.nav-cta,
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
    color: white;
    box-shadow: 0 18px 40px rgba(21, 112, 239, 0.28);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    color: #e6f0ff;
}

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

.hamb {
    display: none;
    width: 50px;
    height: 50px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: white;
    padding: 0;
    cursor: pointer;
}

.hamb span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: white;
    transition: 0.25s ease;
}

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

.hamb.is-open span:nth-child(2) {
    opacity: 0;
}

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

.hero {
    min-height: min(820px, calc(100vh - 82px));
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.88;
}

.hero-grid,
.split-section,
.showcase-grid,
.faq-layout,
.footer-grid {
    display: grid;
    gap: 36px;
}

.hero-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 980px;
}

.hero-copy h1 {
    font-size: clamp(2.25rem, 3.7vw, 4rem);
    margin: 18px 0 22px;
    max-width: 980px;
}

.hero-lead {
    max-width: 760px;
    font-size: 1.08rem;
}

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

.hero-proof,
.metrics-grid,
.pain-grid,
.feature-grid,
.niche-grid,
.testimonial-grid,
.brands-grid,
.plans-grid {
    display: grid;
    gap: 20px;
}

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

.proof-item,
.info-card,
.feature-card,
.testimonial-card,
.plan-card,
.brand-item,
.video-shell,
.cta-shell,
.faq-list details,
.transformation-card,
.igor-highlight,
.pain-checklist,
.floating-card,
.shot-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.proof-item,
.info-card,
.feature-card,
.testimonial-card,
.plan-card,
.transformation-card,
.video-shell,
.cta-shell,
.igor-highlight,
.pain-checklist,
.shot-card,
.floating-card {
    border-radius: var(--radius);
}

.proof-item {
    padding: 20px;
}

.proof-item strong,
.benefit-item strong,
.flow-step strong,
.feature-card h3,
.info-card h3,
.plan-card h3 {
    display: block;
    margin-bottom: 8px;
    font-family: Sora, sans-serif;
}

.hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: stretch;
    gap: 20px;
}

.floating-card {
    padding: 24px;
}

.card-main {
    background: linear-gradient(180deg, rgba(10, 24, 44, 0.94), rgba(8, 18, 34, 0.86));
    min-height: 100%;
}

.card-main h2 {
    margin: 22px 0 18px;
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    line-height: 1.25;
}

.card-top {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pill.success {
    color: #b8ffe2;
    border-color: rgba(61, 220, 151, 0.22);
    background: rgba(61, 220, 151, 0.08);
}

.pill.neutral {
    color: #d7e9ff;
}

.signal-list,
.plan-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.signal-list li,
.plan-card li {
    position: relative;
    padding-left: 26px;
    color: #d9e7fb;
    line-height: 1.7;
}

.signal-list li + li,
.plan-card li + li {
    margin-top: 10px;
}

.plan-card ul {
    margin-bottom: 24px;
}

.signal-list li::before,
.plan-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
}

.plan-card li.disabled::before {
    background: var(--danger);
}

.stat-card {
    width: 100%;
    min-height: 0;
}

.stat-card span {
    color: #9dc1ff;
    font-size: 0.88rem;
}

.stat-card strong {
    display: block;
    margin: 10px 0;
    font-size: 1.35rem;
    font-family: Sora, sans-serif;
}

.stat-card p {
    margin: 0;
    color: var(--muted);
}

.hero-sidecards {
    display: grid;
    gap: 20px;
    align-content: start;
}

.metrics-bar {
    position: relative;
    z-index: 1;
    margin-top: -42px;
}

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

.metrics-grid > div {
    padding: 26px 24px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(8, 18, 34, 0.88);
}

.metrics-grid strong {
    display: block;
    margin-bottom: 8px;
    font-family: Sora, sans-serif;
}

.metrics-grid span {
    color: var(--muted);
    line-height: 1.6;
}

.igor-highlight {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    padding: 32px;
    background:
        linear-gradient(135deg, rgba(77, 162, 255, 0.22), rgba(10, 24, 44, 0.92)),
        var(--bg-card);
}

.igor-highlight .avatar {
    width: 88px;
    height: 88px;
    margin: 0;
}

.igor-highlight blockquote {
    margin: 16px 0 14px;
    max-width: 820px;
    font-family: Sora, sans-serif;
    font-size: clamp(1.55rem, 3vw, 2.7rem);
    line-height: 1.15;
}

.igor-highlight strong {
    display: inline-block;
    margin-right: 10px;
    font-family: Sora, sans-serif;
}

.igor-highlight div > span:last-child {
    color: var(--muted);
}

.pain-checklist {
    padding: 32px;
}

.pain-checklist ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pain-checklist li {
    position: relative;
    padding-left: 28px;
    color: #d9e7fb;
    line-height: 1.65;
}

.pain-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--danger);
    box-shadow: 0 0 0 6px rgba(251, 113, 133, 0.09);
}

.pain-checklist p {
    margin: 26px 0 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: #dbeafe;
    font-weight: 800;
    line-height: 1.7;
}

.pain-grid,
.feature-grid,
.niche-grid,
.plans-grid {
    grid-template-columns: repeat(3, 1fr);
}

.niche-grid span {
    min-height: 92px;
    display: flex;
    align-items: center;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(10, 24, 44, 0.72);
    color: #dbeafe;
    font-family: Sora, sans-serif;
    font-weight: 800;
}

.info-card,
.feature-card,
.plan-card,
.testimonial-card {
    padding: 28px;
}

.feature-card small,
.card-tag {
    margin-bottom: 18px;
}

.ai-app-section {
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(238, 248, 255, 0.94) 48%, rgba(210, 233, 255, 0.88) 100%),
        radial-gradient(circle at 82% 22%, rgba(77, 162, 255, 0.18), transparent 34%);
    border-top: 1px solid rgba(125, 184, 240, 0.28);
    border-bottom: 1px solid rgba(125, 184, 240, 0.28);
    color: #102033;
}

.ai-app-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    align-items: center;
    gap: 54px;
}

.ai-app-copy h2 {
    margin: 18px 0 18px;
    font-family: Sora, sans-serif;
    font-size: clamp(2rem, 4.6vw, 3.7rem);
    letter-spacing: -0.04em;
    line-height: 1.06;
    color: #0b1b31;
}

.ai-app-copy p {
    max-width: 670px;
    color: #49627d;
    font-size: 1.05rem;
    line-height: 1.75;
}

.ai-eyebrow {
    border-color: rgba(77, 162, 255, 0.28);
    background: rgba(77, 162, 255, 0.1);
    color: #1570ef;
}

.ai-benefits {
    display: grid;
    gap: 14px;
    margin: 30px 0 28px;
}

.ai-benefit {
    position: relative;
    padding: 18px 18px 18px 52px;
    border: 1px solid rgba(77, 162, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 45px rgba(45, 116, 190, 0.1);
}

.ai-benefit::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 24px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #67e8f9, #4da2ff);
    box-shadow: 0 0 0 7px rgba(77, 162, 255, 0.1);
}

.ai-benefit strong {
    display: block;
    margin-bottom: 6px;
    font-family: Sora, sans-serif;
    color: #102033;
}

.ai-benefit span {
    color: #5f748c;
    line-height: 1.65;
}

.ai-cta {
    border-radius: 8px;
}

.ai-app-visual {
    position: relative;
    min-height: 620px;
    display: grid;
    place-items: center;
}

.ai-app-visual::before {
    content: "";
    position: absolute;
    inset: 54px 30px 70px;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(77, 162, 255, 0.2), rgba(255, 255, 255, 0));
    border: 1px solid rgba(77, 162, 255, 0.18);
}

.ai-phone-glow {
    position: absolute;
    width: min(420px, 78%);
    height: 76%;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(212, 238, 255, 0.85), rgba(255, 255, 255, 0.2));
    filter: blur(8px);
}

.ai-app-visual img {
    position: relative;
    z-index: 2;
    width: min(300px, 72vw);
    border-radius: 38px;
    box-shadow: 0 34px 70px rgba(29, 78, 132, 0.22);
}

.ai-chat-card {
    position: absolute;
    z-index: 3;
    width: min(250px, 45%);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(77, 162, 255, 0.22);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 50px rgba(29, 78, 132, 0.16);
}

.ai-chat-card strong {
    display: block;
    margin-bottom: 6px;
    font-family: Sora, sans-serif;
    color: #0b1b31;
}

.ai-chat-card span {
    color: #5f748c;
    line-height: 1.45;
}

.ai-chat-card-a {
    top: 116px;
    left: 0;
}

.ai-chat-card-b {
    right: 0;
    bottom: 118px;
}

.operation-section {
    background: linear-gradient(180deg, rgba(14, 32, 58, 0.84), rgba(8, 19, 36, 0.62));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--text);
}

.operation-section .section-heading h2 {
    color: var(--text);
}

.operation-section .section-heading p {
    color: var(--muted);
}

.operation-stack {
    display: grid;
    gap: 34px;
}

.operation-panel {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: 34px;
    min-height: 520px;
    padding: 34px;
    border: 1px solid rgba(160, 187, 255, 0.16);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(10, 24, 44, 0.94), rgba(8, 18, 34, 0.78));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.operation-panel:nth-child(even) {
    direction: rtl;
}

.operation-panel:nth-child(even) > * {
    direction: ltr;
}

.operation-panel-light {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(221, 240, 255, 0.94));
    border-color: rgba(77, 162, 255, 0.22);
    box-shadow: 0 24px 70px rgba(45, 116, 190, 0.16);
    color: #102033;
}

.panel-kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    margin-bottom: 18px;
    padding: 8px 12px;
    border: 1px solid rgba(77, 162, 255, 0.24);
    border-radius: 999px;
    background: rgba(77, 162, 255, 0.1);
    color: #b5d5ff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.operation-panel-light .panel-kicker {
    color: #1570ef;
}

.operation-copy h3 {
    margin: 0 0 14px;
    font-family: Sora, sans-serif;
    font-size: clamp(1.55rem, 2.8vw, 2.25rem);
    line-height: 1.14;
    color: var(--text);
}

.operation-panel-light .operation-copy h3 {
    color: #0b1b31;
}

.operation-copy p {
    margin: 0;
    max-width: 470px;
    color: var(--muted);
    line-height: 1.75;
}

.operation-panel-light .operation-copy p {
    color: #49627d;
}

.mini-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.mini-tags span {
    padding: 9px 12px;
    border: 1px solid rgba(121, 169, 255, 0.2);
    border-radius: 8px;
    background: rgba(77, 162, 255, 0.1);
    color: #dbeafe;
    font-weight: 800;
    font-size: 0.84rem;
}

.operation-panel-light .mini-tags span {
    border-color: rgba(77, 162, 255, 0.2);
    background: rgba(77, 162, 255, 0.09);
    color: #1570ef;
}

.operation-visual {
    position: relative;
    min-height: 470px;
    display: grid;
    place-items: center;
}

.phone-pair::before {
    content: "";
    position: absolute;
    inset: 36px 10% 32px;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(77, 162, 255, 0.18), rgba(103, 232, 249, 0.05));
    border: 1px solid rgba(77, 162, 255, 0.16);
}

.operation-panel-light .phone-pair::before {
    background: linear-gradient(180deg, rgba(77, 162, 255, 0.16), rgba(255, 255, 255, 0));
}

.phone-pair img {
    position: absolute;
    width: min(230px, 44%);
    max-height: 430px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.phone-pair img:first-child {
    left: 14%;
    top: 18px;
    z-index: 2;
    transform: rotate(-5deg);
}

.phone-pair img:last-child {
    right: 12%;
    bottom: 18px;
    z-index: 3;
    transform: rotate(5deg);
}

.split-section,
.faq-layout,
.showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
}

.benefit-list {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.benefit-item,
.flow-step {
    display: flex;
    gap: 16px;
}

.benefit-item span,
.flow-step p {
    color: var(--muted);
}

.transformation-card {
    padding: 30px;
    display: grid;
    gap: 22px;
}

.flow-step span {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #02101e;
    font-weight: 800;
}

.showcase-copy {
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
}

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

.shot-card {
    padding: 18px;
}

.shot-card img {
    width: 100%;
    border-radius: 22px;
}

.shot-card figcaption {
    margin-top: 14px;
    color: #dbeafe;
    font-weight: 700;
}

.video-shell,
.cta-shell {
    padding: 34px;
}

.video-wrapper {
    margin-top: 28px;
    overflow: hidden;
    border-radius: 24px;
}

.video-wrapper video {
    width: 100%;
    display: block;
}

.pricing-section .plans-grid {
    grid-template-columns: repeat(4, 1fr);
}

.pricing-period-selector {
    width: min(100%, 520px);
    margin: 0 auto 34px;
    padding: 6px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
}

.period-option {
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    color: #d9e7fb;
    background: transparent;
    font: 800 0.9rem Inter, sans-serif;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.period-option:hover,
.period-option:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.period-option.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 14px 28px rgba(20, 184, 166, 0.2);
}

.pricing-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 0 38px;
    font-weight: 800;
}

.pricing-switcher strong {
    color: #bde9ff;
}

.switch {
    position: relative;
    width: 62px;
    height: 34px;
}

.switch input {
    width: 0;
    height: 0;
    opacity: 0;
}

.slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
    cursor: pointer;
}

.slider::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    transition: transform 0.25s ease;
}

.switch input:checked + .slider {
    background: rgba(77, 162, 255, 0.28);
}

.switch input:checked + .slider::before {
    transform: translateX(28px);
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card.featured {
    transform: translateY(-8px);
    border-color: rgba(77, 162, 255, 0.35);
    background: linear-gradient(180deg, rgba(77, 162, 255, 0.18), rgba(10, 24, 44, 0.9));
}

.featured-tag {
    margin-bottom: 18px;
}

.price {
    margin: 18px 0 12px;
    font-size: 2rem;
    font-weight: 800;
    font-family: Sora, sans-serif;
}

.plan-condition {
    display: block;
    min-height: 44px;
    margin: -2px 0 14px;
    color: #9fe8d1;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.45;
}

.plan-cta {
    width: 100%;
    margin-top: auto;
}

.period,
.pricing-note,
.testimonial-card span,
.footer-bottom small {
    color: var(--muted);
}

.pricing-note {
    margin-top: 20px;
    text-align: center;
}

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

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 18px;
    border: 2px solid rgba(255, 255, 255, 0.12);
}

.testimonial-card strong {
    display: block;
    margin-top: 18px;
}

.brands-grid {
    grid-template-columns: repeat(6, 1fr);
    align-items: stretch;
}

.brand-item {
    min-height: 108px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    padding: 16px;
}

.brand-item img {
    max-height: 56px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.75;
    transition: 0.25s ease;
}

.brand-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

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

.faq-list details {
    padding: 22px 24px;
}

.faq-list summary {
    cursor: pointer;
    list-style: none;
    font-family: Sora, sans-serif;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list p {
    margin-bottom: 0;
    color: var(--muted);
}

.store-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer {
    padding: 0 0 36px;
}

.footer-grid {
    grid-template-columns: 1.2fr 1fr auto;
    padding: 34px 0;
    border-top: 1px solid var(--line);
}

.footer-grid p {
    color: var(--muted);
}

.footer-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-bottom {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-info p {
    margin: 0 0 8px;
}

.footer-info a,
.footer-links a {
    color: #dbeafe;
    font-weight: 800;
}

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

.floating-ai-chat {
    position: fixed;
    right: 24px;
    bottom: 26px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: min(310px, calc(100vw - 32px));
    min-height: 64px;
    padding: 11px 16px 11px 12px;
    border: 1px solid rgba(103, 232, 249, 0.42);
    border-radius: 8px;
    background: linear-gradient(135deg, #14b8a6 0%, #1570ef 100%);
    color: white;
    box-shadow: 0 20px 52px rgba(20, 184, 166, 0.26), 0 10px 32px rgba(21, 112, 239, 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(24px, 12px, 0) scale(0.94);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease;
}

.floating-ai-chat.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
    animation: chatPulse 2.4s ease-in-out 0.4s infinite;
}

.floating-ai-chat:hover {
    transform: translate3d(0, -3px, 0) scale(1.02);
    box-shadow: 0 24px 62px rgba(20, 184, 166, 0.34), 0 12px 36px rgba(21, 112, 239, 0.28);
}

.floating-ai-chat__icon {
    position: relative;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.floating-ai-chat__icon::before {
    content: "";
    width: 22px;
    height: 17px;
    border: 2px solid white;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.floating-ai-chat__icon::after {
    content: "";
    position: absolute;
    left: 15px;
    bottom: 10px;
    width: 8px;
    height: 8px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    background: transparent;
}

.floating-ai-chat__icon span,
.floating-ai-chat__icon span::before,
.floating-ai-chat__icon span::after {
    position: absolute;
    top: 20px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: white;
}

.floating-ai-chat__icon span {
    left: 19px;
}

.floating-ai-chat__icon span::before,
.floating-ai-chat__icon span::after {
    content: "";
    top: 0;
}

.floating-ai-chat__icon span::before {
    left: -7px;
}

.floating-ai-chat__icon span::after {
    left: 7px;
}

.floating-ai-chat__copy {
    display: grid;
    gap: 2px;
    line-height: 1.16;
    text-align: left;
}

.floating-ai-chat__copy strong {
    font-family: Sora, sans-serif;
    font-size: 0.95rem;
}

.floating-ai-chat__copy span {
    font-size: 0.82rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.84);
}

@keyframes drift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(40px, -30px, 0) scale(1.08);
    }
}

@keyframes chatPulse {
    0%,
    100% {
        box-shadow: 0 20px 52px rgba(20, 184, 166, 0.26), 0 10px 32px rgba(21, 112, 239, 0.24);
    }
    50% {
        box-shadow: 0 20px 52px rgba(20, 184, 166, 0.36), 0 0 0 8px rgba(103, 232, 249, 0.12);
    }
}

@media (max-width: 1120px) {
    .hero-grid,
    .ai-app-grid,
    .operation-panel,
    .split-section,
    .showcase-grid,
    .faq-layout,
    .footer-grid,
    .pricing-section .plans-grid,
    .testimonial-grid,
    .brands-grid,
    .metrics-grid,
    .pain-grid,
    .niche-grid,
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-panel {
        grid-template-columns: minmax(0, 1fr) 250px;
    }

    .operation-visual {
        min-height: 430px;
    }
}

@media (max-width: 820px) {
    .section {
        padding: 88px 0;
    }

    .hamb {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 82px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        border-radius: 24px;
        background: rgba(5, 11, 21, 0.95);
        border: 1px solid var(--line);
    }

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

    .hero-grid,
    .ai-app-grid,
    .operation-panel,
    .hero-proof,
    .pain-checklist ul,
    .split-section,
    .showcase-grid,
    .faq-layout,
    .footer-grid,
    .pricing-section .plans-grid,
    .testimonial-grid,
    .brands-grid,
    .metrics-grid,
    .pain-grid,
    .niche-grid,
    .feature-grid,
    .shot-grid {
        grid-template-columns: 1fr;
    }

    .operation-panel,
    .operation-panel:nth-child(even) {
        direction: ltr;
    }

    .operation-visual {
        min-height: 440px;
        order: -1;
    }

    .phone-pair img {
        width: min(210px, 48%);
    }

    .hero-panel {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ai-app-grid {
        gap: 34px;
    }

    .pricing-period-selector {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .ai-app-visual {
        min-height: 560px;
    }

    .ai-chat-card {
        width: min(240px, 52%);
    }

    .hero-sidecards {
        grid-template-columns: 1fr;
    }

    .floating-card,
    .card-main,
    .stat-card {
        width: auto;
    }

    .plan-card.featured {
        transform: none;
    }

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

    .btn,
    .nav-cta {
        width: 100%;
    }

    .footer-action {
        justify-content: flex-start;
    }
}

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

    .floating-ai-chat {
        right: 14px;
        bottom: 16px;
        max-width: calc(100vw - 28px);
        padding-right: 14px;
    }

    .hero-copy h1 {
        font-size: 2.15rem;
    }

    .section-compact {
        padding: 40px 0 0;
    }

    .igor-highlight {
        grid-template-columns: 1fr;
    }

    .igor-highlight .avatar {
        width: 74px;
        height: 74px;
    }

    .section-heading h2,
    .ai-app-copy h2,
    .split-copy h2,
    .video-copy h2,
    .cta-copy h2,
    .faq-intro h2 {
        font-size: 1.9rem;
    }

    .proof-item,
    .info-card,
    .feature-card,
    .testimonial-card,
    .plan-card,
    .operation-panel,
    .transformation-card,
    .video-shell,
    .cta-shell,
    .faq-list details,
    .showcase-copy,
    .shot-card {
        padding: 22px;
    }

    .operation-visual {
        min-height: 360px;
    }

    .phone-pair::before {
        inset: 28px 4% 28px;
    }

    .phone-pair img {
        width: min(178px, 50%);
        max-height: 330px;
        border-radius: 22px;
    }

    .phone-pair img:first-child {
        left: 4%;
    }

    .phone-pair img:last-child {
        right: 4%;
    }
}

/* BM refresh: visual mais claro, direto e com CTAs de aplicativo em destaque. */
:root {
    --bg: #ffffff;
    --bg-soft: #f3f7fb;
    --bg-card: #ffffff;
    --bg-card-strong: #0b1b31;
    --line: rgba(11, 27, 49, 0.12);
    --text: #0b1b31;
    --muted: #52657a;
    --primary: #0b1b31;
    --primary-strong: #123b73;
    --accent: #1570ef;
    --shadow: 0 22px 60px rgba(11, 27, 49, 0.1);
    --radius: 8px;
}

body {
    color: var(--text);
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 46%, #ffffff 100%);
}

.bg-orb,
.bg-grid {
    display: none;
}

.navbar {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(11, 27, 49, 0.1);
}

.brand-text span,
.nav-links a,
.section-heading p,
.hero-lead,
.split-copy p,
.video-copy p,
.cta-copy p,
.faq-intro p,
.showcase-copy p,
.plan-card p,
.testimonial-card p,
.info-card p,
.feature-card p {
    color: var(--muted);
}

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

.nav-cta,
.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(11, 27, 49, 0.22);
}

.btn-secondary {
    background: #ffffff;
    border-color: rgba(11, 27, 49, 0.14);
    color: var(--primary);
}

.hero {
    min-height: auto;
    padding: 92px 0 80px;
    background:
        linear-gradient(135deg, rgba(11, 27, 49, 0.05), rgba(21, 112, 239, 0.08)),
        #ffffff;
}

.hero-canvas {
    opacity: 0.14;
}

.hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 440px);
    align-items: center;
}

.hero-copy h1 {
    max-width: 780px;
    color: var(--primary);
    font-size: clamp(2.6rem, 5vw, 5.1rem);
}

.hero-lead {
    max-width: 640px;
    font-size: 1.12rem;
}

.eyebrow,
.card-tag,
.featured-tag,
.pill {
    border-color: rgba(21, 112, 239, 0.18);
    background: rgba(21, 112, 239, 0.08);
    color: #123b73;
}

.hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-item,
.info-card,
.feature-card,
.testimonial-card,
.plan-card,
.brand-item,
.video-shell,
.cta-shell,
.faq-list details,
.transformation-card,
.igor-highlight,
.pain-checklist,
.floating-card,
.shot-card {
    background: #ffffff;
    border-color: rgba(11, 27, 49, 0.12);
    box-shadow: var(--shadow);
}

.proof-item span,
.metrics-grid span,
.benefit-item span,
.flow-step p,
.faq-list p,
.period,
.pricing-note,
.testimonial-card span,
.footer-bottom small {
    color: var(--muted);
}

.hero-download-card {
    display: grid;
    gap: 24px;
    padding: 28px;
    border: 1px solid rgba(11, 27, 49, 0.12);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(11, 27, 49, 0.14);
}

.download-card-copy h2 {
    margin: 14px 0 10px;
    font-family: Sora, sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.1;
    color: var(--primary);
}

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

.download-phone {
    position: relative;
    min-height: 300px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, #eff6ff, #ffffff 54%, #e8f1ff);
    border: 1px solid rgba(21, 112, 239, 0.12);
}

.download-phone img {
    position: absolute;
    width: min(170px, 44%);
    max-height: 285px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 22px 46px rgba(11, 27, 49, 0.2);
}

.download-phone img:first-child {
    left: 18%;
    transform: rotate(-5deg);
}

.download-phone img:last-child {
    right: 16%;
    transform: rotate(5deg);
}

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

.store-button,
.btn-store {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 0 18px;
    border-radius: 8px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 18px 34px rgba(11, 27, 49, 0.2);
}

.btn-store-outline {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 18px 34px rgba(11, 27, 49, 0.18);
}

.store-button img,
.btn-store img,
.btn-store-outline img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.store-button span {
    display: grid;
    gap: 1px;
    font-size: 0.78rem;
    line-height: 1.1;
}

.store-button strong {
    font-size: 0.96rem;
}

.metrics-bar {
    margin-top: 0;
    padding: 28px 0;
    background: var(--primary);
}

.metrics-grid > div {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    border-radius: 8px;
}

.metrics-grid strong,
.metrics-grid span {
    color: #ffffff;
}

.section-contrast,
.operation-section {
    background: #f3f7fb;
    border-color: rgba(11, 27, 49, 0.08);
    color: var(--text);
}

.operation-section .section-heading h2,
.operation-copy h3,
.plan-card h3,
.feature-card h3,
.info-card h3 {
    color: var(--primary);
}

.operation-panel,
.operation-panel-light {
    background: #ffffff;
    color: var(--text);
    border-color: rgba(11, 27, 49, 0.12);
}

.panel-kicker,
.operation-panel-light .panel-kicker,
.mini-tags span,
.operation-panel-light .mini-tags span {
    color: #123b73;
    background: rgba(21, 112, 239, 0.08);
    border-color: rgba(21, 112, 239, 0.16);
}

.operation-copy p,
.operation-panel-light .operation-copy p {
    color: var(--muted);
}

.pain-checklist li,
.signal-list li,
.plan-card li {
    color: var(--text);
}

.ai-app-section {
    background: #ffffff;
    color: var(--text);
}

.video-section,
.pricing-section,
.faq-section {
    background: #ffffff;
}

.plan-card.featured {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.plan-card.featured h3,
.plan-card.featured p,
.plan-card.featured li,
.plan-card.featured .period {
    color: #ffffff;
}

.plan-condition {
    color: #1570ef;
}

.plan-card.featured .plan-condition {
    color: #9fd0ff;
}

.cta-section {
    background: var(--primary);
}

.cta-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    background: #ffffff;
}

.cta-actions {
    justify-content: flex-end;
}

.footer {
    background: #ffffff;
}

.footer-info a,
.footer-links a {
    color: var(--primary);
}

.floating-ai-chat {
    background: var(--primary);
    border-color: rgba(255, 255, 255, 0.28);
}

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

    .hero-download-card {
        max-width: 640px;
    }
}

@media (max-width: 820px) {
    .nav-links {
        background: #ffffff;
    }

    .hamb {
        background: #ffffff;
        color: var(--primary);
    }

    .hamb span {
        background: var(--primary);
    }

    .hero {
        padding: 72px 0 64px;
    }

    .hero-proof,
    .store-buttons,
    .cta-shell {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        justify-content: stretch;
    }
}

@media (max-width: 560px) {
    .hero-copy h1 {
        font-size: 2.45rem;
    }

    .hero-download-card {
        padding: 20px;
    }

    .download-phone {
        min-height: 250px;
    }

    .download-phone img {
        width: min(145px, 48%);
        max-height: 235px;
    }

    .download-phone img:first-child {
        left: 8%;
    }

    .download-phone img:last-child {
        right: 8%;
    }
}

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

.resource-button {
    min-height: 116px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 20px;
    border: 1px solid rgba(11, 27, 49, 0.12);
    border-radius: 8px;
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 16px 34px rgba(11, 27, 49, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.resource-button:hover {
    transform: translateY(-3px);
    border-color: rgba(21, 112, 239, 0.34);
    box-shadow: 0 22px 42px rgba(11, 27, 49, 0.12);
}

.resource-button span {
    font-family: Sora, sans-serif;
    font-size: 1rem;
    font-weight: 800;
}

.resource-button small {
    color: var(--muted);
    font-weight: 700;
    line-height: 1.35;
}

.resource-page {
    min-height: 100vh;
}

.resource-nav {
    position: static;
    display: flex;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.resource-hero {
    padding-top: 120px;
    background:
        linear-gradient(135deg, rgba(11, 27, 49, 0.04), rgba(21, 112, 239, 0.08)),
        #ffffff;
}

.resource-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: 48px;
    align-items: center;
}

.resource-detail-copy h1 {
    max-width: 760px;
    margin: 18px 0 18px;
    font-family: Sora, sans-serif;
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    line-height: 1.02;
    color: var(--primary);
}

.resource-phone-card {
    min-height: 420px;
    display: grid;
    place-items: center;
    padding: 28px;
    border: 1px solid rgba(11, 27, 49, 0.12);
    border-radius: 8px;
    background: linear-gradient(135deg, #eff6ff, #ffffff 56%, #e8f1ff);
    box-shadow: 0 28px 70px rgba(11, 27, 49, 0.14);
    overflow: hidden;
}

.resource-phone-card img {
    max-width: min(280px, 80%);
    max-height: 520px;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 22px 46px rgba(11, 27, 49, 0.18);
}

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

@media (max-width: 1120px) {
    .resource-button-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .resource-button-grid,
    .resource-detail-grid,
    .resource-info-grid {
        grid-template-columns: 1fr;
    }

    .resource-nav {
        display: none;
    }

    .resource-hero {
        padding-top: 92px;
    }

    .resource-phone-card {
        min-height: 320px;
    }
}

@media (max-width: 560px) {
    .resource-button {
        min-height: 96px;
        padding: 18px;
    }

    .resource-detail-copy h1 {
        font-size: 2.35rem;
    }
}

/* BM Sistemas institucional */
.institutional-page {
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(239, 246, 255, 0.94) 42%, rgba(248, 250, 252, 0.98) 100%);
}

.institutional-page .hero {
    min-height: 760px;
    overflow: hidden;
    padding-top: 132px;
}

.institutional-page .hero::before {
    background:
        radial-gradient(circle at 75% 18%, rgba(20, 184, 166, 0.2), transparent 30%),
        radial-gradient(circle at 12% 25%, rgba(37, 99, 235, 0.16), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(224, 242, 254, 0.2));
    content: "";
    inset: 0;
    position: absolute;
    z-index: 0;
}

.institutional-page .hero-grid {
    position: relative;
    z-index: 1;
}

.institutional-hero-panel,
.institutional-statement,
.product-card,
.public-highlight,
.public-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

.institutional-hero-panel {
    border-radius: 8px;
    overflow: hidden;
    padding: 28px;
}

.institutional-device-stack {
    align-items: end;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 370px;
    padding: 14px 0 4px;
}

.device-shot {
    align-items: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.22);
    display: flex;
    justify-content: center;
    margin: 0;
    max-width: 180px;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

.device-shot img {
    aspect-ratio: 1 / 2;
    height: auto;
    object-fit: contain;
    width: 100%;
}

.device-shot-primary {
    justify-self: end;
    transform: translateY(18px);
    z-index: 3;
}

.device-shot-secondary {
    justify-self: center;
    max-width: 196px;
    z-index: 4;
}

.device-shot-tertiary {
    justify-self: start;
    transform: translateY(18px);
    z-index: 2;
}

.institutional-panel-copy {
    margin-top: 18px;
}

.institutional-panel-copy h2 {
    color: var(--text);
    font-family: "Sora", sans-serif;
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    line-height: 1.12;
    margin: 10px 0;
}

.institutional-panel-copy p {
    color: var(--muted);
    margin: 0;
}

.institutional-statement {
    border-radius: 8px;
    display: grid;
    gap: 16px;
    padding: 26px;
}

.product-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(236, 253, 245, 0.58)),
        radial-gradient(circle at 15% 15%, rgba(14, 165, 233, 0.14), transparent 34%);
}

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

.product-card {
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 360px;
    overflow: hidden;
    padding: 26px;
    position: relative;
}

.product-card-featured {
    grid-column: 1 / -1;
    min-height: 430px;
}

.product-card-featured .product-visual {
    min-height: 350px;
}

.product-copy {
    align-self: center;
    position: relative;
    z-index: 2;
}

.product-copy h3,
.public-copy h2,
.public-card h3 {
    color: var(--text);
    font-family: "Sora", sans-serif;
    line-height: 1.12;
    margin: 10px 0;
}

.product-copy h3 {
    font-size: clamp(1.8rem, 3vw, 3.4rem);
}

.product-copy p,
.public-copy p,
.public-card p {
    color: var(--muted);
}

.product-visual {
    align-self: end;
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    justify-self: center;
    min-height: 300px;
    max-width: 100%;
    position: relative;
    z-index: 1;
    width: 100%;
}

.product-visual img {
    aspect-ratio: 1 / 2;
    height: auto;
    max-height: 330px;
    max-width: 180px;
    object-fit: contain;
    width: 100%;
}

.product-card:not(.product-card-featured) .product-visual img {
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
}

.product-card-featured .product-visual img {
    max-height: 380px;
    max-width: 210px;
}

.subscription-visual {
    align-self: center;
    background: linear-gradient(145deg, #0f172a, #164e63);
    border-radius: 8px;
    color: #fff;
    display: grid;
    gap: 8px;
    justify-items: start;
    min-height: 220px;
    padding: 28px;
}

.subscription-visual strong {
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    display: inline-flex;
    font-size: 2.6rem;
    height: 76px;
    justify-content: center;
    width: 76px;
}

.subscription-visual span {
    font-family: "Sora", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.subscription-visual small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
}

.public-section {
    background: #0f172a;
    color: #fff;
}

.public-highlight {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(13, 148, 136, 0.78)),
        radial-gradient(circle at 78% 18%, rgba(125, 211, 252, 0.22), transparent 34%);
    border-color: rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    color: #fff;
    display: grid;
    gap: 34px;
    grid-template-columns: 0.9fr 1.1fr;
    padding: clamp(28px, 5vw, 56px);
}

.public-copy h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 4rem);
}

.public-copy p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.08rem;
    line-height: 1.7;
}

.public-cards {
    display: grid;
    gap: 18px;
}

.public-card {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: #fff;
    padding: 26px;
}

.public-card span {
    align-items: center;
    background: rgba(125, 211, 252, 0.16);
    border: 1px solid rgba(125, 211, 252, 0.34);
    border-radius: 8px;
    color: #bae6fd;
    display: inline-flex;
    font-weight: 800;
    height: 48px;
    justify-content: center;
    letter-spacing: 0.08em;
    width: 74px;
}

.public-card h3 {
    color: #fff;
    font-size: clamp(1.4rem, 2.4vw, 2.2rem);
}

.public-card p {
    color: rgba(255, 255, 255, 0.74);
    margin-bottom: 0;
}

.institutional-page .feature-card small {
    color: var(--primary);
    font-family: "Sora", sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
}

@media (max-width: 1120px) {
    .institutional-page .hero {
        min-height: auto;
    }

    .product-card,
    .public-highlight {
        grid-template-columns: 1fr;
    }

    .product-visual img {
        max-height: 300px;
    }
}

@media (max-width: 820px) {
    .institutional-page .hero {
        padding-top: 118px;
    }

    .institutional-device-stack {
        gap: 10px;
        min-height: 330px;
    }

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

    .product-card,
    .product-card-featured {
        grid-column: auto;
        min-height: 0;
    }

    .product-card-featured .product-visual,
    .product-visual {
        margin-top: 18px;
        min-height: 280px;
    }
}

@media (max-width: 560px) {
    .institutional-hero-panel,
    .product-card,
    .institutional-statement,
    .public-card {
        padding: 20px;
    }

    .institutional-device-stack {
        gap: 8px;
        min-height: 270px;
    }

    .device-shot,
    .device-shot-secondary {
        max-width: 132px;
    }

    .product-visual {
        min-height: 240px;
    }

    .product-card-featured .product-visual img,
    .product-visual img {
        max-height: 250px;
        max-width: 132px;
    }

    .public-highlight {
        padding: 22px;
    }

    .subscription-visual {
        min-height: 180px;
    }
}

.bm-product-page .hero {
    background:
        linear-gradient(135deg, rgba(11, 27, 49, 0.04), rgba(21, 112, 239, 0.08)),
        #ffffff;
    min-height: auto;
    padding: 108px 0 82px;
}

.bm-product-page .hero-grid {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
}

.bm-product-page .hero-copy h1 {
    max-width: 820px;
}

.bm-hero-card {
    align-self: stretch;
}

.bm-device-showcase {
    min-height: 330px;
}

.bm-device-showcase img {
    height: 286px;
    max-width: 38%;
    object-fit: contain;
    width: auto;
}

.bm-device-showcase img:nth-child(1) {
    left: 8%;
    transform: rotate(-6deg);
    z-index: 2;
}

.bm-device-showcase img:nth-child(2) {
    left: 50%;
    height: 306px;
    max-width: 46%;
    transform: translateX(-50%);
    z-index: 4;
}

.bm-device-showcase img:nth-child(3) {
    right: 8%;
    transform: rotate(6deg);
    z-index: 3;
}

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

.bm-module-card {
    background: #ffffff;
    border: 1px solid rgba(11, 27, 49, 0.12);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 18px;
    grid-template-rows: 260px auto;
    overflow: hidden;
    padding: 20px;
}

.bm-module-card img {
    align-self: end;
    justify-self: center;
    max-height: 250px;
    max-width: min(190px, 92%);
    object-fit: contain;
}

.bm-module-card small {
    color: var(--accent);
    font-family: Sora, sans-serif;
    font-weight: 800;
    text-transform: uppercase;
}

.bm-module-card h3 {
    color: var(--primary);
    font-family: Sora, sans-serif;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    margin: 8px 0;
}

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

.resource-phone-card.is-desktop {
    min-height: 360px;
}

.resource-phone-card.is-desktop img {
    max-height: 360px;
    max-width: min(560px, 100%);
    border-radius: 12px;
}

@media (max-width: 820px) {
    .resource-phone-card.is-desktop {
        min-height: 260px;
    }

    .resource-phone-card.is-desktop img {
        max-height: 260px;
    }
}

.resource-catalog-section {
    background: linear-gradient(180deg, #f3f7fb, #ffffff 36%);
}

.resource-catalog-heading {
    max-width: 760px;
}

.resource-catalog {
    display: grid;
    gap: 22px;
}

.resource-catalog-item {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(11, 27, 49, 0.1);
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(11, 27, 49, 0.08);
    display: grid;
    gap: clamp(26px, 5vw, 72px);
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
    min-height: 390px;
    overflow: hidden;
    padding: clamp(24px, 4vw, 46px);
    scroll-margin-top: 104px;
}

.resource-catalog-item:nth-child(even) {
    direction: rtl;
}

.resource-catalog-item:nth-child(even) > * {
    direction: ltr;
}

.resource-catalog-item.is-selected {
    border-color: rgba(21, 112, 239, 0.5);
    box-shadow: 0 20px 50px rgba(21, 112, 239, 0.16);
}

.resource-catalog-copy small {
    color: #1570ef;
    font-family: Sora, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.resource-catalog-copy h3 {
    color: var(--primary);
    font-family: Sora, sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.65rem);
    line-height: 1.12;
    margin: 10px 0;
}

.resource-catalog-copy p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

.resource-catalog-copy ul {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
}

.resource-catalog-copy li {
    color: #27435f;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.5;
    list-style: none;
    padding-left: 26px;
    position: relative;
}

.resource-catalog-copy li::before {
    color: #0d8f61;
    content: "✓";
    font-weight: 900;
    left: 0;
    position: absolute;
}

.resource-catalog-visual {
    align-items: center;
    background: linear-gradient(145deg, #e8f2ff, #ffffff 58%, #dcecff);
    border: 1px solid rgba(21, 112, 239, 0.14);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    margin: 0;
    min-height: 320px;
    overflow: hidden;
    padding: 18px;
}

.resource-catalog-visual img {
    display: block;
    height: auto;
    max-height: 360px;
    max-width: min(210px, 100%);
    object-fit: contain;
    width: 100%;
}

.resource-catalog-visual.is-desktop img {
    max-height: 290px;
    max-width: 100%;
}

@media (max-width: 820px) {
    .resource-catalog-item,
    .resource-catalog-item:nth-child(even) {
        direction: ltr;
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .resource-catalog-item {
        gap: 22px;
        padding: 22px;
    }

    .resource-catalog-visual {
        min-height: 270px;
    }
}

@media (max-width: 480px) {
    .resource-catalog-item {
        border-radius: 18px;
        padding: 18px;
    }

    .resource-catalog-copy li {
        font-size: 0.9rem;
    }

    .resource-catalog-visual {
        min-height: 240px;
        padding: 14px;
    }

    .resource-catalog-visual img {
        max-height: 300px;
        max-width: 180px;
    }

    .resource-catalog-visual.is-desktop img {
        max-height: 210px;
        max-width: 100%;
    }
}

.bm-product-page .resource-button-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bm-product-page .plan-card p {
    min-height: 0;
}

.bm-product-page .cta-actions {
    max-width: 620px;
}

@media (max-width: 1120px) {
    .bm-product-page .hero-grid,
    .bm-module-grid,
    .objective-grid {
        grid-template-columns: 1fr;
    }

    .bm-hero-card {
        max-width: 680px;
    }

    .bm-module-card {
        grid-template-columns: 220px 1fr;
        grid-template-rows: auto;
        align-items: center;
    }
}

@media (max-width: 820px) {
    .bm-product-page .hero {
        padding: 84px 0 66px;
    }

    .bm-product-page .resource-button-grid {
        grid-template-columns: 1fr;
    }

    .bm-module-card {
        grid-template-columns: 1fr;
        grid-template-rows: 230px auto;
    }
}

@media (max-width: 560px) {
    .bm-device-showcase {
        min-height: 250px;
    }

    .bm-device-showcase img {
        height: 220px;
        max-width: 42%;
        width: auto;
    }

    .bm-device-showcase img:nth-child(2) {
        height: 235px;
        max-width: 48%;
    }

    .bm-module-card {
        padding: 18px;
    }
}
