/*
 * styles.css — Speak.bg Domain For Sale Landing Page
 * ──────────────────────────────────────────────────
 * Color Palette:
 *   Background:       #FFFFFF, #F8FAFC
 *   Primary accent:   #0EA5E9 (sky blue)
 *   Secondary accent: #6366F1 (indigo)
 *   Text dark:        #0F172A
 *   Text gray:        #475569
 *   Gradient:         linear-gradient(135deg, #0EA5E9, #6366F1)
 */

/* ── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:          #FFFFFF;
  --bg-alt:      #F8FAFC;
  --primary:     #0EA5E9;
  --secondary:   #6366F1;
  --text:        #0F172A;
  --text-muted:  #475569;
  --border:      #E2E8F0;
  --card-shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
  --card-shadow-hover: 0 12px 40px rgba(14, 165, 233, 0.18);
  --gradient:    linear-gradient(135deg, #0EA5E9 0%, #6366F1 100%);
  --radius:      16px;
  --radius-sm:   10px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(14, 165, 233, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* ── Layout ────────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

section:nth-child(even) {
  background-color: var(--bg-alt);
}

.text-center { text-align: center; }

/* ── Skip Link ─────────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 8px 20px;
  border-radius: 8px;
  z-index: 9999;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.5);
}

.btn-primary:active { transform: translateY(0) scale(0.99); }

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
}
.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* CTA Pulse animation */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.45); }
  70%  { box-shadow: 0 0 0 14px rgba(14, 165, 233, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}
.btn-primary.pulse { animation: pulse-ring 2.4s ease-out infinite; }

/* ── HERO SECTION ──────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 96px;
  overflow: hidden;
  background: #fff;
}

/* Animated gradient background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: -50%;
  background: radial-gradient(ellipse at 30% 40%, rgba(14, 165, 233, 0.1) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 60%, rgba(99, 102, 241, 0.09) 0%, transparent 55%),
              radial-gradient(ellipse at 50% 20%, rgba(14, 165, 233, 0.06) 0%, transparent 50%);
  animation: gradientShift 10s ease-in-out infinite alternate;
}

@keyframes gradientShift {
  0%   { transform: translate(0%, 0%) scale(1); }
  33%  { transform: translate(2%, -2%) scale(1.04); }
  66%  { transform: translate(-2%, 2%) scale(0.97); }
  100% { transform: translate(1%, -1%) scale(1.02); }
}

/* Floating particles */
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: floatParticle var(--dur, 12s) var(--delay, 0s) ease-in-out infinite;
}

@keyframes floatParticle {
  0%   { opacity: 0; transform: translateY(60px) scale(0.5); }
  15%  { opacity: var(--max-op, 0.5); }
  80%  { opacity: var(--max-op, 0.5); }
  100% { opacity: 0; transform: translateY(-80px) scale(1.2); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.domain-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
  animation: badgeEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes badgeEntrance {
  from { opacity: 0; transform: translateY(-16px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  animation: blinkDot 1.6s ease-in-out infinite;
}

@keyframes blinkDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.hero-domain {
  font-size: clamp(3rem, 9vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 22px;
  animation: heroEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s both;
  line-height: 1.05;
}

@keyframes heroEntrance {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 400;
  animation: fadeUp 0.7s ease 0.55s both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.7s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-trust {
  margin-top: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  animation: fadeUp 0.7s ease 0.85s both;
}

.hero-trust-icons {
  display: flex;
  gap: 6px;
}

.trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0f2fe, #ede9fe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ── ADVANTAGES SECTION ────────────────────────────────────────────────────── */
#advantages { padding: 96px 0; }

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.advantage-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.advantage-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.advantage-card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(99, 102, 241, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  transition: transform var(--transition);
}

.advantage-card:hover .card-icon { transform: scale(1.1) rotate(-4deg); }

.advantage-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.advantage-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ── STATISTICS SECTION ────────────────────────────────────────────────────── */
#statistics {
  background: var(--text);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(14, 165, 233, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

#statistics .section-label { color: #7DD3FC; background: rgba(125, 211, 252, 0.12); }
#statistics .section-title { color: #fff; }
#statistics .section-sub   { color: #94A3B8; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
  margin-top: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.stat-item {
  padding: 40px 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255,255,255,0.05);
  transition: background var(--transition);
  position: relative;
}

.stat-item:hover { background: rgba(255,255,255,0.06); }

.stat-number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 10px;
  display: block;
}

.stat-label {
  font-size: 0.875rem;
  color: #94A3B8;
  font-weight: 500;
  line-height: 1.5;
}

.stat-icon {
  font-size: 22px;
  margin-bottom: 12px;
  display: block;
}

/* ── BUSINESS IDEAS SECTION ────────────────────────────────────────────────── */
#ideas { padding: 96px 0; }

.ideas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

@media (max-width: 700px) {
  .ideas-grid { grid-template-columns: 1fr; }
}

.idea-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--card-shadow);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.idea-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(14, 165, 233, 0.2);
}

.idea-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.idea-content h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text);
}

.idea-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── PROCESS SECTION ───────────────────────────────────────────────────────── */
#process { padding: 96px 0; background: var(--bg-alt); }

.process-steps {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.process-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: -24px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(14, 165, 233, 0.4), rgba(99, 102, 241, 0.1));
}

.step-icon-wrap {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.25);
  position: relative;
  z-index: 1;
  transition: transform var(--transition);
}

.process-step:hover .step-icon-wrap { transform: scale(1.1); }

.step-body {
  padding: 10px 0 40px;
  flex: 1;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}

.step-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text);
}

.step-body p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ── CONTACT SECTION ───────────────────────────────────────────────────────── */
#contact { padding: 96px 0; }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
  margin-top: 56px;
}

@media (max-width: 900px) {
  .contact-wrapper { grid-template-columns: 1fr; }
}

.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.meta-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(99, 102, 241, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

/* Form */
.contact-form-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--card-shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-group label .required {
  color: #EF4444;
  margin-left: 2px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg-alt);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input.success,
.form-group textarea.success {
  border-color: #10B981;
}

.field-error {
  font-size: 0.8125rem;
  color: #EF4444;
  font-weight: 500;
  display: none;
}

.field-error.visible { display: block; }

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

/* Captcha */
.captcha-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.captcha-question {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(99, 102, 241, 0.08));
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.captcha-equals { font-weight: 700; color: var(--text-muted); }

.captcha-input {
  width: 90px !important;
  text-align: center;
}

/* Checkbox */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--border);
  cursor: pointer;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.checkbox-group span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-success.visible { display: block; }

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 22px;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.form-success h3 { font-size: 1.5rem; margin-bottom: 12px; }
.form-success p  { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.7; }

/* ── FAQ SECTION ───────────────────────────────────────────────────────────── */
#faq { padding: 96px 0; background: var(--bg-alt); }

.faq-list {
  max-width: 760px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15,23,42,0.04);
  transition: box-shadow var(--transition);
}

.faq-item:hover { box-shadow: 0 4px 16px rgba(15,23,42,0.08); }

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
  background: none;
}

.faq-question:hover { color: var(--primary); }
.faq-item.open .faq-question { color: var(--primary); }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(99,102,241,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform var(--transition), background var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gradient);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ── FOOTER ────────────────────────────────────────────────────────────────── */
footer {
  background: var(--text);
  color: #94A3B8;
  padding: 40px 0;
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #94A3B8;
  transition: color var(--transition);
}
.footer-links a:hover { color: #CBD5E1; }

.footer-escrow {
  display: flex;
  align-items: center;
  gap: 7px;
}

.escrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  color: #94A3B8;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ── Scroll-triggered animations ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }
.reveal-delay-8 { transition-delay: 0.8s; }

/* ── Sticky Nav ─────────────────────────────────────────────────────────────── */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(14, 165, 233, 0);
  padding: 14px 0;
  transform: translateY(-100%);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.sticky-nav.visible {
  transform: translateY(0);
  border-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-links a:hover { color: var(--primary); background: rgba(14, 165, 233, 0.07); }

.nav-links .nav-cta {
  background: var(--gradient);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(14,165,233,0.3);
}

.nav-links .nav-cta:hover {
  background: var(--gradient);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(14,165,233,0.4);
}

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ── Utility ────────────────────────────────────────────────────────────────── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pricing badge */
.price-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(14,165,233,0.08), rgba(99,102,241,0.08));
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  margin-top: 20px;
}

/* ── Scrollbar ──────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary), var(--secondary)); border-radius: 99px; }

/* ── Focus visible ──────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Responsive tweaks ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 64px 0; }
  #hero    { padding: 100px 0 64px; }

  .process-step { gap: 18px; }
  .process-step:not(:last-child)::after { left: 23px; }
  .step-icon-wrap { width: 46px; height: 46px; font-size: 18px; }
  .process-step:not(:last-child)::after { top: 46px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item  { padding: 28px 16px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-ctas  { flex-direction: column; align-items: center; }
  .btn        { width: 100%; max-width: 300px; }
}

/* ── Loading overlay for form ───────────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-global-error {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: var(--radius-sm);
  color: #B91C1C;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
  margin-top: 12px;
}
.form-global-error.visible { display: block; }
