/* SureReply.ai - Brand v1.0 */

:root {
  /* Brand anchors */
  --cyan-400: #3CE5FC;
  --indigo-600: #3A58FD;
  --sparkle-500: #1EA7F7;
  --slate-900: #181F29;
  --white: #FFFFFF;

  /* Cyan scale */
  --cyan-50: #ECFEFF;
  --cyan-100: #CFFAFE;
  --cyan-500: #22C7E0;

  /* Indigo scale */
  --indigo-50: #EEF2FF;
  --indigo-100: #E0E7FF;
  --indigo-500: #6366F1;
  --indigo-700: #3040D1;
  --indigo-800: #2A35A8;

  /* Sparkle scale */
  --sparkle-50: #EFF9FE;
  --sparkle-100: #D9F1FD;
  --sparkle-600: #0E86D1;

  /* Slate scale */
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;

  /* Brand gradient - exact from guidelines */
  --brand-gradient: linear-gradient(173deg, #3CE5FC 0%, #3A58FD 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(24, 31, 41, 0.04), 0 1px 3px rgba(24, 31, 41, 0.06);
  --shadow-md: 0 4px 12px rgba(24, 31, 41, 0.05), 0 2px 4px rgba(24, 31, 41, 0.04);
  --shadow-lg: 0 24px 48px rgba(24, 31, 41, 0.08), 0 8px 16px rgba(24, 31, 41, 0.04);
  --shadow-indigo: 0 8px 24px rgba(58, 88, 253, 0.25), 0 2px 4px rgba(58, 88, 253, 0.15);

  /* Radii */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;

  /* Inter, only Inter */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
}

a { color: var(--indigo-600); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--indigo-700); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  color: var(--slate-900);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.display-xl { font-size: clamp(2.5rem, 6vw, 3.75rem); line-height: 1.07; letter-spacing: -0.035em; font-weight: 700; }
.display-lg { font-size: clamp(2.25rem, 5vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }

h1 { font-size: clamp(2rem, 4.5vw, 2.25rem); line-height: 1.11; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.625rem, 3.5vw, 1.875rem); line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; }
h4 { font-size: 1.125rem; line-height: 1.35; letter-spacing: -0.01em; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.overline {
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
}

.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(226, 232, 240, 0.7);
}

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

.logo-link {
  display: inline-flex;
  align-items: center;
  height: 36px;
  transition: opacity 0.15s ease;
}

.logo-link:hover { opacity: 0.8; }
.logo-link img { height: 36px; width: auto; }

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

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

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

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

.btn-primary {
  background: var(--slate-900);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(24, 31, 41, 0.12), 0 4px 14px rgba(24, 31, 41, 0.16);
}

.btn-primary:hover {
  background: #0F1520;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(24, 31, 41, 0.14), 0 10px 24px rgba(24, 31, 41, 0.2);
}

.btn-gradient {
  background: var(--brand-gradient);
  color: var(--white);
  box-shadow: var(--shadow-indigo);
  border: none;
}

.btn-gradient:hover {
  color: var(--white);
  transform: translateY(-1px);
  opacity: 0.95;
  box-shadow: 0 10px 28px rgba(58, 88, 253, 0.35), 0 2px 4px rgba(58, 88, 253, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-900);
  border: 1px solid var(--slate-200);
}

.btn-ghost:hover {
  border-color: var(--slate-400);
  color: var(--slate-900);
  background: var(--slate-50);
}

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

/* HERO */
.hero {
  position: relative;
  padding: 88px 0 72px;
  overflow: hidden;
  background: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(60, 229, 252, 0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -260px;
  width: 800px;
  height: 560px;
  background: radial-gradient(ellipse at center, rgba(58, 88, 253, 0.1), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 14px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  letter-spacing: -0.005em;
}

.eyebrow-gradient-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-gradient);
  border-radius: 50%;
}

.hero h1.display-xl {
  margin-bottom: 24px;
  color: var(--slate-900);
}

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

.hero-lede strong {
  color: var(--slate-900);
  font-weight: 600;
}

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

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

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

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

.demo-header {
  padding: 13px 20px;
  border-bottom: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--slate-50);
}

.demo-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--slate-200);
}
.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(--slate-500);
  font-weight: 500;
  letter-spacing: -0.005em;
}

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

/* Review header row */
.review-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.review-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.review-name {
  font-weight: 700;
  color: var(--slate-900);
  font-size: 16px;
  letter-spacing: -0.01em;
}

.review-stars-mixed {
  font-size: 15px;
  letter-spacing: 1px;
}

.review-stars-mixed .star-filled { color: #10B981; }
.review-stars-mixed .star-empty { color: var(--slate-300); }

.review-date {
  color: var(--slate-500);
  font-size: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: #ECFDF5;
  color: #047857;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: -0.005em;
}

/* Review quote */
.review-quote {
  margin: 0;
  padding: 14px 18px;
  background: var(--slate-50);
  border-left: 3px solid var(--slate-200);
  border-radius: 6px;
  font-size: 14.5px;
  font-style: italic;
  color: var(--slate-700);
  line-height: 1.6;
}

/* AI draft box - peach/cream like the real app */
.ai-draft {
  background: #FFF7F0;
  border: 1px solid #FED7B6;
  border-radius: var(--radius);
  overflow: hidden;
}

.ai-draft-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(254, 215, 182, 0.6);
}

.ai-draft-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #C2410C;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ai-draft-dot {
  width: 7px;
  height: 7px;
  background: #EA580C;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.22);
  animation: pulse 2s ease-in-out infinite;
}

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

.ai-draft-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--slate-500);
  font-weight: 500;
}

.ai-draft-body {
  padding: 18px;
}

.ai-draft-body p {
  font-size: 14.5px;
  color: var(--slate-900);
  line-height: 1.65;
  margin-bottom: 12px;
}

.ai-draft-body p:last-child {
  margin-bottom: 0;
}

.ai-draft-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: #FFF1E1;
  border-top: 1px solid rgba(254, 215, 182, 0.6);
  gap: 12px;
  flex-wrap: wrap;
}

.phi-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: #92400E;
  font-weight: 500;
}

.ai-draft-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.draft-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 12.5px;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.draft-btn:hover {
  border-color: var(--slate-400);
  background: var(--slate-50);
}

.draft-btn.refine {
  color: #EA580C;
  border-color: rgba(234, 88, 12, 0.25);
}

.draft-btn.refine:hover {
  background: #FFF7F0;
  border-color: #EA580C;
}

.refine-sparkle {
  color: #EA580C;
  font-size: 14px;
  line-height: 1;
}

/* Approve button row - sits outside the draft box */
.approve-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

.approve-btn {
  padding: 11px 22px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: inherit;
  color: var(--white);
  background: var(--slate-700);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  letter-spacing: -0.005em;
  box-shadow: 0 1px 2px rgba(24, 31, 41, 0.12), 0 4px 14px rgba(24, 31, 41, 0.16);
}

.approve-btn:hover {
  background: var(--slate-900);
  transform: translateY(-1px);
}

/* WHY SECTION */
.why {
  padding: 88px 0 40px;
  background: var(--white);
}

.why-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.why h2 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.why h2 .accent {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.why p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate-600);
}

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

.section-alt {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}

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

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--indigo-600);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.section-head p {
  font-size: 18px;
  color: var(--slate-600);
  margin-top: 14px;
  line-height: 1.55;
}

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

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

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--cyan-100), var(--indigo-100));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--indigo-600);
}

.feature-card h3 {
  margin-bottom: 10px;
  color: var(--slate-900);
  font-size: 18px;
}

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

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

.step { position: relative; }

.step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-500);
  padding: 4px 12px;
  border: 1px solid var(--slate-200);
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 18px;
  background: var(--white);
  letter-spacing: 0.08em;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: var(--slate-900);
}

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

/* WHO */
.who {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.who-chip {
  padding: 22px 20px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  color: var(--slate-900);
  font-size: 15px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: -0.005em;
}

.who-chip:hover {
  border-color: var(--indigo-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.who-chip-tag {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--sparkle-600);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

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

.cta-band::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -20%;
  width: 140%;
  height: 220%;
  background: radial-gradient(ellipse at center, rgba(60, 229, 252, 0.15), transparent 45%);
  pointer-events: none;
}

.cta-band::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -20%;
  width: 120%;
  height: 180%;
  background: radial-gradient(ellipse at center, rgba(58, 88, 253, 0.2), transparent 45%);
  pointer-events: none;
}

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

.cta-band h2 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  letter-spacing: -0.03em;
}

.cta-band p {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.55;
}

/* FOOTER */
.footer {
  padding: 56px 0 48px;
  background: var(--slate-900);
  color: rgba(255,255,255,0.65);
}

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

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
}

.footer-left .logo-link img { height: 32px; }

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

.footer-links a {
  color: rgba(255,255,255,0.72);
  transition: color 0.15s ease;
}

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

.footer-legal {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
}

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

.legal h1 {
  font-size: clamp(2rem, 4.5vw, 2.5rem);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  color: var(--slate-900);
}

.legal-meta {
  color: var(--slate-500);
  font-size: 14px;
  margin-bottom: 44px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--slate-200);
}

.legal h2 {
  font-size: 1.375rem;
  margin-top: 44px;
  margin-bottom: 14px;
  scroll-margin-top: 80px;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

.legal h3 {
  font-size: 1.0625rem;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--slate-900);
}

.legal p {
  font-size: 16px;
  color: var(--slate-700);
  margin-bottom: 14px;
  line-height: 1.65;
}

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

.legal li {
  font-size: 16px;
  color: var(--slate-700);
  margin-bottom: 8px;
  line-height: 1.6;
}

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

.legal a {
  border-bottom: 1px solid rgba(58, 88, 253, 0.3);
  color: var(--indigo-600);
}

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

.callout {
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(60, 229, 252, 0.05), rgba(58, 88, 253, 0.05));
  border: 1px solid rgba(30, 167, 247, 0.2);
  border-radius: var(--radius);
  margin: 22px 0;
}

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

.toc {
  padding: 22px 26px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  margin-bottom: 44px;
}

.toc h3 {
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  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;
  color: var(--slate-700);
}

.toc a { border-bottom: none; color: var(--slate-700); }
.toc a:hover { color: var(--indigo-600); }

/* RESPONSIVE */
@media (max-width: 860px) {
  .container, .container-narrow { padding: 0 24px; }
  .features, .steps { grid-template-columns: 1fr; gap: 14px; }
  .who { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 18px; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 72px 0; }
  .why { padding: 72px 0 24px; }
  .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; align-items: center; }
  .footer-left { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .logo-link img { height: 32px; }
  .footer-left .logo-link img { height: 28px; }
}
