/* ================================================================
   GOATCEO Dashboard — Premium SaaS Light Theme
   Inspired by: Zidny / Modern Agency Onboarding
   Left: Clean white  |  Right: Deep navy honeycomb
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ── Scoped reset ── */
#gc-root *, #gc-root *::before, #gc-root *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ═══════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════ */
#gc-root {
  /* Accent — electric blue (matches Zidny) */
  --a:           #1e90ff;
  --a-dark:      #0070e0;
  --a-light:     rgba(30,144,255,0.10);
  --a-glow:      rgba(30,144,255,0.22);

  /* Surfaces */
  --bg:          #f0f4fa;
  --card:        #ffffff;
  --input-bg:    #f7f9fc;
  --input-hover: #f0f5ff;

  /* Text */
  --t1:          #0d1b2a;
  --t2:          #4a5568;
  --t3:          #9aa5b8;
  --placeholder: #b0bac8;

  /* Borders */
  --border:      #e2e8f2;
  --border-f:    var(--a);

  /* Right panel */
  --navy:        #0b1d3a;
  --navy-2:      #0e2247;

  /* CTA */
  --cta-from:    #1e90ff;
  --cta-to:      #0065cc;
  --cta-text:    #ffffff;
  --cta-shadow:  0 8px 32px rgba(30,144,255,0.38), 0 2px 8px rgba(30,144,255,0.20);
  --cta-shadow-h:0 12px 40px rgba(30,144,255,0.50), 0 4px 12px rgba(30,144,255,0.28);

  /* Geometry */
  --r-pill:      100px;
  --r-card:      20px;
  --r-field:     14px;
  --r-sm:        10px;

  /* Animation */
  --tr:          0.20s cubic-bezier(0.4,0,0.2,1);
  --tr-slow:     0.35s cubic-bezier(0.4,0,0.2,1);

  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ═══════════════════════════════════════════════
   CARD SHELL
   ═══════════════════════════════════════════════ */
.gc-card {
  display: grid;
  grid-template-columns: 1fr 360px;
  max-width: 940px;
  width: 100%;
  background: var(--card);
  border-radius: var(--r-card);
  box-shadow:
    0 4px 6px rgba(0,0,0,0.04),
    0 20px 60px rgba(11,29,58,0.12),
    0 0 0 1px rgba(0,0,0,0.04);
  overflow: hidden;
  min-height: 610px;
}

/* ═══════════════════════════════════════════════
   LEFT PANEL — white, clean, airy
   ═══════════════════════════════════════════════ */
.gc-left {
  padding: 44px 50px 40px;
  display: flex;
  flex-direction: column;
  background: var(--card);
  overflow-y: auto;
}

/* ── Back button ── */
.gc-back {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  cursor: pointer;
  color: var(--t3);
  font-size: 14px;
  margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--tr);
  flex-shrink: 0;
}
.gc-back:hover {
  border-color: var(--a);
  color: var(--a);
  background: var(--a-light);
}
.gc-back.gc-hide { opacity: 0; pointer-events: none; }

/* ═══════════════════════════════════════════════
   PROGRESS STEPPER — Zidny style
   ═══════════════════════════════════════════════ */
.gc-progress {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  flex-shrink: 0;
}
.gc-pip-wrap { display: flex; align-items: center; flex: 1; }
.gc-pip-wrap:last-child { flex: 0; }

.gc-pip {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--card);
  color: var(--t3);
  font-size: 10px; font-weight: 800; letter-spacing: 0.03em;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--tr-slow);
  position: relative; z-index: 1;
}
.gc-pip.active {
  background: var(--a);
  border-color: var(--a);
  color: #fff;
  box-shadow: 0 0 0 4px var(--a-glow);
}
.gc-pip.done {
  background: var(--a);
  border-color: var(--a);
  color: #fff;
  box-shadow: none;
}
.gc-pip.done span { font-size: 0; }
.gc-pip.done span::before { content: "\2713"; font-size: 12px; font-weight: 900; }

.gc-line {
  flex: 1; height: 2px;
  background: var(--border);
  margin: 0 2px;
  border-radius: 2px;
  transition: background var(--tr-slow);
  overflow: hidden;
  position: relative;
}
.gc-line.done { background: var(--a); }

/* ═══════════════════════════════════════════════
   STEP ANIMATION
   ═══════════════════════════════════════════════ */
.gc-steps { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.gc-step  { display: none; flex-direction: column; flex: 1; animation: gcSlide 0.28s cubic-bezier(0.4,0,0.2,1) forwards; }
.gc-step.active { display: flex; }

@keyframes gcSlide {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ═══════════════════════════════════════════════
   TYPOGRAPHY — clear hierarchy
   ═══════════════════════════════════════════════ */
.gc-heading {
  font-size: 27px;
  font-weight: 800;
  color: var(--a);                /* blue heading like Zidny */
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 6px;
}

.gc-sub {
  font-size: 13.5px;
  color: var(--t2);
  line-height: 1.65;
  margin-bottom: 26px;
  font-weight: 400;
}

/* ═══════════════════════════════════════════════
   FIELDS
   ═══════════════════════════════════════════════ */
.gc-field { margin-bottom: 20px; }

.gc-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--t1);
  display: block;
  margin-bottom: 10px;
}

/* ── Text input — pill style ── */
.gc-input-wrap { position: relative; display: flex; align-items: center; }
.gc-icon {
  position: absolute; left: 18px;
  color: var(--t3); font-size: 15px;
  pointer-events: none;
  transition: color var(--tr);
}
.gc-input-wrap:focus-within .gc-icon { color: var(--a); }

.gc-input {
  width: 100%;
  padding: 13px 20px 13px 46px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 14px; font-family: inherit; font-weight: 500;
  color: var(--t1);
  background: var(--input-bg);
  outline: none;
  caret-color: var(--a);
  transition: border-color var(--tr), box-shadow var(--tr), background var(--tr);
}
.gc-input::placeholder { color: var(--placeholder); font-weight: 400; }
.gc-input:hover:not(:focus) { border-color: #c8d4e8; background: var(--input-hover); }
.gc-input:focus {
  border-color: var(--a);
  background: #fff;
  box-shadow: 0 0 0 4px var(--a-glow);
}

/* ── Select — pill style ── */
.gc-select-wrap { position: relative; }
.gc-select-wrap::after {
  content: "\25BE";
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  color: var(--t3); pointer-events: none;
  font-size: 12px;
  transition: color var(--tr);
}
.gc-select-wrap:focus-within::after { color: var(--a); }

.gc-select {
  width: 100%;
  padding: 13px 44px 13px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 14px; font-family: inherit; font-weight: 500;
  color: var(--t1);
  background: var(--input-bg);
  outline: none;
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
  transition: border-color var(--tr), box-shadow var(--tr), background var(--tr);
}
.gc-select:hover:not(:focus) { border-color: #c8d4e8; background: var(--input-hover); }
.gc-select:focus {
  border-color: var(--a);
  background: #fff;
  box-shadow: 0 0 0 4px var(--a-glow);
}
.gc-select option { background: #fff; color: var(--t1); }

/* ── Textarea — message field ── */
.gc-textarea-wrap { position: relative; }
.gc-textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid var(--border);
  border-radius: 18px;            /* rounded rect, not full pill for textarea */
  font-size: 14px; font-family: inherit; font-weight: 400;
  color: var(--t1);
  background: var(--input-bg);
  outline: none; resize: vertical;
  min-height: 110px;
  caret-color: var(--a);
  line-height: 1.6;
  transition: border-color var(--tr), box-shadow var(--tr), background var(--tr);
}
.gc-textarea::placeholder { color: var(--placeholder); }
.gc-textarea:hover:not(:focus) { border-color: #c8d4e8; background: var(--input-hover); }
.gc-textarea:focus {
  border-color: var(--a);
  background: #fff;
  box-shadow: 0 0 0 4px var(--a-glow);
}

.gc-field-hint {
  font-size: 12px;
  color: var(--t3);
  margin-top: 7px;
  padding-left: 4px;
  font-style: italic;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════
   RADIO CARDS — service & detail options
   ═══════════════════════════════════════════════ */
.gc-radio-list { display: flex; flex-direction: column; gap: 8px; }
.gc-radio-row  { flex-direction: row; flex-wrap: wrap; }

.gc-radio-item { position: relative; }
.gc-radio-item input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }

.gc-radio-item label {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  cursor: pointer;
  font-size: 14px; font-weight: 500;
  color: var(--t2);
  background: var(--input-bg);
  transition: all var(--tr);
  user-select: none;
}
.gc-radio-item label:hover {
  border-color: var(--a);
  background: var(--a-light);
  color: var(--a-dark);
}
.gc-radio-item input:checked + label {
  border-color: var(--a);
  background: var(--a-light);
  color: var(--a-dark);
  box-shadow: 0 0 0 1px var(--a) inset;
}

/* Custom dot */
.gc-dot-radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--tr);
  background: #fff;
}
.gc-radio-item label:hover .gc-dot-radio { border-color: var(--a); }
.gc-radio-item input:checked + label .gc-dot-radio {
  border-color: var(--a);
  background: #fff;
}
.gc-radio-item input:checked + label .gc-dot-radio::after {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--a);
  box-shadow: 0 0 0 2px rgba(30,144,255,0.18);
}

/* Service icon + info layout */
.gc-svc-icon { font-size: 17px; flex-shrink: 0; }
.gc-svc-info { display: flex; flex-direction: column; gap: 1px; }
.gc-svc-info strong { font-size: 14px; font-weight: 700; color: var(--t1); transition: color var(--tr); }
.gc-svc-info em { font-size: 11.5px; color: var(--t3); font-style: normal; }
.gc-radio-item input:checked + label .gc-svc-info strong { color: var(--a-dark); }

/* ═══════════════════════════════════════════════
   DESIGN LEVEL CARDS
   ═══════════════════════════════════════════════ */
.gc-design-list { display: flex; flex-direction: column; gap: 9px; }
.gc-design-item { position: relative; }
.gc-design-item input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }

.gc-design-item label {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  cursor: pointer; background: var(--input-bg);
  transition: all var(--tr); user-select: none;
}
.gc-design-item label:hover {
  border-color: var(--a);
  background: var(--a-light);
}
.gc-design-item input:checked + label {
  border-color: var(--a);
  background: var(--a-light);
  box-shadow: 0 0 0 1px var(--a) inset;
}

.gc-des-info { display: flex; flex-direction: column; gap: 2px; }
.gc-des-price { font-size: 18px; font-weight: 900; color: var(--a); }
.gc-des-info strong { font-size: 13.5px; font-weight: 700; color: var(--t1); }
.gc-des-info em { font-size: 12px; color: var(--t2); font-style: normal; }

/* ═══════════════════════════════════════════════
   REVIEW SUMMARY
   ═══════════════════════════════════════════════ */
.gc-review {
  background: #f7f9ff;
  border: 1.5px solid #e0e8f8;
  border-radius: 18px;
  padding: 18px 22px; margin-bottom: 4px;
}
.gc-review-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid #edf2f8;
  font-size: 14px;
}
.gc-review-row:last-child { border-bottom: none; }
.gc-review-key {
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--t3); min-width: 110px; padding-top: 2px;
}
.gc-review-val { font-weight: 600; color: var(--t1); flex: 1; line-height: 1.5; }

/* ═══════════════════════════════════════════════
   ERRORS
   ═══════════════════════════════════════════════ */
.gc-err { font-size: 12px; color: #e53e3e; margin-top: 6px; padding-left: 4px; display: none; font-weight: 500; }
.gc-err.show { display: block; }

/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */
.gc-nav { display: flex; gap: 10px; margin-top: auto; padding-top: 26px; flex-shrink: 0; }

.gc-btn {
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-size: 14px; font-family: inherit; font-weight: 700;
  cursor: pointer; border: none; outline: none;
  transition: all var(--tr-slow);
  letter-spacing: 0.02em;
}

/* ── PRIMARY — gradient CTA ── */
.gc-primary {
  flex: 1;
  background: linear-gradient(135deg, var(--cta-from) 0%, var(--cta-to) 100%);
  color: var(--cta-text);
  box-shadow: var(--cta-shadow);
  position: relative;
  overflow: hidden;
}
/* Shine sweep */
.gc-primary::before {
  content: '';
  position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transition: left 0.55s ease;
}
.gc-primary:hover::before { left: 150%; }
.gc-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--cta-shadow-h);
}
.gc-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(30,144,255,0.28);
}

/* ── GHOST ── */
.gc-ghost {
  background: transparent;
  color: var(--t3);
  border: 1.5px solid var(--border);
}
.gc-ghost:hover {
  border-color: var(--a);
  color: var(--a);
  background: var(--a-light);
}

/* ═══════════════════════════════════════════════
   SUCCESS SCREEN
   ═══════════════════════════════════════════════ */
.gc-success-screen { flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 24px; }
.gc-success-screen.active { display: flex !important; }

.gc-success-icon {
  width: 78px; height: 78px; border-radius: 50%;
  background: linear-gradient(135deg, var(--a) 0%, var(--a-dark) 100%);
  color: #fff; font-size: 32px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 0 0 10px var(--a-glow), 0 8px 28px rgba(30,144,255,0.30);
}
.gc-success-screen h2 {
  font-size: 26px; font-weight: 900; color: var(--t1);
  margin-bottom: 10px; letter-spacing: -0.02em;
}
.gc-success-screen p { font-size: 14.5px; color: var(--t2); line-height: 1.7; max-width: 300px; }

/* ═══════════════════════════════════════════════
   RIGHT PANEL — Deep navy + honeycomb
   ═══════════════════════════════════════════════ */
.gc-right {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: 0 var(--r-card) var(--r-card) 0;
  background: var(--navy);
}

/* Gradient overlay for depth */
.gc-right::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 110% 55% at 50% 0%, rgba(30,144,255,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(14,34,71,0.60) 0%, transparent 60%);
}

/* Pattern SVG sits below overlay */
.gc-pattern { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

/* Panel content */
.gc-panel {
  position: relative; z-index: 4;
  padding: 44px 34px 42px;
  display: flex; flex-direction: column;
  height: 100%;
}

/* Logo / brand */
.gc-logo-img { margin-bottom: 30px; }
.gc-logo-img img {
  max-height: 56px; max-width: 190px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.gc-logo-text {
  font-size: 36px; font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--a);
  margin-bottom: 28px; line-height: 1;
  text-shadow: 0 0 32px rgba(30,144,255,0.55);
}

/* Panel title */
.gc-panel-title {
  font-size: 25px; font-weight: 800; color: #fff;
  line-height: 1.22; letter-spacing: -0.025em; margin-bottom: 10px;
}
.gc-panel-tagline {
  font-size: 13.5px;
  color: rgba(200,215,240,0.55);
  line-height: 1.7; font-weight: 400;
}

/* Feature list */
.gc-features {
  list-style: none; margin-top: 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.gc-features li {
  display: flex; align-items: center; gap: 11px;
  font-size: 13px; font-weight: 500;
  color: rgba(200,215,240,0.75); line-height: 1.4;
}
.gc-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--a); flex-shrink: 0;
  box-shadow: 0 0 10px rgba(30,144,255,0.80), 0 0 22px rgba(30,144,255,0.35);
}

/* Step counter */
.gc-step-indicator { margin-top: auto; padding-top: 28px; }
.gc-step-num {
  font-size: 66px; font-weight: 900;
  color: rgba(255,255,255,0.05); line-height: 1;
  letter-spacing: -0.06em;
  transition: all 0.45s cubic-bezier(0.4,0,0.2,1);
}
.gc-step-lbl {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(200,215,240,0.25); margin-top: 5px;
}

/* ═══════════════════════════════════════════════
   DARK MODE — light form already set, just ensure
   dark flag doesnt break the light left panel
   ═══════════════════════════════════════════════ */
#gc-root.gc-dark {
  --bg: #0e1525; --card: #141c2e; --input-bg: #1a2338;
  --input-hover: #1e2a42; --t1: #e8edf8; --t2: #a8b3cc;
  --t3: #5a6680; --border: rgba(255,255,255,0.10);
  --placeholder: #3e4f6a;
}
#gc-root.gc-dark .gc-left { background: #141c2e; }
#gc-root.gc-dark .gc-card { background: #141c2e; }
#gc-root.gc-dark .gc-review { background: #1a2338; border-color: rgba(255,255,255,0.08); }
#gc-root.gc-dark .gc-review-row { border-bottom-color: rgba(255,255,255,0.05); }
#gc-root.gc-dark .gc-input, #gc-root.gc-dark .gc-select, #gc-root.gc-dark .gc-textarea { color: #e8edf8; }
#gc-root.gc-dark .gc-heading { color: var(--a); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 800px) {
  .gc-card { grid-template-columns: 1fr; max-width: 540px; }
  .gc-right { border-radius: 0 0 var(--r-card) var(--r-card); min-height: 140px; }
  .gc-features, .gc-step-indicator, .gc-panel-tagline { display: none; }
  .gc-panel { padding: 26px 28px 22px; }
  .gc-panel-title { font-size: 20px; }
  .gc-left { padding: 32px 30px 36px; }
}
@media (max-width: 520px) {
  #gc-root { padding: 0; }
  .gc-card { border-radius: 0; box-shadow: none; }
  .gc-left { padding: 24px 18px 30px; }
  .gc-heading { font-size: 22px; }
}

/* Scrollbar */
#gc-root ::-webkit-scrollbar { width: 4px; }
#gc-root ::-webkit-scrollbar-track { background: transparent; }
#gc-root ::-webkit-scrollbar-thumb { background: rgba(30,144,255,0.20); border-radius: 4px; }
#gc-root ::-webkit-scrollbar-thumb:hover { background: rgba(30,144,255,0.40); }
