/* ══════════════════════════════════════════════════════════
   TOKENS — Graphic Design Invoice Generator
══════════════════════════════════════════════════════════ */
:root {
  --p: #6A0BE4; --p-h: #5a09c4; --p-lt: #f0ebff; --p-llt: #f7f4ff;
  --shadow-md: 0 4px 16px rgba(106,11,228,0.08), 0 1px 4px rgba(15,10,30,0.06);
  --success: #10b981; --warn: #f59e0b; --danger: #ef4444;
  --text: #0f0a1e; --text-2: #4b4b6a; --text-3: #8888aa;
  --border: #e4e4f0; --bg: #ffffff; --bg-2: #f4f3fb;
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 20px;
  --font: "Be Vietnam Pro", sans-serif;
  --nav-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body { font-family: var(--font); color: var(--text); background: #f4f3fb; line-height: 1.6; }
a { text-decoration: none; color: inherit; }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
#hero {
  background: linear-gradient(140deg, #1a0028 0%, #3b0090 45%, #6A0BE4 100%);
  padding: 88px 24px 104px; text-align: center;
  position: relative; overflow: hidden;
}
#hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 40% at 80% 20%, rgba(168,85,247,0.25) 0%, transparent 60%),
              radial-gradient(ellipse 40% 35% at 20% 80%, rgba(106,11,228,0.3) 0%, transparent 60%);
  pointer-events: none;
}
#hero::after {
  content: ""; position: absolute; top: 0; right: 0;
  width: 260px; height: 260px;
  background-image: radial-gradient(circle, rgba(255,255,255,.09) 1.5px, transparent 1.5px);
  background-size: 22px 22px; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(196,181,253,.18); border: 1px solid rgba(196,181,253,.35);
  color: #c4b5fd; font-size: 12px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  padding: 5px 16px; border-radius: 20px; margin-bottom: 24px;
}
.hero-chip svg { width: 14px; height: 14px; }
#hero h1 {
  font-size: clamp(26px,4vw,48px); font-weight: 800; color: #fff;
  line-height: 1.1; letter-spacing: -.5px; margin-bottom: 18px;
}
#hero h1 span { color: #c4b5fd; }
#hero > .hero-inner > p {
  font-size: 16.5px; color: rgba(255,255,255,.72);
  max-width: 520px; margin: 0 auto 36px; line-height: 1.65;
}
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hero-pill {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85); font-size: 12.5px; font-weight: 500;
  padding: 5px 15px; border-radius: 20px;
}

/* ══════════════════════════════════════════════════════════
   MAIN LAYOUT — single column for natural flow
══════════════════════════════════════════════════════════ */
#main-wrap {
  max-width: 1280px; margin: 0 auto; padding: 32px 24px 64px;
  display: grid; grid-template-columns: 1fr 440px;
  gap: 28px; align-items: flex-start;
}

/* ══════════════════════════════════════════════════════════
   FORM — Creative Studio Layout
══════════════════════════════════════════════════════════ */
#formCol {}

.form-top-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.form-top-bar-title { font-size: 18px; font-weight: 800; color: var(--text); }
.form-top-bar-title span { color: var(--p); }

/* Currency */
.currency-wrap {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 20px; padding: 5px 12px 5px 10px;
  font-size: 12px; font-weight: 700; color: var(--text-2); cursor: pointer;
}
.currency-wrap svg { width: 12px; height: 12px; color: var(--text-3); }
.currency-wrap select { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; border: none; }
#currencyLabel { pointer-events: none; }

/* Template row */
#tplTabs { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 16px; }
.tpl-tab {
  padding: 5px 13px; border-radius: 20px; font-size: 11.5px; font-weight: 700;
  border: 1.5px solid var(--border); background: #fff; color: var(--text-2);
  cursor: pointer; transition: all .18s; font-family: var(--font);
}
.tpl-tab:hover { border-color: var(--p); color: var(--p); }
.tpl-tab.active { background: var(--p); border-color: var(--p); color: #fff; }

/* Design section cards */
.design-section {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--r-lg); margin-bottom: 14px;
  overflow: hidden;
  position: relative;
}
.design-section::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--p), #a855f7);
}
.design-section-hd {
  padding: 14px 20px 12px;
  display: flex; align-items: center; gap: 10px;
}
.design-section-icon {
  font-size: 18px; line-height: 1;
}
.design-section-title {
  font-size: 11px; font-weight: 800; color: var(--p);
  text-transform: uppercase; letter-spacing: 1.2px;
}
.design-section-body { padding: 0 20px 20px; }
.design-section-divider { height: 1px; background: var(--border); margin: 0 20px 16px; }

label {
  display: block; font-size: 11.5px; font-weight: 700;
  color: var(--text-2); margin-bottom: 5px;
  text-transform: uppercase; letter-spacing: .4px;
}
label .req { color: var(--danger); margin-left: 2px; }
label .opt { color: var(--text-3); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 11px; }
.form-group { margin-bottom: 12px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 12px; }

input[type="text"], input[type="number"], input[type="email"],
input[type="date"], textarea, select {
  width: 100%; padding: 10px 13px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--font); font-size: 13.5px;
  color: var(--text); background: var(--bg);
  outline: none; transition: border-color .18s, box-shadow .18s;
}
input[type="date"] { cursor: pointer; color-scheme: light; }
input:focus, textarea:focus, select:focus {
  border-color: var(--p); box-shadow: 0 0 0 3px rgba(106,11,228,.1);
}
input::placeholder, textarea::placeholder { color: var(--text-3); font-weight: 400; }
textarea { resize: vertical; min-height: 76px; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238888aa' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  padding-right: 32px; cursor: pointer;
}

/* Logo */
#logoUploadWrap {
  border: 2px dashed var(--border); border-radius: 8px;
  padding: 16px; text-align: center; cursor: pointer;
  position: relative; background: var(--bg-2);
  transition: border-color .2s, background .2s;
}
#logoUploadWrap:hover { border-color: var(--p); background: var(--p-llt); }
#logoInput { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
#logoPreview { display: none; max-height: 52px; max-width: 140px; margin: 0 auto; }
#logoPreview.visible { display: block; }
#logoUploadIcon { width: 28px; height: 28px; color: #8888aa; margin: 0 auto 6px; display: block; }
#logoUploadLabel { font-size: 12px; color: #8888aa; display: block; }

/* Field helper text */
.field-helper { font-size: 11px; color: var(--text-3); margin-top: 3px; font-style: italic; }

/* Revision rounds inline */
.inline-row { display: flex; align-items: flex-end; gap: 12px; }
.inline-row .form-group { flex: 1; margin-bottom: 0; }
.revision-wrap { display: flex; flex-direction: column; }
.revision-wrap label { white-space: nowrap; }
.revision-wrap input { width: 80px; }

/* Line items */
.li-head {
  display: grid; grid-template-columns: 1fr 72px 90px 88px 32px;
  gap: 6px; padding: 9px 14px;
  background: linear-gradient(90deg, var(--p), #a855f7); color: rgba(255,255,255,.9);
  font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  border-radius: 8px 8px 0 0;
}
#liRows {
  border: 1.5px solid var(--border); border-top: none;
  border-radius: 0 0 8px 8px; padding: 5px;
  display: flex; flex-direction: column; gap: 4px;
}
.li-row {
  display: grid; grid-template-columns: 1fr 72px 90px 88px 32px;
  gap: 6px; align-items: center;
  border: 1.5px solid var(--border); border-radius: 6px; padding: 6px 8px;
}
.li-row input { border: none; padding: 3px 5px; font-size: 13px; background: transparent; box-shadow: none; }
.li-row input:focus { border: none; box-shadow: none; outline: none; }
.li-amount { font-size: 13px; font-weight: 700; color: var(--p); text-align: right; }
.li-del-btn {
  width: 26px; height: 26px; border: none; border-radius: 6px;
  background: rgba(239,68,68,.08); color: var(--danger); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.li-del-btn svg { width: 13px; height: 13px; }
.li-add-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px;
  border: 1.5px dashed var(--p); background: transparent;
  color: var(--p); font-family: var(--font);
  font-size: 12.5px; font-weight: 700; cursor: pointer; margin-top: 8px;
}
.li-add-btn:hover { background: var(--p-llt); }
.li-add-btn svg { width: 14px; height: 14px; }

/* Totals */
.fin-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.fin-input-wrap { position: relative; }
.fin-input-wrap .fin-suffix {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%); font-size: 12px; font-weight: 700;
  color: var(--text-3); pointer-events: none;
}
.fin-input-wrap input { padding-right: 32px; }
#totalsBox {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 10px; overflow: hidden; margin-top: 10px;
}
.totals-inner { padding: 12px 16px 0; }
.totals-row {
  display: flex; justify-content: space-between;
  padding: 7px 0; font-size: 13.5px;
  border-bottom: 1px solid var(--border);
}
.totals-row:last-of-type { border-bottom: none; }
.totals-row .label { color: var(--text-2); font-weight: 500; }
.totals-row .val { font-weight: 700; color: var(--text); }
.totals-row.discount .val { color: var(--success); }
.totals-row.tax .val { color: var(--warn); }
.totals-total {
  display: flex; justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, #1a0028 0%, var(--p) 100%);
  color: #fff;
}
.totals-total .label { font-size: 13px; font-weight: 700; opacity: .85; }
.totals-total .val { font-size: 22px; font-weight: 800; }

/* Generate button — pill style */
#generateBtn {
  width: 100%; margin-top: 20px; padding: 15px 28px;
  border: none; border-radius: 50px;
  background: linear-gradient(135deg, #1a0028 0%, #3b0090 45%, var(--p) 100%);
  color: #fff; font-family: var(--font);
  font-size: 15px; font-weight: 800;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 10px;
  box-shadow: 0 6px 24px rgba(106,11,228,.4);
  transition: opacity .18s, transform .15s;
  letter-spacing: .2px;
}
#generateBtn:hover { opacity: .92; transform: translateY(-1px); }
#generateBtn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
#generateBtn svg { width: 18px; height: 18px; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════════════════
   OUTPUT PANEL — Creative Preview
══════════════════════════════════════════════════════════ */
#outputCol { position: sticky; top: calc(var(--nav-h) + 20px); }

#outputCard {
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--r-xl);
  background-clip: padding-box;
  box-shadow: 0 0 0 1px rgba(106,11,228,.15), 0 8px 32px rgba(106,11,228,.12);
  overflow: hidden;
}

.output-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #1a0028 0%, #3b0090 50%, var(--p) 100%);
}
.output-header-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.output-header-title {
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,.9);
  display: flex; align-items: center; gap: 7px;
}
.output-header-title svg { width: 14px; height: 14px; }
.creative-badge {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9); font-size: 10px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px;
}

/* Template selection in output header */
.output-tpl-row {
  display: flex; gap: 4px; flex-wrap: wrap;
}

.output-actions-row {
  display: flex; gap: 8px; padding: 12px 16px;
  border-bottom: 1px solid var(--border); background: #faf9ff;
}
.creative-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 50px;
  font-family: var(--font); font-size: 12.5px; font-weight: 700;
  cursor: pointer; transition: all .18s;
}
.creative-btn-primary {
  background: linear-gradient(135deg, #3b0090, var(--p));
  border: none; color: #fff;
  box-shadow: 0 3px 12px rgba(106,11,228,.3);
}
.creative-btn-primary:hover { opacity: .9; transform: translateY(-1px); }
.creative-btn-secondary {
  background: #fff; border: 1.5px solid var(--border); color: var(--text-2);
}
.creative-btn-secondary:hover { border-color: var(--p); color: var(--p); background: var(--p-llt); }
.creative-btn svg { width: 14px; height: 14px; }

#previewBtn { display: none; }
#downloadBtn { display: none; }
#printBtn { display: none; }

#outputBody {
  min-height: 320px; max-height: 540px;
  overflow-y: auto; padding: 24px;
}
#outputIdle {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; min-height: 280px; text-align: center;
}
.idle-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  color: var(--p); display: flex; align-items: center; justify-content: center;
  animation: pulse-idle 3s ease-in-out infinite;
}
@keyframes pulse-idle {
  0%, 100% { box-shadow: 0 0 0 10px rgba(106,11,228,.07), 0 0 0 22px rgba(106,11,228,.03); }
  50% { box-shadow: 0 0 0 16px rgba(106,11,228,.1), 0 0 0 30px rgba(106,11,228,.04); }
}
.idle-icon svg { width: 32px; height: 32px; }
#outputIdle h3 { font-size: 16px; font-weight: 700; }
#outputIdle p { font-size: 13px; color: var(--text-3); max-width: 200px; }
#invoiceOutput { display: none; }
#invoiceOutput.visible { display: block; }
.invoice-rendered { font-size: 13.5px; line-height: 1.7; color: var(--text); }

#successBar {
  display: none; align-items: center; gap: 8px;
  padding: 11px 20px;
  background: linear-gradient(90deg, #064e3b, #065f46);
  font-size: 13px; font-weight: 600; color: #6ee7b7;
}
#successBar.visible { display: flex; }
#successBar svg { width: 16px; height: 16px; }

/* ══════════════════════════════════════════════════════════
   PREVIEW MODAL
══════════════════════════════════════════════════════════ */
#previewModal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.75); z-index: 9999;
  align-items: center; justify-content: center; padding: 24px;
}
#previewModal.open { display: flex; }
#previewPaper {
  background: #fff; border-radius: 12px;
  width: 92%; max-width: 900px; max-height: 92vh;
  overflow: hidden; display: flex; flex-direction: column;
}

/* ══════════════════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════════════════ */
#featuresStrip { background: #f4f3fb; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 24px; }
.features-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.feat-card {
  background: #fff; border: 1px solid var(--border);
  border-top: 3px solid var(--p);
  border-radius: 0 0 var(--r-lg) var(--r-lg); padding: 26px 20px;
  display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow .2s, transform .2s;
}
.feat-card:hover { box-shadow: 0 6px 24px rgba(106,11,228,.12); transform: translateY(-3px); }
.feat-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--p-lt), #e8d5ff);
  color: var(--p); display: flex; align-items: center; justify-content: center;
}
.feat-icon svg { width: 20px; height: 20px; }
.feat-card h3 { font-size: 14px; font-weight: 700; }
.feat-card p { font-size: 13px; color: var(--text-2); line-height: 1.55; }

#howItWorks { background: #fff; padding: 96px 24px; border-bottom: 1px solid var(--border); }
.hiw-eyebrow { text-align: center; margin-bottom: 72px; }
.chip {
  display: inline-block; background: var(--p-lt); color: var(--p);
  font-size: 11px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; padding: 5px 16px; border-radius: 20px; margin-bottom: 14px;
}
.hiw-eyebrow h2 { font-size: clamp(26px,3.5vw,42px); font-weight: 800; margin-bottom: 12px; }
.hiw-eyebrow p { font-size: 16px; color: var(--text-2); max-width: 400px; margin: 0 auto; }
.hiw-steps { max-width: 960px; margin: 0 auto; }
.hiw-step {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  align-items: center; padding: 72px 0; border-bottom: 1px solid rgba(106,11,228,.12);
}
.hiw-step:last-child { border-bottom: none; }
.hiw-step:nth-child(even) .hiw-step-text { order: 2; }
.hiw-step:nth-child(even) .hiw-step-visual { order: 1; }
.hiw-step-num { font-size: 13px; font-weight: 800; color: var(--p); letter-spacing: 2px; margin-bottom: 16px; display: block; }
.hiw-step-num::after { content: ""; display: block; width: 28px; height: 2px; background: var(--p); border-radius: 2px; margin-top: 6px; opacity: .5; }
.hiw-step-text h3 { font-size: clamp(24px,2.8vw,34px); font-weight: 800; margin-bottom: 16px; }
.hiw-step-text p { font-size: 15px; color: var(--text-2); line-height: 1.75; }
.hiw-step-text p strong { color: var(--text); }
.hiw-step-visual {
  background: #fff; border: 1px solid var(--border);
  border-radius: 20px; padding: 26px;
  box-shadow: 0 8px 36px rgba(106,11,228,.1);
  position: relative; overflow: hidden;
}
.hiw-step-visual::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, #1a0028, var(--p), #a855f7);
}
.mock-label { font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.mock-field {
  background: var(--bg-2); border: 1.5px solid var(--border);
  border-radius: 8px; padding: 10px 14px;
  font-size: 13px; color: var(--text-2); margin-bottom: 8px;
}
.mock-field.active { border-color: var(--p); color: var(--text); }
.mock-btn {
  width: 100%; margin-top: 12px; padding: 12px;
  background: linear-gradient(135deg, #1a0028, var(--p)); color: #fff;
  border-radius: 50px; font-size: 13px; font-weight: 800; text-align: center;
}

#aboutSection { background: #f4f3fb; padding: 96px 24px; }
.about-header { text-align: center; margin-bottom: 52px; }
.about-header h2 { font-size: clamp(26px,3.5vw,40px); font-weight: 800; margin-bottom: 14px; letter-spacing: -.4px; }
.about-header p { font-size: 16px; color: var(--text-2); max-width: 520px; margin: 0 auto; line-height: 1.65; }
.about-area { max-width: 760px; margin: 0 auto; }
.about-grid { display: flex; flex-direction: column; gap: 12px; }
.about-item {
  background: #fff; border: 1px solid var(--border);
  border-top: 3px solid var(--p);
  border-radius: 0 0 14px 14px; padding: 28px 32px;
  transition: box-shadow .2s;
}
.about-item:hover { box-shadow: 0 6px 28px rgba(106,11,228,.09); }
.about-item h3 { font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.about-item p { font-size: 14.5px; color: var(--text-2); line-height: 1.8; margin-bottom: 8px; }
.custom-link { color: var(--p); font-weight: 600; }

#whyBanner {
  background: linear-gradient(140deg, #1a0028 0%, #3b0090 45%, #6A0BE4 100%);
  padding: 96px 24px; position: relative; overflow: hidden;
}
#whyBanner::after {
  content: ""; position: absolute; top: 0; right: 0;
  width: 300px; height: 300px;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1.5px, transparent 1.5px);
  background-size: 22px 22px; pointer-events: none;
}
.why-inner { max-width: 960px; margin: 0 auto; position: relative; z-index: 1; }
.why-header { text-align: center; margin-bottom: 64px; }
.why-header h2 { font-size: clamp(26px,3.5vw,42px); font-weight: 800; color: #fff; margin-bottom: 12px; }
.why-header p { font-size: 16px; color: rgba(255,255,255,.55); max-width: 420px; margin: 0 auto; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-bottom: 64px; }
.why-card { padding: 0 48px 0 0; }
.why-card:not(:last-child) { border-right: 1px solid rgba(255,255,255,.1); }
.why-card:not(:first-child) { padding: 0 48px; }
.why-card:last-child { padding-right: 0; }
.why-card-icon {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(196,181,253,.4); color: #c4b5fd;
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.why-card-icon svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.72; }
.why-cta-box {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.why-cta-box h3 { font-size: clamp(20px,2.5vw,28px); font-weight: 800; color: #fff; max-width: 480px; }
.why-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #c4b5fd; color: #1a0028;
  font-family: var(--font); font-size: 14px; font-weight: 800;
  padding: 14px 28px; border-radius: 50px; border: none;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .15s;
}
.why-cta-btn:hover { background: #ddd6fe; transform: translateY(-2px); }
.why-cta-btn svg { width: 16px; height: 16px; }

#faqSection { background: #f4f3fb; padding: 80px 24px; }
.faq-header { text-align: center; margin-bottom: 44px; }
.faq-header h2 { font-size: clamp(22px,3vw,32px); font-weight: 800; margin-bottom: 10px; }
.faq-header p { font-size: 14.5px; color: var(--text-2); }
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item.open { border-color: var(--p); box-shadow: 0 0 0 3px rgba(106,11,228,.08); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; cursor: pointer; user-select: none; gap: 12px;
}
.faq-q-text { font-size: 14.5px; font-weight: 600; color: var(--text); flex: 1; }
.faq-q-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-2); color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, transform .3s;
}
.faq-item.open .faq-q-icon { background: var(--p); color: #fff; transform: rotate(45deg); }
.faq-q-icon svg { width: 14px; height: 14px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s, padding .35s; padding: 0 20px; }
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 18px; }
.faq-a p { font-size: 13.5px; color: var(--text-2); line-height: 1.7; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  #main-wrap { grid-template-columns: 1fr; }
  #outputCol { position: static; order: -1; }
}
@media (max-width: 768px) {
  .features-inner { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-card, .why-card:not(:first-child), .why-card:last-child { padding: 0; border-right: none; }
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .hiw-step { grid-template-columns: 1fr; gap: 36px; padding: 48px 0; }
  .hiw-step:nth-child(even) .hiw-step-text { order: 1; }
  .hiw-step:nth-child(even) .hiw-step-visual { order: 2; }
}
@media (max-width: 540px) {
  .features-inner { grid-template-columns: 1fr; }
  #main-wrap { padding: 16px 14px 40px; }
}
