/* ==========================================================================
   Five Needs Website - Enhanced Design
   Aesthetic: Quiet Revelation - Intimate, journal-like, asymmetric
   ========================================================================== */

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

/* Design System Variables */
:root {
  /* Colors */
  --color-bg-dark: #000000;
  --color-bg-surface: #0f0f0f;
  --color-bg-elevated: #1a1a1a;
  --color-primary: #4DA8A8;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #A8A8A8;
  --color-text-muted: #5A5550;
  --color-destructive: #FF6B6B;

  /* Emotional Need Colors */
  --color-need-secure: #93C5FD;
  --color-need-respected: #FDBA74;
  --color-need-important: #FFD700;
  --color-need-accepted: #86EFAC;
  --color-need-included: #C084FC;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ui: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-handwritten: 'Caveat', cursive;

  /* Spacing */
  --spacing-unit: 16px;
  --spacing-section-mobile: 80px;
  --spacing-section-desktop: 120px;

  /* Layout */
  --max-content-width: 1200px;
  --max-text-width: 800px;

  /* Effects */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Base Styles */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg-dark);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Lucide Icons - Ensure proper styling */
i[data-lucide] {
  display: inline-block;
  vertical-align: middle;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-family: var(--font-ui);
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s var(--ease-smooth);
}

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

a:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Layout Utilities */
.container {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
}

.container-narrow {
  max-width: var(--max-text-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
}

.section {
  padding: var(--spacing-section-mobile) 0;
  position: relative;
}

@media (min-width: 1024px) {
  .section {
    padding: var(--spacing-section-desktop) 0;
  }
}

/* Skip to Content (Accessibility) */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-bg-dark);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
  font-family: var(--font-ui);
  font-weight: 600;
}

.skip-to-content:focus {
  top: 0;
}

/* Visually Hidden (Accessibility) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  animation: slideDown 0.5s var(--ease-smooth);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header__container {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 1rem clamp(1rem, 5vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  transition: opacity 0.3s var(--ease-smooth);
}

.header__logo:hover {
  opacity: 0.8;
}

.header__logo-text {
  font-weight: 500;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__link {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  transition: color 0.3s var(--ease-smooth);
}

.header__link:hover {
  color: var(--color-text-primary);
}

@media (max-width: 767px) {
  .header__nav {
    gap: 1rem;
  }

  .header__link {
    display: none;
  }
}

/* ==========================================================================
   Hero Section - Diagonal Split "Journal Entry" Layout
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem clamp(1rem, 5vw, 3rem) 3rem;
  position: relative;
  background: #000000;
  overflow: hidden;
}

/* Diagonal Split Container */
.hero__split {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1400px;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Left Side: Content */
.hero__left {
  flex: 1;
  max-width: 650px;
  animation: slideInLeft 1s var(--ease-smooth) 0.3s both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero__icon-small {
  position: relative;
  margin-bottom: 3rem;
  width: fit-content;
}

.hero__icon-small img {
  width: 120px;
  height: 120px;
  border-radius: 26.67%;
  box-shadow: 0 15px 40px rgba(77, 168, 168, 0.25);
  animation: float 6s ease-in-out infinite;
}

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

.hero__text {
  text-align: left;
}

.hero__headline {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.hero__headline-line {
  display: block;
  animation: fadeInUp 1s var(--ease-smooth) both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__headline-line:nth-child(1) {
  animation-delay: 0.7s;
}

.hero__headline-line:nth-child(2) {
  animation-delay: 0.9s;
}

.hero__subheadline {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s var(--ease-smooth) 1.1s both;
  font-weight: 400;
  line-height: 1.6;
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  animation: fadeInUp 1s var(--ease-smooth) 1.3s both;
}

.hero__app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #000000;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-ui);
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s var(--ease-smooth);
  cursor: default;
}

.hero__app-store-badge:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.hero__apple-logo {
  flex-shrink: 0;
}

.hero__badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.hero__badge-coming {
  font-size: 0.6875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.hero__badge-platform {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Right Side: Screenshot */
.hero__right {
  flex: 0 0 auto;
  position: relative;
  animation: slideInRight 1.2s var(--ease-smooth) 0.8s both;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(80px) rotate(-5deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(-3deg);
  }
}

.hero__screenshot-container {
  position: relative;
}

.hero__screenshot {
  width: 320px;
  height: auto;
  border-radius: 40px;
  transform: rotate(-3deg);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(77, 168, 168, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.6s var(--ease-smooth);
  border: 3px solid rgba(255, 255, 255, 0.03);
}

.hero__screenshot:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Radial glow behind screenshot */
.hero__right::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(77, 168, 168, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

/* Annotation positioning for new layout */
.annotation--hero-icon {
  top: -50px;
  right: -100px;
}

.annotation--hero-screenshot {
  position: absolute;
  bottom: -40px;
  left: -20px;
  transform: rotate(2deg);
}

/* Responsive Breakpoints */

/* Large Desktop */
@media (min-width: 1400px) {
  .hero__screenshot {
    width: 360px;
  }
}

/* Laptop */
@media (max-width: 1199px) {
  .hero__split {
    gap: 3rem;
  }

  .hero__screenshot {
    width: 280px;
  }
}

/* Tablet */
@media (max-width: 1023px) {
  .hero__split {
    flex-direction: column;
    gap: 4rem;
    text-align: center;
  }

  .hero__left {
    max-width: 600px;
  }

  .hero__text {
    text-align: center;
  }

  .hero__icon-small {
    margin: 0 auto 2.5rem;
  }

  .hero__cta-group {
    align-items: center;
  }

  .hero__screenshot {
    width: 320px;
    transform: rotate(-2deg);
  }

  .annotation--hero-icon {
    display: none;
  }

  .annotation--hero-screenshot {
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero {
    padding: 5rem 1rem 2rem;
  }

  .hero__split {
    gap: 3rem;
  }

  .hero__icon-small img {
    width: 100px;
    height: 100px;
  }

  .hero__screenshot {
    width: 280px;
  }
}

/* ==========================================================================
   Value Cards Section
   ========================================================================== */

.values {
  background-color: #000000;
  position: relative;
}

.values::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 168, 168, 0.3), transparent);
}

.values__headline {
  text-align: center;
  margin-bottom: 4rem;
  font-style: italic;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-card {
  background: #FFFFFF;
  border: none;
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.value-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: #000000;
}

.value-card__title {
  font-family: var(--font-ui);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #000000;
}

.value-card__text {
  color: #1a1a1a;
  font-size: 1rem;
  line-height: 1.7;
}

/* AOS animations */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Explainer Section - Recognizing Moments
   ========================================================================== */

.explainer {
  background: #000000;
}

.explainer__intro {
  text-align: center;
  margin-bottom: 3rem;
}

.explainer__headline {
  margin-bottom: 1rem;
}

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

.explainer__examples {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.explainer__example {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: #FFFFFF;
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
  transition: all 0.3s var(--ease-smooth);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.explainer__example:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.explainer__example-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: transparent;
  color: #000000;
}

.explainer__example-content strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: #000000;
  font-size: 1.0625rem;
}

.explainer__example-content p {
  font-size: 0.9375rem;
  color: #1a1a1a;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   Screenshot Showcase - Enhanced with Context
   ========================================================================== */

.showcase {
  text-align: center;
  background-color: #000000;
  padding: var(--spacing-section-desktop) 0;
  position: relative;
}

.showcase::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(77, 168, 168, 0.1) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
}

.showcase__intro {
  max-width: 700px;
  margin: 0 auto 3rem;
}

.showcase__headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.showcase__description {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.showcase__phone-container {
  position: relative;
  display: inline-block;
}

.showcase__phone {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 40px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(77, 168, 168, 0.2);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-smooth);
  position: relative;
  z-index: 2;
}

.showcase__phone:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.showcase__caption {
  margin-top: 2rem;
}

.showcase__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #1a1a1a;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.showcase__legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-family: var(--font-ui);
  font-weight: 500;
  color: var(--color-text-secondary);
}

.showcase__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.showcase__dot--secure {
  background: var(--color-need-secure);
}

.showcase__dot--respected {
  background: var(--color-need-respected);
}

.showcase__dot--important {
  background: var(--color-need-important);
}

.showcase__dot--accepted {
  background: var(--color-need-accepted);
}

.showcase__dot--included {
  background: var(--color-need-included);
}

@media (max-width: 767px) {
  .showcase__legend {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ==========================================================================
   How It Works Section - Visual Flow
   ========================================================================== */

.how-it-works {
  background: #000000;
}

.how-it-works__headline {
  text-align: center;
  margin-bottom: 4rem;
}

.how-it-works__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 4rem;
  flex-wrap: wrap;
}

.step-visual {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 2rem 1.5rem;
  background: #FFFFFF;
  border-radius: 16px;
  border: none;
  transition: all 0.3s var(--ease-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.step-visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.step-visual__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  color: #000000;
}

.step-visual__title {
  font-family: var(--font-ui);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #000000;
}

.step-visual__text {
  color: #1a1a1a;
  font-size: 1rem;
  line-height: 1.5;
}

.step-visual__arrow {
  color: #FFFFFF;
  opacity: 0.6;
  flex-shrink: 0;
  font-size: 2rem;
  transition: all 0.3s var(--ease-smooth);
}

.step-visual__arrow:hover {
  opacity: 1;
  transform: translateX(4px);
}

.how-it-works__outcomes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.outcome-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #1a1a1a;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s var(--ease-smooth);
}

.outcome-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.outcome-card i {
  color: var(--color-primary);
  flex-shrink: 0;
}

.outcome-card span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

@media (max-width: 900px) {
  .how-it-works__visual {
    flex-direction: column;
  }

  .step-visual__arrow {
    transform: rotate(90deg);
  }

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

/* ==========================================================================
   Five Needs Section - CENTERPIECE
   ========================================================================== */

.five-needs {
  background-color: #000000;
  padding: var(--spacing-section-desktop) 0;
  position: relative;
  overflow: hidden;
}

.five-needs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(77, 168, 168, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.five-needs__intro {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.five-needs__headline {
  font-style: italic;
  margin-bottom: 1rem;
}

.five-needs__subheadline {
  color: var(--color-text-secondary);
  font-size: 1.25rem;
}

.five-needs__pills {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.need-pill {
  background: #FFFFFF;
  border-radius: 50px;
  padding: 1rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  transition: all 0.3s var(--ease-smooth);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.need-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.need-pill__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-smooth);
}

.need-pill:hover .need-pill__dot {
  transform: scale(1.3);
}

.need-pill--secure .need-pill__dot {
  background: var(--color-need-secure);
}

.need-pill--respected .need-pill__dot {
  background: var(--color-need-respected);
}

.need-pill--important .need-pill__dot {
  background: var(--color-need-important);
}

.need-pill--accepted .need-pill__dot {
  background: var(--color-need-accepted);
}

.need-pill--included .need-pill__dot {
  background: var(--color-need-included);
}

.need-pill__content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.need-pill__title {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: #000000;
}

.need-pill__separator {
  color: #CCCCCC;
  font-size: 1rem;
  font-weight: 400;
  user-select: none;
}

.need-pill__tagline {
  color: #666666;
  font-size: 0.9375rem;
  font-weight: 400;
}

@media (max-width: 1200px) {
  .five-needs__pills {
    gap: 0.875rem;
  }

  .need-pill {
    padding: 0.875rem 1.5rem;
  }
}

@media (max-width: 900px) {
  .five-needs__pills {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    padding-bottom: 1rem;
  }

  .five-needs__pills::-webkit-scrollbar {
    height: 6px;
  }

  .five-needs__pills::-webkit-scrollbar-track {
    background: transparent;
  }

  .five-needs__pills::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
  }

  .need-pill {
    font-size: 0.9375rem;
  }

  .need-pill__title {
    font-size: 0.9375rem;
  }

  .need-pill__tagline {
    font-size: 0.875rem;
  }
}

/* ==========================================================================
   Disclaimer Box
   ========================================================================== */

.disclaimer {
  background: rgba(77, 168, 168, 0.1);
  border: 2px solid rgba(77, 168, 168, 0.3);
  border-left: 4px solid var(--color-primary);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  margin: var(--spacing-section-mobile) 0;
  position: relative;
}

.disclaimer__icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: block;
}

.disclaimer__title {
  font-family: var(--font-ui);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 1.25rem;
}

.disclaimer__text {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

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

/* ==========================================================================
   CTA Section - App Store Coming Soon
   ========================================================================== */

.cta {
  background: linear-gradient(135deg, #4DA8A8 0%, #3a8787 100%);
  color: #000000;
  text-align: center;
  padding: 6rem clamp(1rem, 5vw, 3rem);
}

.cta__container {
  max-width: 700px;
  margin: 0 auto;
}

.cta__headline {
  color: #000000;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta__text {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 3rem;
  color: #000000;
}

.cta__app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid rgba(0, 0, 0, 0.3);
  font-family: var(--font-ui);
  padding: 1rem 2rem;
  border-radius: 12px;
  transition: all 0.3s var(--ease-smooth);
  cursor: default;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta__app-store-badge:hover {
  border-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.cta__apple-logo {
  flex-shrink: 0;
}

.cta__badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  text-align: left;
}

.cta__badge-download {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.9;
}

.cta__badge-store {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

@media (max-width: 767px) {
  .cta__app-store-badge {
    padding: 0.875rem 1.5rem;
  }

  .cta__apple-logo {
    width: 32px;
    height: 32px;
  }

  .cta__badge-store {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background-color: var(--color-bg-surface);
  padding: 4rem clamp(1rem, 5vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__content {
  max-width: var(--max-content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.footer__tagline {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  font-style: italic;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.75rem;
}

.footer__links a {
  color: var(--color-text-secondary);
  font-size: 1rem;
  font-family: var(--font-ui);
  transition: color 0.3s var(--ease-smooth);
}

.footer__links a:hover {
  color: var(--color-primary);
}

.footer__info {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
}

.footer__info p {
  margin-bottom: 0.5rem;
}

.footer__info a {
  color: var(--color-text-secondary);
}

.footer__info a:hover {
  color: var(--color-primary);
}

@media (max-width: 767px) {
  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ==========================================================================
   Legal Pages (Terms & Privacy)
   ========================================================================== */

.legal-page {
  background-color: #000000;
  padding: calc(var(--spacing-section-mobile) + 4rem) clamp(1rem, 5vw, 3rem) var(--spacing-section-mobile);
  min-height: 100vh;
}

.legal-page__header {
  text-align: center;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.legal-page__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.legal-page__subtitle {
  color: var(--color-text-secondary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.legal-page__company {
  color: var(--color-primary);
  font-weight: 600;
  font-family: var(--font-ui);
}

.legal-page__back {
  display: inline-block;
  margin-bottom: 3rem;
  color: var(--color-primary);
  font-size: 0.9375rem;
  font-family: var(--font-ui);
  font-weight: 500;
  transition: all 0.3s var(--ease-smooth);
}

.legal-page__back:hover {
  transform: translateX(-4px);
}

.legal-page__back::before {
  content: '← ';
}

.legal-content {
  max-width: var(--max-text-width);
  margin: 0 auto;
}

.legal-content h2 {
  font-family: var(--font-ui);
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  color: var(--color-text-primary);
}

.legal-content h3 {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

.legal-content p {
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  line-height: 1.8;
}

.legal-content li {
  margin-bottom: 0.75rem;
}

.legal-content strong {
  color: var(--color-text-primary);
  font-weight: 600;
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--color-text-primary);
}

.legal-highlight {
  background: rgba(77, 168, 168, 0.1);
  border: 2px solid rgba(77, 168, 168, 0.3);
  border-left: 4px solid var(--color-primary);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 8px;
}

.legal-highlight p {
  margin-bottom: 0;
}

.legal-warning {
  background: rgba(255, 107, 107, 0.1);
  border: 2px solid rgba(255, 107, 107, 0.3);
  border-left: 4px solid var(--color-destructive);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 8px;
}

.legal-warning p {
  color: var(--color-text-primary);
}

.contact-info {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 2rem;
  margin: 2.5rem 0;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.contact-info p {
  margin-bottom: 0.5rem;
}

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

/* ==========================================================================
   DISTINCTIVE JOURNAL ELEMENTS
   ========================================================================== */

/* Custom cursor removed - using native cursor for better performance */

/* 2. Handwritten Annotations */
.annotation {
  position: absolute;
  font-family: var(--font-handwritten);
  color: var(--color-primary);
  pointer-events: none;
  z-index: 10;
  animation: fadeInAnnotation 1s ease 2s both;
}

@keyframes fadeInAnnotation {
  from {
    opacity: 0;
    transform: translateY(-10px) rotate(-2deg);
  }
  to {
    opacity: 0.9;
    transform: translateY(0) rotate(-3deg);
  }
}

.annotation__text {
  font-size: 1.5rem;
  font-weight: 600;
  display: block;
  text-shadow: 0 0 20px rgba(77, 168, 168, 0.3);
}

.annotation__arrow {
  display: block;
  color: var(--color-primary);
  opacity: 0.8;
}

.annotation__underline {
  display: block;
  margin-top: -8px;
  color: var(--color-primary);
  opacity: 0.7;
}

/* Specific annotation positions */
.annotation--hero-screenshot {
  position: absolute;
  bottom: -40px;
  left: -20px;
  transform: rotate(2deg);
}

.annotation--explainer {
  position: absolute;
  top: -40px;
  right: 50px;
}

.annotation--needs {
  position: absolute;
  top: -35px;
  right: 20px;
}

@media (max-width: 767px) {
  .annotation--hero-screenshot,
  .annotation--explainer,
  .annotation--needs {
    display: none;
  }
}

/* 3. Polaroid Frame for Screenshots */
.polaroid-frame {
  background: #f8f8f8;
  padding: 20px 20px 60px 20px;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.15),
    0 10px 40px rgba(0, 0, 0, 0.2);
  transform: rotate(-2deg);
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
  display: inline-block;
  position: relative;
  max-width: 440px;
}

.polaroid-frame:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.2),
    0 15px 60px rgba(0, 0, 0, 0.3);
}

.polaroid-frame .showcase__phone {
  border-radius: 0;
  transform: none;
  box-shadow: none;
  width: 100%;
  display: block;
}

.polaroid-caption {
  font-family: var(--font-handwritten);
  font-size: 1.5rem;
  color: #333;
  text-align: center;
  margin-top: 15px;
  font-weight: 500;
}

.showcase__phone-container {
  position: relative;
  display: inline-block;
}

.showcase__caption {
  margin-top: 3rem;
}

/* 4. Journal Page Numbers */
.page-number {
  position: absolute;
  top: 20px;
  right: 30px;
  font-family: var(--font-handwritten);
  font-size: 1.5rem;
  color: var(--color-text-secondary);
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
  font-weight: 600;
  text-shadow: 0 0 20px rgba(168, 168, 168, 0.3);
}

@media (max-width: 767px) {
  .page-number {
    top: 15px;
    right: 15px;
    font-size: 1rem;
  }
}

/* 5. Coffee Stain */
.coffee-stain {
  position: absolute;
  top: 100px;
  right: 80px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 67, 33, 0.08) 0%, rgba(101, 67, 33, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: fadeInStain 1s ease 1.5s both;
  transform: rotate(25deg);
}

.coffee-stain::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 15%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 67, 33, 0.05) 0%, transparent 60%);
}

.coffee-stain::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 67, 33, 0.06) 0%, transparent 70%);
}

@keyframes fadeInStain {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .coffee-stain {
    top: 60px;
    right: 20px;
    width: 80px;
    height: 80px;
  }
}

/* 6. Watermark */
.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-family: var(--font-display);
  font-size: 6rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
  user-select: none;
}

@media (max-width: 767px) {
  .watermark {
    font-size: 3rem;
  }
}
