/* ============================================================
   WeCreateYou — style.css
   Font: Bricolage Grotesque (headings) + DM Sans (body)
   Theme: Dark navy / electric blue / purple accents
============================================================ */

/* === VARIABLES === */
:root {
  --bg:         #07091a;
  --bg-2:       #0d1128;
  --bg-3:       #121733;
  --surface:    rgba(255,255,255,0.04);
  --surface-h:  rgba(255,255,255,0.07);
  --border:     rgba(255,255,255,0.08);
  --border-h:   rgba(255,255,255,0.15);
  --blue:       #3b82f6;
  --blue-d:     #2563eb;
  --blue-glow:  rgba(59,130,246,0.25);
  --purple:     #8b5cf6;
  --purple-d:   #7c3aed;
  --green:      #22c55e;
  --text-1:     #f1f5f9;
  --text-2:     #94a3b8;
  --text-3:     #4b5563;
  --radius:     14px;
  --radius-sm:  8px;
  --shadow:     0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:  0 8px 48px rgba(0,0,0,0.7);
  --transition: 200ms cubic-bezier(0.4,0,0.2,1);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
  min-height: 100vh;
}

h1,h2,h3,h4,h5 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; cursor: pointer; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
img { max-width: 100%; }

.hidden { display: none !important; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* === VIEWS === */
.view { min-height: 100vh; }
.view.active { display: block; }

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(7,9,26,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-1);
}

.nav-actions, .nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-username {
  color: var(--text-2);
  font-size: 14px;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue-d), var(--purple-d));
  color: #fff;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition);
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 20px var(--blue-glow); }
.btn-primary:hover::after { background: rgba(255,255,255,0.08); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.btn-ghost:hover {
  color: var(--text-1);
  border-color: var(--border-h);
  background: var(--surface);
}

.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius); }
.btn-full { width: 100%; justify-content: center; padding: 14px; border-radius: var(--radius); }

.btn-back {
  color: var(--text-3);
  border-color: transparent;
  padding-left: 0;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}

.btn-google:hover:not([disabled]) {
  border-color: var(--border-h);
  background: var(--surface);
  color: var(--text-1);
}

.btn-google[disabled] { opacity: 0.5; cursor: not-allowed; }

.soon-badge {
  font-size: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 100px;
  color: var(--text-3);
  margin-left: auto;
}

/* Generate button */
.btn-generate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-d), var(--purple-d));
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  font-family: 'Bricolage Grotesque', sans-serif;
  letter-spacing: -0.01em;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-generate::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition);
}

.btn-generate:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(59,130,246,0.4);
}

.sparkle-icon {
  display: flex;
  align-items: center;
  animation: sparkle-spin 3s linear infinite;
}

@keyframes sparkle-spin {
  0%,100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(180deg); }
}

.generate-hint {
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
  margin-top: 10px;
}

/* === GRADIENT TEXT === */
.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 60%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === LANDING: HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--blue-d), transparent 70%);
  top: -200px; left: -100px;
  animation: orb-float 12s ease-in-out infinite;
}

.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--purple-d), transparent 70%);
  top: 100px; right: -100px;
  animation: orb-float 16s ease-in-out infinite reverse;
}

.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #1e40af, transparent 70%);
  bottom: -100px; left: 30%;
  animation: orb-float 20s ease-in-out infinite;
}

@keyframes orb-float {
  0%,100% { transform: translate(0,0); }
  33% { transform: translate(30px,-20px); }
  66% { transform: translate(-20px,30px); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 28px;
  animation: fade-up 0.6s ease both;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

.hero-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fade-up 0.6s 0.1s ease both;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 36px;
  animation: fade-up 0.6s 0.2s ease both;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fade-up 0.6s 0.3s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fade-up 0.6s 0.4s ease both;
}

.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 24px; color: var(--text-1); }
.stat-label { font-size: 12px; color: var(--text-3); }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* Hero visual */
.hero-visual {
  position: relative;
  z-index: 1;
  animation: fade-up 0.6s 0.3s ease both;
}

.browser-mockup {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-3);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(59,130,246,0.1);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #22c55e; }

.browser-url {
  flex: 1;
  font-size: 11px;
  color: var(--text-3);
  background: var(--bg);
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.browser-content { padding: 0; }

.mock-hero-band {
  height: 80px;
  background: linear-gradient(135deg, #1e3a8a, #4c1d95);
  position: relative;
}

.mock-nav-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}

.mock-content { padding: 16px 12px; }

.mock-line {
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  margin-bottom: 6px;
}

.mock-btn {
  width: 80px; height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--blue-d), var(--purple-d));
  margin-top: 8px;
}

.mock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 0 12px 12px;
}

.mock-card {
  height: 50px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
}

/* Floating badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: var(--shadow);
}

.badge-top { top: -14px; right: 20px; }
.badge-bottom { bottom: 30px; left: -20px; }

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease infinite;
}

/* === SECTION SHARED === */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  margin-bottom: 48px;
  color: var(--text-1);
}

/* === HOW IT WORKS === */
.how-section {
  padding: 100px 0;
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 24px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
}

.step-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-number {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 48px;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}

.step-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--blue-glow);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p { color: var(--text-2); font-size: 14px; line-height: 1.6; }

.step-connector {
  color: var(--text-3);
  padding-top: 60px;
  flex-shrink: 0;
}

/* === FEATURES === */
.features-section { padding: 80px 0 100px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--border-h);
  background: var(--surface-h);
}

.feature-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 16px;
}

.feature-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* === EXAMPLES === */
.examples-section { padding: 0 0 100px; }

.examples-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.example-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.example-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.example-preview {
  height: 160px;
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}

.preview-1 { background: linear-gradient(135deg, #1e3a5f, #312e81); }
.preview-2 { background: linear-gradient(135deg, #1c1007, #78350f); }
.preview-3 { background: linear-gradient(135deg, #0f2044, #1e3a8a); }
.preview-4 { background: linear-gradient(135deg, #1a0a3c, #4c1d95); }

.ep-bar {
  height: 28px;
  background: linear-gradient(135deg, #1e3a8a, #312e81);
}

.ep-content {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ep-line {
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  margin-bottom: 6px;
}

.ep-line.w90 { width: 90%; }
.ep-line.w80 { width: 80%; }
.ep-line.w70 { width: 70%; }
.ep-line.w60 { width: 60%; }
.ep-line.w50 { width: 50%; }
.ep-line.tall { height: 10px; }
.ep-line.thin { height: 6px; background: rgba(255,255,255,0.08); }

.ep-btn {
  width: 56px; height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--blue-d), var(--purple-d));
  margin-top: 8px;
}

.example-info {
  padding: 12px 14px;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.example-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--blue-glow);
  border: 1px solid rgba(59,130,246,0.2);
  color: var(--blue);
  font-weight: 600;
}

.example-name { font-size: 12px; color: var(--text-2); }

/* === CTA SECTION === */
.cta-section { padding: 0 0 100px; }

.cta-card {
  background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(124,58,237,0.15));
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-orb {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.cta-card h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; position: relative; }
.cta-card p { color: var(--text-2); font-size: 16px; margin-bottom: 32px; position: relative; }
.cta-card .btn-primary { position: relative; }

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 14px;
}

.footer-copy { font-size: 13px; color: var(--text-3); }

/* === DASHBOARD === */
.dashboard-layout { padding-top: 100px; }

.dashboard-header {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.dash-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 8px;
}

.dash-sub { color: var(--text-2); }

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding-bottom: 60px;
}

.website-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}

.website-card:hover {
  border-color: var(--border-h);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.new-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  border-style: dashed;
  min-height: 180px;
  gap: 12px;
}

.new-card:hover { border-color: var(--blue); background: var(--blue-glow); }

.new-card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--surface-h);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all var(--transition);
}

.new-card:hover .new-card-icon {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-glow);
}

.new-card h3 { font-size: 16px; font-weight: 700; }
.new-card p { font-size: 13px; color: var(--text-2); }

.website-card-name { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.website-card-url { font-size: 12px; color: var(--blue); margin-bottom: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.status-badge.online {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.2);
  color: var(--green);
}

.status-badge.draft {
  background: rgba(148,163,184,0.1);
  border: 1px solid var(--border);
  color: var(--text-2);
}

.card-actions { display: flex; gap: 8px; }

/* === CONFIGURATOR === */
.configurator-layout { padding-top: 80px; min-height: 100vh; }

.step-progress-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: sticky;
  top: 62px;
  z-index: 50;
}

.step-progress-inner { display: flex; justify-content: center; }

.step-indicators {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-ind {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  transition: opacity var(--transition);
}

.step-ind.active { opacity: 1; }
.step-ind.done { opacity: 0.7; }

.step-ind-circle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  transition: all var(--transition);
  flex-shrink: 0;
}

.step-ind.active .step-ind-circle {
  background: linear-gradient(135deg, var(--blue-d), var(--purple-d));
  border-color: transparent;
  color: #fff;
}

.step-ind.done .step-ind-circle {
  background: rgba(34,197,94,0.15);
  border-color: rgba(34,197,94,0.3);
  color: var(--green);
}

.step-ind span { font-size: 13px; font-weight: 500; white-space: nowrap; }

.step-ind-line {
  width: 40px; height: 1px;
  background: var(--border);
  flex-shrink: 0;
}

/* Configurator card */
.configurator-card {
  max-width: 680px;
  margin: 48px auto 80px;
}

.conf-step.active { display: block; animation: fade-up 0.35s ease both; }

.step-header {
  margin-bottom: 36px;
}

.step-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 10px;
}

.step-header h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.step-header p { color: var(--text-2); font-size: 15px; }

/* Form elements */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.req { color: var(--blue); }
.opt {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-3);
  font-style: italic;
}

.form-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-1);
  transition: all var(--transition);
  width: 100%;
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
  background: var(--surface-h);
}

.form-input::placeholder { color: var(--text-3); }
.form-textarea { resize: vertical; min-height: 88px; }

/* Industry chip */
.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  padding: 4px 12px;
  border-radius: 100px;
  margin-top: 6px;
  animation: fade-up 0.3s ease both;
}

/* Social links */
.social-links-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.social-input-group {
  display: flex;
  align-items: center;
  gap: 0;
}

.social-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--bg-2);
}

.social-icon.fb { color: #1877f2; }
.social-icon.ig { color: #e1306c; }
.social-icon.web { color: var(--blue); }
.social-icon.gm { color: #34a853; }

.social-input {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
  flex: 1;
}

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 32px;
  line-height: 1.5;
}

.info-box svg { color: var(--blue); flex-shrink: 0; margin-top: 1px; }

/* Chips */
.form-section { margin-bottom: 32px; }

.section-label-sm {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 14px;
}

.chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.chip:hover {
  border-color: var(--border-h);
  color: var(--text-1);
}

.chip.selected {
  background: rgba(59,130,246,0.15);
  border-color: rgba(59,130,246,0.4);
  color: #93c5fd;
}

/* Style cards */
.style-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.style-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
}

.style-card:hover {
  border-color: var(--border-h);
  transform: translateY(-2px);
}

.style-card.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

.style-preview {
  height: 72px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.sp-elegant { background: linear-gradient(135deg, #1a1207, #2d1f07); }
.sp-modern { background: linear-gradient(135deg, #050b1a, #0d1a35); }
.sp-colorful { background: linear-gradient(135deg, #1a1a07, #0a2010); }
.sp-professional { background: linear-gradient(135deg, #0a0f1a, #111827); }

.style-card span {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  padding: 8px 8px 10px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

/* Color picker */
.color-picker-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.color-presets { display: flex; gap: 8px; }

.color-preset {
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.color-preset:hover { transform: scale(1.1); }
.color-preset.selected { outline-color: var(--text-1); }

.color-custom { display: flex; align-items: center; gap: 8px; }
.color-custom-label { font-size: 12px; color: var(--text-3); }
.color-input { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--border); cursor: pointer; padding: 0; background: none; }

/* Review card */
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
}

.review-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.review-row:last-child { border-bottom: none; }
.review-label { color: var(--text-3); font-weight: 500; min-width: 120px; flex-shrink: 0; }
.review-value { color: var(--text-1); }

/* Generation progress */
.generation-progress {
  text-align: center;
  padding: 48px 0;
}

.gen-animation {
  position: relative;
  width: 100px; height: 100px;
  margin: 0 auto 28px;
}

.gen-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gen-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: ring-spin linear infinite;
}

.r1 {
  width: 90px; height: 90px;
  border-top-color: var(--blue);
  border-left-color: rgba(59,130,246,0.3);
  animation-duration: 1.2s;
}

.r2 {
  width: 68px; height: 68px;
  border-top-color: var(--purple);
  border-right-color: rgba(139,92,246,0.3);
  animation-duration: 1.8s;
  animation-direction: reverse;
}

.r3 {
  width: 48px; height: 48px;
  border-top-color: #ec4899;
  animation-duration: 2.4s;
}

@keyframes ring-spin { to { transform: rotate(360deg); } }

.gen-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  animation: sparkle-spin 3s linear infinite;
}

.gen-status {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 20px;
  min-height: 24px;
  transition: opacity 0.3s ease;
}

.gen-progress-bar {
  width: 100%;
  max-width: 400px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 8px;
  overflow: hidden;
}

.gen-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 2px;
  transition: width 0.5s ease;
  width: 0%;
}

.gen-progress-pct {
  font-size: 13px;
  color: var(--text-3);
}

/* Step actions */
.step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

/* === RESULT === */
.result-layout { padding-top: 100px; padding-bottom: 60px; }

.result-header { text-align: center; padding: 48px 0 40px; }

.result-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  border: 2px solid rgba(34,197,94,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin: 0 auto 20px;
  animation: success-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes success-pop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.result-header h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}

.result-header > p { color: var(--text-2); margin-bottom: 20px; }

.result-url-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-family: 'DM Sans', monospace;
  font-size: 15px;
  color: var(--blue);
  margin-bottom: 28px;
}

.copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  transition: color var(--transition);
}

.copy-btn:hover { color: var(--text-1); }

.result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.preview-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.preview-url {
  font-size: 12px;
  color: var(--text-3);
  background: var(--bg);
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.result-iframe {
  width: 100%;
  height: 600px;
  border: none;
  background: #fff;
}

/* === AUTH MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fade-in 0.2s ease both;
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.modal-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modal-slide 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes modal-slide {
  from { transform: translateY(20px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  transition: all var(--transition);
}

.modal-close:hover { background: var(--surface); color: var(--text-1); }

.modal-tabs {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 28px;
}

.modal-tab {
  flex: 1;
  padding: 8px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-3);
  transition: all var(--transition);
}

.modal-tab.active {
  background: var(--bg-2);
  color: var(--text-1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.modal-form { display: flex; flex-direction: column; gap: 16px; }

.modal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-3);
  font-size: 12px;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.modal-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  color: #fca5a5;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
}

/* === ANIMATIONS === */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 100px;
    text-align: center;
  }
  .hero-visual { display: none; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-sub { margin: 0 auto 36px; }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .step-connector {
    display: none;
  }
  .step-card { margin-bottom: 16px; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .examples-grid { grid-template-columns: 1fr 1fr; }
  .style-cards-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .nav-actions .btn-ghost { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .examples-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .cta-card { padding: 36px 24px; }
  .step-indicators span { display: none; }
  .step-ind-line { width: 20px; }
  .style-cards-grid { grid-template-columns: 1fr 1fr; }
}
