/* AI Employee Agent — Premium Style */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

:root {
  --blue:        #2563eb;
  --blue-dark:   #1d4ed8;
  --blue-light:  #3b82f6;
  --electric:    #06b6d4;
  --glow:        #60a5fa;
  --black:       #0a0f1e;
  --dark:        #0f172a;
  --gray:        #64748b;
  --light:       #eef4ff;
  --lighter:     #f8fbff;
  --white:       #ffffff;
  --green:       #10b981;
  --red:         #ef4444;
  --gold:        #f59e0b;
  --radius:      14px;
  --shadow:      0 4px 24px rgba(37,99,235,0.13);
  --shadow-lg:   0 12px 48px rgba(37,99,235,0.22);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--lighter);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.6;
}

/* =====================
   OVERLAYS & MODALS
   ===================== */
.overlay {
  position: fixed; inset: 0;
  background: rgba(10,15,30,0.88);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; overflow-y: auto; padding: 24px;
}
.overlay.hidden { display: none; }

.modal {
  background: white;
  border-radius: 20px;
  padding: 44px;
  width: 100%; max-width: 430px;
  box-shadow: 0 32px 80px rgba(37,99,235,0.25), 0 0 0 1px rgba(37,99,235,0.08);
}
.modal-logo { font-size: 28px; font-weight: 900; text-align: center; margin-bottom: 8px; letter-spacing: -1px; }
.modal-logo span { color: var(--blue); }
.owner-hint { text-align: center; color: var(--gray); font-size: 13px; margin-bottom: 4px; }
.auth-reason {
  background: linear-gradient(135deg, #fef9c3, #fef3c7);
  border: 1px solid #fde047;
  border-radius: 10px; padding: 10px 14px;
  font-size: 13px; color: #713f12;
  margin-bottom: 16px; text-align: center;
}
.auth-tabs { display: flex; border-bottom: 2px solid var(--light); margin-bottom: 22px; }
.auth-tab { flex: 1; background: none; border: none; padding: 11px; font-size: 15px; font-weight: 700; color: var(--gray); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
.auth-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.auth-error { color: var(--red); font-size: 13px; margin-top: 4px; min-height: 18px; }
.remember-row { display: flex; align-items: center; gap: 8px; }
.remember-row input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--blue); }
.remember-row label { font-size: 14px; color: var(--gray); font-weight: 400; cursor: pointer; margin-bottom: 0; }

/* =====================
   OWNER DASHBOARD
   ===================== */
.owner-dashboard {
  background: white; border-radius: 20px;
  width: 100%; max-width: 820px; max-height: 92vh; overflow-y: auto;
  box-shadow: 0 32px 80px rgba(37,99,235,0.25);
}
.owner-dash-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 32px;
  background: linear-gradient(135deg, var(--dark) 0%, #1e3a8a 100%);
  border-radius: 20px 20px 0 0;
  position: sticky; top: 0; z-index: 10;
}
.owner-dash-logo { font-size: 22px; font-weight: 900; color: white; letter-spacing: -0.5px; }
.owner-dash-logo span { color: var(--electric); }
.owner-close-btn { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 7px 16px; border-radius: 8px; cursor: pointer; font-size: 14px; color: white; transition: all 0.2s; }
.owner-close-btn:hover { background: rgba(239,68,68,0.3); border-color: var(--red); }
.owner-tabs { display: flex; padding: 0 32px; border-bottom: 2px solid var(--light); background: var(--lighter); }
.owner-tab { background: none; border: none; padding: 16px 20px; font-size: 14px; font-weight: 700; color: var(--gray); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
.owner-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.owner-tab-content { padding: 32px; }
.owner-tab-hint { font-size: 14px; color: var(--gray); margin-bottom: 20px; background: var(--light); padding: 12px 16px; border-radius: 8px; }
.section-mini-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); margin: 28px 0 14px; }
.empty-state { color: var(--gray); font-size: 14px; text-align: center; padding: 28px 0; }

/* STATS */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card { background: var(--light); border-radius: var(--radius); padding: 22px; text-align: center; border: 1px solid rgba(37,99,235,0.08); }
.stat-card.highlight { background: linear-gradient(135deg, var(--blue) 0%, var(--electric) 100%); color: white; border: none; box-shadow: 0 8px 24px rgba(37,99,235,0.35); }
.stat-card.highlight .stat-label { color: rgba(255,255,255,0.8); }
.stat-value { font-size: 30px; font-weight: 900; margin-bottom: 4px; letter-spacing: -1px; }
.stat-label { font-size: 12px; color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* TRANSACTIONS */
.transaction-item { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; background: var(--lighter); border: 1px solid rgba(37,99,235,0.07); border-radius: 10px; margin-bottom: 8px; font-size: 14px; }
.transaction-desc { color: var(--dark); font-weight: 600; }
.transaction-date { color: var(--gray); font-size: 12px; margin-top: 2px; }
.transaction-amount { color: var(--green); font-weight: 800; font-size: 16px; }

/* OWNER REVIEWS */
.owner-review-card { background: var(--lighter); border: 1px solid rgba(37,99,235,0.1); border-radius: 12px; padding: 18px; margin-bottom: 12px; }
.owner-review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.owner-review-name { font-weight: 700; font-size: 15px; }
.owner-review-stars { color: var(--gold); font-size: 18px; }
.owner-review-text { font-size: 14px; color: var(--gray); margin-bottom: 14px; line-height: 1.6; }
.owner-review-actions { display: flex; gap: 8px; }
.btn-feature { background: #fef9c3; color: #713f12; border: 1px solid #fde047; padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.btn-feature:hover { background: #fde047; }
.btn-feature.active { background: var(--gold); color: white; border-color: var(--gold); }
.btn-hide-review { background: transparent; color: var(--red); border: 1px solid #fecaca; padding: 7px 14px; border-radius: 8px; font-size: 13px; cursor: pointer; transition: all 0.2s; }
.btn-hide-review:hover { background: var(--red); color: white; }

/* SETTINGS */
.settings-section { padding: 26px 0; border-bottom: 1px solid var(--light); }
.settings-section:last-child { border-bottom: none; }
.settings-section h4 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.settings-section p { font-size: 14px; color: var(--gray); margin-bottom: 16px; }
.paypal-row { display: flex; align-items: center; border: 2px solid var(--light); border-radius: 10px; overflow: hidden; margin-bottom: 14px; transition: border 0.2s; }
.paypal-row:focus-within { border-color: var(--blue); }
.paypal-prefix { background: var(--light); padding: 13px 16px; font-size: 14px; color: var(--gray); font-weight: 600; white-space: nowrap; border-right: 2px solid var(--light); }
.paypal-row input { border: none; padding: 13px 16px; font-size: 15px; font-family: inherit; flex: 1; outline: none; }
.settings-input { width: 100%; padding: 13px 16px; border: 2px solid var(--light); border-radius: 10px; font-size: 15px; font-family: inherit; transition: border 0.2s; }
.settings-input:focus { outline: none; border-color: var(--blue); }
.settings-success { color: var(--green); font-size: 13px; font-weight: 700; margin-top: 10px; }
.full-width-btn { width: 100%; }

/* =====================
   OWNER BUTTON
   ===================== */
.btn-owner {
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: white; border: none;
  padding: 8px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 800; cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(245,158,11,0.45);
  letter-spacing: 0.3px;
}
.btn-owner:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,158,11,0.55); }

/* =====================
   LANG BAR
   ===================== */
.lang-bar { background: var(--black); display: flex; justify-content: flex-end; padding: 8px 24px; gap: 8px; }
.lang-btn { background: transparent; color: #94a3b8; border: 1px solid #1e293b; padding: 5px 16px; border-radius: 20px; cursor: pointer; font-size: 13px; font-weight: 600; transition: all 0.2s; }
.lang-btn.active, .lang-btn:hover { background: linear-gradient(135deg, var(--blue), var(--electric)); color: white; border-color: transparent; }

/* =====================
   HEADER
   ===================== */
header { background: linear-gradient(135deg, var(--black) 0%, #0d1b3e 100%); color: white; padding: 20px 24px; border-bottom: 1px solid rgba(37,99,235,0.2); position: sticky; top: 0; z-index: 500; }
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; }
.logo { font-size: 28px; font-weight: 900; letter-spacing: -1.5px; }
.logo span { background: linear-gradient(90deg, var(--blue-light), var(--electric)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.header-right { display: flex; align-items: center; gap: 10px; }
.header-user { color: #94a3b8; font-size: 14px; font-weight: 500; }
.tagline { color: #64748b; font-size: 14px; margin-top: 8px; text-align: center; letter-spacing: 0.3px; }

/* MY TASKS PANEL */
#my-tasks-panel { background: white; border-bottom: 2px solid var(--light); }
.panel-inner { max-width: 860px; margin: 0 auto; padding: 28px; }
.panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.panel-header h3 { font-size: 20px; font-weight: 800; }
.task-history-item { background: var(--lighter); border: 1px solid rgba(37,99,235,0.08); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.task-desc { color: var(--dark); font-weight: 600; }
.task-date { color: var(--gray); font-size: 12px; margin-top: 2px; }
.task-price { color: var(--blue); font-weight: 800; font-size: 16px; }
.no-tasks { color: var(--gray); font-size: 14px; text-align: center; padding: 28px 0; }

/* =====================
   BUTTONS
   ===================== */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue) 0%, var(--electric) 100%);
  color: white; padding: 14px 30px;
  border-radius: 10px; font-size: 15px; font-weight: 700;
  border: none; cursor: pointer; text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
  letter-spacing: 0.3px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,0.5); filter: brightness(1.08); }
.btn-primary.full-width { width: 100%; text-align: center; display: block; }
.btn-secondary { display: inline-block; background: transparent; color: var(--gray); padding: 13px 24px; border-radius: 10px; font-size: 15px; font-weight: 600; border: 2px solid #dbeafe; cursor: pointer; transition: all 0.2s; }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); background: #eff6ff; }
.btn-ghost { background: rgba(255,255,255,0.10); color: white; border: 1.5px solid rgba(255,255,255,0.35); padding: 8px 18px; border-radius: 9px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s; letter-spacing: 0.2px; box-shadow: 0 2px 8px rgba(6,182,212,0.15); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); color: white; border-color: var(--electric); box-shadow: 0 4px 16px rgba(6,182,212,0.35); transform: translateY(-1px); }
.btn-delete { display: inline-block; background: transparent; color: var(--red); padding: 13px 24px; border-radius: 10px; font-size: 15px; font-weight: 700; border: 2px solid var(--red); cursor: pointer; transition: all 0.2s; }
.btn-delete:hover { background: var(--red); color: white; box-shadow: 0 4px 16px rgba(239,68,68,0.35); }
.btn-link { background: none; border: none; color: var(--blue); font-size: 14px; cursor: pointer; text-decoration: underline; padding: 0; font-weight: 600; }
.btn-link:hover { color: var(--electric); }
.center-link { display: block; text-align: center; margin-top: 16px; }
.bottom-links { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }

/* =====================
   HERO
   ===================== */
.hero {
  background: linear-gradient(160deg, #020818 0%, #07153d 35%, #0c2a6e 65%, #0a3d82 100%);
  color: white; text-align: center; padding: 100px 24px 90px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(6,182,212,0.22) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(37,99,235,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6,182,212,0.5), transparent);
}
.hero-chip {
  display: inline-block;
  background: rgba(6,182,212,0.12);
  border: 1px solid rgba(6,182,212,0.4);
  color: rgba(6,182,212,0.95);
  padding: 7px 20px; border-radius: 99px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 28px; position: relative;
  letter-spacing: 0.3px;
  backdrop-filter: blur(8px);
}
.hero h1 { font-size: 52px; font-weight: 900; max-width: 760px; margin: 0 auto 20px; line-height: 1.1; letter-spacing: -2px; position: relative; }
.hero p { font-size: 19px; max-width: 560px; margin: 0 auto 32px; opacity: 0.75; position: relative; line-height: 1.7; }
.hero-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; position: relative; }
.hero-badge { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.82); padding: 7px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; backdrop-filter: blur(4px); }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; position: relative; }
.btn-xl { padding: 16px 36px !important; font-size: 16px !important; border-radius: 12px !important; letter-spacing: 0.2px; }
.btn-hero-outline {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.88);
  border: 1.5px solid rgba(255,255,255,0.22);
  padding: 16px 30px; border-radius: 12px;
  font-size: 16px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: all 0.25s;
  backdrop-filter: blur(6px);
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.45); transform: translateY(-2px); }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 20px; position: relative; }
.hero-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hero-stat strong { font-size: 22px; font-weight: 900; color: white; letter-spacing: -0.5px; }
.hero-stat span { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.hero-stat-sep { color: rgba(255,255,255,0.2); font-size: 20px; }
.hero-stat-live strong { font-size: 13px !important; font-weight: 600 !important; letter-spacing: 0 !important; display: flex; align-items: center; gap: 7px; }
.hero-stat-pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex-shrink: 0; animation: pulseGreen 1.8s ease-in-out infinite; }
@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); opacity: 1; }
  50%       { box-shadow: 0 0 0 6px rgba(74,222,128,0);  opacity: 0.8; }
}

/* =====================
   SECTION CHIP
   ===================== */
.section-chip {
  display: inline-block;
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(6,182,212,0.12));
  border: 1px solid rgba(37,99,235,0.3);
  color: var(--blue-light);
  padding: 7px 18px; border-radius: 99px;
  font-size: 13px; font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.2px;
}
.chip-dark {
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.25);
  color: var(--blue-dark);
}

/* =====================
   GRADIENT TEXT
   ===================== */
.gradient-text {
  background: linear-gradient(135deg, var(--blue-light), var(--electric));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =====================
   PDF HIGHLIGHT SECTION
   ===================== */
.pdf-highlight {
  background: linear-gradient(160deg, #050e28 0%, #081840 50%, #0a2255 100%);
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}
.pdf-highlight::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(6,182,212,0.10) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(37,99,235,0.10) 0%, transparent 50%);
  pointer-events: none;
}
.pdf-hl-wrap {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  position: relative;
}
.pdf-hl-left h2 {
  font-size: 42px; font-weight: 900;
  color: white; margin-bottom: 20px;
  line-height: 1.15; letter-spacing: -1.5px;
}
.pdf-hl-left > p {
  font-size: 17px; color: rgba(255,255,255,0.65);
  margin-bottom: 36px; line-height: 1.75;
  max-width: 520px;
}
.pdf-hl-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 20px;
  margin-bottom: 40px;
}
.pdf-hl-features li {
  display: flex; gap: 16px; align-items: flex-start;
}
.feat-icon {
  font-size: 22px; flex-shrink: 0; margin-top: 2px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
}
.pdf-hl-features strong {
  display: block; font-size: 15px; font-weight: 800;
  color: white; margin-bottom: 3px;
}
.pdf-hl-features p {
  font-size: 14px; color: rgba(255,255,255,0.55);
  line-height: 1.5; margin: 0;
}
.pdf-hl-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pdf-hl-meta {
  font-size: 13px; color: rgba(255,255,255,0.4);
  font-weight: 500; margin: 0;
}

/* PDF PREVIEW CARD */
.pdf-hl-right { position: relative; }
.pdf-hl-right::before {
  content: '';
  position: absolute; inset: -30px;
  background: radial-gradient(ellipse at 50% 50%, rgba(6,182,212,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.pdf-preview-card {
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(6,182,212,0.1);
  position: relative;
}
.pdf-preview-header {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pdf-preview-dot {
  width: 12px; height: 12px;
  border-radius: 50%; display: inline-block;
}
.pdf-preview-title {
  font-size: 12px; color: rgba(255,255,255,0.4);
  font-weight: 500; margin-left: 6px;
  font-family: monospace;
}
.pdf-preview-body { padding: 22px; display: flex; flex-direction: column; gap: 20px; }
.pdf-preview-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: #34d399; padding: 6px 14px;
  border-radius: 99px; font-size: 12px; font-weight: 700;
}
.pdf-preview-section { display: flex; flex-direction: column; gap: 8px; }
.pdf-preview-label {
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  color: rgba(255,255,255,0.3); margin-bottom: 2px;
}
.pdf-preview-line {
  height: 10px; background: rgba(255,255,255,0.08);
  border-radius: 99px;
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.pdf-preview-finding {
  display: flex; align-items: flex-start; gap: 10px;
}
.pdf-preview-finding span { font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.pdf-preview-finding > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.pdf-preview-rec {
  display: flex; align-items: center; gap: 10px;
}
.rec-num {
  width: 20px; height: 20px; border-radius: 6px;
  background: linear-gradient(135deg, var(--blue), var(--electric));
  color: white; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pdf-preview-rec > .pdf-preview-line { flex: 1; }
.pdf-preview-download {
  background: linear-gradient(135deg, var(--blue), var(--electric));
  color: white; border: none; padding: 10px 18px;
  border-radius: 8px; font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 16px rgba(37,99,235,0.4);
  text-align: center; width: 100%;
}

/* =====================
   OTHER SERVICES SECTION
   ===================== */
.other-services {
  background: linear-gradient(180deg, #f8faff 0%, #eef4ff 100%);
  padding: 100px 24px;
  text-align: center;
  border-top: 1px solid rgba(37,99,235,0.08);
}
.os-inner { max-width: 1100px; margin: 0 auto; }
.other-services h2 {
  font-size: 40px; font-weight: 900;
  color: var(--dark); margin-bottom: 16px;
  letter-spacing: -1.5px;
}
.os-subtitle {
  font-size: 17px; color: var(--gray);
  max-width: 620px; margin: 0 auto 60px;
  line-height: 1.7;
}
.os-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-bottom: 52px;
}
.os-card {
  background: white;
  border: 1.5px solid rgba(37,99,235,0.1);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: left;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(37,99,235,0.06);
}
.os-card-clickable { cursor: pointer; }
.os-card-clickable:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(37,99,235,0.18);
  border-color: var(--blue);
}
.os-card-clickable:hover .os-card-cta { color: var(--blue); }
.os-card-cta { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--blue-light); }
.os-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(37,99,235,0.14);
  border-color: rgba(37,99,235,0.25);
}
.os-icon {
  font-size: 32px; margin-bottom: 18px;
  width: 58px; height: 58px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.os-card h3 {
  font-size: 18px; font-weight: 800;
  color: var(--dark); margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.os-card p {
  font-size: 14px; color: var(--gray);
  line-height: 1.65; margin-bottom: 18px;
}
.os-badge {
  display: inline-block;
  background: var(--light);
  color: var(--blue);
  border: 1px solid rgba(37,99,235,0.15);
  padding: 4px 12px; border-radius: 99px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.3px;
}
.os-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.btn-os-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue), var(--electric));
  color: white; padding: 16px 40px;
  border-radius: 12px; font-size: 16px; font-weight: 700;
  border: none; cursor: pointer; text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 6px 20px rgba(37,99,235,0.35);
  letter-spacing: 0.2px;
}
.btn-os-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37,99,235,0.5); filter: brightness(1.08); }
.btn-outline-primary {
  display: inline-block;
  background: transparent;
  color: var(--blue); padding: 14px 36px;
  border-radius: 12px; font-size: 15px; font-weight: 700;
  border: 2px solid rgba(37,99,235,0.35); cursor: pointer; text-decoration: none;
  transition: all 0.2s;
}
.btn-outline-primary:hover { background: #eff6ff; border-color: var(--blue); }
.os-cta-note {
  font-size: 13px; color: var(--gray); margin: 0;
}

/* =====================
   CHARACTER SELECTOR
   ===================== */
.character-section { background: white; padding: 70px 24px; text-align: center; border-bottom: 2px solid var(--light); }
.character-section h2 { font-size: 32px; font-weight: 900; margin-bottom: 10px; letter-spacing: -0.5px; }
.character-section > p { color: var(--gray); font-size: 16px; margin-bottom: 44px; }
.character-cards { display: flex; gap: 36px; justify-content: center; flex-wrap: wrap; }
.character-card {
  position: relative; background: var(--lighter);
  border: 3px solid #dbeafe; border-radius: 22px;
  padding: 36px 30px 30px; width: 250px;
  cursor: pointer; transition: all 0.3s; text-align: center;
}
.character-card:hover { border-color: var(--blue); transform: translateY(-6px); box-shadow: 0 20px 48px rgba(37,99,235,0.18); }
.character-card.selected { border-color: var(--electric); background: linear-gradient(160deg, #f0f9ff, #e0f2fe); box-shadow: 0 12px 40px rgba(6,182,212,0.22); }
.character-img { width: 150px; height: 180px; margin: 0 auto 18px; display: block; border-radius: 16px; object-fit: cover; box-shadow: 0 8px 24px rgba(37,99,235,0.25); }
.character-card h3 { font-size: 24px; font-weight: 900; margin-bottom: 6px; letter-spacing: -0.5px; }
.character-card p { font-size: 13px; color: var(--gray); margin-bottom: 22px; font-weight: 500; }
.char-select-btn { width: 100%; background: linear-gradient(135deg, var(--blue), var(--electric)); color: white; border: none; padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s; font-family: inherit; box-shadow: 0 4px 14px rgba(37,99,235,0.3); }
.char-select-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.45); }
.character-card.selected .char-select-btn { background: linear-gradient(135deg, var(--green), #059669); box-shadow: 0 4px 14px rgba(16,185,129,0.35); }
.selected-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--blue), var(--electric)); color: white; padding: 5px 18px; border-radius: 20px; font-size: 12px; font-weight: 800; white-space: nowrap; box-shadow: 0 4px 12px rgba(37,99,235,0.4); }

/* =====================
   HOW IT WORKS
   ===================== */
.how-it-works { max-width: 1080px; margin: 0 auto; padding: 100px 24px; text-align: center; }
.how-it-works h2 { font-size: 38px; font-weight: 900; margin-bottom: 52px; letter-spacing: -1px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: white; border-radius: 20px; padding: 36px 24px; box-shadow: 0 4px 24px rgba(37,99,235,0.08); border: 1.5px solid rgba(37,99,235,0.08); transition: all 0.3s; }
.step:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(37,99,235,0.15); border-color: rgba(37,99,235,0.2); }
.step-number { width: 48px; height: 48px; background: linear-gradient(135deg, var(--blue), var(--electric)); color: white; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 20px; margin: 0 auto 20px; box-shadow: 0 6px 16px rgba(37,99,235,0.4); }
.step h3 { font-size: 16px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.2px; }
.step p { font-size: 13px; color: var(--gray); line-height: 1.65; }

/* =====================
   CASE STUDY
   ===================== */
.case-section { padding: 100px 24px; background: var(--lighter); }
.case-inner { max-width: 1080px; margin: 0 auto; }
.case-inner h2 { font-size: 38px; font-weight: 900; letter-spacing: -1px; margin-bottom: 52px; text-align: center; }
.case-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

/* Story side */
.case-story { display: flex; flex-direction: column; gap: 28px; }
.case-profile { display: flex; align-items: center; gap: 14px; }
.case-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--electric)); color: white; font-weight: 900; font-size: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.case-profile strong { display: block; font-size: 16px; font-weight: 800; }
.case-profile span { font-size: 13px; color: var(--gray); }
.case-problem { background: #fff8f0; border: 1.5px solid #fed7aa; border-radius: 14px; padding: 20px 22px; }
.case-problem-label { font-size: 12px; font-weight: 700; color: #ea580c; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.case-problem p { font-size: 15px; color: var(--dark); line-height: 1.65; }
.case-problem em { font-style: italic; font-weight: 600; }
.case-steps-list { display: flex; flex-direction: column; gap: 12px; }
.case-step-item { display: flex; align-items: center; gap: 14px; }
.case-step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: white; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.case-step-item.done .case-step-num { background: var(--green); }
.case-step-item p { font-size: 15px; color: var(--dark); }
.case-quote { background: white; border-left: 4px solid var(--blue); border-radius: 0 14px 14px 0; padding: 20px 22px; box-shadow: var(--shadow); position: relative; }
.case-quote-mark { font-size: 48px; color: var(--blue); line-height: 1; margin-bottom: 4px; font-family: Georgia, serif; }
.case-quote p { font-size: 15px; color: var(--dark); line-height: 1.65; font-style: italic; margin-bottom: 10px; }
.case-quote-author { font-size: 13px; color: var(--gray); font-weight: 600; }

/* Result card */
.case-result { background: var(--dark); border-radius: 20px; padding: 28px; color: white; box-shadow: var(--shadow-lg); }
.case-result-header { margin-bottom: 20px; }
.case-result-badge { font-size: 13px; background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.3); border-radius: 8px; padding: 5px 12px; display: inline-block; margin-bottom: 10px; }
.case-result-title { font-size: 15px; font-weight: 700; color: rgba(255,255,255,0.6); }
.case-result-section { margin-bottom: 18px; }
.case-result-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: var(--blue-light); margin-bottom: 8px; }
.case-result-text { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.6; }
.case-risk { font-size: 13px; padding: 7px 12px; border-radius: 8px; margin-bottom: 6px; }
.case-risk.high { background: rgba(239,68,68,0.12); color: #fca5a5; border: 1px solid rgba(239,68,68,0.2); }
.case-risk.mid { background: rgba(245,158,11,0.12); color: #fcd34d; border: 1px solid rgba(245,158,11,0.2); }
.case-verdict { background: rgba(245,158,11,0.1); border: 1.5px solid rgba(245,158,11,0.3); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: #fcd34d; line-height: 1.55; }
.case-savings-row { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); }
.case-saving-item { text-align: center; }
.case-saving-item strong { display: block; font-size: 22px; font-weight: 900; color: white; }
.case-saving-item span { font-size: 12px; color: rgba(255,255,255,0.5); }
.case-saving-item.highlight strong { color: var(--green); }
.case-saving-sep { font-size: 12px; color: rgba(255,255,255,0.3); }
@media (max-width: 800px) { .case-layout { grid-template-columns: 1fr; } }

/* =====================
   FOR WHOM
   ===================== */
/* =====================
   WHY DIFFERENT
   ===================== */
.whydiff-section { padding: 100px 24px; background: var(--lighter); }
.whydiff-inner { max-width: 1080px; margin: 0 auto; text-align: center; }
.whydiff-inner h2 { font-size: 38px; font-weight: 900; letter-spacing: -1px; margin-bottom: 16px; }
.whydiff-intro { font-size: 17px; color: var(--gray); line-height: 1.7; max-width: 720px; margin: 0 auto 52px; }
.whydiff-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: start; text-align: left; }
.whydiff-col { border-radius: 20px; padding: 28px; }
.whydiff-bad { background: #fff5f5; border: 1.5px solid #fecaca; }
.whydiff-good { background: #f0fdf4; border: 1.5px solid #bbf7d0; }
.whydiff-col-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.whydiff-col-icon { font-size: 28px; }
.whydiff-col-header strong { font-size: 17px; font-weight: 800; color: var(--dark); }
.whydiff-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.whydiff-col ul li { font-size: 14px; line-height: 1.55; color: var(--dark); }
.whydiff-bad ul li { color: #7f1d1d; }
.whydiff-good ul li { color: #14532d; }
.whydiff-vs { display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; color: var(--gray); padding-top: 60px; }
@media (max-width: 780px) { .whydiff-compare { grid-template-columns: 1fr; } .whydiff-vs { padding: 0; } }

.forwho-section { background: var(--dark); padding: 100px 24px; }
.forwho-inner { max-width: 1080px; margin: 0 auto; text-align: center; }
.forwho-inner h2 { font-size: 38px; font-weight: 900; color: var(--white); margin-bottom: 14px; letter-spacing: -1px; }
.forwho-sub { color: var(--gray); font-size: 17px; margin-bottom: 52px; }
.forwho-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.forwho-card { background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 28px 22px; text-align: left; transition: border-color .2s, transform .2s; }
.forwho-card:hover { border-color: var(--blue-light); transform: translateY(-3px); }
.forwho-icon { font-size: 36px; margin-bottom: 14px; }
.forwho-card h3 { font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.forwho-card p { font-size: 14px; color: #94a3b8; line-height: 1.6; margin-bottom: 16px; }
.forwho-saving { font-size: 13px; font-weight: 700; color: var(--blue-light); background: rgba(59,130,246,0.12); border-radius: 8px; padding: 6px 12px; display: inline-block; }
.forwho-improve { display: flex; gap: 20px; align-items: flex-start; background: rgba(59,130,246,0.1); border: 1.5px solid rgba(59,130,246,0.25); border-radius: 16px; padding: 28px 28px; text-align: left; }
.improve-icon { font-size: 36px; flex-shrink: 0; }
.forwho-improve strong { display: block; font-size: 17px; color: var(--white); margin-bottom: 8px; }
.forwho-improve p { font-size: 14px; color: #94a3b8; line-height: 1.65; }
@media (max-width: 900px) { .forwho-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .forwho-grid { grid-template-columns: 1fr; } .forwho-improve { flex-direction: column; } }

/* =====================
   TESTIMONIALS
   ===================== */
.testimonials-section { max-width: 1100px; margin: 0 auto 72px; padding: 0 24px; text-align: center; }
.testimonials-section h2 { font-size: 32px; font-weight: 900; margin-bottom: 44px; letter-spacing: -0.5px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card { background: white; border-radius: 16px; padding: 28px; box-shadow: var(--shadow); border: 1px solid rgba(37,99,235,0.07); text-align: left; transition: all 0.25s; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-stars { color: var(--gold); font-size: 20px; margin-bottom: 14px; }
.testimonial-text { font-size: 14px; color: var(--gray); line-height: 1.8; margin-bottom: 18px; font-style: italic; }
.testimonial-name { font-size: 13px; font-weight: 800; color: var(--dark); }

/* =====================
   FORM SECTION
   ===================== */
.form-section { max-width: 1040px; margin: 0 auto 90px; padding: 0 32px; }
.form-section h2 { font-size: 30px; font-weight: 900; margin-bottom: 6px; text-align: center; letter-spacing: -0.5px; }
.form-section-sub { font-size: 15px; color: var(--gray); text-align: center; margin-bottom: 28px; }
form { display: flex; flex-direction: column; gap: 14px; }
label { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: -6px; display: block; }
input[type="text"], input[type="email"], input[type="password"], textarea { width: 100%; padding: 13px 18px; border: 1.5px solid #e2e8f0; border-radius: 10px; font-size: 15px; font-family: inherit; transition: all 0.2s; background: white; color: var(--dark); box-sizing: border-box; }
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
textarea { resize: vertical; }

/* FORM STEP CARDS */
.form-step-card { display: flex; gap: 16px; background: white; border: 1.5px solid #e8eef6; border-radius: 16px; padding: 20px 22px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.form-step-badge { width: 32px; height: 32px; min-width: 32px; background: linear-gradient(135deg, var(--blue), var(--electric)); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; box-shadow: 0 3px 10px rgba(37,99,235,0.3); margin-top: 2px; }
.form-step-body { flex: 1; min-width: 0; }
.form-step-label { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.form-label-opt { font-weight: 400; color: var(--gray); font-size: 13px; }
.form-step-hint { font-size: 13px; color: var(--gray); margin-bottom: 12px; }
.form-step-hint-accent { color: var(--blue) !important; }
.form-step-body textarea, .form-step-body input[type="text"] { margin-top: 4px; }
.form-char-count { font-size: 11px; color: var(--gray); text-align: right; margin-top: 4px; }

/* SERVICE SELECTOR BUTTON */
.form-service-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: white; border: none; border-radius: 10px; padding: 11px 18px; font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer; transition: all 0.2s; }
.form-service-btn:hover { background: #1d4ed8; box-shadow: 0 4px 14px rgba(37,99,235,0.35); }
.form-service-chevron { font-size: 12px; opacity: 0.8; margin-left: 2px; }
.form-service-dropdown { position: absolute; top: calc(100% + 6px); left: 0; background: white; border: 1.5px solid #e8eef6; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); z-index: 100; min-width: 220px; overflow: hidden; }
.form-service-dropdown button { display: block; width: 100%; text-align: left; padding: 12px 16px; border: none; background: none; font-size: 14px; font-weight: 600; color: var(--dark); cursor: pointer; font-family: inherit; transition: background 0.15s; }
.form-service-dropdown button:hover { background: #f1f5f9; color: var(--blue); }

/* DEPTH CARDS */
.depth-cards-row { display: flex; gap: 10px; }
.depth-card-opt { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 14px 8px; border: 1.5px solid #e2e8f0; border-radius: 12px; background: white; cursor: pointer; font-family: inherit; text-align: center; transition: all 0.2s; gap: 3px; }
.depth-card-opt:hover { border-color: var(--blue); background: #f0f7ff; }
.depth-card-opt.active-depth { border-color: var(--blue); background: linear-gradient(135deg, #eff6ff, #dbeafe); box-shadow: 0 2px 10px rgba(37,99,235,0.15); }
.depth-card-opt.active-depth strong { color: var(--blue); }
.dco-icon { font-size: 20px; margin-bottom: 2px; }
.depth-card-opt strong { font-size: 14px; color: var(--dark); font-weight: 800; }
.dco-time { font-size: 11px; color: var(--gray); margin-top: 2px; }
.dco-desc { font-size: 11px; color: var(--gray); margin-top: 4px; line-height: 1.4; }

/* EMAIL WRITE FORM (inside card) */
.ew-fields { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.ew-field label { font-size: 12px; color: var(--gray); font-weight: 600; margin-bottom: 4px; }
.ew-tone-row { display: flex; gap: 8px; margin-top: 2px; }
.ew-tone-btn { flex: 1; padding: 8px 6px; border-radius: 8px; border: 1.5px solid #e2e8f0; background: white; color: var(--dark); cursor: pointer; font-size: 12px; font-weight: 600; font-family: inherit; transition: all 0.2s; }
.ew-tone-btn:hover { border-color: var(--blue); color: var(--blue); }
.ew-tone-btn.active-tone { border-color: var(--blue); background: linear-gradient(135deg, #eff6ff, #dbeafe); color: var(--blue); }

/* TRUST SIGNALS ROW */
.form-trust-row { display: flex; gap: 12px; margin-top: 4px; }
.form-trust-item { flex: 1; display: flex; gap: 10px; align-items: flex-start; background: #f8fafc; border: 1px solid #e8eef6; border-radius: 12px; padding: 12px 14px; }
.form-trust-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.form-trust-item strong { font-size: 12px; font-weight: 700; color: var(--dark); display: block; margin-bottom: 2px; }
.form-trust-item p { font-size: 11px; color: var(--gray); line-height: 1.4; margin: 0; }

/* FORM CTA */
.btn-form-cta { width: 100%; padding: 16px; background: linear-gradient(135deg, var(--blue), #1d4ed8); color: white; border: none; border-radius: 14px; font-size: 17px; font-weight: 800; font-family: inherit; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 18px rgba(37,99,235,0.35); letter-spacing: 0.2px; }
.btn-form-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(37,99,235,0.45); }
.form-cta-note { text-align: center; font-size: 13px; color: var(--gray); margin: 0; }

@media (max-width: 520px) {
  .form-trust-row { flex-direction: column; }
  .depth-cards-row { gap: 7px; }
  .dco-desc { display: none; }
}

/* PRICE BOX */
.price-box { background: white; border-radius: 18px; padding: 44px; text-align: center; box-shadow: var(--shadow-lg); border: 1px solid rgba(37,99,235,0.08); }
.price-icon { font-size: 52px; margin-bottom: 16px; }
.price-time { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--gray); }
.price-amount { font-size: 52px; font-weight: 900; background: linear-gradient(135deg, var(--blue), var(--electric)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 14px; letter-spacing: -2px; }
.price-note { font-size: 13px; color: var(--gray); margin-bottom: 30px; }
.price-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* PAYMENT BOX */
.payment-box { background: white; border-radius: 18px; padding: 38px; box-shadow: var(--shadow-lg); border: 1px solid rgba(37,99,235,0.08); }
.payment-box h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.payment-amount-label { font-size: 30px; font-weight: 900; background: linear-gradient(135deg, var(--blue), var(--electric)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 26px; }
.payment-options { display: flex; gap: 14px; margin-bottom: 24px; }
.payment-option { flex: 1; padding: 20px; border: 2px solid #dbeafe; border-radius: 12px; background: white; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; transition: all 0.2s; font-family: inherit; }
.payment-option:hover { border-color: var(--blue); color: var(--blue); background: #eff6ff; }
.payment-option.selected { border-color: var(--electric); background: linear-gradient(135deg, #f0f9ff, #e0f2fe); color: var(--blue); box-shadow: 0 4px 16px rgba(6,182,212,0.2); }
.payment-logo { font-size: 32px; }
.payment-hint { font-size: 13px; color: var(--gray); margin: 6px 0 12px; }
.bank-info-box { background: #fef9c3; border: 1px solid #fde047; border-radius: 10px; padding: 13px 16px; font-size: 13px; color: #713f12; margin: 8px 0 12px; }
.saved-method { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, #f0f9ff, #e0f2fe); border: 2px solid var(--electric); border-radius: 12px; padding: 18px 22px; margin-bottom: 22px; font-size: 15px; font-weight: 700; }
#saved-method-icon { font-size: 26px; }
#saved-method-label { flex: 1; color: var(--dark); }

/* SETUP BOX */
.setup-box { background: white; border-radius: 18px; padding: 38px; box-shadow: var(--shadow-lg); border: 1px solid rgba(37,99,235,0.08); }
.setup-header { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 30px; }
.setup-icon { font-size: 40px; flex-shrink: 0; }
.setup-header h3 { font-size: 22px; font-weight: 800; margin-bottom: 5px; }
.setup-header p { font-size: 14px; color: var(--gray); }
.setup-steps { display: flex; flex-direction: column; margin-bottom: 26px; }
.setup-step { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--light); }
.setup-step:last-child { border-bottom: none; }
.setup-step-num { width: 34px; height: 34px; flex-shrink: 0; background: linear-gradient(135deg, var(--blue), var(--electric)); color: white; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; margin-top: 2px; box-shadow: 0 4px 10px rgba(37,99,235,0.3); }
.setup-step-content strong { display: block; font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.setup-step-content p { font-size: 14px; color: var(--gray); margin-bottom: 12px; }
.btn-download { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #f0fdf4, #dcfce7); color: var(--green); border: 2px solid var(--green); padding: 10px 20px; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: all 0.2s; }
.btn-download:hover { background: var(--green); color: white; box-shadow: 0 4px 14px rgba(16,185,129,0.35); }
.permission-list { display: flex; flex-direction: column; gap: 8px; }
.permission-item { display: flex; align-items: center; gap: 12px; font-size: 14px; cursor: pointer; padding: 10px 14px; border: 1px solid #dbeafe; border-radius: 10px; transition: all 0.15s; font-weight: 500; }
.permission-item:hover { border-color: var(--electric); background: #f0f9ff; }
.permission-item input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--blue); }
.taskbar-preview { display: inline-flex; align-items: center; gap: 8px; background: #1e293b; color: white; padding: 7px 16px; border-radius: 8px; font-size: 13px; margin-top: 10px; }
.taskbar-icon { font-size: 14px; }
.taskbar-time { color: #94a3b8; font-size: 12px; }
.setup-note { display: flex; align-items: flex-start; gap: 12px; background: linear-gradient(135deg, #f0fdf4, #dcfce7); border: 1px solid #bbf7d0; border-radius: 10px; padding: 16px 18px; margin-bottom: 22px; font-size: 13px; color: #065f46; font-weight: 500; }

/* PROGRESS BOX */
.progress-box { background: white; border-radius: 18px; padding: 44px; text-align: center; box-shadow: var(--shadow-lg); border: 1px solid rgba(37,99,235,0.08); }
.agent-working { margin-bottom: 30px; }
.agent-icon { font-size: 56px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.progress-message { font-size: 16px; color: var(--gray); margin-top: 14px; font-weight: 500; }
.progress-track { width: 100%; height: 14px; background: var(--light); border-radius: 99px; overflow: hidden; margin-bottom: 10px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--electric), var(--glow)); border-radius: 99px; width: 0%; transition: width 0.7s ease; box-shadow: 0 0 12px rgba(6,182,212,0.5); }
.progress-percent { font-size: 15px; font-weight: 800; background: linear-gradient(135deg, var(--blue), var(--electric)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.progress-funfact { margin-top: 24px; padding: 14px 18px; background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(6,182,212,0.06)); border: 1px solid rgba(37,99,235,0.12); border-radius: 12px; display: flex; align-items: flex-start; gap: 10px; text-align: left; min-height: 52px; }
.progress-funfact-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
#progress-funfact-text { font-size: 13px; color: var(--gray); line-height: 1.55; animation: factFadeIn 0.5s ease; }
@keyframes factFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* RESULT BOX */
.result-box { background: white; border-radius: 18px; padding: 38px; box-shadow: var(--shadow-lg); border: 1px solid rgba(37,99,235,0.08); }
.result-header { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.result-icon { font-size: 32px; }
.result-header h3 { font-size: 24px; font-weight: 800; }
.result-content { background: var(--lighter); border: 1px solid var(--light); border-radius: 10px; padding: 22px; font-size: 14px; line-height: 1.9; white-space: pre-wrap; max-height: 560px; overflow-y: auto; margin-bottom: 26px; }
.result-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* DELETED / REVOKE */
.deleted-box { background: white; border-radius: 18px; padding: 44px; text-align: center; box-shadow: var(--shadow-lg); border: 1px solid rgba(37,99,235,0.08); }
.deleted-icon { font-size: 56px; margin-bottom: 18px; }
.deleted-box h3 { font-size: 24px; font-weight: 800; margin-bottom: 18px; }
.deleted-checklist { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; text-align: left; }
.deleted-check { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, #f0fdf4, #dcfce7); border: 1px solid #bbf7d0; border-radius: 10px; padding: 12px 18px; font-size: 14px; font-weight: 600; color: #065f46; animation: fadeInCheck 0.4s ease both; }
@keyframes fadeInCheck { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
.deleted-note { background: linear-gradient(135deg, #fef9c3, #fef3c7); border: 1px solid #fde047; border-radius: 10px; padding: 14px 18px; font-size: 13px; color: #713f12; margin-bottom: 26px; text-align: left; font-weight: 500; }
.deleted-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.revoke-list { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; text-align: left; }
.revoke-item { display: flex; align-items: center; gap: 14px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: 12px 18px; font-size: 14px; color: #991b1b; font-weight: 600; animation: fadeInCheck 0.3s ease both; }
.revoke-item.done { background: linear-gradient(135deg, #f0fdf4, #dcfce7); border-color: #bbf7d0; color: #065f46; }

/* FEEDBACK BOX */
.feedback-box { background: white; border-radius: 18px; padding: 38px; box-shadow: var(--shadow-lg); border: 1px solid rgba(37,99,235,0.08); display: flex; flex-direction: column; gap: 16px; }
.feedback-header { display: flex; gap: 18px; align-items: flex-start; }
.feedback-header h3 { font-size: 22px; font-weight: 800; margin-bottom: 5px; }
.feedback-header p { font-size: 14px; color: var(--gray); }
.star-rating { display: flex; gap: 6px; font-size: 44px; color: #dbeafe; cursor: pointer; }
.star { transition: color 0.15s, transform 0.1s; }
.star.active, .star:hover { color: var(--gold); transform: scale(1.1); }

/* REVIEW SECTION */
.review-section { background: linear-gradient(135deg, var(--black) 0%, #0d1b3e 100%); color: white; text-align: center; padding: 64px 24px; }
.review-section h2 { font-size: 30px; font-weight: 900; margin-bottom: 12px; letter-spacing: -0.5px; }
.review-section p { color: #64748b; margin-bottom: 30px; font-size: 16px; }

/* LEGAL MODALS */
.legal-modal { background: white; border-radius: 20px; padding: 44px 48px; max-width: 780px; width: 94%; max-height: 88vh; overflow-y: auto; position: relative; box-shadow: 0 24px 80px rgba(0,0,0,0.2); }
.legal-modal-close { position: absolute; top: 18px; right: 22px; background: #f1f5f9; border: none; color: #64748b; font-size: 18px; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.legal-modal-close:hover { background: #e2e8f0; color: var(--dark); }
.legal-modal-title { font-size: 26px; font-weight: 900; color: var(--dark); margin-bottom: 28px; padding-bottom: 16px; border-bottom: 2px solid #e8eef6; }
.legal-content { font-size: 14px; line-height: 1.8; color: #475569; }
.legal-section { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid #f1f5f9; }
.legal-section:last-of-type { border-bottom: none; margin-bottom: 0; }
.legal-section h3 { font-size: 15px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.legal-content a { color: var(--blue); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }
.legal-content ul { color: #475569; }
.legal-content strong { color: var(--dark); }
.legal-stand { font-size: 12px; color: #94a3b8; margin-top: 24px; text-align: right; }
@media (max-width: 600px) { .legal-modal { padding: 28px 22px; } }

/* FOOTER */
/* =====================
   LENGTH SELECTOR
   ===================== */
.length-option { width: 100%; background: var(--lighter); border: 2px solid rgba(37,99,235,0.12); border-radius: 14px; padding: 0; cursor: pointer; transition: all 0.2s; text-align: left; }
.length-option:hover { border-color: var(--electric); background: #eff6ff; box-shadow: 0 4px 16px rgba(37,99,235,0.15); transform: translateY(-1px); }
.length-option-inner { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; }
.length-icon { font-size: 26px; flex-shrink: 0; margin-top: 2px; }
.length-option strong { display: block; font-size: 15px; font-weight: 800; color: var(--dark); margin-bottom: 3px; }
.length-option p { font-size: 13px; color: var(--gray); margin: 0; line-height: 1.4; }
.length-option:hover strong { color: var(--blue); }

/* =====================
   TASK SHORTCUTS
   ===================== */
.task-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.task-shortcut { background: var(--light); color: var(--blue); border: 1.5px solid rgba(37,99,235,0.2); padding: 7px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.task-shortcut:hover { background: linear-gradient(135deg, var(--blue), var(--electric)); color: white; border-color: transparent; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }
.task-shortcut.active { background: linear-gradient(135deg, var(--blue), var(--electric)); color: white; border-color: transparent; box-shadow: 0 4px 12px rgba(37,99,235,0.3); }

/* =====================
   PDF UPLOAD AREA
   ===================== */
.upload-context-hint { display: flex; align-items: flex-start; gap: 10px; background: #fffbeb; border: 1.5px solid #fde68a; border-radius: 12px; padding: 12px 16px; font-size: 13px; color: #92400e; line-height: 1.5; margin-bottom: 10px; }
.upload-hint-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

.pdf-upload-area { border: 2px dashed rgba(37,99,235,0.3); border-radius: 14px; padding: 22px; text-align: center; cursor: pointer; transition: all 0.2s; background: var(--light); margin-top: 14px; }
.pdf-upload-area:hover, .pdf-upload-area.drag-over { border-color: var(--electric); background: #eff6ff; box-shadow: 0 0 0 4px rgba(6,182,212,0.1); }
.pdf-upload-icon { font-size: 34px; margin-bottom: 6px; }
.pdf-upload-text { font-size: 14px; color: var(--gray); line-height: 1.5; }
.pdf-upload-text strong { color: var(--blue); }
.pdf-file-list { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.pdf-file-item { display: flex; align-items: center; justify-content: space-between; background: white; border: 1.5px solid rgba(37,99,235,0.15); border-radius: 9px; padding: 9px 14px; font-size: 13px; }
.pdf-file-name { color: var(--dark); font-weight: 600; display: flex; align-items: center; gap: 7px; }
.pdf-file-size { color: var(--gray); font-weight: 400; font-size: 12px; margin-left: 4px; }
.pdf-file-remove { background: none; border: none; color: var(--gray); cursor: pointer; font-size: 18px; padding: 0 2px; line-height: 1; transition: color 0.15s; }
.pdf-file-remove:hover { color: var(--red); }

footer { background: var(--black); color: #334155; text-align: center; padding: 28px; font-size: 13px; border-top: 1px solid #0f172a; }
.footer-owner-link { display: none; }

/* =====================
   HERO AGENT PILLS
   ===================== */
.hero-agents {
  display: flex; align-items: center; gap: 12px;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: 32px; position: relative;
}
.hero-agent-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  padding: 9px 20px; border-radius: 99px;
  font-size: 13px; font-weight: 600;
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}
.hero-agent-pill:hover { background: rgba(255,255,255,0.12); border-color: rgba(6,182,212,0.5); }
.hero-agent-or {
  color: rgba(255,255,255,0.3);
  font-size: 13px; font-weight: 500;
}

/* =====================
   TASK PAGE
   ===================== */
#page-task {
  min-height: calc(100vh - 60px);
  background: var(--lighter);
}
.task-page-header {
  background: linear-gradient(135deg, var(--black) 0%, #0d1b3e 100%);
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(37,99,235,0.2);
  position: sticky; top: 0; z-index: 100;
}
.task-back-btn {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  padding: 9px 18px; border-radius: 9px;
  font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
}
.task-back-btn:hover { background: rgba(255,255,255,0.15); border-color: var(--electric); }
.task-page-title-wrap {
  display: flex; align-items: center; gap: 10px;
  flex: 1; justify-content: center;
}
#task-page-icon { font-size: 22px; }
#task-page-title {
  font-size: 18px; font-weight: 800;
  color: white; letter-spacing: -0.3px;
}
.task-mini-chars { display: flex; gap: 8px; }
.mini-char-btn {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.8);
  padding: 7px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.mini-char-btn small {
  font-size: 10px; font-weight: 400; opacity: 0.7; white-space: nowrap;
}
.char-switch-sep {
  color: rgba(255,255,255,0.35); font-size: 16px; align-self: center; user-select: none;
}
.mini-char-btn:hover { background: rgba(255,255,255,0.15); }
.mini-char-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--electric));
  border-color: transparent; color: white;
  box-shadow: 0 4px 12px rgba(37,99,235,0.4);
}

/* =====================
   SERVICE PICKER
   ===================== */
#service-picker {
  padding: 52px 24px;
  background: white;
  border-bottom: 2px solid var(--light);
}
.sp-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.sp-inner h3 {
  font-size: 28px; font-weight: 900;
  margin-bottom: 10px; letter-spacing: -0.5px;
}
.sp-inner > p { font-size: 16px; color: var(--gray); margin-bottom: 36px; }
.sp-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sp-card {
  background: var(--lighter);
  border: 2px solid #dbeafe;
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.sp-card:hover {
  border-color: var(--blue);
  background: #eff6ff;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37,99,235,0.15);
}
.sp-icon { font-size: 28px; margin-bottom: 2px; }
.sp-card strong { font-size: 15px; font-weight: 800; color: var(--dark); }
.sp-card p { font-size: 12px; color: var(--gray); line-height: 1.4; margin: 0; }
.sp-price {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue), var(--electric));
  color: white; padding: 4px 12px;
  border-radius: 99px; font-size: 12px; font-weight: 800;
  margin-top: 4px;
}

/* =====================
   DUE TASK BANNER
   ===================== */
.due-banner {
  position: sticky; top: 0; z-index: 900;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white; padding: 12px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 4px 16px rgba(245,158,11,0.4);
}
.due-banner-icon { font-size: 22px; flex-shrink: 0; }
.due-banner-content { flex: 1; }
.due-banner-content strong { display: block; font-size: 15px; font-weight: 800; }
.due-banner-content span { font-size: 13px; opacity: 0.9; }
.due-banner-btn {
  background: white; color: #d97706;
  border: none; border-radius: 99px;
  padding: 8px 18px; font-weight: 800; font-size: 14px;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: transform 0.15s;
}
.due-banner-btn:hover { transform: scale(1.04); }
.due-banner-dismiss {
  background: rgba(255,255,255,0.2); border: none; color: white;
  width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; font-size: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.due-banner-dismiss:hover { background: rgba(255,255,255,0.35); }

/* =====================
   CHAIN ACTIONS
   ===================== */
.chain-section {
  margin-top: 24px; padding: 20px;
  background: var(--lighter); border-radius: 14px;
  border: 2px solid #dbeafe;
}
.chain-section h4 {
  font-size: 14px; font-weight: 800; color: var(--gray);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.chain-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-chain {
  background: white; border: 2px solid #dbeafe;
  color: var(--dark); border-radius: 99px;
  padding: 8px 18px; font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: all 0.2s;
}
.btn-chain:hover {
  border-color: var(--blue); color: var(--blue);
  background: #eff6ff; transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.15);
}

/* =====================
   SCHEDULE SECTION
   ===================== */
.schedule-section {
  margin-top: 16px; padding: 20px;
  background: var(--lighter); border-radius: 14px;
  border: 2px solid #dbeafe;
}
.schedule-section h4 {
  font-size: 14px; font-weight: 800; color: var(--gray);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.schedule-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.schedule-confirm {
  margin-top: 12px; padding: 10px 16px;
  background: #d1fae5; border-radius: 10px;
  color: #065f46; font-size: 14px; font-weight: 700;
  display: none;
}

/* COOKIE CONSENT */
.cookie-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(5,10,25,0.96);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; overflow-y: auto;
}
.cookie-box {
  background: #0f172a;
  border: 1.5px solid rgba(37,99,235,0.25);
  border-radius: 16px;
  width: 100%; max-width: 680px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
  overflow: hidden;
}
.cookie-header-bar {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-bottom: 1px solid rgba(37,99,235,0.2);
  padding: 20px 28px 16px;
}
.cookie-logo { font-size: 20px; font-weight: 800; color: white; margin-bottom: 8px; }
.cookie-logo span { color: #2563eb; }
.cookie-title { font-size: 17px; font-weight: 700; color: white; margin: 0; line-height: 1.3; }

.cookie-option { padding: 24px 28px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cookie-option-main { background: rgba(37,99,235,0.04); }
.cookie-option-label { font-size: 15px; font-weight: 700; color: white; margin-bottom: 10px; }
.cookie-option-desc { font-size: 13px; color: #94a3b8; line-height: 1.65; margin: 0; }
.cookie-option-desc strong { color: #cbd5e1; }
.cookie-inline-link { color: #60a5fa; text-decoration: none; }
.cookie-inline-link:hover { text-decoration: underline; }

.cookie-btn-accept {
  display: block; width: 100%; margin-top: 16px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white; border: none; border-radius: 10px;
  padding: 13px 24px; font-size: 14px; font-weight: 800;
  letter-spacing: 0.5px; font-family: inherit; cursor: pointer;
  box-shadow: 0 4px 16px rgba(37,99,235,0.4); transition: all 0.18s;
}
.cookie-btn-accept:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(37,99,235,0.55); }
.cookie-revoke { font-size: 11px; color: #475569; margin: 10px 0 0; line-height: 1.5; }

.cookie-details-toggle {
  padding: 14px 28px; cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px; color: #60a5fa;
  transition: background 0.15s;
}
.cookie-details-toggle:hover { background: rgba(37,99,235,0.06); }

#cookie-details-panel { padding: 0 28px 4px; }
.cookie-detail-section { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.cookie-detail-section:last-child { border-bottom: none; }
.cookie-detail-title { font-size: 13px; font-weight: 700; color: #e2e8f0; margin: 0 0 8px; }
.cookie-detail-text { font-size: 12px; color: #64748b; line-height: 1.65; margin: 0 0 8px; }
.cookie-detail-list { margin: 8px 0 0 16px; padding: 0; font-size: 12px; color: #64748b; line-height: 1.7; }
.cookie-detail-list li { margin-bottom: 4px; }

.cookie-footer-links {
  padding: 14px 28px; background: rgba(0,0,0,0.2);
  font-size: 12px; color: #475569; display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.cookie-footer-links a { color: #60a5fa; text-decoration: none; }
.cookie-footer-links a:hover { text-decoration: underline; }
.cookie-sep { color: #334155; }
@media (max-width: 600px) { .cookie-header-bar, .cookie-option, .cookie-details-toggle, #cookie-details-panel, .cookie-footer-links { padding-left: 18px; padding-right: 18px; } }

/* BRAND COLOR PICKER IN FORM */
.brand-color-group { display: flex; flex-direction: column; gap: 0; margin-top: 14px; }
.brand-color-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.brand-color-label { font-size: 13px; color: var(--gray); white-space: nowrap; }
.brand-color-swatches { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.color-swatch {
  width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid transparent;
  cursor: pointer; transition: transform 0.15s, border-color 0.15s;
  padding: 0; flex-shrink: 0;
}
.color-swatch:hover { transform: scale(1.18); }
.color-swatch.active-swatch { border-color: white; box-shadow: 0 0 0 2px rgba(255,255,255,0.4); transform: scale(1.15); }
.color-swatch-custom {
  width: 28px; height: 28px; border-radius: 50%; border: 2px dashed rgba(255,255,255,0.3);
  cursor: pointer; padding: 0; background: none; overflow: hidden;
}

/* =============================================
   VIDEO SECTION
   ============================================= */
.video-section { padding: 90px 24px; background: linear-gradient(180deg, #080d1a 0%, #0a0f1e 100%); text-align: center; }
.video-inner { max-width: 860px; margin: 0 auto; }
.video-sub { color: rgba(255,255,255,0.55); font-size: 17px; margin: 12px 0 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 18px; box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.07); }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 18px; }

/* =============================================
   COST COMPARISON SECTION
   ============================================= */
.cost-compare-section { padding: 100px 24px; background: #0a0f1e; }
.cost-compare-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.cost-compare-sub { color: rgba(255,255,255,0.55); margin: 12px 0 48px; font-size: 17px; }
.cost-compare-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,0.4); }
.cost-col { padding: 36px 32px; }
.cost-col-bad  { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-right: none; border-radius: 20px 0 0 20px; }
.cost-col-good { background: linear-gradient(145deg, rgba(37,99,235,0.18), rgba(6,182,212,0.12)); border: 1px solid rgba(37,99,235,0.35); border-left: none; border-radius: 0 20px 20px 0; }
.cost-col-header { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.cost-col-icon { font-size: 28px; }
.cost-col-header strong { font-size: 18px; color: white; font-weight: 700; }
.cost-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.cost-list li { font-size: 14px; color: rgba(255,255,255,0.75); display: flex; align-items: flex-start; gap: 10px; }
.cost-list small { display: block; font-size: 11px; color: rgba(255,255,255,0.38); margin-top: 2px; }
.cost-x     { color: #f87171; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.cost-check { color: #4ade80; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.cost-total { padding: 14px 18px; border-radius: 10px; font-size: 15px; margin-top: 8px; }
.cost-total-bad  { background: rgba(248,113,113,0.1); color: #fca5a5; border: 1px solid rgba(248,113,113,0.2); }
.cost-total-good { background: rgba(74,222,128,0.12); color: #86efac; border: 1px solid rgba(74,222,128,0.25); }
.cost-total strong { font-weight: 800; }
.cost-vs { display: flex; align-items: center; justify-content: center; padding: 0 20px; font-size: 22px; font-weight: 900; color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.03); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
@media (max-width: 680px) {
  .cost-compare-grid { grid-template-columns: 1fr; }
  .cost-col-bad  { border-radius: 20px 20px 0 0; border-right: 1px solid rgba(255,255,255,0.08); border-bottom: none; }
  .cost-col-good { border-radius: 0 0 20px 20px; border-left: 1px solid rgba(37,99,235,0.35); border-top: none; }
  .cost-vs { padding: 12px; border: 1px solid rgba(255,255,255,0.06); border-top: none; border-bottom: none; }
}

/* =============================================
   CHARACTER SECTION UPGRADES
   ============================================= */
.char-bubble { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px 14px 14px 4px; padding: 14px 16px; font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.55; margin-bottom: 18px; position: relative; font-style: italic; }
.char-bubble::after { content: ''; position: absolute; bottom: -10px; left: 18px; border: 5px solid transparent; border-top-color: rgba(255,255,255,0.12); }
.char-skills { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 10px 0 16px; }
.char-skill { background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.3); color: rgba(255,255,255,0.7); font-size: 11px; padding: 4px 10px; border-radius: 99px; }

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-section { padding: 100px 24px; background: #080d1a; }
.faq-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.faq-inner h2 { margin-bottom: 48px; }
.faq-list { text-align: left; display: flex; flex-direction: column; gap: 2px; }
.faq-item { border-radius: 12px; overflow: hidden; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: white; font-size: 15px; font-weight: 600; padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background 0.2s; font-family: inherit; }
.faq-q:hover { background: rgba(255,255,255,0.04); }
.faq-arrow { font-size: 22px; color: rgba(255,255,255,0.35); transition: transform 0.3s; flex-shrink: 0; line-height: 1; }
.faq-q.open .faq-arrow { transform: rotate(90deg); color: var(--electric); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s ease; font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.65; padding: 0 24px; }
.faq-a.open { max-height: 300px; padding: 0 24px 20px; }

/* HEADER LOGIN/SIGNUP BUTTONS (guest state) */
.btn-header-login {
  display: none;
  padding: 8px 18px;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent;
  color: white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.18s;
}
.btn-header-login:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.45); }
.btn-header-signup {
  display: none;
  padding: 8px 18px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.18s;
  box-shadow: 0 2px 10px rgba(37,99,235,0.35);
}
.btn-header-signup:hover { background: #1d4ed8; }

/* FORGOT PASSWORD */
.forgot-link { color: var(--blue); font-size: 13px; text-decoration: none; opacity: 0.85; }
.forgot-link:hover { opacity: 1; text-decoration: underline; }
#forgot-panel { flex-direction: column; gap: 14px; }

/* SERVICE QUALITY HINT — hero banner at top of form */
.service-quality-hint-hero {
  background: linear-gradient(135deg, rgba(37,99,235,0.13), rgba(37,99,235,0.06));
  border: 1.5px solid rgba(37,99,235,0.3);
  border-radius: 14px;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #1e40af;
  line-height: 1.55;
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: 0.1px;
}
.service-quality-hint-hero:empty { display: none; }


/* ── Rich result renderer ── */
#result-content { font-size: 14px; line-height: 1.65; color: #e2e8f0; }
#result-content .r-section {
  font-size: 13px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase;
  color: #60a5fa; margin: 18px 0 6px; padding-bottom: 4px;
  border-bottom: 1px solid rgba(37,99,235,0.3);
}
#result-content .r-body { margin: 4px 0; color: #cbd5e1; }
#result-content .r-meta { font-size: 12px; color: #64748b; margin: 2px 0; }
#result-content .r-bullet { padding-left: 16px; position: relative; margin: 3px 0; color: #cbd5e1; }
#result-content .r-bullet::before { content: '→'; position: absolute; left: 0; color: #2563eb; }
#result-content .r-numbered { padding-left: 20px; margin: 3px 0; color: #cbd5e1; }
#result-content .r-labeled-bullet { margin: 4px 0 4px 12px; color: #cbd5e1; }
#result-content .r-labeled-bullet strong { color: #93c5fd; }
#result-content .r-insight { margin: 8px 0; padding: 8px 12px; background: rgba(16,185,129,0.08); border-left: 3px solid #10b981; border-radius: 0 8px 8px 0; color: #a7f3d0; font-size: 13.5px; }
#result-content .r-risk { margin: 4px 0 4px 12px; padding: 6px 10px; border-radius: 6px; font-size: 13.5px; }
#result-content .r-risk-critical  { background: rgba(239,68,68,0.1); color: #fca5a5; border-left: 3px solid #ef4444; }
#result-content .r-risk-important { background: rgba(245,158,11,0.1); color: #fde68a; border-left: 3px solid #f59e0b; }
#result-content .r-risk-low       { background: rgba(16,185,129,0.08); color: #a7f3d0; border-left: 3px solid #10b981; }
#result-content .r-kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
#result-content .r-kpi { background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.25); border-left: 3px solid #2563eb; border-radius: 8px; padding: 10px 14px; }
#result-content .r-kpi-label { font-size: 11px; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
#result-content .r-kpi-value { font-size: 17px; font-weight: 800; color: #60a5fa; }
#result-content .r-table-wrap { overflow-x: auto; margin: 12px 0; border-radius: 10px; border: 1px solid rgba(37,99,235,0.2); }
#result-content .r-table { width: 100%; border-collapse: collapse; font-size: 13px; }
#result-content .r-table th { background: rgba(37,99,235,0.2); color: #93c5fd; font-weight: 700; padding: 8px 12px; text-align: left; font-size: 12px; letter-spacing: 0.3px; border-bottom: 1px solid rgba(37,99,235,0.3); }
#result-content .r-table td { padding: 7px 12px; color: #cbd5e1; border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: top; }
#result-content .r-table .r-odd td { background: rgba(255,255,255,0.02); }
#result-content .r-table tr:last-child td { border-bottom: none; }
#result-content .r-chart-wrap { margin: 14px 0; background: rgba(255,255,255,0.03); border: 1px solid rgba(37,99,235,0.2); border-radius: 12px; padding: 14px 16px; }
#result-content .r-chart-title { font-size: 13px; font-weight: 700; color: #93c5fd; margin-bottom: 10px; }
#result-content .r-chart-wrap canvas { max-height: 260px; }

/* ── Chat Widget ── */
#chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.chat-fab {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,99,235,0.55);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.chat-fab:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(37,99,235,0.7); }
.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0a0f1e;
}
.chat-panel {
  width: calc(100vw - 48px);
  max-width: 1200px;
  height: calc(100vh - 120px);
  background: #0f172a;
  border: 1.5px solid rgba(37,99,235,0.3);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.55);
  animation: chatSlideUp 0.22s ease;
}
.chat-panel.hidden { display: none; }
@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, #1e3a8a, #1e40af);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px 4px 0 0;
  flex-shrink: 0;
}
.chat-header-left { display: flex; align-items: center; gap: 10px; }
.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: white;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.chat-title { font-size: 14px; font-weight: 700; color: white; }
.chat-status { font-size: 11px; color: #86efac; margin-top: 1px; }
.chat-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  transition: color 0.2s;
  border-radius: 6px;
}
.chat-close:hover { color: white; }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }
.chat-msg { display: flex; flex-direction: column; gap: 3px; }
.chat-msg.user { align-items: flex-end; }
.chat-msg.bot  { align-items: flex-start; }
.chat-bubble {
  max-width: 87%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.55;
}
.chat-msg.bot  .chat-bubble { background: rgba(255,255,255,0.07); color: #e2e8f0; border-bottom-left-radius: 4px; }
.chat-msg.user .chat-bubble { background: #2563eb; color: white; border-bottom-right-radius: 4px; }
.chat-time { font-size: 10px; color: #475569; padding: 0 3px; }
.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.chat-quick-replies button {
  background: rgba(37,99,235,0.14);
  border: 1px solid rgba(37,99,235,0.4);
  color: #93c5fd;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.chat-quick-replies button:hover { background: rgba(37,99,235,0.28); }
.chat-typing {
  display: flex;
  gap: 4px;
  padding: 10px 13px;
  background: rgba(255,255,255,0.07);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}
.chat-typing span {
  width: 6px;
  height: 6px;
  background: #64748b;
  border-radius: 50%;
  animation: chatDot 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatDot {
  0%,60%,100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 11px 13px;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  flex-shrink: 0;
}
.chat-input-row input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 9px 12px;
  color: white;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}
.chat-input-row input:focus { border-color: rgba(37,99,235,0.6); }
.chat-input-row input::placeholder { color: #475569; }
.chat-send {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #2563eb;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.chat-send:hover { background: #1d4ed8; }
@media (max-width: 480px) {
  #chat-widget { bottom: 16px; right: 16px; }
  .chat-panel { width: calc(100vw - 32px); }
}

/* =====================
   HERO ENTRANCE — pure CSS Fade-in + Slide-up (no JavaScript dependency)
   ===================== */
@keyframes fadeSlideUp {
  from { opacity: 0;    transform: translateY(40px); }
  to   { opacity: 1;    transform: translateY(0);    }
}
@keyframes fadeSlideUpMuted {
  from { opacity: 0;    transform: translateY(40px); }
  to   { opacity: 0.75; transform: translateY(0);    }
}

.hero-chip   { animation: fadeSlideUp      0.65s cubic-bezier(0.16,1,0.3,1) 0.10s both; }
.hero h1     { animation: fadeSlideUp      0.85s cubic-bezier(0.16,1,0.3,1) 0.22s both; }
.hero > p    { animation: fadeSlideUpMuted 0.75s cubic-bezier(0.16,1,0.3,1) 0.44s both; }
.hero-badges { animation: fadeSlideUp      0.65s cubic-bezier(0.16,1,0.3,1) 0.60s both; }
.hero-agents { animation: fadeSlideUp      0.60s cubic-bezier(0.16,1,0.3,1) 0.72s both; }
.hero-ctas   { animation: fadeSlideUp      0.60s cubic-bezier(0.16,1,0.3,1) 0.84s both; }
.hero-stats  { animation: fadeSlideUp      0.55s cubic-bezier(0.16,1,0.3,1) 0.94s both; }

/* Scroll reveal (below the fold) */
.sr {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1),
              transform 0.75s cubic-bezier(0.16,1,0.3,1);
  will-change: transform, opacity;
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-chip, .hero h1, .hero > p, .hero-badges,
  .hero-agents, .hero-ctas, .hero-stats { animation: none !important; }
  .sr { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* RESPONSIVE */
@media (max-width: 1100px) { .pdf-hl-wrap { grid-template-columns: 1fr; gap: 48px; } .pdf-hl-left h2 { font-size: 34px; } .pdf-hl-right { display: none; } .os-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .testimonials-grid { grid-template-columns: repeat(2, 1fr); } .os-grid { grid-template-columns: repeat(2, 1fr); } .sp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .hero h1 { font-size: 34px; letter-spacing: -1px; } .hero-ctas { flex-direction: column; align-items: center; } .steps { grid-template-columns: 1fr 1fr; } .header-inner { flex-direction: column; gap: 12px; text-align: center; } .other-services h2 { font-size: 30px; } .task-page-header { flex-wrap: wrap; gap: 10px; } .task-mini-chars { width: 100%; justify-content: center; } .task-page-title-wrap { width: 100%; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } .testimonials-grid { grid-template-columns: 1fr; } .os-grid { grid-template-columns: 1fr; } .sp-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 28px; } .hero-stats { gap: 12px; } .hero-agents { flex-direction: column; gap: 8px; } .payment-options { flex-direction: column; } .modal { padding: 28px 20px; } .character-cards { flex-direction: column; align-items: center; } .mini-char-btn { font-size: 12px; padding: 6px 10px; } }
