/* ── Reset & Base ── */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 300;
  color: #1a1a1a;
  background: #F5F3EE;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

/* ── Navigation ── */

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 36px;
}

.nav-links-left,
.nav-links-right {
  flex: 1;
  justify-content: space-evenly;
}

.nav-logo {
  font-family: 'Courgette', cursive;
  font-weight: 600;
  font-size: 1.6rem;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.03em;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #fff;
}

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: #F5F3EE;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero.loaded {
  opacity: 1;
}

.hero-video {
  position: absolute;
  top: -5%;
  right: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  object-position: center center;
}

.hero-tint {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.hero-gradient {
  position: absolute;
  bottom: -30vh;
  left: 0;
  right: 0;
  height: 80%;
  z-index: 1;
  background:
    radial-gradient(ellipse 55% 65% at 95% 40%, rgba(150, 60, 220, 0.5), transparent 65%),
    radial-gradient(ellipse 55% 50% at 60% 50%, rgba(255, 165, 80, 0.4), transparent 55%),
    radial-gradient(ellipse 85% 75% at 10% 40%, rgba(90, 210, 175, 0.5), transparent 60%),
    radial-gradient(ellipse 65% 55% at 40% 45%, rgba(110, 210, 190, 0.35), transparent 50%),
    radial-gradient(ellipse 120% 45% at 50% 55%, #8dd8be, transparent 70%),
    radial-gradient(ellipse 200% 80% at 50% 100%, #F5F3EE 30%, #8dd8be 50%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 36px 12vh;
  margin-top: -60px;
}

.wordmark {
  font-weight: 400;
  font-size: clamp(2.6rem, 7.5vw, 5.25rem);
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.wordmark em {
  font-family: 'Courgette', cursive;
  font-style: normal;
}

.hero-tagline {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  padding: 42vh 10vw 0;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.6;
  letter-spacing: 0.04em;
  gap: 0.3em;
}

/* ── Showcase Section ── */

.showcase {
  position: relative;
  z-index: 2;
  padding: 60px 24px 140px;
}

.showcase .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.showcase-screens {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
  min-height: 480px;
}

.showcase-screen {
  display: block;
  width: 48%;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

.showcase-screen-back {
  position: relative;
  z-index: 1;
  transform: translateX(20px) rotate(-2deg);
}

.showcase-screen-front {
  position: relative;
  z-index: 2;
  transform: translateX(-20px) rotate(2deg);
  margin-top: 30px;
}

.showcase-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.showcase-text .section-heading {
  font-size: clamp(3.2rem, 8vw, 4.8rem);
}

.showcase-text .lead {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.lead {
  font-size: 1.3rem;
  color: #8e8e76;
  line-height: 1.8;
  margin-bottom: 16px;
}

.body-text {
  font-size: 1.05rem;
  color: #666;
  line-height: 2;
  max-width: 600px;
  margin-bottom: 24px;
}

.showcase .app-store-btn {
  margin-top: 12px;
}

/* ── Lifestyle Image Break ── */

.lifestyle-break {
  padding: 0;
}

.lifestyle-placeholder {
  width: 100%;
  height: 400px;
  background: #e8e6e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.9rem;
  font-style: italic;
}

.lifestyle-break img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* ── Landing Page Sections ── */

.section {
  padding: 100px 24px 120px;
}

.section-alt {
  background: #edeae4;
}

.section-heading {
  font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.section-intro {
  font-size: 1.05rem;
  color: #666;
  line-height: 2;
  max-width: 600px;
  margin-bottom: 48px;
}

/* Two Column Layout */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.two-col h3 {
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.two-col p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.9;
}

/* Features Grid */

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 60px;
  margin-top: 8px;
}

.feature h3 {
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.feature p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.9;
}

/* Privacy Points */

.privacy-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
  margin-bottom: 40px;
}

.privacy-point h3 {
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.privacy-point p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.9;
}

/* Text Link */

.text-link {
  font-size: 0.95rem;
  color: #8e8e76;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}

.text-link:hover {
  color: #bf7d41;
}

/* Social Proof */

.social-proof {
  background: #edeae4;
}

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

.testimonial {
  border: none;
  margin: 0;
  padding: 0;
}

.testimonial p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial cite {
  font-size: 0.85rem;
  color: #999;
  font-style: normal;
}

/* CTA Section */

.cta-section {
  padding: 100px 24px 160px;
  text-align: center;
}

.cta-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.cta-tagline {
  font-weight: 400;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: #999;
  letter-spacing: -0.01em;
}

.cta-tagline em {
  font-family: 'Courgette', cursive;
  font-style: normal;
}

/* ── App Store Button ── */

.app-store-btn {
  display: inline-block;
  transition: opacity 0.3s;
}

.app-store-btn:hover {
  opacity: 0.6;
}

/* ── Footer ── */

.footer {
  background: #F5F3EE;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0 24px;
}

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

.footer-columns {
  display: flex;
  justify-content: flex-end;
  gap: 64px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 4px;
  text-transform: none;
  letter-spacing: 0;
}

.footer-col a {
  font-size: 0.75rem;
  color: #6e6e73;
  transition: color 0.3s;
  line-height: 1.5;
}

.footer-col a:hover {
  color: #1d1d1f;
}

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

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-wordmark {
  font-family: 'Courgette', cursive;
  font-size: 0.9rem;
  color: #1d1d1f;
  transition: color 0.3s;
}

.footer-wordmark:hover {
  color: #6e6e73;
}

.footer-bottom p {
  font-size: 0.7rem;
  color: #6e6e73;
}

.footer-bottom-links {
  display: flex;
  gap: 0;
}

.footer-bottom-links a {
  font-size: 0.7rem;
  color: #6e6e73;
  transition: color 0.3s;
  padding: 0 12px;
  border-right: 1px solid #d2d2d7;
  line-height: 1;
}

.footer-bottom-links a:last-child {
  border-right: none;
  padding-right: 0;
}

.footer-bottom-links a:hover {
  color: #1d1d1f;
}

/* ── Subpages (about, privacy, terms, support) ── */

.page-nav .nav-logo {
  color: #1a1a1a;
}

.page-nav .nav-links a {
  color: rgba(26, 26, 26, 0.4);
}

.page-nav .nav-links a:hover {
  color: #8e8e76;
}

.page-header {
  padding: 160px 24px 80px;
  text-align: center;
}

.page-header h1 {
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.01em;
}

.page-body {
  padding: 0 24px 140px;
}

.page-body .container {
  max-width: 1080px;
}

.page-body h2 {
  font-weight: 600;
  font-size: 1.4rem;
  margin-top: 56px;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.page-body h3 {
  font-weight: 500;
  font-size: 1.05rem;
  margin-top: 32px;
  margin-bottom: 10px;
  color: #333;
}

.page-body p,
.page-body ul {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.9;
  margin-bottom: 18px;
}

.page-body ul {
  padding-left: 20px;
}

.page-body li {
  margin-bottom: 10px;
}

.page-body a {
  color: #8e8e76;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}

.page-body a:hover {
  color: #bf7d41;
}

/* ── Support Page ── */

.support-email {
  display: inline-block;
  margin-top: 12px;
  font-size: 1.1rem;
  font-weight: 400;
  color: #8e8e76;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s;
}

.support-email:hover {
  color: #bf7d41;
}

/* ── Rotating Word ── */

.brand-text {
  font-family: 'Courgette', cursive;
}

.tagline-bottom {
  align-self: flex-end;
  text-align: right;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.rotating-word {
  display: inline-block;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.rotating-word.fade-out {
  opacity: 0;
  transform: translateY(-8px);
}

.rotating-word.fade-in {
  opacity: 0;
  transform: translateY(8px);
}

/* ── Mobile Nav Toggle ── */

.mobile-menu {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.page-nav .nav-toggle span {
  background: #1a1a1a;
}

/* ── Responsive ── */

/* Tablet */
@media (max-width: 900px) {
  .container {
    padding: 0 32px;
  }

  .showcase-screens {
    max-width: 440px;
    min-height: 380px;
  }

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

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

  .features {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .privacy-points {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }

  .nav {
    padding: 20px 20px;
    justify-content: space-between;
  }

  .nav-links,
  .nav-links-left,
  .nav-links-right {
    display: none;
    flex-direction: column;
    flex: none;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    gap: 16px;
    z-index: 20;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.03em;
  }

  .page-nav .mobile-menu {
    background: #F5F3EE;
  }

  .page-nav .mobile-menu a {
    color: #1a1a1a;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: -webkit-fill-available;
    min-height: 100svh;
  }

  .hero-video {
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-position: 45% 55%;
    clip-path: inset(5px 0 0 0);
  }

  .hero-gradient {
    bottom: -30vh;
    height: 80%;
    background:
      radial-gradient(ellipse 80% 65% at 80% 40%, rgba(150, 60, 220, 0.4), transparent 65%),
      radial-gradient(ellipse 70% 50% at 50% 50%, rgba(255, 165, 80, 0.35), transparent 55%),
      radial-gradient(ellipse 90% 75% at 20% 40%, rgba(90, 210, 175, 0.45), transparent 60%),
      radial-gradient(ellipse 80% 55% at 40% 45%, rgba(110, 210, 190, 0.3), transparent 50%),
      radial-gradient(ellipse 150% 50% at 50% 55%, #8dd8be, transparent 70%),
      radial-gradient(ellipse 200% 80% at 50% 100%, #F5F3EE 30%, #8dd8be 50%, transparent 70%);
  }

  .hero-content {
    padding: 0 20px 10vh;
  }

  .hero-tagline {
    justify-content: center;
    padding: 0 7vw;
    gap: 3vh;
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

  .showcase {
    padding: 40px 20px 80px;
  }

  .showcase .container {
    flex-direction: column;
  }

  .showcase-screens {
    max-width: 320px;
    min-height: 300px;
  }

  .showcase-screen {
    width: 52%;
  }

  .showcase-text {
    text-align: left;
  }

  .lifestyle-placeholder,
  .lifestyle-break img {
    height: 260px;
  }

  .section {
    padding: 60px 20px 80px;
  }

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

  .cta-section {
    padding: 60px 20px 120px;
  }

  .page-header {
    padding: 120px 20px 48px;
  }

  .page-header h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .page-body {
    padding: 0 20px 100px;
  }

  .footer {
    padding: 0 20px;
  }

  .footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
    padding: 32px 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
  }

  .footer-bottom-links a:first-child {
    padding-left: 0;
  }
}
