:root {
    color-scheme: light;
    --ink: #0f172a;
    --muted: #64748b;
    --soft: #f8fafc;
    --line: #e2e8f0;
    --green: #059669;
    --green-deep: #065f46;
    --blue: #2563eb;
    --cyan: #0e7490;
    --lime: #84cc16;
    --violet: #7c3aed;
    --shadow: 0 28px 90px -56px rgba(15, 23, 42, 0.55);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(5, 150, 105, 0.14), transparent 30%),
        radial-gradient(circle at 88% 4%, rgba(37, 99, 235, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 48%, #eefdf7 100%);
}

a {
    color: inherit;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    width: min(1180px, calc(100% - 32px));
    min-height: 72px;
    margin: 12px auto 0;
    padding: 10px 12px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 18px 54px -42px rgba(15, 23, 42, 0.55);
}

.brand,
.nav-links,
.proof-row,
.hero-actions,
.site-footer {
    display: flex;
    align-items: center;
}

.brand {
    text-decoration: none;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0;
}

.nav-links {
    gap: 8px;
}

.nav-links a,
.nav-cta,
.secondary-link,
.primary-link {
    min-height: 42px;
    border-radius: 14px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.nav-links a:hover {
    background: #f1f5f9;
    color: var(--ink);
}

.nav-cta,
.primary-link {
    background: var(--ink);
    color: white;
    box-shadow: 0 16px 34px -22px rgba(15, 23, 42, 0.8);
}

.primary-link {
    min-height: 52px;
    padding-inline: 22px;
    border-radius: 18px;
}

.nav-cta:hover,
.primary-link:hover {
    transform: translateY(-2px);
    background: #111827;
}

.secondary-link {
    min-height: 52px;
    color: var(--ink);
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.secondary-link:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.hero-section {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
    align-items: center;
    gap: clamp(28px, 6vw, 72px);
    padding: clamp(24px, 4vw, 48px) 0 64px;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--green-deep);
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(38px, 4.4vw, 52px);
    line-height: 1.01;
    letter-spacing: 0;
    max-width: 820px;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(30px, 4.2vw, 54px);
    line-height: 1.04;
    letter-spacing: 0;
}

.hero-copy p,
.section-heading p,
.shopping-copy p,
.final-cta p {
    color: var(--muted);
    font-size: clamp(16px, 1.7vw, 18px);
    line-height: 1.7;
    font-weight: 600;
}

.hero-copy p {
    max-width: 660px;
}

.hero-copy .eyebrow,
.section-heading .eyebrow,
.shopping-copy .eyebrow,
.final-cta .eyebrow {
    margin-bottom: 18px;
}

.hero-actions {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.proof-row {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.proof-row span {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #475569;
    background: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    font-weight: 800;
}

.hero-visual {
    position: relative;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 7% -7% -4% 10%;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.2), rgba(37, 99, 235, 0.17));
    filter: blur(32px);
}

.product-shell {
    position: relative;
    min-height: 560px;
    display: grid;
    grid-template-columns: 82px 1fr;
    overflow: hidden;
    border-radius: 34px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: var(--shadow);
}

.shell-sidebar {
    background: #0f172a;
    padding: 22px 16px;
    display: grid;
    align-content: start;
    gap: 14px;
}

.shell-sidebar span {
    height: 48px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.shell-sidebar span:first-child {
    background: linear-gradient(135deg, #10b981, #38bdf8);
}

.shell-main {
    min-width: 0;
    padding: 22px;
    display: grid;
    gap: 18px;
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.7), #ffffff),
        #ffffff;
}

.shell-top,
.kpi-strip,
.order-card,
.stock-line,
.mini-row,
.doc-title,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shell-top {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
}

.shell-top small,
.kpi-strip small,
.order-card small,
.stock-line span,
.mini-head,
.plant-card small {
    color: var(--muted);
    font-weight: 800;
    font-size: 12px;
}

.shell-top strong {
    display: block;
    margin-top: 4px;
    font-size: 21px;
}

.live-badge {
    color: #047857;
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.kpi-strip {
    gap: 12px;
}

.kpi-strip div {
    flex: 1;
    min-width: 0;
    border-radius: 20px;
    padding: 16px;
    border: 1px solid var(--line);
    background: white;
}

.kpi-strip strong {
    display: block;
    margin-top: 8px;
    font-size: 22px;
}

.animated-orders {
    position: relative;
    min-height: 228px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: #f8fafc;
}

.order-card {
    position: absolute;
    left: 18px;
    right: 18px;
    min-height: 64px;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: white;
    box-shadow: 0 14px 32px -28px rgba(15, 23, 42, 0.8);
    animation: orderFlow 8.2s linear infinite;
}

.order-card b {
    flex: 0 0 auto;
}

.order-card div {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 3px;
}

.order-card strong,
.order-card small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 0 8px rgba(5, 150, 105, 0.1);
}

.order-dot.blue {
    background: var(--blue);
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.1);
}

.order-dot.lime {
    background: var(--lime);
    box-shadow: 0 0 0 8px rgba(132, 204, 22, 0.14);
}

.order-a { animation-delay: -5.2s; }
.order-b { animation-delay: -2.5s; }
.order-c { animation-delay: 0s; }

@keyframes orderFlow {
    0% { transform: translateY(230px) scale(0.98); opacity: 0; }
    12% { opacity: 1; }
    43% { transform: translateY(82px) scale(1); opacity: 1; }
    72% { transform: translateY(10px) scale(1); opacity: 1; }
    100% { transform: translateY(-80px) scale(0.98); opacity: 0; }
}

.stock-rail {
    display: grid;
    gap: 10px;
}

.stock-line {
    gap: 12px;
    padding: 13px 14px;
    border-radius: 16px;
    background: white;
    border: 1px solid var(--line);
}

.stock-line span {
    width: 120px;
    color: var(--ink);
}

.stock-line i {
    position: relative;
    flex: 1;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.stock-line i::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--level);
    border-radius: inherit;
    background: linear-gradient(90deg, #10b981, #38bdf8);
    animation: stockPulse 3.8s ease-in-out infinite;
}

@keyframes stockPulse {
    0%, 100% { transform: scaleX(0.94); transform-origin: left; }
    50% { transform: scaleX(1); transform-origin: left; }
}

.flow-section,
.feature-grid,
.shopping-section,
.compliance-section,
.generated-section,
.sales-section,
.audience-section,
.final-cta {
    padding: clamp(54px, 9vw, 110px) 0;
}

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

.section-heading.compact {
    max-width: 820px;
}

.flow-board {
    display: grid;
    grid-template-columns: 1fr 88px 1fr 88px 1fr;
    align-items: center;
    gap: 12px;
}

.flow-card {
    min-height: 226px;
    padding: 24px;
    border-radius: 28px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: 0 20px 60px -50px rgba(15, 23, 42, 0.55);
}

.flow-card small {
    color: var(--blue);
    font-weight: 900;
}

.flow-card strong {
    display: block;
    margin: 16px 0 10px;
    font-size: 22px;
}

.flow-card p,
.audience-grid p,
.feature-copy p,
.check-list {
    color: var(--muted);
    line-height: 1.65;
    font-weight: 600;
}

.flow-path {
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.flow-path span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #cbd5e1;
    animation: pathBlink 1.2s ease-in-out infinite;
}

.flow-path span:nth-child(2) { animation-delay: 0.15s; }
.flow-path span:nth-child(3) { animation-delay: 0.3s; }

@keyframes pathBlink {
    0%, 100% { transform: scale(0.8); opacity: 0.45; }
    50% { transform: scale(1.2); opacity: 1; background: var(--green); }
}

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

.feature-card {
    min-height: 600px;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid var(--line);
    background: white;
    box-shadow: var(--shadow);
    padding: clamp(22px, 4vw, 34px);
    display: grid;
    align-content: space-between;
    gap: 28px;
}

.feature-copy h2 {
    font-size: clamp(28px, 3.4vw, 42px);
}

.mini-orders {
    position: relative;
    min-height: 316px;
    overflow: hidden;
    padding: 14px;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid var(--line);
}

.mini-head {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    padding: 10px 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mini-row {
    position: absolute;
    left: 14px;
    right: 14px;
    min-height: 58px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: white;
    border: 1px solid #eef2f7;
    animation: listScroll 8s linear infinite;
}

.mini-row em {
    width: fit-content;
    padding: 6px 9px;
    border-radius: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    font-style: normal;
    font-weight: 800;
    font-size: 12px;
}

.mini-row b {
    justify-self: end;
}

.mini-row.r1 { animation-delay: -6s; }
.mini-row.r2 { animation-delay: -4s; }
.mini-row.r3 { animation-delay: -2s; }
.mini-row.r4 { animation-delay: 0s; }

@keyframes listScroll {
    0% { transform: translateY(300px); opacity: 0; }
    12% { opacity: 1; }
    32% { transform: translateY(194px); opacity: 1; }
    58% { transform: translateY(116px); opacity: 1; }
    84% { transform: translateY(44px); opacity: 1; }
    100% { transform: translateY(-44px); opacity: 0; }
}

.plant-stack {
    position: relative;
    min-height: 360px;
}

.plant-card {
    position: absolute;
    width: min(360px, 86%);
    min-height: 118px;
    border-radius: 28px;
    padding: 22px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: 0 22px 70px -46px rgba(15, 23, 42, 0.7);
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    column-gap: 16px;
    animation: plantFloat 5s ease-in-out infinite;
}

.plant-card span {
    grid-row: span 2;
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 70%, #065f46 0 12%, transparent 13%),
        radial-gradient(circle at 35% 34%, #34d399 0 20%, transparent 21%),
        radial-gradient(circle at 62% 32%, #84cc16 0 18%, transparent 19%),
        #ecfdf5;
}

.plant-card strong {
    font-size: 22px;
}

.plant-card small {
    font-size: 18px;
    color: var(--green-deep);
}

.plant-card.p1 { top: 22px; left: 4%; z-index: 3; }
.plant-card.p2 { top: 124px; right: 2%; z-index: 2; animation-delay: -1.2s; }
.plant-card.p3 { top: 230px; left: 10%; z-index: 1; animation-delay: -2.4s; }

@keyframes plantFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.shopping-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.72fr);
    gap: clamp(28px, 7vw, 92px);
    align-items: center;
}

.sales-section {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1fr);
    gap: clamp(30px, 7vw, 90px);
    align-items: center;
}

.sales-copy p {
    color: var(--muted);
    font-size: clamp(16px, 1.7vw, 18px);
    line-height: 1.7;
    font-weight: 600;
}

.sales-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.sales-points span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: white;
    border: 1px solid var(--line);
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

.commission-visual {
    position: relative;
    min-height: 560px;
    border-radius: 38px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 16%, rgba(132, 204, 22, 0.22), transparent 32%),
        radial-gradient(circle at 86% 70%, rgba(37, 99, 235, 0.18), transparent 30%),
        linear-gradient(135deg, #0f172a 0%, #064e3b 62%, #0e7490 100%);
    box-shadow: 0 32px 100px -58px rgba(15, 23, 42, 0.9);
}

.commission-visual::before {
    content: "";
    position: absolute;
    inset: 24px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.commission-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.64);
    box-shadow: 0 28px 80px -48px rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(14px);
}

.main-commission {
    left: clamp(18px, 6vw, 54px);
    right: clamp(18px, 6vw, 54px);
    top: 54px;
    border-radius: 30px;
    padding: 22px;
    animation: commissionLift 4.8s ease-in-out infinite;
}

.worker-head {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 12px;
    align-items: center;
}

.worker-avatar {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 900;
    background: linear-gradient(135deg, #2563eb, #10b981);
}

.worker-head strong,
.commission-amount strong,
.mini-commission strong {
    display: block;
}

.worker-head small,
.commission-amount small,
.mini-commission small,
.mini-commission span,
.commission-bars span {
    color: var(--muted);
    font-weight: 800;
    font-size: 12px;
}

.worker-head > span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 13px;
    font-weight: 900;
}

.commission-amount {
    margin: 22px 0;
    padding: 18px;
    border-radius: 24px;
    color: white;
    background: linear-gradient(135deg, #0f172a, #065f46);
}

.commission-amount strong {
    margin-top: 4px;
    font-size: clamp(36px, 5vw, 54px);
    letter-spacing: 0;
}

.commission-amount small {
    color: rgba(255, 255, 255, 0.72);
}

.commission-bars {
    display: grid;
    gap: 12px;
}

.commission-bars div {
    display: grid;
    grid-template-columns: 92px 1fr 86px;
    gap: 10px;
    align-items: center;
}

.commission-bars i {
    position: relative;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.commission-bars i::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--bar);
    border-radius: inherit;
    background: linear-gradient(90deg, #22c55e, #38bdf8);
    animation: commissionBar 3.8s ease-in-out infinite;
}

.commission-bars b {
    justify-self: end;
    font-size: 13px;
}

.commission-stream {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.deal-chip {
    position: absolute;
    min-width: 180px;
    min-height: 56px;
    display: grid;
    grid-template-columns: 12px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: 0 20px 70px -44px rgba(0, 0, 0, 0.85);
    animation: dealFlow 7s linear infinite;
}

.deal-chip span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 0 7px rgba(5, 150, 105, 0.13);
}

.deal-chip small {
    color: #047857;
    font-weight: 900;
}

.deal-one { left: 28px; bottom: 48px; animation-delay: -4s; }
.deal-two { right: 26px; bottom: 118px; animation-delay: -1.8s; }
.deal-three { left: 82px; bottom: 190px; animation-delay: -6s; }

.mini-commission {
    right: 34px;
    bottom: 34px;
    width: min(330px, calc(100% - 68px));
    border-radius: 24px;
    padding: 18px;
    display: grid;
    gap: 6px;
    animation: miniPulse 3.2s ease-in-out infinite;
}

@keyframes commissionLift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes commissionBar {
    0%, 100% { transform: scaleX(0.92); transform-origin: left; }
    50% { transform: scaleX(1); transform-origin: left; }
}

@keyframes dealFlow {
    0% { transform: translateY(84px) scale(0.96); opacity: 0; }
    16% { opacity: 1; }
    62% { opacity: 1; }
    100% { transform: translateY(-210px) scale(1); opacity: 0; }
}

@keyframes miniPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.check-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 26px 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background:
        linear-gradient(135deg, #059669, #38bdf8);
}

.phone-demo {
    display: grid;
    place-items: center;
}

.phone-frame {
    width: min(360px, 100%);
    height: 690px;
    padding: 14px;
    border-radius: 42px;
    background: #0f172a;
    box-shadow: 0 34px 100px -54px rgba(15, 23, 42, 0.8);
}

.phone-top {
    width: 92px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255,255,255,0.26);
    margin: 4px auto 13px;
}

.shop-scroll {
    position: relative;
    height: calc(100% - 24px);
    overflow: hidden;
    border-radius: 30px;
    padding: 20px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.shop-scroll::before {
    content: "Przestrzeń zakupowa";
    display: block;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 18px;
}

.shop-card {
    min-height: 152px;
    margin-bottom: 14px;
    border-radius: 24px;
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: 0 10px 34px -28px rgba(15, 23, 42, 0.6);
    display: grid;
    grid-template-columns: 86px 1fr;
    align-items: center;
    column-gap: 12px;
    animation: shopMove 7.5s ease-in-out infinite;
}

.shop-card:nth-child(3) { animation-delay: -0.6s; }
.shop-card:nth-child(4) { animation-delay: -1.2s; }

.shop-card span {
    grid-row: span 2;
    width: 86px;
    height: 110px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 45% 22%, #bbf7d0 0 15%, transparent 16%),
        radial-gradient(circle at 64% 36%, #4ade80 0 18%, transparent 19%),
        linear-gradient(180deg, #ecfdf5, #dbeafe);
}

.shop-card strong {
    align-self: end;
}

.shop-card small {
    align-self: start;
    color: var(--violet);
    font-weight: 900;
}

@keyframes shopMove {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-86px); }
}

.checkout-bar {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    min-height: 64px;
    padding: 10px 10px 10px 16px;
    border-radius: 22px;
    color: white;
    background: rgba(15, 23, 42, 0.96);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.checkout-bar strong {
    padding: 13px 14px;
    border-radius: 16px;
    background: var(--violet);
    font-size: 13px;
}

.compliance-section {
    overflow: hidden;
}

.document-wall {
    position: relative;
    min-height: 530px;
    border-radius: 38px;
    border: 1px solid var(--line);
    background:
        linear-gradient(135deg, #eff6ff 0%, #ffffff 46%, #ecfdf5 100%);
    box-shadow: var(--shadow);
}

.document-card {
    position: absolute;
    border: 1px solid var(--line);
    background: white;
    border-radius: 26px;
    box-shadow: 0 28px 86px -54px rgba(15, 23, 42, 0.65);
}

.document-card {
    width: min(430px, 45%);
    min-height: 300px;
    padding: 24px;
    animation: docFloat 5.5s ease-in-out infinite;
}

.doc-a {
    left: 8%;
    top: 74px;
    transform: rotate(-3deg);
}

.doc-b {
    right: 8%;
    top: 54px;
    transform: rotate(3deg);
    animation-delay: -1.4s;
}

.document-card p {
    margin: 12px 0;
    color: #334155;
    font-weight: 800;
}

.doc-title {
    margin-bottom: 20px;
    gap: 12px;
    justify-content: flex-start;
}

.passport-title img {
    width: 56px;
    height: 38px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.table-title {
    min-height: 38px;
}

.inspection-table {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8fafc;
}

.inspection-row {
    min-height: 48px;
    display: grid;
    grid-template-columns: 0.8fr 1fr 1.15fr;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border-top: 1px solid #e2e8f0;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.inspection-row:first-child {
    border-top: none;
}

.inspection-head {
    min-height: 38px;
    color: #64748b;
    background: #eef2ff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.inspection-row strong {
    width: fit-content;
    padding: 6px 8px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 11px;
}

@keyframes docFloat {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -12px; }
}

@keyframes filesGlow {
    0%, 100% { box-shadow: 0 28px 86px -54px rgba(15, 23, 42, 0.65); }
    50% { box-shadow: 0 30px 90px -42px rgba(5, 150, 105, 0.72); }
}

.generated-section {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1fr);
    gap: clamp(28px, 7vw, 80px);
    align-items: center;
}

.generated-copy p {
    color: var(--muted);
    font-size: clamp(16px, 1.7vw, 18px);
    line-height: 1.7;
    font-weight: 600;
}

.files-showcase {
    position: relative;
    min-height: 420px;
    border-radius: 36px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(5, 150, 105, 0.2), transparent 32%),
        radial-gradient(circle at 82% 72%, rgba(37, 99, 235, 0.16), transparent 34%),
        linear-gradient(135deg, #f8fafc, #ffffff);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.file-orbit {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    animation: fileOrbit 8s ease-in-out infinite;
}

.file-orbit.one {
    width: 280px;
    height: 280px;
    left: -80px;
    top: -80px;
}

.file-orbit.two {
    width: 360px;
    height: 360px;
    right: -120px;
    bottom: -120px;
    animation-delay: -2.6s;
}

.files-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(430px, calc(100% - 44px));
    transform: translate(-50%, -50%);
    padding: 18px;
    display: grid;
    gap: 10px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 26px;
    box-shadow: 0 28px 86px -54px rgba(15, 23, 42, 0.65);
    animation: filesGlow 2.6s ease-in-out infinite;
}

.file-row {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 14px;
    background: #ecfdf5;
    color: #065f46;
    font-weight: 800;
}

.file-row.muted {
    background: #eff6ff;
    color: #1d4ed8;
}

@keyframes fileOrbit {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(18px, -12px, 0) scale(1.05); }
}

.audience-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: start;
}

.audience-grid {
    display: grid;
    gap: 14px;
}

.audience-grid div {
    padding: 24px;
    border-radius: 26px;
    background: white;
    border: 1px solid var(--line);
}

.audience-grid strong {
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
}

.audience-grid p {
    margin-bottom: 0;
}

.final-cta {
    margin: 24px 0 80px;
    padding-inline: clamp(20px, 7vw, 84px);
    border-radius: 40px;
    color: white;
    background:
        radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.28), transparent 34%),
        linear-gradient(135deg, #0f172a 0%, #065f46 54%, #0e7490 100%);
    text-align: center;
    box-shadow: 0 32px 90px -54px rgba(15, 23, 42, 0.85);
}

.final-cta .eyebrow {
    color: #d1fae5;
    border-color: rgba(209, 250, 229, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.final-cta p {
    max-width: 720px;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.78);
}

.final-cta .primary-link {
    margin-top: 18px;
    background: white;
    color: var(--ink);
}

.site-footer {
    width: min(1180px, calc(100% - 32px));
    min-height: 74px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.site-footer a {
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 980px) {
    .site-nav {
        width: calc(100% - 20px);
        border-radius: 20px;
    }

    .nav-links {
        display: none;
    }

    main {
        width: min(100% - 24px, 760px);
    }

    .hero-section,
    .shopping-section,
    .sales-section,
    .generated-section,
    .audience-section {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 52px;
    }

    .product-shell {
        min-height: 560px;
        grid-template-columns: 64px 1fr;
    }

    .feature-grid,
    .flow-board {
        grid-template-columns: 1fr;
    }

    .flow-path {
        height: 34px;
        transform: rotate(90deg);
    }

    .feature-card {
        min-height: 520px;
    }

    .phone-frame {
        height: 640px;
    }

    .commission-visual {
        min-height: 610px;
    }

    .main-commission {
        left: 22px;
        right: 22px;
    }

    .generated-section {
        gap: 28px;
    }

    .document-wall {
        min-height: 760px;
    }

    .document-card {
        width: min(520px, calc(100% - 40px));
    }

    .doc-a {
        left: 20px;
        top: 36px;
    }

    .doc-b {
        right: 20px;
        top: 300px;
    }
}

@media (max-width: 620px) {
    .site-nav {
        min-height: 64px;
        padding: 8px;
    }

    .brand {
        font-size: 16px;
    }

    .nav-cta {
        min-height: 42px;
        padding-inline: 12px;
        font-size: 13px;
    }

    h1 {
        font-size: 42px;
    }

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

    .primary-link,
    .secondary-link {
        width: 100%;
    }

    .product-shell {
        min-height: 610px;
        grid-template-columns: 1fr;
    }

    .shell-sidebar {
        display: none;
    }

    .shell-main {
        padding: 14px;
    }

    .kpi-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .stock-line {
        flex-wrap: wrap;
    }

    .stock-line span {
        width: 100%;
    }

    .mini-head,
    .mini-row {
        grid-template-columns: 1fr 84px;
    }

    .mini-head span:nth-child(2),
    .mini-row em {
        display: none;
    }

    .plant-card {
        width: 100%;
        left: 0 !important;
        right: 0 !important;
    }

    .phone-frame {
        height: 610px;
    }

    .commission-visual {
        min-height: 670px;
        border-radius: 30px;
    }

    .worker-head {
        grid-template-columns: 46px 1fr;
    }

    .worker-head > span {
        grid-column: 1 / -1;
        width: fit-content;
    }

    .worker-avatar {
        width: 46px;
        height: 46px;
        border-radius: 16px;
    }

    .commission-bars div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .commission-bars b {
        justify-self: start;
    }

    .deal-chip {
        min-width: 158px;
        grid-template-columns: 10px 1fr;
    }

    .deal-chip small {
        grid-column: 2;
    }

    .deal-one { left: 18px; }
    .deal-two { right: 18px; }
    .deal-three { left: 34px; }

    .files-showcase {
        min-height: 360px;
        border-radius: 28px;
    }

    .document-wall {
        min-height: 720px;
        border-radius: 28px;
    }

    .document-card {
        padding: 18px;
        border-radius: 22px;
    }

    .doc-a {
        transform: rotate(0deg);
    }

    .doc-b {
        transform: rotate(0deg);
    }

    .final-cta {
        border-radius: 30px;
        margin-bottom: 52px;
    }

    .site-footer {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }
}
