/* Eazeily brand theme */

:root {
  --brand:#6366F1;
  --brand-600:#5458e8;
  --brand-50:#eef2ff;
  --sand:#fbfbfd;
}

/* Base styles */
.bg-brand-sand { background: var(--sand); }
.text-brand { color: var(--brand); }

/* Logo */
.logo-gradient {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background-image: url('/static/logo.svg');
  background-color: #fff;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding: 3px;
  box-shadow: 0 4px 18px rgba(99,102,241,.18);
  transition: all 0.25s ease;
}
.logo-gradient:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(99,102,241,0.35);
}
.logo-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  box-shadow: 0 6px 18px rgba(99,102,241,.28);
}

/* Cards & inputs */
.card {
  background: #fff;
  border: 1px solid #eaeaf0;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(15,23,42,.04);
}
.input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
}
.input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-50);
}

/* Buttons */
.btn-primary {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(99,102,241,.25);
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--brand-600);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(99,102,241,.3);
}
.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(99,102,241,0.2);
}
.btn-secondary {
  background:#f3f4f6;
  color:#111827;
  border:1px solid #e5e7eb;
  padding:10px 14px;
  border-radius:10px;
  transition:.2s;
  cursor:pointer;
}
.btn-secondary:hover { background:#e5e7eb; }
.btn-ghost {
  background:#fff;
  color:#111827;
  border:1px solid #e5e7eb;
  padding:10px 14px;
  border-radius:10px;
  transition:.2s;
  cursor:pointer;
}
.btn-ghost:hover {
  background:#f9fafb;
  border-color: var(--brand);
}
.btn-primary:disabled,.btn-secondary:disabled {
  opacity:.6;
  cursor:not-allowed;
}

/* Steps */
.steps { display:flex; align-items:center; gap:8px;}
.steps .step {
  width:28px; height:28px; display:inline-flex;
  align-items:center; justify-content:center;
  border-radius:999px; border:1px solid #dbe1f0;
  background:#fff; font-weight:600; color:#64748b;
}
.steps .step.active { background:var(--brand); color:#fff; border-color:var(--brand);} 
.steps .bar { width:28px; height:2px; background:#e5e7eb; }
.step-panel.hidden { display:none; }

/* Choices */
.choice {
  position:relative;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:12px;
  background:#fff;
  cursor:pointer;
  transition:.2s all;
  text-align:left;
}
.choice:hover { border-color: var(--brand); box-shadow:0 4px 14px rgba(99,102,241,.12); }
.choice .emoji { font-size:20px; }
.choice .title { font-weight:600; }
.choice.selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-50);
}
.choice.selected:after {
  content:"✓";
  position:absolute;
  right:10px; top:10px;
  color:#fff; background:var(--brand);
  border-radius:999px; width:20px; height:20px;
  display:flex; align-items:center; justify-content:center;
  font-size:12px;
}

/* Summaries */
.summary { list-style:none; padding:0; margin:0; display:grid; gap:6px;}
.summary li { display:flex; justify-content:space-between; font-size:13px; color:#334155; }
.post { border:1px solid #e5e7eb;border-radius:12px;padding:12px; }
.caption { white-space:pre-wrap; }

/* 🌊 Hero Section */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: var(--sand);
}
.hero-visual {
  background: radial-gradient(ellipse at 30% 20%, var(--brand-50) 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.hero-visual::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(
    90deg,
    var(--brand) 0%,
    var(--brand-600) 50%,
    var(--brand) 100%
  );
  opacity: 0.2;
  clip-path: ellipse(75% 50% at 50% 100%);
  animation: waveMove 10s linear infinite;
}
@keyframes waveMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections */
.section {
  padding: 80px 20px;
  background: var(--sand);
}
.section.alt { background: var(--brand-50); }
.section h2 {
  color: var(--brand-600);
  font-weight: 700;
  margin-bottom: 24px;
  font-size: 2rem;
}
.section p {
  max-width: 640px;
  margin: 0 auto;
  color: #374151;
  font-size: 1rem;
  line-height: 1.6;
}

/* Glow utility */
.eazeily-glow {
  box-shadow: 0 0 32px rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.15);
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Responsive */
@media (max-width: 768px) {
  .hero-visual { aspect-ratio: 4/3; }
}
