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

:root {
  --blue: #268BFF;
  --blue-dark: #0067DE;
  --blue-light: #60a5fa;
  --green: #268BFF;
  --emerald: #0067DE;
  --green-light: #0067DE;
  --bg: #ffffff;
  --bg-card: #f8fafc;
  --bg-card-hover: #f1f5f9;
  --border: #e2e8f0;
  --border-green: rgba(38,139,255,0.2);
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-sm { padding: 9px 20px; font-size: 0.85rem; }
.btn-lg { padding: 15px 34px; font-size: 1rem; }

.btn-primary {
  background: linear-gradient(160deg, #60a5fa 0%, #268BFF 40%, #0067DE 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.25) inset,
    0 4px 16px rgba(38,139,255,0.35),
    0 1px 4px rgba(38,139,255,0.2);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(160deg, #93c5fd 0%, #60a5fa 40%, #268BFF 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.25) inset,
    0 8px 24px rgba(38,139,255,0.45),
    0 2px 8px rgba(38,139,255,0.25);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
}
.btn-ghost:hover {
  background: var(--bg-card);
  border-color: #94a3b8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-ghost-light {
  background: rgba(255,255,255,0.7);
  color: #1d4ed8;
  border: 1.5px solid rgba(38,139,255,0.3);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.92); }

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border-strong);
  width: 100%;
  justify-content: center;
  padding: 13px;
}
.btn-outline:hover { border-color: var(--blue); color: #0067DE; }

.btn-white {
  background: #fff;
  color: #0067DE;
  width: 100%;
  justify-content: center;
  padding: 13px;
  font-weight: 700;
}
.btn-white:hover { background: #eff6ff; }

.btn-green-outline {
  background: rgba(38,139,255,0.06);
  color: #0067DE;
  border: 1.5px solid rgba(38,139,255,0.28);
  padding: 11px 24px;
  justify-content: center;
  width: 100%;
}
.btn-green-outline:hover { background: rgba(38,139,255,0.12); }

/* =====================
   NAV
   ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 2px 12px rgba(0,0,0,0.05);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--text);
  flex-shrink: 0;
}
.logo:hover { color: var(--blue); transition: color 0.2s; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex: 1;
  position: relative;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.nav-link:hover { color: var(--text); background: var(--bg-card); }
.nav-link svg { transition: transform 0.2s; opacity: 0.6; }

.nav-indicator {
  position: absolute;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  border-radius: 2px 2px 0 0;
  transition: left 0.22s cubic-bezier(.4,0,.2,1), width 0.22s cubic-bezier(.4,0,.2,1), opacity 0.18s;
  pointer-events: none;
  opacity: 0;
}

.has-dropdown:hover .nav-link svg,
.has-dropdown:focus-within .nav-link svg {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: -8px;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0.18s;
  z-index: 200;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-item:hover { background: var(--bg-card); color: var(--text); }
.nav-dropdown-item svg { flex-shrink: 0; }

#nav-auth-btns {
  padding-left: 20px;
  border-left: 1px solid var(--border);
  flex-shrink: 0;
}
#nav-user-area {
  padding-left: 20px;
  border-left: 1px solid var(--border);
  flex-shrink: 0;
}

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  padding: 160px 0 110px;
  overflow: hidden;
  text-align: center;
  background: #f0fdf4;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.12;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #268BFF, transparent 70%);
  top: -280px; left: 50%;
  transform: translateX(-50%);
}
.orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #0067DE, transparent 70%);
  bottom: -120px; right: -80px;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34,197,94,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,197,94,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 80%);
}

/* ─── Hero fade-in on scroll ─── */
.hero-fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.hero-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Scroll reveal (defined at bottom of file) ─── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(38,139,255,0.07);
  border: 1px solid rgba(38,139,255,0.22);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0067DE;
  margin-bottom: 32px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--text);
}

.gradient-text {
  background: linear-gradient(135deg, #0067DE, #268BFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 72px;
  flex-wrap: wrap;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  padding: 22px 40px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  box-shadow: 0 4px 24px rgba(38,139,255,0.08), 0 1px 4px rgba(0,0,0,0.05);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}

.stat-num {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #0f172a, #268BFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 2px;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* =====================
   DEMO SECTION
   ===================== */
.demo-section {
  padding: 0 0 110px;
  scroll-margin-top: 80px;
  background: #f8fafc;
}

.demo-section-header {
  text-align: center;
  padding: 80px 0 44px;
}

.demo-section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}

.demo-section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.demo-card {
  background: #fff;
  border: 1.5px solid rgba(38,139,255,0.25);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 0 0 6px rgba(38,139,255,0.05),
    0 20px 60px rgba(38,139,255,0.1),
    0 4px 16px rgba(0,0,0,0.06);
}

.demo-card-header {
  padding: 14px 24px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(38,139,255,0.12);
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-dots { display: flex; gap: 7px; }
.demo-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--border);
}
.demo-dots span:first-child  { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #ffbd2e; }
.demo-dots span:nth-child(3) { background: #28c840; }

.demo-title-bar {
  font-size: 0.8rem;
  color: var(--text-dim);
  flex: 1;
  text-align: center;
}

.demo-body { padding: 36px 40px; }

.search-row {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.search-field {
  flex: 1;
  min-width: 180px;
}

.search-field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-input {
  width: 100%;
  padding: 14px 18px;
  background: #fff;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.demo-input::placeholder { color: var(--text-dim); font-weight: 400; }
.demo-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(38,139,255,0.12);
}

.search-btn { align-self: flex-end; height: 52px; padding: 0 28px; border-radius: 12px; font-size: 0.95rem; }

.results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.results-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.results-count::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2s infinite;
}

.export-btns { display: flex; gap: 8px; }

.export-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(38,139,255,0.06);
  border: 1px solid rgba(38,139,255,0.2);
  border-radius: 8px;
  color: #0067DE;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.export-btn:hover { background: rgba(38,139,255,0.12); }

.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  position: relative;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.results-table th {
  padding: 12px 16px;
  background: var(--bg-card);
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.results-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: middle;
}

.results-table tr:last-child td { border-bottom: none; }
.results-table tr:hover td { background: #f8fafc; }

.biz-name { color: var(--text); font-weight: 600; }
.phone { color: #0067DE; font-family: monospace; font-size: 0.85rem; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}
.tag-yes { background: #eff6ff; color: #0067DE; border: 1px solid rgba(38,139,255,0.25); }
.tag-no  { background: #fef2f2; color: #dc2626; border: 1px solid rgba(239,68,68,0.18); }
.tag-link { cursor: pointer; text-decoration: none; transition: background .15s; }
.tag-link:hover { background: #dbeafe; }

.addr-short { cursor: pointer; white-space: nowrap; color: var(--text-muted); }
.addr-ellipsis { color: #0067DE; font-weight: 700; }

.demo-email-btn {
  padding: 3px 10px; border-radius: 6px; font-size: .75rem; font-weight: 600;
  font-family: inherit; cursor: pointer; white-space: nowrap;
  background: rgba(38,139,255,.07); color: #0067DE;
  border: 1px solid rgba(38,139,255,.22); transition: background .15s;
}
.demo-email-btn:hover:not(:disabled) { background: rgba(38,139,255,.14); }
.demo-email-btn:disabled { opacity: .55; cursor: default; }
.demo-email-found { font-size: .78rem; color: #0067DE; word-break: break-all; }

.reveal-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
  background: rgba(38,139,255,0.06);
  color: #0067DE;
  border: 1px solid rgba(38,139,255,0.2);
  border-radius: 6px;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
}
.reveal-email-btn:hover { background: rgba(38,139,255,0.12); border-color: rgba(38,139,255,0.35); }

.email-link {
  color: #0067DE;
  font-size: 0.78rem;
  word-break: break-all;
  text-decoration: underline;
  text-decoration-color: rgba(0,103,222,0.3);
  transition: color .15s;
}
.email-link:hover { color: #0052b3; }

.table-lock { position: relative; margin-top: -2px; }

.table-lock-blur {
  pointer-events: none;
  filter: blur(3px);
  opacity: 0.35;
}

.lock-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 24px 20px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.88) 25%, rgba(255,255,255,0.98) 100%);
  border-radius: 0 0 12px 12px;
  text-align: center;
}

.lock-icon {
  width: 44px; height: 44px;
  background: rgba(38,139,255,0.08);
  border: 1px solid rgba(38,139,255,0.22);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lock-overlay h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.lock-overlay p  { font-size: 0.82rem; color: var(--text-muted); max-width: 340px; }
.lock-overlay .btn { margin-top: 4px; }

@media (max-width: 700px) {
  .demo-section-header { padding: 56px 0 32px; }
  .demo-body { padding: 20px 16px; }
  .search-row { gap: 10px; margin-bottom: 18px; }
  .search-field { min-width: 100%; }
  .search-btn { width: 100%; justify-content: center; }
  .results-table th, .results-table td { padding: 10px 12px; font-size: 0.8rem; }
  .lock-overlay { padding: 20px 16px 16px; gap: 8px; }
  .lock-overlay h4 { font-size: 0.88rem; }
  .lock-overlay p { font-size: 0.78rem; }
  .lock-icon { width: 36px; height: 36px; }
  .results-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .export-btns { width: 100%; }
  .export-btn { flex: 1; justify-content: center; }
}

/* =====================
   SECTIONS COMMON
   ===================== */
.section { padding: 108px 0; }

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

.section-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(38,139,255,0.07);
  border: 1px solid rgba(38,139,255,0.22);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0067DE;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* =====================
   STEPS
   ===================== */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.step {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.step:hover {
  border-color: rgba(38,139,255,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(38,139,255,0.12);
}

.step-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(38,139,255,0.14);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 16px;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  background: rgba(38,139,255,0.07);
  border: 1px solid rgba(38,139,255,0.16);
  border-radius: 16px;
  margin: 0 auto 20px;
}

.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.step p  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.step-arrow { font-size: 1.8rem; color: rgba(38,139,255,0.28); font-weight: 300; }

/* =====================
   FEATURES
   ===================== */
.features-section { background: #f1f5f9; }

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

.feature-card {
  background: #fff;
  border: 1.5px solid #dde3ee;
  border-radius: var(--radius);
  padding: 30px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07), 0 0 0 0 transparent;
  position: relative;
}
.feature-card:hover {
  border-color: rgba(99,102,241,0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(99,102,241,0.12);
}

.feature-card-big { grid-column: span 2; }

.feature-card-new::after {
  content: 'YENİ';
  position: absolute;
  top: 16px; right: 16px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 100px;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: rgba(99,102,241,0.08);
  border: 1.5px solid rgba(99,102,241,0.18);
  border-radius: 14px;
  margin-bottom: 20px;
}

.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.feature-card p  { font-size: 0.88rem; color: #475569; line-height: 1.65; }

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.feature-tags span {
  padding: 4px 12px;
  background: rgba(38,139,255,0.06);
  border: 1px solid rgba(38,139,255,0.18);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0067DE;
}

/* =====================
   TESTIMONIALS
   ===================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.testimonial:hover {
  border-color: rgba(38,139,255,0.3);
  box-shadow: 0 8px 24px rgba(38,139,255,0.08);
}

.stars { color: #f59e0b; font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 16px; }

.testimonial p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-author strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--text); }
.testimonial-author span  { font-size: 0.78rem; color: var(--text-dim); }

/* =====================
   USER PLAN BANNER
   ===================== */
.upb-section {
  padding: 0 0 40px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.upb-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 20px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.upb-left { display: flex; align-items: center; gap: 14px; }
.upb-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: rgba(99,102,241,.08); border: 1px solid rgba(99,102,241,.15);
  display: flex; align-items: center; justify-content: center;
  color: #6366f1;
}
.upb-info { display: flex; flex-direction: column; gap: 7px; }
.upb-label {
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em;
  color: var(--text-dim);
}
.upb-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.upb-badge {
  display: inline-flex; align-items: center;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: .76rem; font-weight: 700;
}
.upb-badge-free   { background: rgba(100,116,139,.1); border: 1px solid rgba(100,116,139,.2); color: #64748b; }
.upb-badge-pro    { background: rgba(99,102,241,.1);  border: 1px solid rgba(99,102,241,.25); color: #6366f1; }
.upb-badge-agency { background: rgba(139,92,246,.1);  border: 1px solid rgba(139,92,246,.25); color: #8b5cf6; }
.upb-credits-txt { font-size: .82rem; color: var(--text-dim); }
.upb-credits-txt strong { color: var(--text); font-weight: 700; }
.upb-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.upb-action-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: .82rem; font-weight: 700; font-family: inherit;
  cursor: pointer; border: none;
  transition: all .18s;
  white-space: nowrap;
}
.upb-btn-pro    { background: #6366f1; color: #fff; }
.upb-btn-pro:hover    { background: #4f46e5; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(99,102,241,.35); }
.upb-btn-agency { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; }
.upb-btn-agency:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(139,92,246,.35); }
.upb-max-plan {
  display: flex; align-items: center; gap: 7px;
  font-size: .84rem; font-weight: 700; color: #16a34a;
  padding: 9px 16px;
  background: rgba(22,163,74,.07); border: 1px solid rgba(22,163,74,.2);
  border-radius: 10px;
}

@media (max-width: 768px) {
  .upb-section { padding: 0 0 24px; }
  .upb-card { flex-direction: column; align-items: flex-start; padding: 16px 18px; gap: 14px; }
  .upb-actions { width: 100%; }
  .upb-action-btn { flex: 1; justify-content: center; }
}

/* =====================
   PRICING
   ===================== */
.pricing-section {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 55%, #f0f5ff 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s;
  position: relative;
}
.pricing-card:not(.pricing-card-featured):hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0,0,0,.1);
}

.pricing-card-featured {
  background: linear-gradient(160deg, #0f172a 0%, #1e3a8a 48%, #2563eb 100%);
  border-color: rgba(99,102,241,.45);
  color: #fff;
  transform: translateY(-10px);
  box-shadow:
    0 0 0 1px rgba(99,102,241,.25),
    0 32px 72px rgba(37,99,235,.4),
    0 8px 24px rgba(0,0,0,.18);
  z-index: 2;
}

.pricing-card-agency {
  border-color: rgba(99,102,241,.22);
  background: #fafafa;
}

.plan-badge {
  display: inline-block;
  padding: 5px 14px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
  align-self: flex-start;
}

.plan-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}
.pricing-card-featured .plan-name { color: rgba(255,255,255,.92); }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.plan-price-big {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
}
.pricing-card-featured .plan-price-big { color: #fff; }

.plan-per {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dim);
}
.pricing-card-featured .plan-per { color: rgba(255,255,255,.55); }

.plan-alt-price {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 10px;
  margin-top: 2px;
}
.pricing-card-featured .plan-alt-price { color: rgba(255,255,255,.5); }

.plan-desc {
  font-size: 0.86rem;
  color: var(--text-dim);
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.pricing-card-featured .plan-desc {
  color: rgba(255,255,255,.58);
  border-bottom-color: rgba(255,255,255,.12);
}

.plan-features { list-style: none; margin-bottom: 28px; flex: 1; }

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li.disabled  { color: var(--text-dim); }
.plan-features li.feat-highlight { font-weight: 600; color: var(--text); }

.pricing-card-featured .plan-features li {
  color: rgba(255,255,255,.82);
  border-bottom-color: rgba(255,255,255,.1);
}

.plan-btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
  margin-top: auto;
}

/* =====================
   CTA
   ===================== */
.cancel-policy-box {
  display: flex; align-items: flex-start; gap: 14px;
  max-width: 720px; margin: 40px auto 0;
  padding: 20px 24px;
  background: #f5f3ff; border: 1px solid #e0e0fb; border-radius: 14px;
}
.cancel-policy-box svg { flex-shrink: 0; margin-top: 2px; }
.cancel-policy-box strong { display: block; font-size: .9rem; color: #3730a3; margin-bottom: 6px; }
.cancel-policy-box p { font-size: .82rem; color: #4b5563; line-height: 1.6; margin: 0; }
.cancel-policy-box a { color: #6366f1; text-decoration: underline; }

.cta-section { padding: 80px 0 120px; background: #f8fafc; }

.cta-card {
  position: relative;
  background: linear-gradient(160deg, #eff6ff, #dbeafe);
  border: 1px solid rgba(38,139,255,0.2);
  border-radius: 28px;
  padding: 88px 48px;
  text-align: center;
  overflow: hidden;
}

.orb-cta-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(38,139,255,0.18), transparent 70%);
  top: -100px; left: -100px;
  opacity: 0.5;
}
.orb-cta-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,103,222,0.14), transparent 70%);
  bottom: -50px; right: -50px;
  opacity: 0.5;
}

.cta-card h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
  color: #0f172a;
}

.cta-card > p {
  font-size: 1.08rem;
  color: #64748b;
  margin-bottom: 40px;
  position: relative;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  position: relative;
}

.cta-note { font-size: 0.82rem; color: #94a3b8; position: relative; }

/* =====================
   FOOTER
   ===================== */
.footer {
  background: #0f172a;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 40px;
}

.footer-top {
  display: flex;
  gap: 60px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand { flex: 1.5; min-width: 200px; }

.footer-brand p {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 12px;
  line-height: 1.6;
  max-width: 240px;
}

.footer-brand .logo { color: #fff; }

.footer-links {
  flex: 2;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 120px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.875rem;
  color: #64748b;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.82rem;
  color: #475569;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal-links {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: #475569;
}
.footer-legal-links a {
  color: #475569; text-decoration: none; transition: color .15s;
}
.footer-legal-links a:hover { color: var(--blue); }
.footer-legal-links span { opacity: .4; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-big { grid-column: span 2; }
  .testimonials { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing-card-featured { transform: translateY(0); }
}

/* ── Mobile Nav ───────────────────────────── */
.nav-mobile-right {
  display: none;
  align-items: center;
  gap: 8px;
}
.nav-mobile-only { display: none; }

.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px; border-radius: 8px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4);
  z-index: 998; backdrop-filter: blur(2px);
}
.mobile-nav-overlay.open { display: block; }

.mobile-nav {
  position: fixed; top: 0; right: -280px; width: 260px; height: 100dvh;
  background: var(--bg-card); border-left: 1px solid var(--border);
  z-index: 999; padding: 80px 20px 32px;
  display: flex; flex-direction: column; gap: 4px;
  transition: right .28s cubic-bezier(.4,0,.2,1);
  box-shadow: -4px 0 24px rgba(0,0,0,.12);
}
.mobile-nav.open { right: 0; }

.mobile-nav-link {
  display: block; padding: 12px 14px;
  font-size: .95rem; font-weight: 500; color: var(--text);
  border-radius: 10px; text-decoration: none;
  transition: background .15s;
}
.mobile-nav-link:hover { background: var(--bg-hover, rgba(255,255,255,.05)); }

.mobile-nav-divider { height: 1px; background: var(--border); margin: 10px 0; }

.mobile-nav-btn { width: 100%; justify-content: center; margin-top: 4px; }

@media (max-width: 700px) {
  .nav-menu { display: none; }
  .nav-mobile-right { display: flex; }
  .nav-mobile-only { display: inline-flex; }
  .nav-hamburger { display: flex; margin-right: -4px; }
  .nav-desktop-only { display: none !important; }
  .nav-inner { padding: 0 16px; }
  .hero { padding: 120px 0 80px; }
  .hero-stats { padding: 16px 20px; }
  .stat { padding: 0 16px; }
  .stat-num { font-size: 1.3rem; }
  .steps { flex-direction: column; align-items: stretch; }
  .step { max-width: 100%; }
  .step-arrow { text-align: center; transform: rotate(90deg); font-size: 1.4rem; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card-big { grid-column: span 1; }
  .footer-top { flex-direction: column; gap: 32px; }
  .demo-body { padding: 20px; }
  .search-row { flex-direction: column; }
  .search-btn { width: 100%; justify-content: center; }
  .cta-card { padding: 52px 24px; }
  #nav-auth-btns { gap: 6px; }
  #nav-auth-btns .btn-ghost { display: none; }
}

/* =====================
   AUTH MODAL
   ===================== */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.auth-modal {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.06);
  animation: slideUp .25s cubic-bezier(.16,1,.3,1);
}
@keyframes slideUp { from { transform:translateY(20px); opacity:0; } to { transform:translateY(0); opacity:1; } }

.auth-close {
  position: absolute;
  top: 14px; right: 14px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-dim);
  transition: all .15s;
}
.auth-close:hover { background: var(--bg-card); color: var(--text); border-color: var(--border-strong); }

.auth-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-dim);
  margin-bottom: 14px;
  transition: all .15s;
}
.auth-back-btn:hover { background: var(--bg-card); color: var(--text); border-color: var(--border-strong); }

.auth-header { margin-bottom: 24px; }
.auth-title {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 5px;
}
.auth-subtitle { font-size: 0.875rem; color: var(--text-muted); }

.auth-msg {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.83rem;
  margin-bottom: 16px;
  line-height: 1.5;
}
.auth-msg::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; margin-top: 4px; }
.auth-msg-err { background: #fef2f2; border: 1px solid rgba(239,68,68,0.2); color: #dc2626; }
.auth-msg-err::before { background: #ef4444; }
.auth-msg-ok  { background: #eff6ff; border: 1px solid rgba(38,139,255,0.2); color: #0067DE; }
.auth-msg-ok::before  { background: var(--blue); }

.auth-field { margin-bottom: 14px; }
.auth-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.auth-field small { font-size: 0.75em; font-weight: 400; color: var(--text-dim); }

.auth-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}
.auth-label-row label { margin-bottom: 0; }

.auth-field input {
  width: 100%;
  padding: 11px 14px;
  background: #fff;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.auth-field input::placeholder { color: var(--text-dim); }
.auth-field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(38,139,255,0.1);
}

.auth-pw-wrap { position: relative; }
.auth-pw-wrap input { padding-right: 42px; }

.auth-eye-btn {
  position: absolute;
  right: 0; top: 0;
  height: 100%;
  width: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dim);
  display: flex; align-items: center; justify-content: center;
  transition: color .15s;
  border-radius: 0 10px 10px 0;
}
.auth-eye-btn:hover { color: var(--text-muted); }

.auth-submit {
  width: 100%;
  padding: 13px;
  margin-top: 4px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(38,139,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 0;
}
.auth-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(38,139,255,0.4); }
.auth-submit:active { transform: translateY(0); }
.auth-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

.auth-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

/* =====================
   SCROLL REVEAL
   ===================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.6s cubic-bezier(.16,1,.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.6s cubic-bezier(.16,1,.3,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.6s cubic-bezier(.16,1,.3,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.55s cubic-bezier(.16,1,.3,1), transform 0.55s cubic-bezier(.16,1,.3,1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* =====================
   FLOATING ORBS
   ===================== */
@keyframes orbFloat1 {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-24px); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}

.orb-1 { animation: orbFloat1 9s ease-in-out infinite; }
.orb-2 { animation: orbFloat2 12s ease-in-out infinite 1.5s; }

/* =====================
   GRADIENT TEXT ANIMATION
   ===================== */
@keyframes gradientShift {
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.gradient-text {
  background: linear-gradient(135deg, #0067DE, #268BFF, #60a5fa, #0067DE);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
}

/* =====================
   FEATURED PRICING CARD GLOW
   ===================== */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(99,102,241,.25), 0 32px 72px rgba(37,99,235,.4), 0 8px 24px rgba(0,0,0,.18);
  }
  50% {
    box-shadow: 0 0 0 2px rgba(99,102,241,.4), 0 36px 80px rgba(37,99,235,.52), 0 10px 28px rgba(0,0,0,.22);
  }
}

.pricing-card-featured {
  animation: glowPulse 3.5s ease-in-out infinite;
}

/* =====================
   PRICING EXTRAS (overrides handled in PRICING block above)
   ===================== */
.plan-feat-note {
  font-size: 0.78em;
  color: var(--text-dim);
}

/* =====================
   DEMO CARD ENTRANCE
   ===================== */
.demo-card.reveal.visible {
  animation: cardEntrance 0.7s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes cardEntrance {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* =====================
   STEP HOVER FLOAT
   ===================== */
.step {
  transition: border-color 0.2s, transform 0.3s cubic-bezier(.16,1,.3,1), box-shadow 0.3s;
}

/* =====================
   BADGE SHIMMER
   ===================== */
@keyframes badgeShimmer {
  0%   { box-shadow: 0 0 0 0 rgba(38,139,255,0); }
  50%  { box-shadow: 0 0 12px 4px rgba(38,139,255,0.18); }
  100% { box-shadow: 0 0 0 0 rgba(38,139,255,0); }
}

.section-badge {
  animation: badgeShimmer 3s ease-in-out infinite;
}

/* =====================
   NAV SCROLL SHADOW (override)
   ===================== */
.nav { transition: box-shadow 0.3s ease; }
@keyframes spin { to { transform: rotate(360deg); } }

.auth-social-section { margin-top: 20px; }

.auth-divider {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-divider span {
  padding: 0 12px;
  font-size: 0.78rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.auth-social-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-social-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .18s;
}
.auth-social-btn:hover {
  background: var(--bg-card);
  border-color: #94a3b8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.auth-footer-link {
  margin-top: 18px;
  text-align: center;
  font-size: 0.83rem;
  color: var(--text-dim);
}
.auth-footer-link a { color: #0067DE; text-decoration: none; font-weight: 600; cursor: pointer; }
.auth-footer-link a:hover { text-decoration: underline; }

.auth-legal {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.auth-legal a { color: var(--text-dim); text-decoration: underline; }

.reset-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 0 4px;
}

.reset-success-icon {
  width: 64px; height: 64px;
  background: rgba(38,139,255,0.1);
  border: 1.5px solid rgba(38,139,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.reset-success-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}

.reset-success-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 300px;
  margin-bottom: 20px;
}

.reset-success-btn {
  width: 100%;
  max-width: 300px;
  background: none !important;
  border: 1.5px solid var(--border-strong) !important;
  color: var(--text) !important;
  box-shadow: none !important;
}
.reset-success-btn:hover {
  background: var(--bg-card) !important;
  transform: none !important;
  box-shadow: none !important;
}

.reset-success-retry {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.reset-success-retry a { color: #0067DE; text-decoration: none; font-weight: 600; }
.reset-success-retry a:hover { text-decoration: underline; }

.forgot-link {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dim);
  cursor: pointer;
  transition: color .15s;
  text-decoration: none;
}
.forgot-link:hover { color: #0067DE; }

.demo-loading-cell {
  text-align: center; padding: 28px;
  color: var(--text-muted); font-size: .85rem;
}
.demo-spinner-ring {
  display: inline-block; width: 18px; height: 18px;
  border: 2px solid rgba(38,139,255,.15); border-top-color: var(--blue);
  border-radius: 50%; animation: spin .75s linear infinite;
  vertical-align: middle; margin-right: 8px;
}
.btn-spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.3); border-top-color: #fff;
  border-radius: 50%; animation: spin .75s linear infinite;
  vertical-align: middle; margin-right: 6px;
}

/* =====================
   FOOTER SOCIAL ICONS
   ===================== */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  background: var(--bg);
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.footer-social-link:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(38,139,255,0.06);
}

/* =====================
   COOKIE BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #0f172a;
  color: #e2e8f0;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
  animation: cookie-slide-up 0.3s ease;
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  flex: 1;
  min-width: 220px;
  color: #94a3b8;
  line-height: 1.5;
}
.cookie-banner p a {
  color: #60a5fa;
  text-decoration: underline;
}
.cookie-banner p a:hover { color: #93c5fd; }
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-btn-accept {
  padding: 8px 20px;
  background: linear-gradient(160deg, #60a5fa, #268BFF);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.18s;
}
.cookie-btn-accept:hover { opacity: 0.88; }
.cookie-btn-decline {
  padding: 8px 16px;
  background: transparent;
  color: #64748b;
  border: 1.5px solid #334155;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
}
.cookie-btn-decline:hover { border-color: #64748b; color: #94a3b8; }

@media (max-width: 520px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    text-align: center;
  }
  .cookie-banner p { min-width: unset; }
  .cookie-actions { justify-content: center; }
  .cookie-btn-accept,
  .cookie-btn-decline {
    flex: 1;
    padding: 11px 16px;
    font-size: 0.9rem;
  }
}
