/* ---------- Design tokens ---------- */
:root{
  --ink: #14141c;
  --ink-soft: #5a5a6b;
  --paper: #ffffff;
  --paper-soft: #f6f6fb;
  --line: #e7e7f0;
  --brand-1: #5b3df5;
  --brand-2: #8a5cff;
  --accent: #ff9a2e;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(20,20,28,.18);
  --container: 1140px;
  font-size: 16px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

@keyframes navLinkIn{
  from{ opacity: 0; transform: translateY(-6px); }
  to{ opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body{
  margin: 0;
  font-family: "Noto Sans TC","Manrope",-apple-system,BlinkMacSystemFont,sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ font-family: "Manrope","Noto Sans TC",sans-serif; line-height: 1.25; margin: 0 0 .5em; }

.wrap{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section{ padding: 96px 0; }
.center{ text-align: center; }
.light{ color: #fff; }

.eyebrow{
  display: inline-block;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  color: var(--brand-1);
  margin-bottom: 12px;
}
.eyebrow.center{ display: block; }
.eyebrow.light{ color: var(--accent); }

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

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary{
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(91,61,245,.55);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(91,61,245,.6); }
.btn-ghost{
  background: transparent;
  border-color: rgba(20,20,28,.15);
  color: var(--ink);
}
.btn-ghost:hover{ border-color: var(--brand-1); color: var(--brand-1); }
.btn-outline-light{
  background: transparent;
  border-color: rgba(20,20,28,.15);
  color: var(--ink);
}
.btn-outline-light:hover{ border-color: var(--brand-1); color: var(--brand-1); }
.price-card.featured .btn-outline-light,
.price-card.featured .btn-primary{
  background: #fff;
  border-color: #fff;
  color: var(--brand-1);
}
.price-card.featured .btn-primary:hover{ background: rgba(255,255,255,.9); }
.btn-lg{ padding: 18px 42px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.is-scrolled{
  box-shadow: 0 8px 30px -18px rgba(20,20,28,.25);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; transition: height .25s ease;
}
.site-header.is-scrolled .header-inner{ height: 64px; }

.brand{ display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark{
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-1), var(--accent));
  background-size: 200% 200%;
  color: #fff; display: grid; place-items: center; font-size: 1.05rem;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), background-position .6s ease, border-radius .3s ease;
}
.brand:hover .brand-mark{
  transform: rotate(-8deg) scale(1.08);
  background-position: 100% 100%;
  border-radius: 40% 60% 55% 45%;
}
.brand-name{ font-size: 1.02rem; letter-spacing: -.01em; }
.brand-name em{ display: block; font-style: normal; font-weight: 500; font-size: .72rem; color: var(--ink-soft); }

.primary-nav{ display: flex; align-items: center; gap: 30px; }
.primary-nav a:not(.nav-cta){
  position: relative;
  font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  padding: 6px 2px;
  transition: color .2s ease;
}
.primary-nav a:not(.nav-cta)::after{
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s cubic-bezier(.65,0,.35,1);
}
.primary-nav a:not(.nav-cta):hover{ color: var(--ink); }
.primary-nav a:not(.nav-cta):hover::after,
.primary-nav a:not(.nav-cta):focus-visible::after,
.primary-nav a:not(.nav-cta).is-active::after{ transform: scaleX(1); }
.primary-nav a:not(.nav-cta).is-active{ color: var(--brand-1); }

.nav-cta{
  position: relative; overflow: hidden;
  padding: 10px 22px; border-radius: 999px;
  background: var(--ink); color: #fff !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav-cta::before{
  content: "";
  position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
}
.nav-cta:hover{
  background: var(--brand-1);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(91,61,245,.55);
}
.nav-cta:hover::before{ left: 130%; }

.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span{
  width: 100%; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s cubic-bezier(.65,0,.35,1), opacity .2s ease;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfaff 0%, var(--paper) 60%);
  color: var(--ink);
  padding: 140px 0 130px;
}
.hero-glow{
  position: absolute; inset: -30% -10% auto auto; width: 60%; height: 140%;
  background: radial-gradient(circle at 60% 40%, rgba(138,92,255,.16), transparent 60%),
              radial-gradient(circle at 30% 70%, rgba(255,154,46,.14), transparent 55%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-grid{
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(20,20,28,.09) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 72% 35%, rgba(0,0,0,.9), transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 72% 35%, rgba(0,0,0,.9), transparent 75%);
  pointer-events: none;
}
.hero-rings{
  position: absolute; top: 50%; right: -8%; width: 620px; height: 620px;
  transform: translateY(-50%);
  color: var(--brand-1); opacity: .1;
  pointer-events: none;
}
.hero-wave{
  position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px;
  color: var(--paper-soft);
  pointer-events: none;
}
.hero-wave path{ fill: currentColor; }
.hero-inner{ position: relative; max-width: 760px; }
.hero .eyebrow{ color: var(--brand-1); }
.hero h1{ font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
.hero .accent{ color: var(--brand-1); }
.hero-lead{ font-size: 1.1rem; color: var(--ink-soft); max-width: 560px; margin-bottom: 32px; }
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats{ display: flex; gap: 40px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }
.hero-stats li{ display: flex; flex-direction: column; }
.hero-stats strong{ font-size: 1.6rem; font-weight: 800; color: var(--ink); }
.hero-stats span{ font-size: .85rem; color: var(--ink-soft); }

/* ---------- Problem ---------- */
.problem{ background: var(--paper-soft); }
.problem-grid{ display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.problem h2{ font-size: 1.9rem; }
.problem-list li{
  position: relative; padding-left: 30px; margin-bottom: 16px; color: var(--ink-soft); font-size: 1.02rem;
}
.problem-list li::before{
  content: "✕"; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #ffe3e3; color: #e0435a; font-size: .7rem;
  display: grid; place-items: center;
}
.problem-solution{
  background: #fff; border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow);
}
.solution-tag{ font-weight: 800; color: var(--brand-1); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; margin-bottom: 10px; }
.solution-copy{ font-size: 1.15rem; margin-bottom: 24px; }

/* ---------- Features ---------- */
.feature-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.feature-card{
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 28px 32px;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease;
}
.feature-card::before{
  content: "";
  position: absolute; top: -40%; right: -30%; width: 70%; height: 70%;
  background: var(--fx-color, var(--brand-1));
  opacity: .08;
  border-radius: 50%;
  filter: blur(20px);
  transition: transform .4s ease, opacity .4s ease;
}
.feature-card:hover{
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--fx-color, var(--brand-1)) 35%, var(--line));
}
.feature-card:hover::before{ transform: scale(1.3); opacity: .14; }

.feature-num{
  position: absolute; top: 22px; right: 24px;
  font-size: .8rem; font-weight: 800; color: var(--ink-soft); opacity: .35;
  letter-spacing: .04em;
}

.feature-card--violet{ --fx-color: var(--brand-1); }
.feature-card--amber{ --fx-color: var(--accent); }
.feature-card--teal{ --fx-color: #17b6a7; }
.feature-card--pink{ --fx-color: #ef5da8; }

.feature-icon{
  position: relative;
  display: inline-grid; place-items: center; width: 76px; height: 76px;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--fx-color, var(--brand-1)), color-mix(in srgb, var(--fx-color, var(--brand-1)) 60%, #ffffff 10%));
  color: #fff;
  margin-bottom: 22px;
  box-shadow: 0 14px 26px -10px color-mix(in srgb, var(--fx-color, var(--brand-1)) 65%, transparent);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), border-radius .35s ease;
}
.feature-card:hover .feature-icon{
  transform: rotate(-6deg) scale(1.06);
  border-radius: 40% 60% 55% 45%;
}
.feature-icon svg{ width: 36px; height: 36px; }
.feature-card h3{ font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p{ color: var(--ink-soft); font-size: .95rem; margin: 0; line-height: 1.65; }

/* ---------- Pricing ---------- */
.pricing{ background: var(--paper-soft); }
.pricing .eyebrow.light{ color: var(--brand-1); }
.pricing h2.light{ color: var(--ink); }
.pricing-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 50px; }
.price-card{
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 12px 30px -18px rgba(20,20,28,.15);
}
.price-card.featured{
  background: linear-gradient(160deg, var(--brand-1), var(--brand-2));
  border-color: transparent;
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 24px 50px -18px rgba(91,61,245,.45);
}
.price-badge{
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: .75rem; font-weight: 800; padding: 6px 16px; border-radius: 999px;
}
.price-card h3{ font-size: 1.1rem; color: var(--ink-soft); }
.price-card.featured h3{ color: rgba(255,255,255,.85); }
.price{ font-size: 2.6rem; font-weight: 800; margin: 6px 0 4px; color: var(--ink); }
.price-card.featured .price{ color: #fff; }
.price .currency{ font-size: 1.4rem; vertical-align: top; }
.price .period{ font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.price-card.featured .price .period{ color: rgba(255,255,255,.7); }
.price-note{ color: var(--ink-soft); font-size: .9rem; margin-bottom: 24px; }
.price-card.featured .price-note{ color: rgba(255,255,255,.7); }
.price-features{ margin-bottom: 32px; }
.price-features li{ padding: 8px 0; border-top: 1px solid var(--line); font-size: .93rem; color: var(--ink-soft); }
.price-card.featured .price-features li{ border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.9); }
.price-features li:first-child{ border-top: none; }

/* ---------- Process ---------- */
.process-steps{
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 76px;
}
/* Continuous track line running behind all step circles, reinforcing "one path" */
.process-steps::before{
  content: "";
  position: absolute;
  top: 91px; left: 12.5%; right: 12.5%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  opacity: .22;
  border-radius: 3px;
  z-index: 1;
}
.process-steps li{
  background: var(--paper-soft); border-radius: var(--radius);
  padding: 36px 20px 30px; position: relative; text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.process-steps li:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: #fff;
}
.step-label{
  display: block;
  font-size: .7rem; font-weight: 800; letter-spacing: .12em;
  color: var(--brand-1); opacity: .75;
  margin-bottom: 10px;
}
.step-circle{
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff; font-weight: 800; font-size: 1.15rem;
  margin: 0 auto 18px;
  box-shadow: 0 10px 24px -6px rgba(91,61,245,.55);
  z-index: 2;
}
.step-circle::after{
  content: "";
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(91,61,245,.3);
}
.process-steps h3{ font-size: 1.05rem; }
.process-steps p{ color: var(--ink-soft); font-size: .92rem; margin: 0; line-height: 1.6; }

/* Connector chevrons between steps: horizontal on desktop, sit on top of the track line */
.process-steps li:not(:last-child)::after{
  content: "";
  position: absolute;
  top: 91px;
  right: -25px;
  width: 24px; height: 24px;
  background: #fff;
  border: 1.5px solid var(--brand-1);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%235b3df5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  transform: translateY(-50%);
  z-index: 3;
}

/* ---------- Work / Portfolio ---------- */
.work{ background: var(--paper); }
.work-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.work-grid-2{ grid-template-columns: repeat(2, 1fr); max-width: 940px; margin-left: auto; margin-right: auto; gap: 32px; }
.work-card{
  display: block;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px -24px rgba(20,20,28,.25);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.work-card:hover{ transform: translateY(-8px); box-shadow: 0 30px 55px -20px rgba(20,20,28,.32); }

/* Fake browser chrome around the screenshot, like a mini window */
.work-browser{
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: #ececf3;
  border-bottom: 1px solid var(--line);
}
.work-browser-dots{ display: flex; gap: 6px; flex-shrink: 0; }
.work-browser-dots span{
  width: 9px; height: 9px; border-radius: 50%; background: #d7d7e2;
}
.work-browser-dots span:nth-child(1){ background: #ec6a5e; }
.work-browser-dots span:nth-child(2){ background: #f4bf4f; }
.work-browser-dots span:nth-child(3){ background: #61c454; }
.work-browser-url{
  flex: 1;
  background: #fff; border-radius: 999px;
  padding: 4px 14px;
  font-size: .72rem; color: var(--ink-soft);
  text-align: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.work-shot{
  display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-soft); position: relative;
}
.work-shot img{
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.work-card:hover .work-shot img{ transform: scale(1.07); }

.work-overlay{
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 24px;
  background: linear-gradient(180deg, transparent 40%, rgba(16,12,42,.75) 100%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.work-card:hover .work-overlay{ opacity: 1; }
.work-overlay-btn{
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--ink);
  font-weight: 700; font-size: .88rem;
  padding: 10px 20px; border-radius: 999px;
  transform: translateY(10px);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.3);
}
.work-overlay-btn svg{ width: 16px; height: 16px; }
.work-card:hover .work-overlay-btn{ transform: translateY(0); }

.work-body{ display: block; padding: 26px 28px; }
.work-tag{
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  color: var(--brand-1); background: rgba(91,61,245,.1); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.work-card h3{ font-size: 1.15rem; margin: 0 0 8px; }
.work-card p{ color: var(--ink-soft); font-size: .92rem; margin: 0; }
.work-link{ display: inline-block; margin-top: 14px; font-weight: 700; color: var(--brand-1); }

/* ---------- FAQ ---------- */
.faq{ background: var(--paper-soft); }
.faq-wrap{ max-width: 780px; }
.accordion-item{ border-bottom: 1px solid var(--line); }
.accordion-trigger{
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: 0; padding: 22px 0; text-align: left;
  font-size: 1.05rem; font-weight: 700; cursor: pointer; color: var(--ink);
}
.accordion-icon{ font-size: 1.2rem; color: var(--brand-1); transition: transform .2s ease; }
.accordion-trigger[aria-expanded="true"] .accordion-icon{ transform: rotate(45deg); }
.accordion-panel{
  max-height: 0; overflow: hidden; transition: max-height .25s ease;
}
.accordion-panel p{ padding: 0 0 22px; color: var(--ink-soft); }
.accordion-panel a{ color: var(--brand-1); font-weight: 700; }

/* ---------- CTA ---------- */
.cta{
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff; text-align: center;
}
.cta h2{ font-size: 2rem; }
.cta p{ color: rgba(255,255,255,.85); margin-bottom: 30px; }
.cta .btn-primary{ background: var(--ink); }

/* ---------- Contact ---------- */
.contact-lead{ text-align: center; color: var(--ink-soft); max-width: 520px; margin: 0 auto 40px; }

.contact-form{
  position: relative;
  max-width: 720px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 30px 70px -30px rgba(20,20,28,.25);
}
.contact-form::before{
  content: "";
  position: absolute; inset: -1px -1px auto -1px; height: 5px;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2), var(--accent));
  border-radius: 24px 24px 0 0;
}
.form-section-title{
  display: flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-1); margin: 36px 0 18px;
}
.form-section-title::before{
  content: "";
  width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
}
.form-section-title:first-child{ margin-top: 0; }
.form-grid-2{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row{ margin-bottom: 20px; }
.form-row label{ display: block; font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.required-mark{ color: var(--accent); }
.form-row input,
.form-row textarea,
.form-row select{
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  background: var(--paper-soft);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.form-row select{
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5 10 12.5 15 7.5' stroke='%235a5a6b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-row input:hover,
.form-row textarea:hover,
.form-row select:hover{ border-color: color-mix(in srgb, var(--brand-1) 35%, var(--line)); }
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus{
  outline: none;
  border-color: var(--brand-1);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(91,61,245,.13);
}
.form-row textarea{ resize: vertical; }

.form-fieldset{ border: 0; padding: 0; margin: 0 0 20px; }
.form-fieldset legend{ font-weight: 700; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.choice-group{ display: flex; flex-direction: column; gap: 10px; }
.choice-group-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice{
  display: flex; align-items: center; gap: 12px;
  font-weight: 500; font-size: .92rem; color: var(--ink);
  background: var(--paper-soft); border: 1.5px solid transparent; border-radius: 12px;
  padding: 12px 16px; cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .15s ease;
}
.choice:hover{ border-color: color-mix(in srgb, var(--brand-1) 30%, transparent); background: #fff; }
.choice:has(input:checked){
  background: color-mix(in srgb, var(--brand-1) 6%, #fff);
  border-color: var(--brand-1);
}
.choice:active{ transform: scale(.98); }

/* Custom checkbox / radio controls — replaces native inputs so there's no
   browser-native focus/paint quirks (checked-state size jumps etc.) */
.choice-control{
  display: inline-block;
  position: relative; flex-shrink: 0;
  width: 20px; height: 20px;
}
.choice-control input{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer; z-index: 2;
}
.choice-box{
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); border-radius: 6px;
  background: #fff;
  transition: background .18s ease, border-color .18s ease, transform .15s ease;
}
.choice-control--radio .choice-box{ border-radius: 50%; }
.choice-check{
  width: 12px; height: 12px; color: #fff;
  opacity: 0; transform: scale(.4);
  transition: opacity .15s ease, transform .2s cubic-bezier(.34,1.56,.64,1);
}
.choice-dot{
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  opacity: 0; transform: scale(.3);
  transition: opacity .15s ease, transform .2s cubic-bezier(.34,1.56,.64,1);
}
.choice-control input:checked + .choice-box{
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  border-color: transparent;
}
.choice-control input:checked + .choice-box .choice-check,
.choice-control input:checked + .choice-box .choice-dot{
  opacity: 1; transform: scale(1);
}
.choice-control input:focus-visible + .choice-box{
  box-shadow: 0 0 0 4px rgba(91,61,245,.2);
}
.choice-control input:hover + .choice-box{ border-color: var(--brand-1); }

.form-honeypot{ position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-submit{ width: 100%; margin-top: 4px; }
.form-status{ margin: 16px 0 0; text-align: center; font-weight: 600; font-size: .92rem; min-height: 1.4em; }
.form-status.success{ color: #1a9e6a; }
.form-status.error{ color: #e0435a; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--ink); color: rgba(255,255,255,.7); padding: 32px 0; }
.footer-inner{ display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-nav{ display: flex; gap: 24px; }
.footer-nav a:hover{ color: #fff; }

.back-to-top{
  position: fixed; right: 24px; bottom: 24px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 90;
}
.back-to-top.visible{ opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px){
  .feature-grid{ grid-template-columns: repeat(2, 1fr); }
  .pricing-grid{ grid-template-columns: 1fr; }
  .price-card.featured{ transform: none; order: -1; }
  .work-grid, .work-grid-2{ grid-template-columns: 1fr; }
  .problem-grid{ grid-template-columns: 1fr; }
  .form-grid-2, .choice-group-grid{ grid-template-columns: 1fr; }

  /* Process steps stack vertically below desktop width; arrows switch to pointing down */
  .process-steps{ grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; gap: 40px; }
  .process-steps::before{
    top: 91px; bottom: 91px; left: 50%; right: auto;
    width: 3px; height: auto; transform: translateX(-50%);
  }
  .process-steps li:not(:last-child)::after{
    top: auto; right: auto;
    bottom: -32px; left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
}
@media (max-width: 720px){
  .section{ padding: 64px 0; }
  .nav-toggle{ display: flex; }
  .primary-nav{
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 0 24px;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .35s cubic-bezier(.65,0,.35,1), opacity .25s ease, padding .35s ease;
    box-shadow: 0 20px 30px -20px rgba(20,20,28,.2);
  }
  .primary-nav.open{ max-height: 480px; opacity: 1; padding: 8px 24px 20px; }
  .primary-nav a:not(.nav-cta){ padding: 12px 0; width: 100%; }
  .primary-nav a:not(.nav-cta)::after{ display: none; }
  .primary-nav.open a{
    opacity: 0;
    animation: navLinkIn .35s ease forwards;
  }
  .primary-nav.open a:nth-child(1){ animation-delay: .04s; }
  .primary-nav.open a:nth-child(2){ animation-delay: .08s; }
  .primary-nav.open a:nth-child(3){ animation-delay: .12s; }
  .primary-nav.open a:nth-child(4){ animation-delay: .16s; }
  .primary-nav.open a:nth-child(5){ animation-delay: .2s; }
  .primary-nav.open a:nth-child(6){ animation-delay: .24s; }
  .nav-cta{ margin-top: 8px; text-align: center; }
  .feature-grid{ grid-template-columns: 1fr; }
  .hero{ padding: 120px 0 80px; }
  .hero-rings{ opacity: .06; width: 420px; height: 420px; right: -20%; }
}
