/* KTN Infotech — styles based on the "Software & Automation" flyer */
:root {
  --cream: #fff5ec;
  --cream-2: #ffe9d6;
  --peach: #fcd9b8;
  --peach-line: #f7c99c;
  --orange: #c2410c;
  --orange-dark: #9a330a;
  --orange-soft: #fdba74;
  --navy: #1e1b4b;
  --navy-2: #2a2660;
  --text: #4b4868;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(30, 27, 75, 0.08);
  --max: 1160px;
  --head: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.accent { color: var(--orange); }
.lead { font-size: 1.15rem; max-width: 560px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: .2s ease;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--cream-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 245, 236, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--peach);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1.3rem; color: var(--navy); }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 1rem; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--navy); font-weight: 500; font-size: .98rem; position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--orange); transition: width .2s; }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--orange); }
.nav-links .btn { padding: 10px 20px; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--peach);
    padding: 8px 16px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 4px; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { justify-content: center; margin-top: 8px; }
}

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.bg-white { background: var(--white); }
@media (max-width: 600px) { .section { padding: 64px 0; } }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-art { width: 100%; max-width: 520px; justify-self: end; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 420px; }
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.hero-tags li { background: var(--white); border: 1px solid var(--peach-line); border-radius: 999px; padding: 6px 14px; font-size: .88rem; color: var(--navy); font-weight: 500; }

.gear { transform-origin: 85px 345px; animation: spin 14s linear infinite; }
.chart-line { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.2s .3s ease forwards; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .gear, .chart-line { animation: none; stroke-dashoffset: 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Page hero (inner pages) */
.page-hero { padding: 80px 0 60px; border-bottom: 1px solid var(--peach); }
.page-hero p { max-width: 640px; font-size: 1.12rem; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1.5px solid var(--peach-line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--orange); }
.card-title { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-title h3 { margin: 0; }
.icon { width: 26px; height: 26px; color: var(--orange); flex-shrink: 0; }
.icon-box { width: 52px; height: 52px; border-radius: 14px; background: var(--cream-2); display: grid; place-items: center; flex-shrink: 0; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }
.card .more { margin-top: auto; padding-top: 16px; font-weight: 600; text-decoration: none; font-family: var(--head); }
.card .more:hover { text-decoration: underline; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { border-top: 4px solid var(--orange); padding-top: 18px; }
.step h3 { font-size: 1.25rem; margin-bottom: 6px; }
.step .num { font-family: var(--head); font-weight: 700; color: var(--orange); font-size: .9rem; letter-spacing: .1em; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Dark band (AI & Marketing) ---------- */
.band {
  background: var(--navy); color: #d8d6f0;
  border-radius: 24px; padding: 54px 48px;
  position: relative; overflow: hidden;
}
.band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px;
  border-radius: 50%; border: 40px solid rgba(253, 186, 116, .08);
}
.band .eyebrow { color: var(--orange-soft); }
.band h2, .band h3 { color: var(--white); }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; position: relative; z-index: 1; }
.band-item .icon { color: var(--orange-soft); margin-bottom: 14px; }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; gap: 28px; } .band { padding: 40px 24px; } }

/* ---------- Service detail (services page) ---------- */
.service-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.service-nav a { text-decoration: none; background: var(--white); border: 1px solid var(--peach-line); color: var(--navy); padding: 8px 16px; border-radius: 999px; font-size: .92rem; font-weight: 500; }
.service-nav a:hover { border-color: var(--orange); color: var(--orange); }

.service-detail { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; padding: 64px 0; border-bottom: 1px solid var(--peach); scroll-margin-top: 90px; }
.service-detail:last-child { border-bottom: 0; }
.service-detail .icon-box { margin-bottom: 18px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; list-style: none; padding: 0; margin: 0; }
.feature-list li { background: var(--white); border: 1px solid var(--peach-line); border-radius: 12px; padding: 16px 18px; }
.feature-list strong { display: block; color: var(--navy); font-family: var(--head); margin-bottom: 2px; }
.feature-list span { font-size: .93rem; }
@media (max-width: 860px) { .service-detail { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 520px) { .feature-list { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.value { display: flex; gap: 16px; }
.value h3 { font-size: 1.1rem; margin-bottom: 4px; }
.value p { margin: 0; }

.process-detail { display: grid; gap: 20px; }
.process-row { display: grid; grid-template-columns: 90px 1fr; gap: 24px; background: var(--white); border: 1.5px solid var(--peach-line); border-radius: var(--radius); padding: 28px; }
.process-row .big { font-family: var(--head); font-weight: 700; font-size: 3rem; color: var(--orange); line-height: 1; }
@media (max-width: 520px) { .process-row { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- CTA ---------- */
.cta { background: var(--orange); border-radius: 24px; padding: 56px 48px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { color: #ffe4d1; margin: 0; }
@media (max-width: 600px) { .cta { padding: 40px 24px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.info-card p { margin: 0; }
.form { background: var(--white); border: 1.5px solid var(--peach-line); border-radius: 20px; padding: 34px; }
@media (max-width: 520px) { .form { padding: 24px 18px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--navy); font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--navy);
  padding: 12px 14px; border: 1.5px solid var(--peach-line); border-radius: 10px; background: var(--cream);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; font-weight: 500; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--peach-line); background: var(--cream); cursor: pointer; font-size: .9rem; color: var(--navy); }
.chips input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.form-note { font-size: .88rem; margin-top: 12px; }
.form-status { margin-top: 14px; font-weight: 600; color: var(--orange); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #bdbad8; padding: 64px 0 28px; margin-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #bdbad8; text-decoration: none; }
.site-footer a:hover { color: var(--orange-soft); }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid var(--navy-2); margin-top: 44px; padding-top: 22px; font-size: .9rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   HOME PAGE — extra design
   ========================================================= */

/* Hero background */
.hero-home { position: relative; isolation: isolate; }
.hero-home::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(var(--peach-line) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  opacity: .55;
}
.blob { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; pointer-events: none; }
.blob-1 { width: 420px; height: 420px; background: #ffd5b0; right: -80px; top: 20px; }
.blob-2 { width: 260px; height: 260px; background: #ffe7cf; left: -100px; bottom: -40px; }
.hero-home .hero-grid { position: relative; z-index: 1; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--peach-line); border-radius: 999px;
  padding: 6px 14px 6px 6px; font-size: .88rem; font-weight: 500; color: var(--navy); margin-bottom: 22px;
}
.pill b { background: var(--orange); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: .78rem; font-family: var(--head); }

.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 520px; }
.hero-visual .hero-art { max-width: none; }
.float-badge {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 10px 14px;
  box-shadow: 0 14px 34px rgba(30, 27, 75, .14);
  font-size: .85rem; color: var(--navy); font-weight: 600; white-space: nowrap;
  animation: floaty 5s ease-in-out infinite;
}
.float-badge small { display: block; font-weight: 400; color: var(--text); font-size: .76rem; }
.float-badge .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.float-badge .dot svg { width: 18px; height: 18px; }
.fb-1 { top: 6%; left: -6%; }
.fb-2 { top: 44%; right: -4%; animation-delay: -1.6s; }
.fb-3 { bottom: 2%; left: 22%; animation-delay: -3.2s; }
.dot-green { background: #dcfce7; color: #15803d; }
.dot-orange { background: var(--cream-2); color: var(--orange); }
.dot-navy { background: #e4e3f5; color: var(--navy); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 900px) {
  .hero-visual { justify-self: center; max-width: 440px; }
  .fb-1 { left: 0; } .fb-2 { right: 0; }
}
@media (max-width: 480px) { .float-badge { font-size: .76rem; padding: 8px 10px; } .float-badge small { display: none; } .fb-3 { left: 10%; } }

/* Marquee */
.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: 10px -20px 0; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--head); font-weight: 600; font-size: 1.15rem; display: inline-flex; align-items: center; gap: 40px; white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--orange-soft); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Service cards (home) */
.svc-card { position: relative; overflow: hidden; }
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0;
  background: var(--orange); transition: width .35s ease;
}
.svc-card:hover::before { width: 100%; }
.svc-card .num { position: absolute; right: 22px; top: 18px; font-family: var(--head); font-weight: 700; font-size: 2.4rem; color: var(--cream-2); line-height: 1; transition: color .2s; }
.svc-card:hover .num { color: var(--peach); }
.svc-card .icon-box { margin-bottom: 18px; transition: background .2s, transform .3s; }
.svc-card:hover .icon-box { background: var(--orange); transform: rotate(-6deg); }
.svc-card:hover .icon-box .icon { color: #fff; }
.svc-card h3 { margin-bottom: 12px; }
.svc-card.featured { border-color: var(--orange); background: linear-gradient(180deg, #fff 60%, var(--cream) 100%); }
.tag { position: absolute; right: 18px; top: 18px; background: var(--orange); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; font-family: var(--head); }
.svc-card.featured .num { display: none; }

/* Manual vs Automated */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
.compare-card { border-radius: 20px; padding: 34px 30px; }
.compare-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.compare-card ul { list-style: none; padding: 0; margin: 0; }
.compare-card li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px dashed rgba(0,0,0,.08); }
.compare-card li:last-child { border-bottom: 0; }
.compare-card li i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.compare-before { background: #fff; border: 1.5px dashed var(--peach-line); }
.compare-before h3 { color: var(--text); }
.compare-before li { color: var(--text); }
.compare-before li i { background: #fde2e2; color: #b42318; }
.compare-after { background: var(--navy); color: #d8d6f0; box-shadow: 0 20px 40px rgba(30, 27, 75, .2); }
.compare-after h3 { color: #fff; }
.compare-after li { border-bottom-color: rgba(255,255,255,.1); }
.compare-after li i { background: var(--orange); color: #fff; }
.compare-arrow { display: grid; place-items: center; }
.compare-arrow div { width: 60px; height: 60px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(194, 65, 12, .35); }
@media (max-width: 860px) {
  .compare { grid-template-columns: 1fr; }
  .compare-arrow div { transform: rotate(90deg); }
}

/* Solution spotlights */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.spotlight + .spotlight { margin-top: 90px; }
.spotlight.reverse > :first-child { order: 2; }
@media (max-width: 860px) {
  .spotlight { grid-template-columns: 1fr; gap: 32px; }
  .spotlight.reverse > :first-child { order: 0; }
  .spotlight + .spotlight { margin-top: 64px; }
}
.check-list { list-style: none; padding: 0; margin: 20px 0 26px; }
.check-list li { display: flex; gap: 12px; margin-bottom: 12px; color: var(--navy); font-weight: 500; }
.check-list li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; background: var(--cream-2); color: var(--orange); display: grid; place-items: center; font-size: .8rem; font-weight: 700; flex-shrink: 0; }

.mock { background: #fff; border-radius: 20px; border: 1.5px solid var(--peach-line); box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { background: var(--cream-2); padding: 12px 16px; display: flex; align-items: center; gap: 7px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange-soft); }
.mock-bar i:first-child { background: var(--orange); }
.mock-bar span { margin-left: 10px; font-size: .8rem; font-weight: 600; color: var(--navy); font-family: var(--head); }
.mock-body { padding: 20px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { background: var(--cream); border-radius: 10px; padding: 10px 12px; }
.kpi small { display: block; font-size: .72rem; color: var(--text); }
.kpi .bar { height: 8px; border-radius: 4px; background: var(--orange); margin-top: 8px; }
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kanban-col { background: var(--cream); border-radius: 10px; padding: 10px; }
.kanban-col h5 { margin: 0 0 8px; font-family: var(--head); font-size: .78rem; color: var(--navy); display: flex; justify-content: space-between; }
.kanban-col h5 em { font-style: normal; background: #fff; border-radius: 999px; padding: 0 7px; }
.lead-card { background: #fff; border-radius: 8px; padding: 8px; margin-bottom: 8px; border-left: 3px solid var(--orange-soft); }
.lead-card:last-child { margin-bottom: 0; }
.lead-card b { display: block; height: 7px; width: 70%; background: var(--navy); opacity: .75; border-radius: 4px; margin-bottom: 6px; }
.lead-card s { display: block; height: 6px; width: 45%; background: var(--peach); border-radius: 4px; }
.lead-card.hot { border-left-color: var(--orange); }
.lead-card.won { border-left-color: #16a34a; }

.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone-wrap::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--cream-2); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.phone {
  position: relative; width: 260px; background: #fff; border: 6px solid var(--navy); border-radius: 36px;
  padding: 18px 14px 22px; box-shadow: 0 24px 50px rgba(30, 27, 75, .2);
}
.phone .notch { width: 80px; height: 8px; border-radius: 4px; background: var(--navy); margin: 0 auto 16px; opacity: .85; }
.phone h5 { font-family: var(--head); color: var(--navy); font-size: 1rem; margin: 0 0 2px; }
.phone .sub { font-size: .75rem; color: var(--text); margin-bottom: 14px; }
.guard { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: var(--cream); margin-bottom: 8px; font-size: .8rem; color: var(--navy); font-weight: 600; }
.guard .av { width: 28px; height: 28px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; font-size: .72rem; }
.guard .st { margin-left: auto; font-size: .68rem; padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.st-on { background: #dcfce7; color: #15803d; }
.st-patrol { background: var(--cream-2); color: var(--orange); }
.st-off { background: #ececf4; color: #6b6890; }
.phone .sos { margin-top: 14px; background: var(--orange); color: #fff; text-align: center; padding: 10px; border-radius: 12px; font-family: var(--head); font-weight: 700; font-size: .85rem; }

/* Process timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 32px; left: 12%; right: 12%; border-top: 3px dashed var(--peach-line); z-index: 0; }
.tl-step { text-align: center; position: relative; z-index: 1; padding: 0 6px; }
.tl-num {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  background: #fff; border: 3px solid var(--orange); color: var(--orange);
  display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 1.4rem;
  transition: background .25s, color .25s, transform .25s;
}
.tl-step:hover .tl-num { background: var(--orange); color: #fff; transform: scale(1.08); }
.tl-step h3 { font-size: 1.2rem; margin-bottom: 6px; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before { display: none; }
}
@media (max-width: 480px) { .timeline { grid-template-columns: 1fr; } }

/* Band upgrade */
.band-item .icon-wrap { width: 52px; height: 52px; border-radius: 14px; background: rgba(253, 186, 116, .12); display: grid; place-items: center; margin-bottom: 16px; }
.band-item .icon-wrap .icon { margin: 0; }
.band-item { padding: 24px; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); transition: background .2s, border-color .2s; }
.band-item:hover { background: rgba(255,255,255,.04); border-color: rgba(253, 186, 116, .35); }
.band-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; position: relative; z-index: 1; }
.band-head h2 { margin: 0; }
@media (max-width: 860px) { .band-item { padding: 20px; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 28px; } }
.faq details { background: #fff; border: 1.5px solid var(--peach-line); border-radius: 14px; margin-bottom: 12px; transition: border-color .2s; }
.faq details[open] { border-color: var(--orange); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--head); font-weight: 600; color: var(--navy); font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 30px; height: 30px; border-radius: 50%; background: var(--cream-2); color: var(--orange); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq details p { padding: 0 22px 18px; margin: 0; }

/* CTA upgrade */
.cta-fancy { position: relative; overflow: hidden; }
.cta-fancy::before, .cta-fancy::after { content: ""; position: absolute; border-radius: 50%; border: 30px solid rgba(255,255,255,.08); }
.cta-fancy::before { width: 220px; height: 220px; right: -60px; top: -90px; }
.cta-fancy::after { width: 160px; height: 160px; left: 30%; bottom: -110px; }
.cta-fancy > * { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .float-badge, .marquee-track { animation: none; }
}

/* Hero top-right: workflow card + decorations */
.workflow-card {
  position: absolute; top: -150px; right: 0; width: 330px; z-index: 2;
  background: var(--navy); color: #d8d6f0; border-radius: 18px; padding: 18px 20px;
  box-shadow: 0 22px 44px rgba(30, 27, 75, .28);
  animation: floaty 6s ease-in-out infinite; animation-delay: -2s;
}
.wf-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.wf-head b { color: #fff; font-family: var(--head); font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.wf-head b svg { width: 18px; height: 18px; color: var(--orange-soft); }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; color: #86efac; background: rgba(134, 239, 172, .1); padding: 3px 9px; border-radius: 999px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); } 100% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } }
.wf-flow { display: flex; align-items: center; justify-content: space-between; }
.wf-node { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; color: #fff; }
.wf-node span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(253, 186, 116, .3); }
.wf-node span svg { width: 20px; height: 20px; color: var(--orange-soft); }
.wf-node.on span { background: var(--orange); border-color: var(--orange); }
.wf-node.on span svg { color: #fff; }
.wf-link { flex: 1; height: 2px; margin: 0 6px 22px; background: repeating-linear-gradient(90deg, var(--orange-soft) 0 6px, transparent 6px 11px); background-size: 22px 2px; animation: flow 1s linear infinite; }
@keyframes flow { to { background-position: 22px 0; } }
.wf-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; font-size: .76rem; }
.wf-foot strong { color: var(--orange-soft); font-weight: 600; }

.deco-ring { position: absolute; top: -190px; right: 300px; width: 120px; height: 120px; border-radius: 50%; border: 3px dashed var(--orange-soft); opacity: .7; animation: spin 30s linear infinite; z-index: 0; }
.deco-spark { position: absolute; color: var(--orange); z-index: 1; animation: twinkle 3s ease-in-out infinite; }
.deco-spark svg { width: 100%; height: 100%; }
.sp-1 { top: -175px; right: 360px; width: 26px; height: 26px; }
.sp-2 { top: -40px; right: 350px; width: 16px; height: 16px; color: var(--orange-soft); animation-delay: -1.5s; }
.sp-3 { top: -30px; right: -20px; width: 18px; height: 18px; color: var(--navy); animation-delay: -.8s; }
@keyframes twinkle { 0%,100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.6) rotate(45deg); opacity: .5; } }

@media (max-width: 900px) {
  .hero-visual { margin-top: 20px; }
  .workflow-card { position: relative; top: auto; right: auto; width: 100%; max-width: 340px; margin: 0 auto 26px; }
  .deco-ring, .sp-1, .sp-2 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .workflow-card, .deco-ring, .deco-spark, .wf-link, .live::before { animation: none; }
}
@media (max-width: 900px) { .fb-1, .sp-3 { display: none; } }

/* Hero left-side animations */
.hero-copy > * { opacity: 0; animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .25s; }
.hero-copy > :nth-child(4) { animation-delay: .55s; }
.hero-copy > :nth-child(5) { animation-delay: .7s; }
.hero-copy > :nth-child(6) { animation-delay: .85s; }
.h1-line { display: block; opacity: 0; animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) forwards; }
.h1-line:nth-child(1) { animation-delay: .3s; }
.h1-line:nth-child(2) { animation-delay: .45s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.shimmer {
  background: linear-gradient(100deg, var(--orange) 0%, var(--orange) 40%, #f59e57 50%, var(--orange) 60%, var(--orange) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) .45s forwards, shimmer 4.5s ease-in-out 1.6s infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 60%,100% { background-position: 0 0; } }

.scribble { position: relative; display: inline-block; }
.scribble svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.scribble path { fill: none; stroke: var(--navy); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1s ease 1.3s forwards; }

.pill b { animation: badgePulse 2.4s ease-in-out 1.5s infinite; }
@keyframes badgePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(194,65,12,.45); } 50% { box-shadow: 0 0 0 6px rgba(194,65,12,0); } }

.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); animation: shine 3.5s ease-in-out 2s infinite;
}
@keyframes shine { 0% { left: -60%; } 40%,100% { left: 130%; } }
.btn-shine svg { animation: nudge 1.6s ease-in-out 2s infinite; }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

.hero-copy .hero-tags li { opacity: 0; animation: pop .5s cubic-bezier(.3,1.6,.5,1) forwards; transition: transform .2s, background .2s, color .2s, border-color .2s; cursor: default; }
.hero-copy .hero-tags li:nth-child(1) { animation-delay: 1.0s; }
.hero-copy .hero-tags li:nth-child(2) { animation-delay: 1.08s; }
.hero-copy .hero-tags li:nth-child(3) { animation-delay: 1.16s; }
.hero-copy .hero-tags li:nth-child(4) { animation-delay: 1.24s; }
.hero-copy .hero-tags li:nth-child(5) { animation-delay: 1.32s; }
.hero-copy .hero-tags li:nth-child(6) { animation-delay: 1.4s; }
.hero-copy .hero-tags li:hover { transform: translateY(-3px); background: var(--orange); color: #fff; border-color: var(--orange); }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .h1-line, .hero-copy .hero-tags li { opacity: 1; animation: none; }
  .shimmer, .pill b, .btn-shine::after, .btn-shine svg { animation: none; }
  .scribble path { animation: none; stroke-dashoffset: 0; }
}

/* Hero background twinkles */
.twinkles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.tw { position: absolute; border-radius: 50%; background: var(--orange-soft); opacity: 0; animation: blink 3s ease-in-out infinite; }
.tw:nth-child(3n) { background: var(--orange); }
.tw:nth-child(5n) { background: var(--navy); }
.tw-star { border-radius: 0; background: var(--orange) !important;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
@keyframes blink {
  0%, 100% { opacity: 0; transform: scale(.4); }
  50% { opacity: .85; transform: scale(1); }
}
