/* ============================================================
   AVORBI — Marketing Website
   ============================================================ */

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Custom Properties */
:root {
  --green:        #407A6B;
  --green-hover:  #5A9B88;
  --green-bg:     rgba(64, 122, 107, 0.09);
  --green-glow:   rgba(64, 122, 107, 0.30);

  --bg-warm:      #F7F1E8;
  --bg-sage:      #EAF3ED;
  --bg-lavender:  #ECEAF7;

  --blob-purple:  rgba(160, 130, 210, 0.18);
  --blob-green:   rgba(100, 200, 140, 0.22);

  --card-bg:      rgba(255, 255, 255, 0.72);
  --card-border:  rgba(0, 0, 0, 0.07);

  --text-primary:   #1A1A1A;
  --text-secondary: #6B6B6B;
  --text-tertiary:  #9E9E9E;

  --radius-sm:  12px;
  --radius-md:  18px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  --section-pad: 96px;
  --screen-pad:  24px;

  --shadow-card:  0 2px 20px rgba(0, 0, 0, 0.05), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.09), 0 2px 8px rgba(0, 0, 0, 0.05);

  --max-width: 1080px;
}

/* Base */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg-warm);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ──────────────────────────────────────────── */

.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

h1 {
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

/* ─── BUTTONS ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 4px 16px var(--green-glow);
}

.btn-primary:hover {
  background: var(--green-hover);
  box-shadow: 0 6px 24px var(--green-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.58);
  color: var(--text-primary);
  border: 1.5px solid rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.90);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

/* ─── LAYOUT HELPERS ──────────────────────────────────────── */

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--screen-pad);
  padding-right: var(--screen-pad);
}

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

.section-header h2 {
  margin-top: 8px;
  margin-bottom: 14px;
}

.section-header > p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ─── SCROLL REVEAL ───────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }

/* ─── VIVID BACKGROUND ANIMATIONS ────────────────────────── */

/* Cycles the gradient through warm cream → sage → lavender → rose → sky,
   matching the app's vivid colour mode palette. */
@keyframes vividGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Blob purple shifts through purple → rose → sky blue */
@keyframes blobPurpleVivid {
  0%, 100% { background: rgba(199, 179, 250, 0.55); }
  33%       { background: rgba(255, 178, 210, 0.52); }
  66%       { background: rgba(155, 200, 255, 0.50); }
}

/* Blob green shifts through sage → warm gold → teal */
@keyframes blobGreenVivid {
  0%, 100% { background: rgba(163, 235, 188, 0.62); }
  33%       { background: rgba(255, 230, 140, 0.55); }
  66%       { background: rgba(160, 240, 230, 0.58); }
}

/* ─── VORB FLOAT ANIMATION ────────────────────────────────── */

@keyframes vorbFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* ─── HERO ────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-sage) 50%, var(--bg-lavender) 100%);
  padding: 80px var(--screen-pad);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  will-change: transform;
}

.blob-purple {
  width: 540px;
  height: 540px;
  background: var(--blob-purple);
  top: -150px;
  left: -180px;
}

.blob-green {
  width: 620px;
  height: 620px;
  background: var(--blob-green);
  bottom: -160px;
  right: -180px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.app-icon {
  width: 114px;
  height: 114px;
  border-radius: 26px;
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.13), 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 28px;
}

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

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

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

/* ─── MEET VORB ───────────────────────────────────────────── */

.meet-vorb {
  padding: var(--section-pad) var(--screen-pad);
}

.meet-vorb-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 72px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.meet-vorb-body {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 14px;
  margin-bottom: 28px;
}

.vorb-notes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vorb-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  box-shadow: var(--shadow-card);
}

.vorb-note-icon {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.5;
}

.vorb-note p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  padding-top: 1px;
}

.meet-vorb-visual {
  text-align: center;
  flex-shrink: 0;
}

.vorb-float-wrap {
  animation: vorbFloat 4.5s ease-in-out infinite;
  display: inline-block;
  filter: drop-shadow(0 24px 48px rgba(200, 190, 170, 0.45));
}

.vorb-label {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ─── HOW IT WORKS ────────────────────────────────────────── */

.how-section {
  background: linear-gradient(160deg, var(--bg-sage) 0%, var(--bg-lavender) 100%);
  padding: var(--section-pad) var(--screen-pad);
}

.how-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.how-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.how-card-icon {
  width: 46px;
  height: 46px;
  background: var(--green-bg);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

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

.how-card > p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.prompt-bubble {
  background: var(--green-bg);
  border: 1px solid rgba(64, 122, 107, 0.14);
  border-radius: var(--radius-md);
  padding: 13px 15px;
  font-size: 14px;
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.5;
}

.mock-text-box {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-height: 60px;
}

.mock-placeholder {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.5;
  font-style: italic;
}

.vorb-response {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 11px 15px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.5;
}

.leaf-badges {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 12px;
}

.leaf-badge {
  display: inline-flex;
  align-items: center;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
  width: fit-content;
}

.how-fine-print {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.milestone-preview {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 13px 15px;
}

.milestone-preview strong {
  font-size: 14px;
  color: var(--text-primary);
}

.milestone-preview p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.5;
}

/* ─── WHY AVORBI ──────────────────────────────────────────── */

.why-section {
  background: var(--bg-warm);
  padding: var(--section-pad) var(--screen-pad);
}

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

.why-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.why-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.why-card-icon {
  font-size: 28px;
  margin-bottom: 14px;
  line-height: 1;
}

.why-card h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.why-card > p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── PRIVACY ─────────────────────────────────────────────── */

.privacy-section {
  background: linear-gradient(160deg, #1B2A32 0%, #1C2236 100%);
  padding: var(--section-pad) var(--screen-pad);
}

.privacy-icon {
  display: block;
  font-size: 32px;
  margin-bottom: 14px;
}

.privacy-section .eyebrow {
  color: rgba(184, 214, 199, 0.65);
}

.privacy-section .section-header h2 {
  color: white;
}

.privacy-section .section-header > p {
  color: rgba(255, 255, 255, 0.52);
}

.privacy-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.privacy-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 22px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: background 0.2s ease;
}

.privacy-tile:hover {
  background: rgba(255, 255, 255, 0.09);
}

.privacy-tile-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

.privacy-tile h3 {
  color: rgba(255, 255, 255, 0.90);
  font-size: 15px;
  margin-bottom: 6px;
}

.privacy-tile p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.46);
  line-height: 1.55;
}

/* ─── MILESTONES ──────────────────────────────────────────── */

.milestones-section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.milestones-scroll-wrap {
  overflow-x: auto;
  padding: 8px 0 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-top: 8px;
}

.milestones-scroll-wrap::-webkit-scrollbar {
  display: none;
}

.milestones-track {
  display: flex;
  gap: 14px;
  min-width: max-content;
  padding-left: var(--screen-pad);
  padding-right: var(--screen-pad);
}

.milestone-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 20px 20px;
  width: 210px;
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.milestone-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.milestone-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.milestone-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── INSIGHTS ────────────────────────────────────────────── */

.insights-section {
  padding: 0 var(--screen-pad) var(--section-pad);
}

.insights-card {
  max-width: var(--max-width);
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(80, 100, 210, 0.06) 0%, rgba(100, 160, 220, 0.08) 100%);
  border: 1px solid rgba(80, 100, 210, 0.12);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  display: flex;
  gap: 24px;
  align-items: center;
}

.insights-icon {
  width: 64px;
  height: 64px;
  background: rgba(80, 100, 210, 0.10);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.insights-text h3 {
  margin-bottom: 6px;
}

.insights-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
}

.insights-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(80, 100, 210, 0.10);
  color: rgb(70, 90, 200);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* ─── SAFETY ──────────────────────────────────────────────── */

.safety-section {
  padding: 0 var(--screen-pad) var(--section-pad);
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.safety-section h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin-top: 10px;
  margin-bottom: 14px;
}

.safety-section > p {
  color: var(--text-secondary);
  font-size: 16px;
}

.safety-notes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  text-align: left;
}

.safety-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
}

.safety-note-icon {
  font-size: 19px;
  flex-shrink: 0;
  margin-top: 0px;
  line-height: 1.5;
}

.safety-note p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-top: 1px;
}

/* ─── CTA ─────────────────────────────────────────────────── */

.cta-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-sage) 50%, var(--bg-lavender) 100%);
  padding: 80px var(--screen-pad);
  text-align: center;
}

.cta-section .blob-purple {
  top: -100px;
  right: -150px;
  left: auto;
}

.cta-section .blob-green {
  bottom: -100px;
  left: -150px;
  right: auto;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 540px;
}

.cta-content h2 {
  margin-bottom: 12px;
}

.cta-content > p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

/* ─── FOOTER ──────────────────────────────────────────────── */

footer {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px var(--screen-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}

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

.footer-copy {
  font-size: 13px;
  color: var(--text-tertiary);
  width: 100%;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 900px) {
  :root {
    --section-pad: 72px;
  }

  .meet-vorb-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .meet-vorb-visual {
    order: -1;
  }

  .vorb-notes {
    text-align: left;
  }

  .how-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .privacy-tiles {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .insights-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 600px) {
  :root {
    --section-pad: 60px;
    --screen-pad:  18px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .how-cards {
    max-width: 100%;
  }
}
