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

:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --border: rgba(0, 0, 0, 0.07);
  --text-primary: #0e0e0e;
  --text-secondary: #5a5a5a;
  --text-muted: #9a9a9a;
  --accent: #1a1a2e;
  --accent-2: #6c63ff;
  --accent-soft: rgba(108, 99, 255, 0.1);
  --pill-bg: rgba(108, 99, 255, 0.08);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 999px;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 80% 60% at 20% 10%,
      rgba(108, 99, 255, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 50% at 80% 80%,
      rgba(99, 198, 255, 0.07) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 50% 40% at 50% 50%,
      rgba(255, 200, 150, 0.05) 0%,
      transparent 60%
    ),
    var(--bg);
}

/* NAV */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 80px);
  height: 60px;
  background: rgba(247, 246, 243, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

header.scrolled {
  box-shadow: var(--shadow-sm);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.logo span {
  color: var(--accent-2);
}

nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--text-primary);
}

.btn-nav {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--text-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-body);
  text-decoration: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-nav:hover {
  opacity: 0.8;
  transform: scale(1.05);
  transition: all 0.2s;
  color: #eee;
}

section {
  padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 80px);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
}

/* HERO */
.hero {
  text-align: center;
  padding-top: clamp(80px, 12vw, 140px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pill-bg);
  border: 1px solid rgba(108, 99, 255, 0.18);
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 32px;
  animation: fadeUp 0.7s ease both;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  animation: pulse 2s infinite;
}

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

  50% {
    opacity: 0.5;
    transform: scale(0.75);
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-2);
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.65;
  font-weight: 400;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

.btn-primary {
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: var(--text-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-body);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(14, 14, 14, 0.18);
  display: inline-block;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(14, 14, 14, 0.22);
}

.btn-ghost {
  padding: 14px 24px;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-body);
  text-decoration: none;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost:hover {
  border-color: rgba(0, 0, 0, 0.18);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* MOCKUP — ChatApp Style */
.hero-mockup {
  margin-top: 64px;
  animation: fadeUp 0.8s 0.4s ease both;
}

.mockup-phone {
  max-width: 340px;
  margin: 0 auto;
  border-radius: 32px;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  overflow: hidden;
  border: 8px solid #1a1a1a;
  background: #111;
  position: relative;
}

/* Chat App Header */
.ca-header {
  background: #5a5a5a;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ca-back {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  cursor: pointer;
}

.ca-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f7b8c4, #f48fb1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ca-info {
  /* flex: 1; */
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
}

.ca-name {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.ca-status {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
}

.ca-icons {
  display: flex;
  gap: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* WA Chat area */
.ca-body {
  background: #e5ddd5;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8bfb5' fill-opacity='0.25'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 280px;
  max-height: 280px;
  overflow: hidden;
}

.ca-date-pill {
  align-self: center;
  background: rgba(255, 255, 255, 0.75);
  color: #777;
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 4px;
}

.ca-bubble {
  max-width: 78%;
  padding: 7px 10px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.4;
  position: relative;
  word-break: break-word;
}

.ca-bubble.them {
  background: #fff;
  color: #111;
  align-self: flex-start;
  border-top-left-radius: 2px;
}

.ca-bubble.them::before {
  content: "";
  position: absolute;
  top: 0;
  left: -7px;
  border-width: 0 8px 8px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}

.ca-bubble.me {
  background: #dcf8c6;
  color: #111;
  align-self: flex-end;
  border-top-right-radius: 2px;
}

.ca-bubble.me::after {
  content: "";
  position: absolute;
  top: 0;
  right: -7px;
  border-width: 0 0 8px 8px;
  border-style: solid;
  border-color: transparent transparent transparent #dcf8c6;
}

.ca-bubble.typing {
  background: #fff;
  align-self: flex-start;
  border-top-left-radius: 2px;
  padding: 10px 14px 10px;
  display: flex;
  gap: 4px;
  align-items: center;
}

.ca-bubble.typing::before {
  content: "";
  position: absolute;
  top: 0;
  left: -7px;
  border-width: 0 8px 8px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aaa;
  animation: typingBounce 1.2s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-5px);
  }
}

.ca-time {
  position: absolute;
  bottom: 4px;
  right: 8px;
  font-size: 0.62rem;
  color: #999;
  display: flex;
  align-items: center;
  gap: 3px;
}

.ca-ticks {
  color: #53bdeb;
  font-size: 0.7rem;
}

/* WA Input bar */
.ca-input-bar {
  background: #f0f0f0;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ca-input-field {
  flex: 1;
  background: #fff;
  border-radius: 24px;
  padding: 8px 14px;
  font-size: 0.82rem;
  color: #555;
  border: none;
  outline: none;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
}

.ca-input-placeholder {
  color: #5a5a5aff;
}

.ca-send-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #5a5a5a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
  cursor: pointer;
}

/* Claré suggestion overlay */
.clare-overlay {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(108, 99, 255, 0.12);
  padding: 10px 12px;
}

.clare-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.clare-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: 0.03em;
}

.clare-brand-dot {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, #6c63ff, #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #fff;
}

.clare-dismiss {
  font-size: 0.68rem;
  color: var(--text-muted);
  cursor: pointer;
}

.clare-chips {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.clare-chip {
  padding: 7px 11px;
  border-radius: 10px;
  background: rgba(108, 99, 255, 0.07);
  border: 1px solid rgba(108, 99, 255, 0.15);
  font-size: 0.72rem;
  color: #333;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.clare-chip:hover {
  background: rgba(108, 99, 255, 0.13);
}

.clare-chip.active {
  background: var(--accent-2);
  color: #fff;
  border-color: var(--accent-2);
}

.chip-use {
  font-size: 0.65rem;
  opacity: 0.6;
  white-space: nowrap;
}

.clare-chip.active .chip-use {
  opacity: 0.8;
}

.tone-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 8px;
}

.tone-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.tone-track {
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, #63b3ed, #a78bfa, #f48fb1);
  position: relative;
}

.tone-thumb {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent-2);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: left 1.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scenario-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.scenario-tab {
  padding: 8px 18px;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}
.scenario-tab:hover {
  border-color: rgba(108, 99, 255, 0.3);
  color: var(--accent-2);
}
.scenario-tab.active {
  background: var(--accent-2);
  color: #fff;
  border-color: var(--accent-2);
  box-shadow: 0 4px 14px rgba(108, 99, 255, 0.3);
}
.scenario {
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.scenario.hidden {
  display: none;
}
.scenario.fade-in {
  animation: fadeUp 0.35s ease both;
}

.ca-header {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ca-back {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  cursor: pointer;
}
.ca-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.ca-info {
  flex: 1;
}
.ca-name {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}
.ca-status {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
}
.ca-icons {
  display: flex;
  gap: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.ca-body {
  background: #e5ddd5;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8bfb5' fill-opacity='0.25'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 255px;
  max-height: 255px;
  overflow: hidden;
}
.ca-date-pill {
  align-self: center;
  background: rgba(255, 255, 255, 0.75);
  color: #777;
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 4px;
}
.ca-bubble {
  max-width: 78%;
  padding: 7px 10px 18px;
  border-radius: 8px;
  font-size: 0.70rem;
  line-height: 1.4;
  position: relative;
  word-break: break-word;
}
.ca-bubble.them {
  background: #fff;
  color: #111;
  align-self: flex-start;
  border-top-left-radius: 2px;
}
.ca-bubble.them::before {
  content: "";
  position: absolute;
  top: 0;
  left: -7px;
  border-width: 0 8px 8px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}
.ca-bubble.me {
  background: #dcf8c6;
  color: #111;
  align-self: flex-end;
  border-top-right-radius: 2px;
}
.ca-bubble.me::after {
  content: "";
  position: absolute;
  top: 0;
  right: -7px;
  border-width: 0 0 8px 8px;
  border-style: solid;
  border-color: transparent transparent transparent #dcf8c6;
}
.ca-bubble.typing {
  background: #fff;
  align-self: flex-start;
  border-top-left-radius: 2px;
  padding: 10px 14px;
  display: flex;
  gap: 4px;
  align-items: center;
}
.ca-bubble.typing::before {
  content: "";
  position: absolute;
  top: 0;
  left: -7px;
  border-width: 0 8px 8px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}
.ca-time {
  position: absolute;
  bottom: 4px;
  right: 8px;
  font-size: 0.62rem;
  color: #999;
  display: flex;
  align-items: center;
  gap: 3px;
}
.ca-ticks {
  color: #53bdeb;
  font-size: 0.65rem;
}
.ca-input-bar {
  background: #f0f0f0;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ca-input-field {
  flex: 1;
  background: #fff;
  border-radius: 24px;
  padding: 8px 14px;
  font-size: 0.75rem;
  color: #555;
  border: none;
  outline: none;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
}
.ca-input-placeholder {
  color: #aaa;
}
.ca-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  flex-shrink: 0;
  cursor: pointer;
}

.clare-context-tag {
  margin-left: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--accent-2);
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.25);
  border-radius: 6px;
  padding: 2px 7px;
}
.tone-center-label {
  color: var(--accent-2);
  font-weight: 600;
  transition: all 0.2s;
}
.tone-slider-input {
  width: 100%;
  accent-color: var(--accent-2);
  cursor: pointer;
  margin-top: 4px;
  height: 4px;
}

/* Auto-rotate progress bar */
.mockup-progress {
  max-width: 360px;
  margin: 12px auto 0;
  height: 3px;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 99px;
  overflow: hidden;
}
.mockup-progress-bar {
  height: 100%;
  background: var(--accent-2);
  border-radius: 99px;
  width: 0%;
  transition: width linear;
}

/* PAIN */
.pain {
  text-align: center;
}

.pain h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.pain h2 em {
  font-style: italic;
  color: var(--accent-2);
}

.pain-sub {
  color: var(--text-secondary);
  margin-bottom: 52px;
  font-size: 1.05rem;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
  user-select: none;
}

.pain-card {
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 22px 24px;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pain-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.pain-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* FEATURES */
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.features h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 52px;
  max-width: 500px;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  user-select: none;
}

.feat-card {
  background: var(--surface-glass);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.feat-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(108, 99, 255, 0.09) 0%,
    transparent 70%
  );
  pointer-events: none;
}

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

.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(108, 99, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.feat-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feat-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* HOW IT WORKS */
.how h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 56px;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
  user-select: none;
}

.step {
  background: var(--surface-glass);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}

.step:hover {
  transform: translateY(-4px);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--text-muted);
  font-size: 1.4rem;
}

/* EARLY ACCESS */
.early {
  text-align: center;
  user-select: none;
}

.early-inner {
  max-width: 700px;
  margin: 0 auto;
  background: var(--surface-glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 60px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.early-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    rgba(108, 99, 255, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.early h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.early p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-size: 1rem;
}

.email-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.email-input {
  flex: 1;
  min-width: 220px;
  max-width: 340px;
  padding: 13px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.email-input:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.12);
}

.email-input::placeholder {
  color: var(--text-muted);
}

.btn-cta {
  padding: 13px 26px;
  border-radius: var(--radius-full);
  background: var(--accent-2);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(108, 99, 255, 0.3);
  white-space: nowrap;
  max-width: 340px;
  margin-top: 10px;
}

.btn-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(108, 99, 255, 0.35);
}

.early p.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text-primary);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* STICKY MOBILE CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 20px 20px;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
}

.sticky-cta button {
  width: 100%;
  padding: 15px;
  border-radius: var(--radius-full);
  background: var(--text-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(14, 14, 14, 0.18);
  transition: opacity 0.2s;
}

.sticky-cta button:hover {
  opacity: 0.88;
}

@media (max-width: 680px) {
  .sticky-cta {
    display: block;
  }

  header nav {
    display: none;
  }

  .mockup-frame {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }

  .btn-cta {
    flex: 1;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-eyebrow {
    font-size: 0.7rem;
  }
}

/* FOOTER */
footer {
  padding: 32px clamp(20px, 5vw, 80px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.footer-logo span {
  color: var(--accent-2);
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* TOAST */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text-primary);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #10b981;
}

.info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #3b82f6;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.uc-chip {
  padding: 7px 14px;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.18s ease;
  backdrop-filter: blur(8px);
}

/* .uc-chip:hover {
    border-color: rgba(108, 99, 255, 0.35);
    color: var(--accent-2);
    background: rgba(108, 99, 255, 0.06);
    transform: translateY(-1px);
} */

.uc-chip.selected {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #fff;
  box-shadow: 0 3px 12px rgba(108, 99, 255, 0.28);
  transform: translateY(-1px);
}

@media (hover: hover) {
  .uc-chip:hover {
    border-color: rgba(108, 99, 255, 0.35);
    color: var(--accent-2);
    background: rgba(108, 99, 255, 0.06);
    transform: translateY(-1px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.reveal.visible {
  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;
}
