/* Nubecita landing page styles */
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');
@import url('./colors_and_type.css');

html, body { margin: 0; padding: 0; }
body { background: var(--surface); color: var(--fg-1); overflow-x: hidden; }
.page { min-height: 100vh; }

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

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  border: none; cursor: pointer;
  transition: transform var(--dur-medium-2) var(--ease-spring-bouncy),
              background var(--dur-short-4) ease, box-shadow var(--dur-short-4) ease;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(0.96); }
.btn--filled { background: var(--primary); color: var(--on-primary); }
.btn--on-hero { background: #fff; color: var(--sky-30); }
.btn--on-hero:hover { background: var(--sky-95); }

/* ── Nav ───────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--dur-medium-2) var(--ease-standard),
              backdrop-filter var(--dur-medium-2) ease,
              box-shadow var(--dur-medium-2) ease;
}
.nav__inner {
  max-width: 1280px; margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; gap: 32px;
}
.nav--scrolled {
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--outline-variant);
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 22px;
  font-variation-settings: 'SOFT' 50; letter-spacing: -0.01em;
}
.nav__wordmark { transition: color var(--dur-medium-2) ease; }
.nav__links {
  display: flex; gap: 28px; margin-left: auto; margin-right: 24px;
  font-size: 14px; font-weight: 500;
  transition: color var(--dur-medium-2) ease;
}
.nav__links a { transition: opacity 150ms ease; opacity: 0.92; }
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav__cta { display: inline-flex; gap: 8px; align-items: center; }
.nav__theme {
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--outline-variant);
  background: transparent; color: var(--fg-1);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 200ms ease;
}
.nav__theme--hero {
  border-color: rgba(255,255,255,0.3); color: #fff;
}
.nav__theme--hero:hover { background: rgba(255,255,255,0.1); }
.nav__theme:hover { background: var(--state-hover); }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__inner { padding: 12px 20px; }
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; padding: 120px 32px 80px;
  background: linear-gradient(165deg, var(--sky-50) 0%, var(--sky-40) 60%, var(--sky-30) 100%);
  color: #fff;
}
.hero__inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px;
  align-items: center; position: relative; z-index: 2;
}
.hero__copy { padding-top: 24px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 14px; border-radius: 999px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22);
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(56px, 8vw, 104px); line-height: 0.98;
  letter-spacing: -0.025em;
  font-variation-settings: 'SOFT' 50;
  margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 4px;
  color: #fff;
}
.hero__title-italic {
  font-style: italic;
  color: var(--peach-90);
  font-variation-settings: 'SOFT' 80;
}
.hero__sub {
  font-size: 19px; line-height: 28px; color: rgba(255,255,255,0.88);
  max-width: 520px; margin: 0 0 36px;
  text-wrap: pretty;
}
.hero__cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  margin-bottom: 28px;
}
.hero__secondary {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: #fff;
  padding: 12px 16px; border-radius: 999px;
  transition: background 200ms ease;
}
.hero__secondary:hover { background: rgba(255,255,255,0.12); }
.hero__meta {
  display: flex; gap: 12px; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.78);
}
.hero__meta b { color: #fff; }
.hero__meta-dot { opacity: 0.6; }

/* Play badge — uses the official Google Play badge asset.
   Per Google's badge guidelines, do not alter colors, proportions, or wrap
   it in a custom background. The PNG already includes the required clear
   space (>= 1/4 of badge height) around the artwork. */
.play-badge {
  display: inline-block; line-height: 0;
  transition: transform 200ms var(--ease-spring-bouncy);
}
.play-badge:hover { transform: translateY(-2px); }
.play-badge img { display: block; width: auto; height: 80px; }
.play-badge--lg img { height: 100px; }

/* Hero phones */
.hero__phones {
  position: relative; height: 680px;
  display: flex; align-items: center; justify-content: center;
}
.hero__phone {
  position: absolute;
  filter: drop-shadow(0 40px 60px rgba(0, 13, 31, 0.4));
}
.hero__phone--front {
  z-index: 2;
  animation: heroFloat 6s ease-in-out infinite;
}
.hero__phone--back {
  z-index: 1; transform: translate(-150px, 30px);
  animation: heroFloat 6s ease-in-out 1s infinite;
}
@keyframes heroFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* Drifting clouds */
.hero__clouds { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__cloud { position: absolute; }

.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7); font-size: 11px; letter-spacing: 0.2em;
  font-weight: 600; text-transform: uppercase;
}
.scroll-hint__line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__phones { height: 540px; margin-top: 24px; }
  .hero__phone--back { transform: translate(-110px, 30px) scale(0.85); }
}

/* ── Platform strip ────────────────────────────────── */
.strip {
  background: var(--surface-container-low);
  padding: 32px;
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap;
  border-bottom: 1px solid var(--outline-variant);
}
.strip__label {
  font-family: var(--font-body); font-weight: 600;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-3);
}
.strip__items { display: flex; gap: 12px; flex-wrap: wrap; }
.platform-pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--surface-container-high);
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  color: var(--fg-1);
}
.platform-pill--muted { color: var(--fg-3); }
.platform-pill__soon {
  font-size: 10px; padding: 2px 6px; border-radius: 4px;
  background: var(--peach-90); color: var(--peach-10);
  margin-left: 4px; letter-spacing: 0.04em;
}

/* ── Section header ────────────────────────────────── */
.section-header {
  max-width: 720px; margin: 0 auto 64px; text-align: center;
}
.section-header__eyebrow {
  font-family: var(--font-body); font-weight: 600;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 16px;
}
.section-header__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 5vw, 64px); line-height: 1.05;
  letter-spacing: -0.02em; font-variation-settings: 'SOFT' 50;
  margin: 0 0 16px; color: var(--fg-1);
}
.section-header__sub {
  font-size: 18px; line-height: 28px; color: var(--fg-2);
  max-width: 560px; margin: 0 auto;
}

/* ── Features ──────────────────────────────────────── */
.features {
  padding: 120px 32px;
  background: var(--surface);
  max-width: 1400px; margin: 0 auto;
}
.features__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature {
  background: var(--surface-container-low);
  border-radius: var(--shape-2xl);
  overflow: hidden;
  transition: transform var(--dur-medium-2) var(--ease-spring-fast),
              box-shadow var(--dur-medium-2) ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--elev-3); }

.feature__visual {
  height: 360px;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 32px 24px 0;
  position: relative; overflow: hidden;
  background: var(--feature-accent);
}
.feature__visual--feed {
  background: linear-gradient(155deg, var(--sky-60), var(--sky-40));
}
.feature__visual--composer {
  background: linear-gradient(155deg, var(--peach-70), var(--peach-50));
}
.feature__visual--quiet {
  background: linear-gradient(155deg, var(--lilac-50), var(--lilac-40));
}
.feature__phone {
  filter: drop-shadow(0 20px 30px rgba(0, 13, 31, 0.25));
  transform: translateY(40px);
  transition: transform var(--dur-long-2) var(--ease-spring-fast);
}
.feature:hover .feature__phone { transform: translateY(20px); }

.feature__body { padding: 32px; }
.feature__tag {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; margin-bottom: 12px;
}
.feature__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 28px; line-height: 1.15; letter-spacing: -0.015em;
  font-variation-settings: 'SOFT' 50;
  color: var(--fg-1); margin: 0 0 12px;
}
.feature__copy {
  font-size: 15px; line-height: 24px; color: var(--fg-2);
  margin: 0;
}

@media (max-width: 960px) {
  .features__grid { grid-template-columns: 1fr; }
  .features { padding: 80px 20px; }
}

/* ── Adaptive section ──────────────────────────────── */
.adaptive {
  background: linear-gradient(165deg, var(--sky-30) 0%, var(--sky-20) 50%, var(--sky-10) 100%);
  color: #fff;
  padding: 120px 32px;
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px;
  align-items: center;
  max-width: 1400px; margin: 0 auto;
}
.adaptive__copy { max-width: 460px; }
.adaptive__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(48px, 6vw, 80px); line-height: 1; letter-spacing: -0.025em;
  font-variation-settings: 'SOFT' 50;
  margin: 16px 0 24px;
}
.adaptive__title em {
  font-style: italic; color: var(--peach-90);
  font-variation-settings: 'SOFT' 80;
}
.adaptive__sub {
  font-size: 18px; line-height: 28px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}
.adaptive__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 15px;
}
.adaptive__list li {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.92);
}
.adaptive__list .material-symbols-rounded {
  width: 28px; height: 28px; border-radius: 999px;
  background: rgba(255,255,255,0.15);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--peach-90);
}

.adaptive__visual {
  position: relative; min-height: 480px;
  display: flex; align-items: center; justify-content: center;
}
.adaptive__device {
  position: absolute;
}
.adaptive__device--tablet {
  z-index: 1; transform: rotate(-3deg);
}
.adaptive__device--phone {
  z-index: 2; right: 0; transform: translate(40px, 40px) rotate(4deg);
}

@media (max-width: 960px) {
  .adaptive { grid-template-columns: 1fr; padding: 80px 20px; }
  .adaptive__visual { min-height: 540px; }
  .adaptive__device--tablet { transform: scale(0.7) rotate(-3deg); }
  .adaptive__device--phone { transform: scale(0.7) translate(80px, 60px) rotate(4deg); }
}

/* ── Manifesto pull-quote ──────────────────────────── */
.manifesto {
  padding: 140px 32px; text-align: center;
  background: var(--surface);
  position: relative;
}
.manifesto__mark {
  font-size: 48px; color: var(--primary);
  margin-bottom: 24px;
}
.manifesto__quote {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 4.5vw, 64px); line-height: 1.1;
  letter-spacing: -0.02em;
  font-variation-settings: 'SOFT' 80;
  color: var(--fg-1); margin: 0 auto 24px;
  max-width: 980px; font-style: italic;
}
.manifesto__by {
  font-family: var(--font-body); font-size: 13px; color: var(--fg-3);
  letter-spacing: 0.04em;
}

/* ── Download CTA ──────────────────────────────────── */
.cta {
  position: relative; overflow: hidden;
  padding: 120px 32px;
  background: linear-gradient(165deg, var(--sky-50) 0%, var(--sky-30) 100%);
  color: #fff; text-align: center;
}
.cta__inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.cta__icon {
  display: inline-flex; margin-bottom: 32px;
  filter: drop-shadow(0 10px 30px rgba(0, 13, 31, 0.4));
  animation: heroFloat 5s ease-in-out infinite;
}
.cta__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(48px, 7vw, 88px); line-height: 1;
  letter-spacing: -0.025em; font-variation-settings: 'SOFT' 50;
  margin: 0 0 24px;
}
.cta__sub {
  font-size: 19px; line-height: 28px; color: rgba(255,255,255,0.88);
  margin: 0 0 40px; text-wrap: pretty;
}
.cta__buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 24px;
}
.cta__secondary {
  display: inline-flex; align-items: center; gap: 10px;
  height: 64px; padding: 0 28px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  font-weight: 600; font-size: 16px; color: #fff;
  transition: background 200ms ease, transform 200ms var(--ease-spring-bouncy);
}
.cta__secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.cta__small {
  font-size: 13px; color: rgba(255,255,255,0.7);
  font-family: var(--font-mono);
}

/* ── FAQ ───────────────────────────────────────────── */
.faq {
  padding: 120px 32px;
  background: var(--surface);
  max-width: 880px; margin: 0 auto;
}
.faq__header { text-align: center; margin-bottom: 56px; }
.faq__list { display: flex; flex-direction: column; gap: 4px; }
.faq__item {
  background: var(--surface-container-low);
  border-radius: var(--shape-lg);
  padding: 4px 24px;
  cursor: pointer;
  transition: background var(--dur-medium-1) ease;
}
.faq__item:hover { background: var(--surface-container); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0;
  font-family: var(--font-body); font-weight: 600; font-size: 18px;
  color: var(--fg-1);
}
.faq__chev {
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--surface-container-high); color: var(--fg-1);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px !important;
  transition: transform var(--dur-medium-2) var(--ease-spring-fast);
}
.faq__item--open .faq__chev { background: var(--primary); color: var(--on-primary); }
.faq__a-wrap {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-medium-3) var(--ease-emphasized-decel);
}
.faq__item--open .faq__a-wrap { grid-template-rows: 1fr; }
.faq__a {
  overflow: hidden; min-height: 0;
  font-size: 16px; line-height: 26px; color: var(--fg-2);
  padding: 0 0 24px; margin: 0; max-width: 720px;
}

/* ── Footer ────────────────────────────────────────── */
.footer {
  background: var(--surface-container);
  padding: 80px 32px 32px;
  border-top: 1px solid var(--outline-variant);
}
.footer__top {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr; gap: 80px;
  margin-bottom: 64px;
}
.footer__brand {
  display: flex; align-items: center; gap: 12px;
}
.footer__wordmark {
  font-family: var(--font-display); font-weight: 600; font-size: 32px;
  font-variation-settings: 'SOFT' 50; letter-spacing: -0.01em;
  color: var(--fg-1);
}
.footer__cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col-title {
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 4px;
}
.footer__col a {
  font-size: 14px; color: var(--fg-1); font-weight: 500;
  transition: color 150ms ease;
}
.footer__col a:hover { color: var(--primary); }
.footer__bottom {
  max-width: 1280px; margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--outline-variant);
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--fg-3);
}
.footer__handle { font-family: var(--font-mono); }

@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; gap: 8px; }
}
