/* ============================================================
   WAYTAS — style.css
   ============================================================ */

/* 1. Custom Properties
   ---------------------------------------------------------- */
:root {
  --paper:       #FEFCF9;
  --paper-2:     #F7F4EF;
  --ink:         #1A1916;
  --ink-2:       #3D3A35;
  --ink-3:       #8C8880;
  --ink-4:       #C4C0B8;
  --accent:      #6660D4;
  --accent-soft: #EEEDF9;
  --accent-ink:  #4A45A8;
  --line:        #E8E4DC;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* 3. Typography
   ---------------------------------------------------------- */
.display {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.body-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-2);
}

.caption {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.mono {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 11px;
  color: var(--ink-3);
}

/* 4. Layout
   ---------------------------------------------------------- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 5. Icons
   ---------------------------------------------------------- */
.check-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.accent-icon {
  color: var(--accent);
}

/* 6. Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  opacity: 0.88;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent-soft);
}

.btn-sm {
  height: 34px;
  padding: 0 16px;
  border-radius: 16px;
  font-size: 14px;
}

.btn-lg {
  height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 15px;
}

.btn-full {
  display: flex;
  width: 100%;
  height: 48px;
  border-radius: 14px;
  font-size: 15px;
}

/* 7. Animations
   ---------------------------------------------------------- */
@keyframes revealIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
}

.reveal.visible {
  animation: revealIn 0.6s ease both;
  animation-delay: var(--delay, 0s);
}

/* Stagger: parent triggers, children animate via --delay on each child */
.reveal-stagger > * {
  opacity: 0;
}

.reveal-stagger.visible > * {
  animation: revealIn 0.6s ease both;
  animation-delay: var(--delay, 0s);
}

/* ============================================================
   COMPONENTS
   ============================================================ */

/* ── Navigation ─────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(254, 252, 249, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

#nav.scrolled {
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-signin {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-3);
  transition: color 0.15s ease;
}

.nav-signin:hover {
  color: var(--ink-2);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 65%);
  opacity: 0.38;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stars {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 2px;
}

.proof-quote {
  font-size: 13px;
  font-style: italic;
  color: var(--ink-3);
}

/* Phone mockup */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone {
  width: 295px;
  height: 610px;
  background: #fff;
  border-radius: 44px;
  border: 2px solid var(--line);
  box-shadow:
    0 4px 20px rgba(26, 25, 22, 0.06),
    0 20px 60px rgba(26, 25, 22, 0.10),
    0 40px 80px rgba(26, 25, 22, 0.06);
  position: relative;
  overflow: hidden;
  transform: translateY(-8px);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: #fff;
  border-radius: 20px;
  z-index: 10;
  border: 2px solid rgba(232, 228, 220, 0.8);
}

.phone-screen {
  position: absolute;
  inset: 0;
  padding: 50px 15px 16px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
}

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0;
  color: var(--ink-3);
}

.app-wordmark {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.app-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.greeting-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.greeting-sun {
  font-size: 16px;
  line-height: 1.2;
  flex-shrink: 0;
}

.greeting-title {
  font-size: 11px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.4;
}

.greeting-sub {
  font-size: 10px;
  color: var(--ink-3);
  margin-top: 2px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.chip {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 4px 8px;
  font-size: 8.5px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.chip-accent {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent-ink);
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.chat-ai {
  display: flex;
  gap: 7px;
  align-items: flex-start;
}

.ai-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
}

.ai-dot::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.bubble {
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 10.5px;
  font-weight: 300;
  line-height: 1.55;
}

.bubble-ai {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px 12px 12px 12px;
  color: var(--ink-2);
}

.chat-user {
  display: flex;
  justify-content: flex-end;
}

.bubble-user {
  background: var(--accent-soft);
  border-radius: 12px 4px 12px 12px;
  color: var(--accent-ink);
  font-weight: 400;
  max-width: 82%;
}

/* ── Context Strip ──────────────────────────────────────── */
.strip {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
}

.strip-label {
  text-align: center;
  margin-bottom: 28px;
}

.strip-cards {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.strip-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  min-width: 190px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.strip-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 25, 22, 0.06);
}

.strip-icon {
  color: var(--ink-3);
  margin-bottom: 10px;
}

.strip-big {
  font-size: 22px;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.strip-sub {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 4px;
}

/* ── Feature Sections ───────────────────────────────────── */
.feature {
  padding: 100px 0;
}

.feature-alt {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-reverse {
  /* visual on left, copy on right — visual is first in DOM for mobile */
}

.feature-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Check list */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2);
}

/* Card stack (Feature 1) */
.card-stack {
  position: relative;
  height: 220px;
  max-width: 320px;
  margin: 0 auto;
}

.stack-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  transform: rotate(var(--rot, 0deg)) translateY(var(--vert, 0px));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:not(.feature-alt) .stack-card {
  background: var(--paper-2);
}

.stack-card:hover {
  transform: rotate(0deg) translateY(calc(var(--vert, 0px) - 6px));
  box-shadow: 0 8px 24px rgba(26, 25, 22, 0.08);
  z-index: 10 !important;
}

.stack-text {
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-2);
  margin-top: 6px;
  line-height: 1.5;
}

/* Notification stack (Feature 2) */
.notif-stack {
  max-width: 340px;
  margin: 0 auto;
}

.notif {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(26, 25, 22, 0.05);
  position: relative;
  z-index: 3;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, margin-top 0.25s ease;
  transform-origin: top center;
}

.notif-2 {
  transform: scale(0.97);
  margin-top: -10px;
  z-index: 2;
  opacity: 0.88;
}

.notif-3 {
  transform: scale(0.94);
  margin-top: -14px;
  z-index: 1;
  opacity: 0.72;
}

.notif-stack:hover .notif-2 {
  transform: scale(1) translateY(8px);
  margin-top: 8px;
  opacity: 1;
}

.notif-stack:hover .notif-3 {
  transform: scale(1) translateY(16px);
  margin-top: 8px;
  opacity: 1;
}

.notif-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.notif-app {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.notif-time {
  font-size: 11px;
  color: var(--ink-4);
}

.notif-text {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-2);
  line-height: 1.5;
}

/* Privacy grid (Feature 3) */
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.privacy-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2);
}

/* Data flow (Feature 3) */
.data-flow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 0;
}

.dsgvo-bg {
  position: absolute;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  color: var(--ink-4);
  opacity: 0.12;
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  z-index: 0;
}

.flow-node {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.flow-node-main {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent-ink);
}

.flow-sub {
  font-size: 10px;
  color: var(--ink-3);
}

.flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 2px 0;
  position: relative;
  z-index: 1;
}

.flow-line {
  width: 1px;
  height: 36px;
  background: var(--ink-4);
  position: relative;
}

.flow-line::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--ink-4);
}

.flow-label {
  margin-top: 2px;
}

/* ── Pricing ─────────────────────────────────────────────── */
.pricing {
  padding: 100px 0;
}

.pricing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
  align-items: center;
}

.pricing-tagline {
  color: var(--ink-3);
  text-align: center;
  max-width: 480px;
}

.pricing-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 48px;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 25, 22, 0.06);
}

.pricing-card > .caption {
  margin-bottom: 16px;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.price-num {
  font-size: 48px;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.price-mo {
  font-size: 18px;
  font-weight: 300;
  color: var(--ink-3);
}

.price-annual {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 0;
}

.price-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-2);
}

.price-footnote {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  margin-top: 12px;
}

/* ── Testimonials ───────────────────────────────────────── */
.testimonials {
  padding: 100px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.testimonial {
  display: flex;
  flex-direction: column;
}

.q-mark {
  font-size: 120px;
  line-height: 0.75;
  font-weight: 300;
  color: var(--accent-soft);
  margin-bottom: 16px;
  font-family: Georgia, 'Times New Roman', serif;
  user-select: none;
}

.q-body {
  font-size: 18px;
  font-weight: 300;
  color: var(--ink-2);
  font-style: italic;
  line-height: 1.6;
  flex: 1;
}

.q-attr {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  margin-top: 16px;
  font-style: normal;
}

/* ── Download CTA ───────────────────────────────────────── */
.download {
  background: var(--ink);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Grain overlay */
.download::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.03;
  pointer-events: none;
}

.download-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.download-cap {
  color: var(--ink-3);
}

.download-title {
  color: #fff;
}

.download-body {
  color: var(--ink-3);
}

.download-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  border-radius: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn-store:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.btn-store-light {
  background: #fff;
  color: var(--ink);
  border: none;
}

.btn-store-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}

.download-footnote {
  margin-top: 4px;
  color: var(--ink-3) !important;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-top .wordmark {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

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

.footer-links a {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-3);
  transition: color 0.15s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet: 640–1024px */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-copy {
    align-items: center;
    order: 1;
  }

  .hero-mockup {
    order: 2;
  }

  .hero-cta {
    justify-content: center;
  }

  .social-proof {
    justify-content: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-reverse .feature-visual {
    order: 1;
  }

  .feature-reverse .feature-copy {
    order: 2;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Mobile: < 640px */
@media (max-width: 640px) {
  .hero-inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .phone {
    width: 258px;
    height: 530px;
  }

  .nav-signin {
    display: none;
  }

  /* Context strip: horizontal scroll on mobile */
  .strip .container {
    padding: 0;
  }

  .strip-label {
    padding: 0 24px;
  }

  .strip-cards {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding: 0 24px 8px;
    scrollbar-width: none;
  }

  .strip-cards::-webkit-scrollbar {
    display: none;
  }

  .strip-card {
    flex-shrink: 0;
  }

  .feature {
    padding: 64px 0;
  }

  .feature-grid {
    gap: 36px;
  }

  .card-stack {
    height: 180px;
  }

  .stack-card {
    right: 0;
  }

  .pricing-card {
    padding: 28px 24px;
  }

  .pricing {
    padding: 64px 0;
  }

  .testimonials {
    padding: 64px 0;
  }

  .testimonials-grid {
    gap: 36px;
  }

  .download {
    padding: 72px 0;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

/* ── Email form & Waitlist section
   ─────────────────────────────────────────────────────── */

.hero-form {
  margin-top: 4px;
}

.input-group {
  display: flex;
  gap: 8px;
  max-width: 480px;
}

.input-group input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}

.input-group input[type="email"]:focus {
  border-color: var(--accent);
}

.input-group input[type="email"]::placeholder {
  color: var(--ink-4);
}

.form-hint {
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.01em;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 400;
}

.form-success svg {
  flex-shrink: 0;
  stroke: var(--accent);
}

.hidden {
  display: none !important;
}

/* Waitlist dark section */
.waitlist {
  background: var(--ink);
  padding: 120px 0 100px;
  text-align: center;
}

.waitlist-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.waitlist .caption {
  color: var(--ink-4);
}

.waitlist-title {
  color: var(--paper);
}

.waitlist-body {
  color: #9E9A93;
  max-width: 460px;
}

.waitlist .input-group {
  justify-content: center;
}

.waitlist .input-group input[type="email"] {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--paper);
}

.waitlist .input-group input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.waitlist .input-group input[type="email"]:focus {
  border-color: var(--accent);
}

.waitlist .form-hint {
  color: rgba(255, 255, 255, 0.3);
}

.waitlist .form-success {
  color: #7ED4A3;
}

.waitlist .form-success svg {
  stroke: #7ED4A3;
}

@media (max-width: 520px) {
  .input-group {
    flex-direction: column;
  }

  .input-group input[type="email"],
  .input-group .btn {
    width: 100%;
  }
}

/* ── Language toggle ────────────────────────────────────── */
.lang-toggle {
  background: none;
  border: 1px solid rgba(26, 25, 22, 0.18);
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 5px 10px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.lang-toggle:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Footer trust badges ────────────────────────────────── */
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--accent-soft);
  border: 1px solid rgba(102, 96, 212, 0.15);
  border-radius: 100px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 3px 9px 3px 7px;
  white-space: nowrap;
}

.trust-badge svg {
  flex-shrink: 0;
  opacity: 0.75;
}

@media (max-width: 600px) {
  .footer-trust {
    justify-content: center;
  }
}

/* ── Redesigned phone mockup ────────────────────────────── */
.app-greeting {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 0;
}

.greeting-icon {
  font-size: 13px;
  line-height: 1.4;
  flex-shrink: 0;
}

.app-morning {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.app-day {
  font-size: 9px;
  color: var(--ink-3);
  margin-top: 2px;
}

/* Context cards row */
.ctx-row {
  display: flex;
  gap: 6px;
}

.ctx-card {
  flex: 1;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 9px;
}

.ctx-card.ctx-accent {
  background: var(--accent-soft);
  border-color: rgba(102, 96, 212, 0.15);
}

.ctx-label {
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--ink-4);
  margin-bottom: 3px;
}

.ctx-card.ctx-accent .ctx-label {
  color: var(--accent);
  opacity: 0.75;
}

.ctx-val {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}

.ctx-card.ctx-accent .ctx-val {
  color: var(--accent-ink);
}

.ctx-meta {
  font-size: 8px;
  color: var(--ink-4);
  margin-top: 2px;
}

.ctx-card.ctx-accent .ctx-meta {
  color: var(--accent);
  opacity: 0.6;
}

/* Proactive suggestion card */
.app-suggest {
  display: flex;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(26, 25, 22, 0.04);
}

.suggest-bar {
  width: 3px;
  background: var(--accent);
  flex-shrink: 0;
}

.suggest-inner {
  padding: 8px 10px;
}

.suggest-label {
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--accent);
  margin-bottom: 3px;
  opacity: 0.85;
}

.suggest-text {
  font-size: 9.5px;
  font-weight: 300;
  color: var(--ink-2);
  line-height: 1.55;
}

/* Mini timeline */
.app-timeline {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 2px 0;
}

.tl-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.tl-time {
  font-size: 8px;
  font-weight: 400;
  color: var(--ink-4);
  width: 30px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.tl-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid rgba(26, 25, 22, 0.2);
  flex-shrink: 0;
}

.tl-dot-done {
  background: var(--ink-3);
  border-color: var(--ink-3);
}

.tl-dot-accent {
  background: var(--accent);
  border-color: var(--accent);
}

.tl-ev {
  font-size: 10px;
  font-weight: 400;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 5px;
}

.tl-ev-accent {
  color: var(--ink);
  font-weight: 500;
}

.tl-pill {
  font-size: 6.5px;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 20px;
  padding: 1px 5px;
  letter-spacing: 0.03em;
}

/* Chat input bar */
.app-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 12px;
  margin-top: auto;
  color: var(--ink-4);
}

.app-input-text {
  font-size: 9px;
  color: var(--ink-4);
}

/* ── Improved card stack ─────────────────────────────────── */
.stack-card .mono {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 7px;
  color: var(--ink-3);
  margin-bottom: 2px;
}

.stack-card[style*="z-index:3"] {
  box-shadow: 0 4px 20px rgba(26, 25, 22, 0.10), 0 1px 4px rgba(26, 25, 22, 0.06);
}

.stack-card[style*="z-index:3"] .mono {
  background: var(--accent-soft);
  border-color: rgba(102, 96, 212, 0.15);
  color: var(--accent);
}

/* ── Improved notifications ──────────────────────────────── */
.notif::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  top: 14px;
  right: 14px;
}

.notif-app {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.notif {
  border-left: 2px solid var(--accent-soft);
}
