/* Fudl landing page — plain CSS, no framework. */
:root {
  --brand: #ea580c;
  --brand-600: #ea580c;
  --brand-700: #c2410c;
  --brand-50: #fff7ed;
  --brand-100: #ffedd5;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --tint: #f8fafc;
  --dark: #0b1220;
  --green: #10b981;
  --red: #dc2626;
  --radius: 16px;
  --shadow: 0 20px 50px -20px rgba(15, 23, 42, 0.25);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, transform .15s, box-shadow .15s, border-color .15s;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid rgba(234, 88, 12, .35); outline-offset: 2px; }
.btn--lg { padding: 14px 24px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 25px -10px rgba(234, 88, 12, .7); }
.btn--primary:hover { background: var(--brand-700); transform: translateY(-1px); }
.btn--primary:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.btn--outline { border-color: #cbd5e1; color: var(--ink-2); background: #fff; }
.btn--outline:hover { border-color: var(--ink-2); }
.btn--ghost { color: var(--ink-2); }
.btn--ghost:hover { background: #f1f5f9; }
.btn--white { background: #fff; color: var(--brand-700); }
.btn--white:hover { background: var(--brand-50); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid rgba(226,232,240,.8); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.brand__mark { width: 36px; height: 36px; border-radius: 11px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 18px; }
.brand__mark.sm { width: 28px; height: 28px; font-size: 14px; border-radius: 8px; }
.brand__name { font-size: 20px; }
.nav__links { display: flex; gap: 26px; flex: 1; }
.nav__links a { text-decoration: none; font-weight: 500; color: var(--muted); font-size: 15px; }
.nav__links a:hover { color: var(--ink); }
.nav__mobile-cta { display: none; }
.nav__actions { display: flex; gap: 8px; }
.nav__toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.nav__toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav--open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero::before { content: ''; position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(ellipse at 50% 0%, rgba(251,146,60,.22), transparent 60%); z-index: -1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-700); font-weight: 600; font-size: 13px; }
.hero h1 { margin-top: 20px; font-size: clamp(36px, 5.2vw, 62px); font-weight: 800; }
.accent { color: var(--brand); }
.lead { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__cta.center { justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; }
.ticks li::before { content: '✓'; color: var(--green); font-weight: 800; margin-right: 6px; }
.ticks--stack { flex-direction: column; }

.hero__visual { position: relative; }
.device { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.device__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--tint); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.device__bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.device__bar i:nth-child(2) { background: #fbbf24; }
.device__bar i:nth-child(3) { background: #34d399; }
.device__bar span { margin-left: 10px; }
.device__body { display: grid; grid-template-columns: 1fr 200px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.tile { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 12px; }
.tile::before { content: ''; display: block; height: 46px; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 70%, white)); }
.tile b { display: block; padding: 8px 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile em { display: block; padding: 0 10px 8px; font-style: normal; font-weight: 700; color: var(--brand-700); }
.cart { background: var(--tint); border-left: 1px solid var(--line); padding: 14px; font-size: 12px; }
.cart p { display: flex; justify-content: space-between; margin-top: 8px; }
.cart__head { color: var(--muted); font-weight: 700; margin-top: 0 !important; }
.cart .muted { color: var(--muted); border-top: 1px solid var(--line); padding-top: 8px; }
.cart .total { font-size: 15px; font-weight: 800; }
.pay { display: block; margin-top: 12px; padding: 8px; text-align: center; border-radius: 8px; background: var(--green); color: #fff; font-weight: 700; }
.float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; font-size: 12px; animation: bob 5s ease-in-out infinite; }
.float b { display: block; font-size: 13px; }
.float small { display: block; color: var(--muted); }
.float .red { color: var(--red); font-weight: 600; }
.float--ticket { left: -28px; bottom: -36px; width: 220px; }
.float__top { display: flex; justify-content: space-between; background: #f59e0b; color: #fff; font-weight: 800; border-radius: 8px; padding: 4px 8px; margin-bottom: 8px; }
.float__top em { font-style: normal; }
.float--stat { right: -18px; top: -28px; animation-delay: -2.5s; }
.float--stat small { font-weight: 700; letter-spacing: .06em; }
.float--stat b { font-size: 20px; font-weight: 800; }
.up { color: var(--green); font-weight: 700; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- stats ---------- */
.stats { border-block: 1px solid var(--line); background: var(--tint); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 34px 0; text-align: center; }
.stats b { display: block; font-size: 34px; font-weight: 800; }
.stats span { color: var(--muted); font-size: 14px; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: #fff; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section__head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.section__head p:last-child:not(.eyebrow) { margin-top: 14px; color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px !important; }
.eyebrow--light { color: #fdba74; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.feature__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); font-size: 22px; }
.feature h3 { margin-top: 16px; font-size: 18px; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- floor ---------- */
.floor { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.floor h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.floor__copy > p:not(.eyebrow) { margin-top: 16px; color: #cbd5e1; font-size: 17px; }
.legend { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 18px; color: #cbd5e1; font-size: 14px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.free { --t: #10b981; } .busy { --t: #f97316; } .res { --t: #38bdf8; } .clean { --t: #94a3b8; }
.legend i { background: var(--t); }
.iso { perspective: 1400px; display: grid; place-items: center; padding: 40px 0; }
.iso__floor {
  position: relative; width: min(520px, 90vw); aspect-ratio: 10 / 7;
  background: linear-gradient(#2a3346 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(90deg, #2a3346 1px, transparent 1px) 0 0 / 26px 26px, #1e2638;
  border-radius: 14px; transform: rotateX(58deg) rotateZ(-38deg); transform-style: preserve-3d;
  box-shadow: 0 60px 80px -30px rgba(0,0,0,.7);
}
.iso__wall--back { position: absolute; left: 0; top: 0; width: 100%; height: 26px; background: #475569; transform: rotateX(-90deg); transform-origin: top; }
.iso__bar { position: absolute; left: 30%; bottom: 6%; width: 40%; height: 10%; background: #92400e; border-radius: 6px; box-shadow: 0 0 0 4px #b45309 inset; transform: translateZ(18px); }
.iso__table {
  position: absolute; left: var(--x); top: var(--y); width: 16%; aspect-ratio: 1; border-radius: 10px;
  background: var(--t); transform: translateZ(22px); box-shadow: 0 0 0 5px color-mix(in srgb, var(--t) 55%, #0b1220), 8px 14px 0 -2px rgba(0,0,0,.35);
  animation: rise 4s ease-in-out infinite;
}
.iso__table.round { border-radius: 50%; }
.iso__table.busy { animation-name: glow; }
.iso__plant { position: absolute; left: var(--x); top: var(--y); width: 6%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #4ade80, #15803d); transform: translateZ(30px); }
@keyframes rise { 50% { transform: translateZ(30px); } }
@keyframes glow { 50% { box-shadow: 0 0 0 5px #fdba74, 0 0 30px 6px rgba(249,115,22,.7); } }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps b { font-size: 36px; font-weight: 800; color: var(--brand); }
.steps h3 { margin-top: 12px; font-size: 19px; }
.steps p { margin-top: 8px; color: var(--muted); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.plan--featured { border-color: var(--brand); box-shadow: 0 30px 60px -30px rgba(234,88,12,.45); }
.plan__badge { position: absolute; top: -13px; left: 32px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.plan__price { margin-top: 18px !important; font-size: 40px; font-weight: 800; }
.plan__price span { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.plan__desc { color: var(--muted); margin-top: 6px !important; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; flex: 1; }
.plan li { padding: 6px 0; }
.plan li::before { content: '✓'; color: var(--green); font-weight: 800; margin-right: 10px; }

/* ---------- access form ---------- */
.access { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.access h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.access__copy > p:not(.eyebrow):not(.small) { margin-top: 16px; color: var(--muted); font-size: 17px; }
.small { margin-top: 26px !important; font-size: 14px; color: var(--muted); }
.small a { color: var(--brand-700); font-weight: 600; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 28px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field i, .check i { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font: 15px var(--font); color: var(--ink); padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(234,88,12,.15); }
.field--invalid input, .field--invalid select, .field--invalid textarea { border-color: var(--red); box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
.field__error { display: block; color: var(--red); font-size: 13px; font-weight: 600; min-height: 0; margin-top: 4px; }
.field__error:empty { display: none; }
.field__hint { float: right; color: var(--muted); font-size: 12px; margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; margin: 4px 0 2px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }
.form .btn--block { margin-top: 18px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__alert { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 500; margin-bottom: 16px; }
.form__success { text-align: center; padding: 28px 8px; }
.form__success h3 { font-size: 22px; margin-top: 14px; }
.form__success p { color: var(--muted); margin: 10px 0 22px; }
.form__success-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #d1fae5; color: #047857; font-size: 30px; font-weight: 800; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- faq ---------- */
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; margin-bottom: 12px; }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 18px; color: var(--muted); }

/* ---------- cta + footer ---------- */
.cta { padding: 0 0 96px; }
.cta__box { text-align: center; color: #fff; padding: 64px 28px; border-radius: 28px; background: radial-gradient(circle at 20% 0%, #fb923c, transparent 50%), linear-gradient(135deg, var(--brand-600), #9a3412); box-shadow: 0 40px 80px -40px rgba(234,88,12,.7); }
.cta__box h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.cta__box p { margin-top: 12px; color: #ffedd5; }
.footer { border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid, .floor, .access { grid-template-columns: 1fr; }
  .hero__visual { max-width: 620px; margin: 30px auto 0; width: 100%; }
  .features, .plans, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); }
  .nav--open .nav__links { display: flex; }
  .nav__links a { padding: 12px 0; font-size: 16px; color: var(--ink); }
  .nav__mobile-cta { display: block; }
  .nav__actions .btn--primary { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__toggle { display: block; margin-left: 0; }
  .hero { padding: 48px 0 72px; }
  .features, .plans, .steps, .grid2 { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .device__body { grid-template-columns: 1fr; }
  .cart { border-left: 0; border-top: 1px solid var(--line); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .float--ticket { left: 8px; bottom: -44px; }
  .float--stat { right: 8px; }
  .section { padding: 72px 0; }
  .card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
