/* SureReply.ai - Shared Styles */

:root {
  --ink: #0a0e1a;
  --ink-soft: #1a1f2e;
  --body: #3a4050;
  --muted: #6b7280;
  --line: #e5e7eb;
  --line-soft: #f1f3f5;
  --canvas: #f8f9fa;
  --paper: #ffffff;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --purple: #7c3aed;
  --accent-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --shadow-sm: 0 1px 3px rgba(10, 14, 26, 0.06), 0 1px 2px rgba(10, 14, 26, 0.04);
  --shadow-md: 0 4px 16px rgba(10, 14, 26, 0.06), 0 2px 4px rgba(10, 14, 26, 0.04);
  --shadow-lg: 0 20px 48px rgba(10, 14, 26, 0.08), 0 8px 16px rgba(10, 14, 26, 0.04);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
}

a { color: var(--blue); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); font-weight: 500; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin-bottom: 1rem; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ========== NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 30px;
  height: 30px;
  background: var(--accent-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--body);
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover { color: var(--ink); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 4px 14px rgba(10, 14, 26, 0.14);
}

.btn-primary:hover {
  background: var(--ink-soft);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.08), 0 8px 20px rgba(10, 14, 26, 0.18);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-lg { padding: 14px 26px; font-size: 16px; }

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  background: var(--paper);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--body);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 .accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 400;
}

.hero-lede {
  font-size: 19px;
  color: var(--body);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
}

/* ========== DEMO CARD ========== */
.demo-wrap {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 72px auto 0;
  padding: 0 32px;
}

.demo-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.demo-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fafbfc;
}

.demo-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e5e7eb;
}
.demo-dot:nth-child(1) { background: #ff5f57; }
.demo-dot:nth-child(2) { background: #febc2e; }
.demo-dot:nth-child(3) { background: #28c840; }

.demo-url {
  margin-left: 14px;
  font-size: 13px;
  color: var(--muted);
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}

.demo-body {
  padding: 28px;
  display: grid;
  gap: 20px;
}

.review-mock {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 16px;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.review-name { font-weight: 600; color: var(--ink); font-size: 15px; }
.review-stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: var(--body); line-height: 1.55; }

.ai-response {
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(124, 58, 237, 0.04));
  border: 1px solid rgba(124, 58, 237, 0.14);
}

.ai-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ai-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

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

.ai-text {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.ai-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.ai-btn {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: white;
  color: var(--body);
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
}

.ai-btn.primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

/* ========== SECTIONS ========== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: var(--canvas);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.section-head p {
  font-size: 18px;
  color: var(--body);
  margin-top: 16px;
}

/* ========== FEATURES ========== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #d4d8df;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--body);
  margin: 0;
  line-height: 1.6;
}

/* ========== STEPS ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.step {
  position: relative;
}

.step-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 18px;
  background: white;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.step p {
  font-size: 15px;
  color: var(--body);
  margin: 0;
  line-height: 1.6;
}

/* ========== WHO ========== */
.who {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.who-chip {
  padding: 24px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 500;
  color: var(--ink);
  font-size: 15px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.who-chip:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.who-chip-icon {
  display: block;
  font-size: 28px;
  margin-bottom: 10px;
}

/* ========== CTA ========== */
.cta-band {
  padding: 96px 32px;
  background: var(--ink);
  color: white;
  text-align: center;
  border-radius: 24px;
  margin: 80px auto;
  max-width: 1100px;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.22), transparent 50%);
  pointer-events: none;
}

.cta-band > * { position: relative; z-index: 1; }

.cta-band h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-band p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-band .btn-primary {
  background: white;
  color: var(--ink);
}

.cta-band .btn-primary:hover {
  background: #f5f5f5;
  color: var(--ink);
}

.email-link {
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  font-weight: 500;
}

.email-link:hover {
  color: white;
  border-bottom-color: white;
}

/* ========== FOOTER ========== */
.footer {
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

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

.footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

.footer-links a {
  color: var(--body);
}

.footer-links a:hover {
  color: var(--ink);
}

/* ========== LEGAL PAGES ========== */
.legal {
  padding: 72px 0 96px;
}

.legal h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
  letter-spacing: -0.035em;
}

.legal-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
  scroll-margin-top: 80px;
}

.legal h3 {
  font-size: 1.15rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal p {
  font-size: 16px;
  color: var(--body);
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal ul {
  margin: 0 0 20px 24px;
  padding: 0;
}

.legal li {
  font-size: 16px;
  color: var(--body);
  margin-bottom: 10px;
  line-height: 1.65;
}

.legal strong { color: var(--ink); font-weight: 600; }

.legal a {
  border-bottom: 1px solid rgba(37, 99, 235, 0.3);
}

.legal a:hover {
  border-bottom-color: var(--blue);
}

.callout {
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(124, 58, 237, 0.04));
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: var(--radius);
  margin: 24px 0;
}

.callout p:last-child { margin-bottom: 0; }

.toc {
  padding: 24px 28px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 48px;
}

.toc h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  margin-top: 0;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
}

.toc li {
  font-size: 14px;
  margin-bottom: 6px;
  break-inside: avoid;
}

.toc a {
  border-bottom: none;
  color: var(--body);
}

.toc a:hover {
  color: var(--blue);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 820px) {
  .container, .container-narrow { padding: 0 24px; }
  .features, .steps { grid-template-columns: 1fr; gap: 16px; }
  .who { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 20px; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 72px 0 56px; }
  .section { padding: 72px 0; }
  .cta-band { padding: 64px 24px; margin: 56px 16px; }
  .toc ol { columns: 1; }
  .demo-wrap { margin-top: 48px; padding: 0 20px; }
  .demo-body { padding: 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .legal h1 { font-size: 2rem; }
}
