/* ============================================================
   ETHENTA WEB DESIGN — Design System
   Dark "dream" aesthetic · glassmorphism · signature gradient
   ============================================================ */

:root {
  /* Brand */
  --ink:        #05060a;
  --ink-2:      #0a0c14;
  --panel:      #0e1019;
  --panel-2:    #141826;
  --line:       rgba(255,255,255,.08);
  --line-2:     rgba(255,255,255,.14);

  --text:       #eef1f8;
  --muted:      #9aa3b8;
  --muted-2:    #6c7488;

  --brand:      #7c5cff;   /* violet */
  --brand-2:    #14e0c8;   /* aqua   */
  --brand-3:    #ff5ca8;   /* rose   */
  --gold:       #f5c451;

  --grad:       linear-gradient(120deg, #7c5cff 0%, #5c8bff 38%, #14e0c8 100%);
  --grad-warm:  linear-gradient(120deg, #ff5ca8 0%, #7c5cff 60%, #5c8bff 100%);
  --glow:       0 0 60px rgba(124,92,255,.45);

  --radius:     20px;
  --radius-sm:  12px;
  --maxw:       1180px;

  --shadow:     0 20px 60px rgba(0,0,0,.45);
  --shadow-sm:  0 8px 24px rgba(0,0,0,.35);

  --ease:       cubic-bezier(.2,.7,.2,1);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Sora", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: rgba(124,92,255,.4); color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 10vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vw, 90px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand-2);
  padding: 7px 14px; border: 1px solid var(--line-2);
  border-radius: 100px; background: rgba(20,224,200,.06);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 10px var(--brand-2); }

h1,h2,h3,h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
.h-xl { font-size: clamp(2.6rem, 6.5vw, 5rem); }
.h-lg { font-size: clamp(2rem, 4.5vw, 3.3rem); }
.h-md { font-size: clamp(1.5rem, 3vw, 2.1rem); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.gradient-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 100px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(124,92,255,.4); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(124,92,255,.55); }
.btn--ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(255,255,255,.09); transform: translateY(-2px); }
.btn--wa { background: #25D366; color: #062e16; }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37,211,102,.45); }
.btn--lg { padding: 17px 32px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Background FX ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: float 16s var(--ease) infinite alternate; }
.orb--1 { width: 520px; height: 520px; background: radial-gradient(circle, #7c5cff, transparent 70%); top: -160px; left: -120px; }
.orb--2 { width: 480px; height: 480px; background: radial-gradient(circle, #14e0c8, transparent 70%); top: 30%; right: -160px; animation-delay: -4s; }
.orb--3 { width: 420px; height: 420px; background: radial-gradient(circle, #ff5ca8, transparent 70%); bottom: -180px; left: 30%; animation-delay: -8s; }
.grid-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
@keyframes float { to { transform: translate(40px, -30px) scale(1.08); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(8,9,14,.72); backdrop-filter: blur(18px) saturate(160%); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand__mark { width: 34px; height: 34px; }
.brand small { display: block; font-family: var(--font); font-weight: 500; font-size: 10.5px; letter-spacing: .22em; color: var(--muted-2); text-transform: uppercase; margin-top: -2px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 14.5px; color: var(--muted); font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__links a[aria-current="page"] { color: var(--text); font-weight: 600; }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; }
.nav__toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { padding-top: 150px; padding-bottom: 80px; position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__meta { display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero__meta b { color: var(--text); font-family: var(--display); font-size: 22px; display: block; }

/* floating mockup */
.mockup {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-2); background: var(--panel);
  box-shadow: var(--shadow); transform: perspective(1200px) rotateY(-9deg) rotateX(4deg);
  animation: hover-card 7s var(--ease) infinite alternate;
}
@keyframes hover-card { to { transform: perspective(1200px) rotateY(-3deg) rotateX(1deg) translateY(-10px); } }
.mockup__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.mockup__bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2f40; display: inline-block; }
.mockup__bar i:nth-child(1){background:#ff5f57}.mockup__bar i:nth-child(2){background:#febc2e}.mockup__bar i:nth-child(3){background:#28c840}
.mockup__bar span { margin-left: 12px; font-size: 12px; color: var(--muted-2); }
.mockup__body { padding: 22px; display: grid; gap: 14px; }
.sk { background: linear-gradient(90deg, var(--panel-2), #1b2030, var(--panel-2)); background-size: 200% 100%; border-radius: 8px; animation: shimmer 2.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.sk--hero { height: 120px; background: var(--grad); opacity: .85; }
.sk--line { height: 12px; } .sk--line.w70{width:70%}.sk--line.w50{width:50%}.sk--line.w90{width:90%}
.sk--row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.sk--card { height: 70px; }

.badge-float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px;
  padding: 11px 15px; border-radius: 14px; background: rgba(14,16,25,.85);
  border: 1px solid var(--line-2); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600;
}
.badge-float .ring { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px rgba(20,224,200,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(20,224,200,0); } }
.badge-float--1 { top: -18px; right: 30px; }
.badge-float--2 { bottom: 24px; left: -26px; }

/* ---------- Marquee / trust ---------- */
.trust { border-block: 1px solid var(--line); background: rgba(255,255,255,.015); }
.trust__inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; padding: 26px 0; }
.trust__label { color: var(--muted-2); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.engine-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 100px; font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,.03); }
.engine-pill svg { width: 16px; height: 16px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  position: relative; overflow: hidden;
}
.card::before {
  content:""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover::before { opacity: .9; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(124,92,255,.12); border: 1px solid var(--line-2); margin-bottom: 20px; }
.card__icon svg { width: 26px; height: 26px; stroke: var(--brand-2); }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.card__tag { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--brand-2); text-transform: uppercase; }

/* ---------- Portfolio ---------- */
.work__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.work-card {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--panel); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
  display: block;
}
.work-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--line-2); }
.work-card__shot { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--panel-2); }
.work-card__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-card:hover .work-card__shot img { transform: scale(1.05); }
.work-card__fallback { position: absolute; inset: 0; display: grid; place-items: center; background: var(--grad); font-family: var(--display); font-weight: 700; font-size: 2rem; color: #fff; }
.work-card__body { padding: 22px 24px; display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.work-card__body h3 { font-size: 1.2rem; margin-bottom: 5px; }
.work-card__body p { color: var(--muted); font-size: 13.5px; margin: 0; }
.work-card__url { font-size: 12.5px; color: var(--brand-2); font-weight: 600; }
.work-card__arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex-shrink: 0; transition: background .3s, transform .3s; }
.work-card:hover .work-card__arrow { background: var(--brand); transform: rotate(-45deg); border-color: var(--brand); }
.work-card__arrow svg { width: 16px; height: 16px; }

/* ---------- DreamFlow ---------- */
.dreamflow { position: relative; }
.df-shell {
  display: grid; grid-template-columns: 420px 1fr; gap: 0;
  border: 1px solid var(--line-2); border-radius: 24px; overflow: hidden;
  background: var(--panel); box-shadow: var(--shadow); min-height: 560px;
}
.df-chat { display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--ink-2); }
.df-chat__head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.df-avatar { width: 38px; height: 38px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; font-weight: 700; color: #fff; box-shadow: var(--glow); }
.df-chat__head h4 { font-size: 15px; } .df-chat__head small { color: var(--brand-2); font-size: 12px; font-weight: 600; }
.df-log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.df-msg { max-width: 86%; padding: 12px 15px; border-radius: 14px; font-size: 14px; line-height: 1.5; animation: msg-in .4s var(--ease); }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.df-msg--bot { align-self: flex-start; background: var(--panel-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.df-msg--user { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }
.df-msg b { color: var(--brand-2); } .df-msg--user b { color: #fff; }
.df-typing { display: flex; gap: 4px; padding: 14px 16px; }
.df-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.df-typing i:nth-child(2){animation-delay:.2s}.df-typing i:nth-child(3){animation-delay:.4s}
@keyframes blink { 50% { opacity: .25; } }
.df-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 12px; }
.df-chip { font-size: 12.5px; padding: 7px 13px; border-radius: 100px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--muted); transition: all .2s; }
.df-chip:hover { color: #fff; border-color: var(--brand); background: rgba(124,92,255,.15); }
.df-input { display: flex; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--line); }
.df-input input { flex: 1; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 100px; padding: 12px 18px; color: var(--text); font-size: 14px; outline: none; transition: border-color .2s; }
.df-input input:focus { border-color: var(--brand); }
.df-send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--grad); display: grid; place-items: center; flex-shrink: 0; }
.df-send svg { width: 18px; height: 18px; stroke: #fff; }

.df-canvas { position: relative; background: radial-gradient(ellipse at top, #11141f, var(--ink)); display: flex; flex-direction: column; }
.df-canvas__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.df-canvas__title { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.df-canvas__title .live { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 3px rgba(20,224,200,.2); animation: pulse 2s infinite; }
.df-device-toggle { display: flex; gap: 4px; background: var(--panel-2); border-radius: 100px; padding: 4px; border: 1px solid var(--line); }
.df-device-toggle button { background: none; border: 0; padding: 6px 12px; border-radius: 100px; color: var(--muted); font-size: 12px; font-weight: 600; transition: all .2s; }
.df-device-toggle button.active { background: var(--brand); color: #fff; }
.df-stage { flex: 1; overflow-y: auto; padding: 28px; display: grid; place-items: start center; }
.df-frame {
  width: 100%; max-width: 680px; background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); transition: max-width .45s var(--ease); min-height: 200px;
  color: #1a1d29;
}
.df-frame.mobile { max-width: 300px; }
.df-empty { text-align: center; color: var(--muted-2); align-self: center; max-width: 320px; }
.df-empty svg { width: 54px; height: 54px; stroke: var(--muted-2); margin: 0 auto 16px; }

/* Wireframe blocks (rendered inside white frame) */
.wf { animation: wf-in .5s var(--ease); }
@keyframes wf-in { from { opacity: 0; transform: translateY(14px); } }
.wf-nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid #eceef3; }
.wf-logo { width: 80px; height: 16px; border-radius: 5px; background: linear-gradient(90deg,#7c5cff,#14e0c8); }
.wf-navlinks { display: flex; gap: 12px; } .wf-navlinks span { width: 38px; height: 9px; border-radius: 5px; background: #dde1ea; }
.wf-hero { padding: 38px 24px; text-align: center; background: linear-gradient(135deg,#f4f1ff,#eafaf7); }
.wf-hero .t { height: 22px; width: 70%; margin: 0 auto 12px; border-radius: 6px; background: #3a3f52; }
.wf-hero .s { height: 11px; width: 50%; margin: 0 auto 18px; border-radius: 5px; background: #b9bfce; }
.wf-hero .btns { display: flex; gap: 8px; justify-content: center; }
.wf-hero .btns b { width: 90px; height: 30px; border-radius: 100px; } .wf-hero .btns b:first-child{background:linear-gradient(90deg,#7c5cff,#14e0c8)} .wf-hero .btns b:last-child{background:#dde1ea}
.wf-sec { padding: 26px 24px; } .wf-sec .lab { font-size: 11px; font-weight: 700; letter-spacing:.1em; text-transform: uppercase; color:#7c5cff; margin-bottom: 12px; }
.wf-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.wf-card { background: #f5f6fa; border: 1px solid #eceef3; border-radius: 9px; padding: 12px; }
.wf-card .ic { width: 26px; height: 26px; border-radius: 7px; background: #e4e0ff; margin-bottom: 9px; }
.wf-card .l1 { height: 9px; width: 80%; border-radius: 4px; background: #c9cedb; margin-bottom: 6px; }
.wf-card .l2 { height: 8px; width: 95%; border-radius: 4px; background: #e0e3eb; }
.wf-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.wf-gallery .g { aspect-ratio: 1; border-radius: 9px; background: linear-gradient(135deg,#e9e6ff,#dcf6f1); }
.wf-shop { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.wf-prod { border: 1px solid #eceef3; border-radius: 9px; overflow: hidden; }
.wf-prod .img { aspect-ratio: 4/3; background: linear-gradient(135deg,#f0edff,#e3f7f3); }
.wf-prod .meta { padding: 10px; } .wf-prod .meta .l { height: 8px; border-radius: 4px; background:#d4d8e2; margin-bottom: 6px; } .wf-prod .meta .price { height: 10px; width: 40%; border-radius: 4px; background:#7c5cff; }
.wf-form { background: #f5f6fa; border-radius: 10px; padding: 16px; display: grid; gap: 9px; }
.wf-form .fld { height: 30px; border-radius: 7px; background: #fff; border: 1px solid #e2e5ee; }
.wf-form .sub { height: 32px; width: 120px; border-radius: 100px; background: linear-gradient(90deg,#7c5cff,#14e0c8); }
.wf-quote { padding: 26px 24px; text-align:center; background:#faf9ff; }
.wf-quote .q { height: 12px; border-radius: 5px; background:#cfd4e0; margin: 0 auto 8px; } .wf-quote .q.a{width:80%}.wf-quote .q.b{width:60%}
.wf-stars { color:#f5c451; letter-spacing:3px; margin-top:10px; font-size: 14px; }
.wf-bot {
  position: absolute; bottom: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg,#7c5cff,#14e0c8); display: grid; place-items: center; color:#fff; font-size:20px;
  box-shadow: 0 8px 22px rgba(124,92,255,.5); animation: pop 4s var(--ease) infinite;
}
@keyframes pop { 0%,100%{transform:scale(1)} 50%{transform:scale(1.12)} }
.wf-foot { padding: 20px 24px; background: #1a1d29; display:flex; justify-content: space-between; align-items:center; }
.wf-foot .l { height: 9px; width: 90px; border-radius: 4px; background:#3a3f52; } .wf-foot .s { display:flex; gap:7px; } .wf-foot .s i { width:18px;height:18px;border-radius:50%;background:#3a3f52; display:inline-block;}
.df-frame.mobile .wf-cards, .df-frame.mobile .wf-gallery { grid-template-columns: 1fr; }
.df-frame.mobile .wf-shop { grid-template-columns: 1fr; }

/* ---------- DreamFlow builder: intake form ---------- */
.df-build { display: flex; flex-direction: column; background: var(--ink-2); min-height: 0; }
.df-build__head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.df-build__head h4 { font-size: 15px; margin: 0; } .df-build__head small { color: var(--brand-2); font-size: 12px; font-weight: 600; }
.df-build__body { flex: 1; overflow-y: auto; padding: 20px; display: grid; gap: 18px; align-content: start; }
.df-build__foot { padding: 14px 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; flex-shrink: 0; }
.df-step { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); display: flex; align-items: center; gap: 8px; }

/* collapsible accordion sections */
.df-acc-head { font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--text); margin: 0 0 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.df-acc-head span { font-family: var(--font); font-weight: 500; font-size: 11px; color: var(--muted-2); text-transform: none; letter-spacing: 0; }
.df-acc { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: rgba(255,255,255,.02); overflow: hidden; }
.df-acc[open] { border-color: var(--line-2); background: rgba(255,255,255,.03); }
.df-acc__sum { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 13px 15px; font-size: 13.5px; font-weight: 600; color: var(--text); user-select: none; }
.df-acc__sum::-webkit-details-marker { display: none; }
.df-acc__sum:hover { background: rgba(255,255,255,.03); }
.df-acc__n { width: 22px; height: 22px; border-radius: 6px; background: rgba(124,92,255,.16); color: var(--brand-2); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.df-acc__sum small { color: var(--muted-2); font-weight: 500; font-size: 11.5px; }
.df-acc__chev { width: 16px; height: 16px; margin-left: auto; stroke: var(--muted); fill: none; stroke-width: 2; transition: transform .25s var(--ease); flex-shrink: 0; }
.df-acc[open] .df-acc__chev { transform: rotate(180deg); }
.df-acc__body { padding: 2px 15px 16px; display: grid; gap: 16px; }
.df-step b { color: var(--brand-2); }
.df-field { display: grid; gap: 7px; }
.df-field > label { font-size: 13px; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; align-items: center; }
.df-field > label span { color: var(--muted-2); font-weight: 500; font-size: 11.5px; }
.df-field input[type=text], .df-field input[type=email], .df-field textarea, .df-field select {
  width: 100%; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 11px;
  padding: 11px 14px; color: var(--text); font-size: 14px; font-family: inherit; outline: none; transition: border-color .2s;
}
.df-field input:focus, .df-field textarea:focus, .df-field select:focus { border-color: var(--brand); }
.df-field textarea { resize: vertical; min-height: 70px; line-height: 1.5; }
.df-field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%239aa3b8' stroke-width='2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.df-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* logo dropzone */
.df-logo-drop { display: flex; align-items: center; gap: 14px; border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.df-logo-drop:hover, .df-logo-drop.drag { border-color: var(--brand); background: rgba(124,92,255,.08); }
.df-logo-drop__ic { width: 48px; height: 48px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.df-logo-drop__ic svg { width: 22px; height: 22px; stroke: #fff; }
.df-logo-drop__ic img { width: 100%; height: 100%; object-fit: cover; }
.df-logo-drop__txt { font-size: 13px; } .df-logo-drop__txt b { display: block; color: var(--text); } .df-logo-drop__txt span { color: var(--muted-2); font-size: 12px; }

/* colour swatches */
.df-swatches { display: flex; gap: 9px; flex-wrap: wrap; }
.df-swatch { width: 34px; height: 34px; border-radius: 9px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, border-color .15s; position: relative; }
.df-swatch:hover { transform: scale(1.08); }
.df-swatch.active { border-color: #fff; }
.df-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.df-color { display: flex; align-items: center; gap: 10px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 11px; padding: 7px 11px; }
.df-color input[type=color] { width: 30px; height: 30px; border: 0; background: none; padding: 0; border-radius: 8px; cursor: pointer; }
.df-color input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.df-color input[type=color]::-webkit-color-swatch { border: 0; border-radius: 8px; }
.df-color label { font-size: 12px; color: var(--muted); }
.df-canvas__title .gen { color: var(--brand-2); }

/* instant preview "builds in" section by section */
.gs-build > * { opacity: 0; transform: translateY(18px); animation: gs-in .55s var(--ease) forwards; }
.gs-build > *:nth-child(1) { animation-delay: .04s; }
.gs-build > *:nth-child(2) { animation-delay: .20s; }
.gs-build > *:nth-child(3) { animation-delay: .38s; }
.gs-build > *:nth-child(4) { animation-delay: .56s; }
.gs-build > *:nth-child(5) { animation-delay: .74s; }
.gs-build > *:nth-child(6) { animation-delay: .92s; }
.gs-build > *:nth-child(7) { animation-delay: 1.08s; }
@keyframes gs-in { to { opacity: 1; transform: none; } }
/* status pill spinner */
.dfp-spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgba(124,92,255,.3); border-top-color: var(--brand); display: inline-block; animation: dfp-rot .7s linear infinite; flex-shrink: 0; }
@keyframes dfp-rot { to { transform: rotate(360deg); } }

/* DREAMflow "designing…" loading overlay (covers the stage while Claude streams) */
.df-loading { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 32px; background: radial-gradient(ellipse at center, #11141f, var(--ink)); }
.df-loading__mark { width: 64px; height: 64px; border-radius: 18px; background: var(--grad); display: grid; place-items: center; font-size: 30px; color: #fff; box-shadow: var(--glow); animation: df-pulse 1.6s var(--ease) infinite; }
@keyframes df-pulse { 0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(124,92,255,.5);} 50% { transform: scale(1.08); box-shadow: 0 0 40px 6px rgba(124,92,255,.35);} }
.df-loading__title { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.df-loading__sub { color: var(--brand-2); font-size: 13.5px; font-weight: 600; min-height: 18px; }
.df-loading__bar { width: min(280px, 70%); height: 6px; border-radius: 100px; background: var(--panel-2); overflow: hidden; }
.df-loading__fill { height: 100%; width: 8%; border-radius: 100px; background: var(--grad); transition: width .5s var(--ease); }
.df-loading__meta { color: var(--muted-2); font-size: 12px; }

/* brand-readiness meter above the build button */
.df-ready { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.df-ready__bar { flex: 1; height: 6px; border-radius: 100px; background: var(--panel-2); overflow: hidden; }
.df-ready__fill { height: 100%; width: 0; border-radius: 100px; background: var(--grad); transition: width .4s var(--ease), background .3s; }
.df-ready__pct { font-weight: 700; font-family: var(--display); color: var(--text); }
.df-ready__tip { display: block; font-size: 11.5px; color: var(--muted-2); margin-bottom: 8px; }
.df-ready__tip b { color: var(--brand-2); }

/* inline "upload a doc" link next to a field label */
.df-attach { background: none; border: 0; color: var(--brand-2); font-size: 11.5px; font-weight: 600; cursor: pointer; padding: 0; }
.df-attach:hover { text-decoration: underline; }

/* language chips */
.df-langs { display: flex; flex-wrap: wrap; gap: 8px; }
.df-lang { font-size: 12.5px; padding: 7px 13px; border-radius: 100px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--muted); cursor: pointer; transition: all .2s; }
.df-lang:hover { color: #fff; }
.df-lang.on { color: #fff; border-color: var(--brand); background: rgba(124,92,255,.18); }

/* uploaded files list */
.df-filelist { display: grid; gap: 8px; margin-top: 10px; }
.df-file { display: flex; align-items: center; gap: 10px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 12.5px; }
.df-file__ty { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-2); border: 1px solid var(--line-2); border-radius: 5px; padding: 2px 6px; flex-shrink: 0; }
.df-file__nm { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.df-file__x { margin-left: auto; cursor: pointer; color: var(--muted-2); background: none; border: 0; font-size: 16px; line-height: 1; padding: 2px 4px; }
.df-file__x:hover { color: var(--brand-3); }

/* ---------- Generated site preview (.gs-) ---------- */
.gs { --p: #7c5cff; --a: #14e0c8; --tint: color-mix(in srgb, var(--p) 9%, #fff); color: #1c2230; font-family: "Inter", system-ui, sans-serif; line-height: 1.55; animation: wf-in .5s var(--ease); }
.gs * { box-sizing: border-box; }
.gs-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; border-bottom: 1px solid #eef0f5; background: #fff; position: sticky; top: 0; z-index: 2; }
.gs-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: #15192180; }
.gs-brand b { color: #161a23; }
.gs-mark { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--p), var(--a)); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; overflow: hidden; flex-shrink: 0; }
.gs-mark img { width: 100%; height: 100%; object-fit: cover; }
.gs-nav { display: flex; gap: 18px; }
.gs-nav a { font-size: 13px; color: #5a6172; font-weight: 500; }
.gs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: linear-gradient(135deg, var(--p), var(--a)); color: #fff; font-weight: 600; font-size: 13.5px; padding: 10px 18px; border-radius: 100px; border: 0; white-space: nowrap; }
.gs-btn.sm { padding: 8px 15px; font-size: 12.5px; }
.gs-btn.ghost { background: transparent; color: var(--p); border: 1.5px solid color-mix(in srgb, var(--p) 35%, #fff); }
.gs-btn.light { background: #fff; color: var(--p); }
.gs-btn.outline-w { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.gs-hero { padding: 56px 30px; text-align: center; background: linear-gradient(135deg, var(--p), var(--a)); color: #fff; position: relative; overflow: hidden; }
.gs-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 10%, rgba(255,255,255,.18), transparent 50%); }
.gs-hero > * { position: relative; z-index: 1; }
.gs-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: rgba(255,255,255,.18); padding: 6px 14px; border-radius: 100px; margin-bottom: 18px; }
.gs-hero h1 { font-family: "Sora", sans-serif; font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.12; margin: 0 0 14px; max-width: 16ch; margin-inline: auto; letter-spacing: -.02em; }
.gs-hero p { font-size: 15.5px; opacity: .94; max-width: 46ch; margin: 0 auto 26px; }
.gs-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.gs-sec { padding: 46px 30px; }
.gs-sec.alt { background: var(--tint); }
.gs-sec-head { text-align: center; max-width: 50ch; margin: 0 auto 30px; }
.gs-kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--p); margin-bottom: 8px; }
.gs-sec h2 { font-family: "Sora", sans-serif; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 10px; color: #161a23; letter-spacing: -.01em; }
.gs-sec p.sub { color: #5a6172; margin: 0; font-size: 14.5px; }
.gs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gs-card { background: #fff; border: 1px solid #eceef3; border-radius: 14px; padding: 22px; }
.gs-card .ic { width: 42px; height: 42px; border-radius: 11px; background: color-mix(in srgb, var(--p) 14%, #fff); display: grid; place-items: center; margin-bottom: 14px; color: var(--p); font-weight: 800; }
.gs-card h3 { font-size: 15.5px; margin: 0 0 7px; color: #161a23; }
.gs-card p { font-size: 13.5px; color: #5a6172; margin: 0; }
.gs-card .price { font-family: "Sora", sans-serif; font-weight: 700; color: var(--p); font-size: 17px; margin-top: 12px; }
.gs-about { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.gs-about__img { aspect-ratio: 4/3; border-radius: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--p) 22%, #fff), color-mix(in srgb, var(--a) 22%, #fff)); }
.gs-about h2 { font-family: "Sora", sans-serif; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 12px; color: #161a23; }
.gs-about p { color: #5a6172; font-size: 14.5px; margin: 0 0 14px; }
.gs-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gs-gallery .g { aspect-ratio: 1; border-radius: 12px; background: linear-gradient(135deg, color-mix(in srgb, var(--p) 18%, #fff), color-mix(in srgb, var(--a) 28%, #fff)); }
.gs-cta { background: linear-gradient(135deg, var(--p), var(--a)); color: #fff; text-align: center; padding: 46px 30px; }
.gs-cta h2 { font-family: "Sora", sans-serif; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 10px; }
.gs-cta p { opacity: .92; margin: 0 0 22px; font-size: 14.5px; }
.gs-contact { display: inline-flex; gap: 20px; flex-wrap: wrap; justify-content: center; font-size: 13.5px; opacity: .95; margin-top: 18px; }
.gs-foot { background: #12151d; color: #aeb4c2; padding: 26px 30px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.gs-foot .gs-brand { color: #ffffff90; } .gs-foot .gs-brand b { color: #fff; }
/* generated site → mobile */
.df-frame.mobile .gs-nav, .df-frame.mobile .gs-head .gs-btn { display: none; }
.df-frame.mobile .gs-cards, .df-frame.mobile .gs-gallery, .df-frame.mobile .gs-about { grid-template-columns: 1fr; }
.df-frame.mobile .gs-hero, .df-frame.mobile .gs-sec, .df-frame.mobile .gs-cta { padding-left: 18px; padding-right: 18px; }

@media (max-width: 980px) {
  .df-build__body { max-height: 360px; }
}
.df-frame.mobile .wf-navlinks { display: none; }

/* ---------- Pricing ---------- */
.price__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; }
.plan {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column;
  position: relative; transition: transform .35s var(--ease), border-color .35s;
}
.plan:hover { transform: translateY(-6px); }
.plan--feature { border-color: transparent; box-shadow: var(--glow); }
.plan--feature::before { content:""; position:absolute; inset:0; border-radius:inherit; padding:1.5px; background:var(--grad); -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; }
.plan__flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color:#fff; font-size: 11.5px; font-weight: 700; letter-spacing:.08em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; }
.plan h3 { font-size: 1.2rem; margin-bottom: 6px; }
.plan__desc { color: var(--muted); font-size: 13.5px; min-height: 40px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 6px; }
.plan__price .amt { font-family: var(--display); font-size: 3rem; font-weight: 700; }
.plan__price .per { color: var(--muted); font-size: 14px; }
.plan__sub { color: var(--muted-2); font-size: 13px; min-height: 20px; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 11px; font-size: 14.5px; color: var(--text); align-items: flex-start; }
.plan li svg { width: 19px; height: 19px; stroke: var(--brand-2); flex-shrink: 0; margin-top: 2px; }
.plan li.muted { color: var(--muted-2); } .plan li.muted svg { stroke: var(--muted-2); }
.plan__actions { display: grid; gap: 10px; }

/* ---------- Process timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.timeline::before { content:""; position:absolute; top: 26px; left: 8%; right: 8%; height: 2px; background: var(--grad); opacity:.5; }
.step { text-align: center; padding: 0 14px; position: relative; }
.step__num { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--ink); border: 2px solid var(--brand); font-family: var(--display); font-weight: 700; font-size: 18px; position: relative; z-index: 1; }
.step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* ---------- Insights teaser ---------- */
.insight-cta { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; background: linear-gradient(120deg, rgba(124,92,255,.12), rgba(20,224,200,.06)); border: 1px solid var(--line-2); border-radius: 24px; padding: 48px; }
.insight-list { display: grid; gap: 14px; }
.insight-list a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); transition: all .25s; }
.insight-list a:hover { background: rgba(255,255,255,.07); transform: translateX(4px); }
.insight-list .n { font-family: var(--display); color: var(--brand-2); font-weight: 700; }

/* ---------- Booking ---------- */
.book__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-2); border-radius: 24px; overflow: hidden; }
.book__info { padding: 48px; background: linear-gradient(160deg, rgba(124,92,255,.14), transparent); }
.book__info h2 { margin-bottom: 16px; }
.book__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.book__list li { display: flex; gap: 13px; align-items: flex-start; color: var(--muted); }
.book__list svg { width: 20px; height: 20px; stroke: var(--brand-2); flex-shrink: 0; margin-top: 2px; }
.book__list b { color: var(--text); display: block; }
.book__embed { padding: 40px; background: var(--ink-2); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.book__embed .placeholder { border: 1.5px dashed var(--line-2); border-radius: 16px; padding: 40px 24px; text-align: center; color: var(--muted); }
.book__embed .placeholder svg { width: 44px; height: 44px; stroke: var(--brand); margin: 0 auto 14px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; color: var(--text); padding: 20px 22px; font-size: 16px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--display); }
.faq__q svg { width: 20px; height: 20px; stroke: var(--brand-2); transition: transform .3s; flex-shrink: 0; }
.faq__item.open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding: 0 22px 22px; margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 70px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer h5 { font-family: var(--display); font-size: 14px; margin-bottom: 18px; color: var(--text); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer a { color: var(--muted); font-size: 14px; transition: color .2s; } .footer a:hover { color: var(--text); }
.footer__brand p { color: var(--muted); font-size: 14px; max-width: 32ch; margin: 16px 0 22px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .25s; }
.socials a:hover { border-color: var(--brand); background: rgba(124,92,255,.15); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; flex-wrap: wrap; gap: 14px; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 90; display: flex; align-items: center; gap: 0; background: #25D366; color: #062e16; padding: 0; height: 58px; width: 58px; border-radius: 100px; overflow: hidden; box-shadow: 0 12px 30px rgba(37,211,102,.45); transition: width .4s var(--ease), padding .4s; white-space: nowrap; }
.wa-float:hover { width: 200px; padding-right: 22px; }
.wa-float__ic { width: 58px; height: 58px; flex-shrink: 0; display: grid; place-items: center; }
.wa-float__ic svg { width: 30px; height: 30px; }
.wa-float span { font-weight: 700; font-size: 14px; opacity: 0; transition: opacity .3s .1s; }
.wa-float:hover span { opacity: 1; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 24px; }
.modal.open { display: grid; }
.modal__overlay { position: absolute; inset: 0; background: rgba(3,4,8,.75); backdrop-filter: blur(6px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.modal__box { position: relative; width: 100%; max-width: 480px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 22px; padding: 38px; box-shadow: var(--shadow); animation: pop-in .35s var(--ease); }
@keyframes pop-in { from { opacity: 0; transform: scale(.94) translateY(10px); } }
.modal__close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--text); display: grid; place-items: center; }
.modal__close:hover { background: rgba(255,255,255,.08); }
.modal h3 { font-size: 1.5rem; margin-bottom: 8px; }
.modal p { color: var(--muted); font-size: 14.5px; margin: 0 0 24px; }
.modal__total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); margin-top: 8px; }
.modal__total .amt { font-family: var(--display); font-size: 2rem; font-weight: 700; }
.opt-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.opt-row:hover { border-color: var(--line-2); }
.opt-row.checked { border-color: var(--brand); background: rgba(124,92,255,.1); }
.opt-row input { accent-color: var(--brand); width: 18px; height: 18px; }
.opt-row .opt-name { font-weight: 600; } .opt-row .opt-sub { font-size: 12.5px; color: var(--muted); }
.opt-row .opt-price { margin-left: auto; font-weight: 700; font-family: var(--display); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"]{transition-delay:.08s}[data-reveal][data-delay="2"]{transition-delay:.16s}[data-reveal][data-delay="3"]{transition-delay:.24s}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 460px; margin: 0 auto; }
  .grid--3, .price__grid, .footer__grid { grid-template-columns: 1fr 1fr; }
  .df-shell { grid-template-columns: 1fr; }
  .df-chat { border-right: 0; border-bottom: 1px solid var(--line); }
  .df-log { max-height: 280px; }
  .df-canvas { min-height: 420px; }
  .work__grid { grid-template-columns: 1fr; }
  .insight-cta, .book__grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 36px 0; } .timeline::before { display: none; }
}
@media (max-width: 640px) {
  .nav__links, .nav__cta .btn:not(.nav__primary) { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: rgba(8,9,14,.97); backdrop-filter: blur(18px); padding: 24px; gap: 20px; border-bottom: 1px solid var(--line); }
  .grid--3, .grid--2, .price__grid, .footer__grid { grid-template-columns: 1fr; }
  .footer__grid { gap: 32px; }
  .timeline { grid-template-columns: 1fr; }
  .insight-cta, .book__info, .book__embed { padding: 30px 24px; }
  .hero { padding-top: 120px; }
  .df-chips { display: none; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
/* ---------- Generic page header (sub-pages) ---------- */
.page-hero { padding-top: 150px; padding-bottom: 8px; }
.page-hero .h-xl, .page-hero .h-lg { margin: 18px 0 16px; }
.page-hero .lead { margin-top: 6px; }

/* ---------- Insights / white paper article ---------- */
.article-hero { padding-top: 140px; padding-bottom: 40px; }
.article-hero .h-lg { margin: 18px 0 16px; max-width: 18ch; }
.article-hero .meta { display: flex; gap: 18px; color: var(--muted-2); font-size: 13.5px; flex-wrap: wrap; }
.article-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 100px; border-left: 1px solid var(--line); padding-left: 20px; }
.toc h5 { font-family: var(--display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 16px; }
.toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.toc a { color: var(--muted); font-size: 14px; transition: color .2s; }
.toc a:hover, .toc a.active { color: var(--brand-2); }
.prose { max-width: 720px; }
.prose section { padding: 8px 0 40px; scroll-margin-top: 100px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 16px; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.prose p { color: var(--muted); font-size: 16.5px; margin: 0 0 16px; line-height: 1.75; }
.prose p b, .prose li b { color: var(--text); }
.prose .num { display: inline-block; font-family: var(--display); font-size: 13px; color: var(--brand-2); letter-spacing: .1em; margin-bottom: 8px; }
.prose ul.check { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 12px; }
.prose ul.check li { display: flex; gap: 12px; color: var(--muted); font-size: 15.5px; align-items: flex-start; }
.prose ul.check svg { width: 20px; height: 20px; stroke: var(--brand-2); flex-shrink: 0; margin-top: 3px; }
.callout { background: linear-gradient(120deg, rgba(124,92,255,.12), rgba(20,224,200,.05)); border: 1px solid var(--line-2); border-radius: 16px; padding: 24px 26px; margin: 22px 0; }
.callout p { margin: 0; color: var(--text); font-size: 15.5px; }
.callout .lab { font-family: var(--display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); display: block; margin-bottom: 8px; }
.pullquote { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.4; color: var(--text); border-left: 3px solid var(--brand); padding-left: 22px; margin: 30px 0; font-weight: 600; }
.article-cta { margin-top: 40px; text-align: center; background: linear-gradient(160deg, rgba(124,92,255,.14), transparent); border: 1px solid var(--line-2); border-radius: 22px; padding: 48px 32px; }
.article-cta h2 { margin-bottom: 12px; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; gap: 32px; } .toc { position: static; border-left: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; } .toc ul { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 18px; } }

@media (prefers-reduced-motion: reduce) { * { animation-duration: .001ms !important; transition-duration: .1ms !important; } }

/* ============ DREAMflow guided-chat intake (replaces the form) ============ */
.df-build { display: flex; flex-direction: column; min-height: 580px; max-height: 78vh; }
.df-chat { flex: 1 1 auto; overflow-y: auto; padding: 18px 18px 6px; display: flex; flex-direction: column; gap: 11px; scroll-behavior: smooth; }
.df-msg { max-width: 88%; padding: 11px 14px; border-radius: 15px; font-size: 13.5px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.df-msg--bot { align-self: flex-start; background: var(--ink-2); border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--text); }
.df-msg--me { align-self: flex-end; background: var(--grad); color: #08121a; border-bottom-right-radius: 5px; font-weight: 500; }
.df-msg--sys { align-self: center; background: rgba(124,92,255,.12); border: 1px solid var(--line-2); color: var(--muted-2); font-size: 11.5px; padding: 6px 12px; border-radius: 100px; }
.df-msg--typing { display: inline-flex; gap: 5px; align-items: center; }
.df-typing-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); animation: dftyp 1.2s infinite; }
.df-typing-dot:nth-child(2) { animation-delay: .2s; } .df-typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes dftyp { 0%,60%,100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.df-chat-files { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px; }
.df-chat-files:empty { display: none; }
.df-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(124,92,255,.14); border: 1px solid var(--line-2); border-radius: 100px; padding: 4px 6px 4px 11px; font-size: 11.5px; color: var(--text); }
.df-chip__x { background: none; border: 0; color: var(--muted-2); cursor: pointer; font-size: 15px; line-height: 1; padding: 0 3px; }
.df-chip__x:hover { color: #ff6b6b; }
.df-composer { display: flex; gap: 8px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.df-comp-input { flex: 1 1 auto; min-width: 0; background: var(--ink-1, #0e1019); border: 1px solid var(--line-2); border-radius: 11px; padding: 11px 14px; color: var(--text); font-size: 13.5px; }
.df-comp-input:focus { outline: none; border-color: var(--brand); }
.df-comp-btn { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--ink-1, #0e1019); color: var(--text); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.df-comp-btn:hover { border-color: var(--brand); }
.df-comp-send { flex: 0 0 auto; padding: 11px 18px; font-size: 13.5px; white-space: nowrap; }
.df-composer.is-busy .df-comp-input, .df-composer.is-busy .df-comp-btn, .df-composer.is-busy .df-comp-send { opacity: .5; pointer-events: none; }
@media (max-width: 560px) { .df-comp-send { padding: 11px 13px; } .df-msg { max-width: 92%; } }
