/* ─── Public/landing page layout ───────────────────────────────── */
body.public-page {
    display: block;
    background: #ffffff;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ─── Logo ─────────────────────────────────────────────────────── */
.zsw-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    text-decoration: none;
}
.zsw-logo svg { flex: 0 0 auto; }
.zsw-rays { animation: zswSpin 22s linear infinite; transform-origin: 22px 22px; }
@keyframes zswSpin { to { transform: rotate(360deg); } }
.zsw-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.01em;
}
.zsw-line1 { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.zsw-line2 { font-size: 18px; }

/* ─── Header ───────────────────────────────────────────────────── */
.public-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 0.5px solid var(--border);
}
.public-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.public-nav {
    display: flex;
    gap: 24px;
    margin-left: auto;
}
.public-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s;
}
.public-nav a:hover { color: var(--text); }
.public-cta { display: flex; gap: 8px; }
@media (max-width: 820px) {
    .public-nav { display: none; }
    .public-header-inner { padding: 12px 16px; }
}

.public-flash {
    background: var(--accent-light);
    color: var(--accent);
    text-align: center;
    padding: 10px 16px;
    font-size: 14px;
    border-bottom: 0.5px solid var(--accent);
}

/* ─── Section base ─────────────────────────────────────────────── */
.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 96px 24px;
}
.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 14px;
}
.section h2 {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    max-width: 760px;
}
.section h2.center { margin-left: auto; margin-right: auto; }
.section-lede {
    font-size: 18px;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 720px;
    margin-bottom: 48px;
}
.section-lede.center { margin-left: auto; margin-right: auto; text-align: center; }
@media (max-width: 720px) {
    .section { padding: 64px 16px; }
    .section h2 { font-size: 30px; }
    .section-lede { font-size: 16px; margin-bottom: 32px; }
}

/* ─── Hero ─────────────────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at top right, rgba(186, 117, 23, 0.10), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(29, 158, 117, 0.12), transparent 60%),
        linear-gradient(180deg, #fff 0%, #fafaf7 100%);
    padding: 80px 24px 120px;
    border-bottom: 0.5px solid var(--border);
}
.hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 32px; }
}
.hero-eyebrow {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 99px;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: 64px;
    line-height: 1.02;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}
.hero h1 .accent-grad {
    background: linear-gradient(120deg, var(--accent) 0%, var(--amber) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-slogan {
    font-size: 24px;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.3;
}
.hero-tagline {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 32px;
    max-width: 540px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn { padding: 12px 22px; font-size: 15px; font-weight: 500; }
.hero-trust {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 13px;
    flex-wrap: wrap;
}
.hero-trust strong { color: var(--text); font-weight: 600; }
@media (max-width: 720px) {
    .hero { padding: 48px 16px 64px; }
    .hero h1 { font-size: 42px; }
    .hero-slogan { font-size: 19px; }
}

/* ─── Hero illustration ────────────────────────────────────────── */
.hero-illustration {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 460px;
    margin: 0 auto;
}
.hero-sun {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 64%;
    height: 64%;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 32%, #ffe084 0%, var(--amber) 60%, #8a4f0a 100%);
    box-shadow:
        0 0 64px rgba(186, 117, 23, 0.35),
        inset 0 0 60px rgba(255, 224, 132, 0.6);
    animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
.hero-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 0.5px solid var(--border);
    animation: heroRingSpin 32s linear infinite;
}
.hero-ring::before, .hero-ring::after {
    content: "";
    position: absolute;
    width: 18px; height: 18px;
    background: var(--accent);
    border-radius: 50%;
    top: -9px; left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 24px rgba(29,158,117,0.5);
}
.hero-ring::after { background: var(--blue); top: auto; bottom: -9px; }
.hero-ring.r2 { inset: 16%; animation-duration: 22s; animation-direction: reverse; }
.hero-ring.r2::before { background: var(--amber); }
.hero-ring.r2::after  { background: var(--red); }
@keyframes heroRingSpin { to { transform: rotate(360deg); } }

/* ─── How it works ─────────────────────────────────────────────── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.feature-card {
    background: var(--surface);
    border: 0.5px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
    border-color: rgba(29, 158, 117, 0.3);
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.feature-card.amber .feature-icon { background: var(--amber-light); color: var(--amber); }
.feature-card.blue  .feature-icon { background: var(--blue-light);  color: var(--blue);  }
.feature-card.red   .feature-icon { background: var(--red-light);   color: var(--red);   }
.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ─── ROI calculator ───────────────────────────────────────────── */
.roi {
    background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
    border-top: 0.5px solid var(--border);
    border-bottom: 0.5px solid var(--border);
}
.roi-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    border: 0.5px solid var(--border);
    border-radius: 16px;
    padding: 36px;
}
@media (max-width: 820px) {
    .roi-wrap { grid-template-columns: 1fr; padding: 24px; gap: 28px; }
}
.roi-inputs label {
    display: block;
    margin-bottom: 22px;
}
.roi-inputs label .label-row {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 8px;
}
.roi-inputs .label-name { font-weight: 500; font-size: 14px; }
.roi-inputs .label-val { font-weight: 600; font-size: 15px; color: var(--accent); font-variant-numeric: tabular-nums; }
.roi-inputs input[type=range] {
    width: 100%;
    accent-color: var(--accent);
    cursor: pointer;
}
.roi-inputs .label-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.roi-output {
    background: linear-gradient(135deg, var(--accent-light) 0%, #fff 100%);
    border-radius: 14px;
    padding: 28px;
    display: flex; flex-direction: column; justify-content: center; gap: 16px;
}
.roi-stat { display: flex; flex-direction: column; gap: 4px; }
.roi-stat .stat-label {
    font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
    color: var(--text-muted); font-weight: 500;
}
.roi-stat .stat-val {
    font-size: 36px; font-weight: 600; color: var(--accent);
    font-variant-numeric: tabular-nums; line-height: 1;
}
.roi-stat.amber .stat-val { color: var(--amber); }
.roi-stat .stat-unit { font-size: 14px; color: var(--text-muted); margin-left: 6px; font-weight: 400; }
.roi-stat .stat-sub { font-size: 13px; color: var(--text-muted); }

/* ─── Advantages ───────────────────────────────────────────────── */
.advantages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.adv-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 0.5px dashed var(--border);
}
.adv-row:last-child { border-bottom: 0; }
.adv-check {
    flex: 0 0 24px;
    height: 24px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700;
    box-shadow: 0 4px 10px rgba(29,158,117,0.3);
}
.adv-body h4 { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.adv-body p  { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ─── Pricing ──────────────────────────────────────────────────── */
.pricing {
    background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
}
.price-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 820px;
    margin: 0 auto;
}
@media (max-width: 640px) {
    .price-cards { grid-template-columns: 1fr; }
}
.price-card {
    background: #fff;
    border: 0.5px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.price-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.07);
}
.price-card.featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, #fff 0%, var(--accent-light) 100%);
    position: relative;
}
.price-card.featured::before {
    content: "Best value";
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .08em;
    padding: 5px 12px; border-radius: 99px;
}
.price-name { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); font-weight: 600; margin-bottom: 8px; }
.price-amount { font-size: 56px; font-weight: 700; color: var(--text); line-height: 1; letter-spacing: -0.02em; }
.price-amount .currency { font-size: 24px; vertical-align: super; margin-right: 4px; color: var(--text-muted); }
.price-period { font-size: 14px; color: var(--text-muted); margin-bottom: 4px; }
.price-saving { font-size: 13px; color: var(--accent); font-weight: 500; margin-bottom: 20px; min-height: 18px; }
.price-list { list-style: none; padding: 0; margin: 20px 0 28px; text-align: left; }
.price-list li {
    padding: 8px 0; font-size: 14px;
    border-bottom: 0.5px solid var(--border);
    display: flex; align-items: center; gap: 10px;
}
.price-list li:last-child { border-bottom: 0; }
.price-list li::before {
    content: "✓"; color: var(--accent); font-weight: 700;
    width: 16px; flex: 0 0 16px;
}

/* ─── Brands ───────────────────────────────────────────────────── */
.brands-strip {
    display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
    margin-top: 32px;
}
.brand-chip {
    background: var(--surface);
    border: 0.5px solid var(--border);
    padding: 10px 18px;
    border-radius: 99px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text);
}
.brand-chip.dim { color: var(--text-muted); }

/* ─── Forms (contact / request dev) ────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 820px) {
    .contact-grid { grid-template-columns: 1fr; }
}
.contact-card {
    background: var(--surface);
    border: 0.5px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}
.contact-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.contact-card .desc { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.5; }
.contact-card label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 5px; }
.contact-card input, .contact-card textarea, .contact-card select {
    width: 100%;
    padding: 11px 12px;
    border: 0.5px solid var(--border-strong);
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-family: inherit;
    margin-bottom: 14px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-card input:focus, .contact-card textarea:focus, .contact-card select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(29,158,117,0.15);
}
.contact-card textarea { resize: vertical; min-height: 88px; }
.contact-card button { width: 100%; }

/* ─── Footer ───────────────────────────────────────────────────── */
.public-footer {
    background: #0e0f0c;
    color: rgba(255,255,255,0.7);
    padding: 56px 0 0;
    margin-top: 32px;
}
.public-footer .zsw-wordmark { color: #fff; }
.public-footer .zsw-line1   { color: rgba(255,255,255,0.5); }
.public-footer .zsw-logo    { color: var(--accent); }
.public-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.3fr 2fr;
    gap: 48px;
}
@media (max-width: 720px) {
    .public-footer-inner { grid-template-columns: 1fr; padding: 0 16px; gap: 32px; }
}
.footer-tag { font-size: 14px; margin-top: 14px; line-height: 1.5; color: rgba(255,255,255,0.6); }
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
@media (max-width: 560px) {
    .footer-cols { grid-template-columns: 1fr 1fr; }
}
.footer-cols h4 {
    font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
    color: rgba(255,255,255,0.5); font-weight: 600; margin-bottom: 14px;
}
.footer-cols a {
    display: block;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 14px;
    padding: 4px 0;
}
.footer-cols a:hover { color: #fff; }
.public-footer .brand-chip {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
    margin-bottom: 6px;
    display: inline-block;
}
.footer-base {
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    padding: 24px 16px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-top: 48px;
}