/* ============================================================================
   RelayInstant SaaS - Modern 2026 Design System
   ============================================================================ */

:root {
  --primary: #4F46E5;
  --primary-dark: #4338CA;
  --primary-light: #818CF8;
  --secondary: #06D6A0;
  --accent: #F43F5E;
  --dark: #0B0F1A;
  --dark-light: #111827;
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

/* ── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { color: var(--dark); line-height: 1.2; }
h1 { font-size: 3rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-success {
  background: var(--secondary);
  color: var(--white);
}
.btn-success:hover {
  background: #00B886;
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 100px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── Navbar ─────────────────────────────────────────────────────────────── */
.navbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(11, 15, 26, 0.85);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}

.navbar-brand .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar-links a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  transition: color 0.2s;
}
.navbar-links a:hover { color: var(--white); }

.navbar-links .btn-primary {
  background: var(--secondary);
  color: var(--dark);
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 100px;
}
.navbar-links .btn-primary:hover {
  background: #05c896;
  color: var(--dark);
  box-shadow: 0 0 20px rgba(6, 214, 160, 0.4);
}

/* ── Hero Section ───────────────────────────────────────────────────────── */
.hero {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, transparent 60%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 214, 160, 0.12) 0%, transparent 60%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, #818CF8, var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 300px;
  background: var(--gray-800);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(79, 70, 229, 0.1);
}

.phone-screen {
  background: #ECE5DD;
  border-radius: 22px;
  padding: 16px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-header {
  background: #075E54;
  color: white;
  padding: 10px 12px;
  border-radius: 12px 12px 0 0;
  font-weight: 600;
  font-size: 0.85rem;
  margin: -16px -16px 8px -16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-bubble {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  line-height: 1.4;
  animation: fadeIn 0.5s ease forwards;
  opacity: 0;
}

.chat-bubble.sent {
  background: #DCF8C6;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-bubble.received {
  background: var(--white);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chat-bubble:nth-child(2) { animation-delay: 0.3s; }
.chat-bubble:nth-child(3) { animation-delay: 0.8s; }
.chat-bubble:nth-child(4) { animation-delay: 1.3s; }
.chat-bubble:nth-child(5) { animation-delay: 1.8s; }
.chat-bubble:nth-child(6) { animation-delay: 2.3s; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Features Section ───────────────────────────────────────────────────── */
.features {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header p {
  color: var(--gray-500);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 12px auto 0;
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gray-200);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-icon.purple { background: rgba(108, 99, 255, 0.1); }
.feature-icon.green { background: rgba(0, 208, 156, 0.1); }
.feature-icon.orange { background: rgba(245, 158, 11, 0.1); }
.feature-icon.red { background: rgba(239, 68, 68, 0.1); }
.feature-icon.blue { background: rgba(59, 130, 246, 0.1); }
.feature-icon.teal { background: rgba(20, 184, 166, 0.1); }

.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--gray-500); font-size: 0.95rem; }

/* ── Platforms / Coming Soon ────────────────────────────────────────────── */
.platforms {
  padding: 80px 0;
  background: var(--white);
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.platform-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 2px solid var(--gray-200);
  transition: all 0.3s ease;
}

.platform-card.active {
  border-color: var(--secondary);
  background: rgba(0, 208, 156, 0.05);
}

.platform-card.coming-soon {
  opacity: 0.7;
}

.platform-card .platform-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.platform-card h3 { margin-bottom: 6px; font-size: 1.1rem; }

.platform-card .badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 8px;
}

.badge-live { background: rgba(0, 208, 156, 0.15); color: #059669; }
.badge-soon { background: rgba(108, 99, 255, 0.1); color: var(--primary); }

/* ── CTA Section ────────────────────────────────────────────────────────── */
.cta {
  padding: 100px 0;
  background: var(--dark);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 60%);
  border-radius: 50%;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta .free-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 600;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

/* ── Request Platform Section ───────────────────────────────────────────── */
.request-platform {
  padding: 60px 0;
  text-align: center;
}

.request-form-inline {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 24px auto 0;
}

.request-form-inline input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.request-form-inline input:focus {
  border-color: var(--primary);
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 1);
}

.footer-sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Auth Pages ─────────────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  padding: 16px;
}

.auth-site-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
}

.auth-site-footer a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.auth-site-footer a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.auth-site-footer span {
  margin: 0 6px;
}

.auth-site-footer small {
  color: rgba(255, 255, 255, 0.35);
}

/* ── Legal Pages ───────────────────────────────────────────────────────── */
.legal-page {
  padding: 120px 0 60px;
  min-height: 70vh;
}

.legal-container {
  max-width: 800px;
}

.legal-container h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--dark);
}

.legal-updated {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.legal-container h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--dark);
}

.legal-container h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--gray-800);
}

.legal-container p {
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-container ul {
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 12px;
  padding-left: 24px;
}

.legal-container li {
  margin-bottom: 6px;
}

.legal-container a {
  color: var(--primary);
  text-decoration: none;
}

.legal-container a:hover {
  text-decoration: underline;
}

.auth-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 40px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.forgot-link {
  display: block;
  text-align: right;
  font-size: 0.8rem;
  margin-top: 6px;
  color: var(--primary);
  font-weight: 500;
}
.forgot-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.auth-card .auth-logo {
  text-align: center;
  margin-bottom: 20px;
}

.auth-card .auth-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.auth-card h2 { text-align: center; margin-bottom: 4px; font-size: 1.5rem; }
.auth-card .auth-subtitle {
  text-align: center;
  color: var(--gray-500);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

/* ── Forms ──────────────────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.form-group .hint {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-error {
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 4px;
}

.form-success {
  color: var(--success);
  font-size: 0.85rem;
  margin-top: 4px;
}

.auth-footer {
  text-align: center;
  margin-top: 16px;
  color: var(--gray-500);
  font-size: 0.85rem;
}

.auth-footer br + br { display: none; }

.auth-footer a.back-link {
  display: inline-block;
  margin-top: 6px;
}

.alert {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 0.85rem;
  display: none;
}
.alert-error { background: rgba(239, 68, 68, 0.1); color: var(--error); display: block; }
.alert-success { background: rgba(16, 185, 129, 0.1); color: var(--success); display: block; }

/* ── Dashboard ──────────────────────────────────────────────────────────── */
.dashboard {
  min-height: 100vh;
  background: var(--gray-50);
}

.dashboard-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 0;
}

.dashboard-header .navbar-brand {
  color: var(--dark);
}
.dashboard-header .navbar-brand:hover {
  color: var(--primary);
}

.dashboard-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-header .user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-600);
}

.dashboard-header .user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
}

.dashboard-content {
  padding: 40px 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dash-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--gray-200);
}

.dash-card.full-width {
  grid-column: 1 / -1;
}

.dash-card h3 {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-card .card-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.status-dot.active { background: var(--success); }
.status-dot.inactive { background: var(--gray-400); }

.billing-banner {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.08), rgba(0, 208, 156, 0.08));
  border: 2px solid var(--primary-light);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-top: 16px;
}

.billing-banner .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.billing-banner .price-note {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* ── Email Verification Banner ─────────────────────────────────────────── */

.email-verify-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.email-verify-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.email-verify-text {
  flex: 1;
}

.email-verify-text strong {
  color: #92400E;
}

.email-verify-text p {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #78350F;
}

.platform-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.platform-option {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.platform-option:hover {
  border-color: var(--primary-light);
}

.platform-option.selected {
  border-color: var(--primary);
  background: rgba(108, 99, 255, 0.05);
}

.platform-option .platform-emoji {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.platform-option .platform-label {
  font-weight: 600;
  font-size: 0.9rem;
}

/* ── Welcome Banner ────────────────────────────────────────────────────── */

.welcome-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  margin-bottom: 32px;
  text-align: center;
}

.welcome-banner h2 {
  color: var(--white);
  margin-bottom: 6px;
  font-size: 1.5rem;
}

.welcome-banner p {
  color: var(--gray-400);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.welcome-banner.all-done {
  background: linear-gradient(135deg, #065f46, #047857);
}

.progress-bar-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  height: 8px;
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
}

.progress-bar {
  background: var(--secondary);
  height: 100%;
  border-radius: 100px;
  transition: width 0.5s ease;
}

.progress-text {
  color: var(--gray-400);
  font-size: 0.8rem;
  margin-top: 8px;
  margin-bottom: 0 !important;
}

/* ── Setup Steps (Dashboard Onboarding) ────────────────────────────────── */

.setup-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.setup-step.dash-card {
  padding: 0;
  overflow: hidden;
  margin-bottom: 48px;
}

.setup-step.dash-card:last-child {
  margin-bottom: 0;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  transition: background 0.15s;
}

.step-header:hover {
  background: var(--gray-50);
}

.step-header h3 {
  margin: 0;
  font-size: 1rem;
}

.step-header-text {
  flex: 1;
}

.step-header-text h3 {
  margin: 0;
  font-size: 1.05rem;
}

.step-subtitle {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin: 2px 0 0;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: all 0.3s;
}

.step-number.done {
  background: var(--success);
  font-size: 1rem;
}

.step-status {
  display: none;
}

.step-toggle {
  font-size: 0.7rem;
  color: var(--gray-400);
  transition: transform 0.3s, color 0.2s;
  flex-shrink: 0;
}

.step-toggle.collapsed {
  transform: rotate(-90deg);
}

.step-body {
  padding: 8px 32px 32px 32px;
  animation: slideDown 0.2s ease;
}

.step-body.hidden {
  display: none;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Completed step — subtle border */
.setup-step.step-done.dash-card {
  border-color: var(--success);
  border-left: 3px solid var(--success);
}

/* ── Info Callouts ─────────────────────────────────────────────────────── */

.info-callout {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
}

.info-callout.green {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.info-callout.blue {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.info-callout.yellow {
  background: #fefce8;
  border: 1px solid #fde68a;
}

.callout-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1.4;
}

/* ── WhatsApp Number Display ───────────────────────────────────────────── */

/* ── Bot Number Card ────────────────────────────────────────────────────── */

.bot-number-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.bot-number-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 10px;
}

.bot-number-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bot-number-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.5px;
}

/* ── Verified Badge ────────────────────────────────────────────────────── */

.verified-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #f0fdf4;
  border-radius: var(--radius-sm);
  border: 1px solid #bbf7d0;
}

.verified-icon {
  font-size: 1.3rem;
}

/* ── Platform Options ──────────────────────────────────────────────────── */

.platform-option.disabled-option {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.request-platform-box {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
}

/* ── API Instructions ──────────────────────────────────────────────────── */

.api-instructions {
  margin-top: 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.api-instructions summary {
  padding: 12px 16px;
  background: var(--gray-50);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

.api-instructions summary:hover {
  background: var(--gray-100);
}

.instructions-content {
  padding: 16px;
}

.instructions-content ol {
  padding-left: 20px;
}

.instructions-content ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* ── All Done Banner ───────────────────────────────────────────────────── */

.all-done-banner {
  text-align: center;
  background: #f0fdf4;
  border: 2px solid #86efac;
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 24px;
}

.all-done-banner .done-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.all-done-banner h3 {
  color: #065f46;
  margin-bottom: 8px;
  justify-content: center;
}

.all-done-banner p {
  color: var(--gray-600);
  margin-bottom: 16px;
}

.try-examples {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.try-example {
  background: var(--white);
  border: 1px solid #86efac;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.9rem;
  color: #065f46;
  font-weight: 500;
  font-style: italic;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 { font-size: 2.2rem; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .navbar-links { gap: 12px; }
  .auth-card { padding: 32px 24px; }

  .request-form-inline { flex-direction: column; }

  .platform-select-grid { grid-template-columns: 1fr; }
  .step-body { padding: 8px 20px 24px 20px; }
  .step-header { padding: 16px; }
  .setup-step { margin-left: 0; }
  .try-examples { flex-direction: column; align-items: center; }
  .welcome-banner { padding: 24px 20px; }
}
