/* ─────────────────────────────────────────────
   McBurrows Nua — Brand Tokens
───────────────────────────────────────────── */
:root {
  --orange:      #EF7722;
  --orange-lt:   #FAA533;
  --blue:        #0BA6DF;
  --accent:      #EBEBEB;
  --accent-warm: #FFF0E5;
  --ink:         #111118;
  --ink-2:       #3D3A52;
  --ink-3:       #72708A;
  --ink-4:       #A8A6BC;
  --border:      rgba(239, 119, 34, 0.12);
  --border-2:    rgba(0, 0, 0, 0.06);
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 20px rgba(239, 119, 34, 0.14), 0 2px 6px rgba(0,0,0,0.05);
  --radius-sm:   8px;
  --radius:      16px;
  --radius-lg:   24px;
  --font:        "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --max-w:       1040px;
  --nav-h:       60px;
}

/* ─────────────────────────────────────────────
   Reset
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: #ffffff;
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ─────────────────────────────────────────────
   Layout helpers
───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-heading {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--ink-3);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.text-orange { color: var(--orange); }
.text-blue   { color: var(--blue); }

.section-chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--accent-warm);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 20px;
}

/* ─────────────────────────────────────────────
   Buttons
───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.btn--primary:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.24);
  transform: translateY(-1px);
}

.btn--disabled {
  background: #E5E5E5;
  color: #ABABAB;
  cursor: not-allowed;
  box-shadow: none;
}
.btn--disabled:active { transform: none; }

.btn--ghost {
  background: transparent;
  color: var(--ink-2);
  border: 1.5px solid var(--border-2);
}
.btn--ghost:hover {
  background: #f5f5f7;
  border-color: rgba(0,0,0,0.1);
}

.btn--coffee {
  background: #FFDD00;
  color: #111118;
  font-size: 1rem;
  font-weight: 700;
  padding: 15px 32px;
  box-shadow: 0 4px 16px rgba(255, 221, 0, 0.4);
}
.btn--coffee:hover {
  box-shadow: 0 6px 24px rgba(255, 221, 0, 0.55);
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────────
   Nav
───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-2);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 1px 16px rgba(0,0,0,0.08); }

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__links a {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-3);
  transition: background 0.15s, color 0.15s;
}
.nav__links a:hover {
  background: #f5f5f7;
  color: var(--ink);
}
.nav__links a.active {
  background: var(--orange);
  color: #fff;
  font-weight: 600;
}

@media (max-width: 560px) {
  .nav__links a { padding: 5px 10px; font-size: 0.82rem; }
}

/* ─────────────────────────────────────────────
   Hero
───────────────────────────────────────────── */
.hero {
  padding: calc(var(--nav-h) + 72px) 0 88px;
  text-align: center;
}

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

.hero__app-icon {
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.5s ease 0.05s forwards;
}
.hero__app-icon img {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(239, 119, 34, 0.22), 0 2px 8px rgba(0,0,0,0.1);
}

.hero__badge {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.5s ease 0.15s forwards;
}

.hero__heading {
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.5s ease 0.2s forwards;
}

.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--ink-3);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.5s ease 0.3s forwards;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.5s ease 0.38s forwards;
}

.hero__byline {
  font-size: 0.82rem;
  color: var(--ink-4);
  opacity: 0;
  animation: fadeUp 0.5s ease 0.45s forwards;
}
.hero__byline a {
  color: var(--orange);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
.hero__byline a:hover { border-color: var(--orange); }

/* ─────────────────────────────────────────────
   Screenshots
───────────────────────────────────────────── */
.screenshots {
  padding: 0 0 72px;
  overflow: hidden;
}

.screenshots__phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8px;
}

.phone {
  flex: 0 0 auto;
  width: min(230px, 44vw);
  border-radius: 48px;
  overflow: hidden;
  border: 1.5px solid rgba(0, 0, 0, 0.07);
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.10),
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.03);
  position: relative;
}

.phone img {
  width: 100%;
  height: auto;
  display: block;
}

.phone--left  { z-index: 2; margin-right: -28px; animation: jiggle-l 2.4s ease-in-out infinite; }
.phone--mid   { z-index: 3; margin-top: 52px;    animation: jiggle-m 2.8s ease-in-out infinite 0.3s; }
.phone--right { z-index: 2; margin-left: -28px;  animation: jiggle-r 2.6s ease-in-out infinite 0.15s; }

@keyframes jiggle-l {
  0%, 100% { transform: rotate(-2deg); }
  50%       { transform: rotate(-0.5deg); }
}
@keyframes jiggle-m {
  0%, 100% { transform: rotate(0.5deg) translateY(0); }
  50%       { transform: rotate(-0.5deg) translateY(-4px); }
}
@keyframes jiggle-r {
  0%, 100% { transform: rotate(2deg); }
  50%       { transform: rotate(0.5deg); }
}

@media (max-width: 560px) {
  .phone { width: min(120px, 30vw); border-radius: 28px; }
  .phone--left  { margin-right: -18px; }
  .phone--mid   { margin-top: 36px; }
  .phone--right { margin-left: -18px; }
}

/* ─────────────────────────────────────────────
   Features
───────────────────────────────────────────── */
.features {
  padding: 24px 0 80px;
  border-top: 1px solid var(--border-2);
}

.features .section-heading,
.text-center {
  text-align: center;
  margin: 0 auto 36px;
}

.features-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 680px;
  margin: 0 auto;
}

.fpill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
  border: 1.5px solid var(--border-2);
  border-radius: 100px;
  padding: 8px 16px;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-sm);
}

.fpill--accent {
  background: var(--orange);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(239, 119, 34, 0.32);
}

/* ─────────────────────────────────────────────
   About
───────────────────────────────────────────── */
.about {
  padding: 96px 0;
  background: #FAFAFA;
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 760px) {
  .about__inner { grid-template-columns: 1fr 280px; gap: 80px; }
}

.about__content .section-heading { margin-bottom: 24px; }

.about__content p {
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.8;
  margin-bottom: 18px;
}

.about__quote {
  font-size: 1rem;
  font-weight: 600;
  color: var(--orange);
  background: var(--accent-warm);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin-top: 8px;
  font-style: normal;
}

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

.about__icon-large img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 4px 20px rgba(239, 119, 34, 0.2);
}

.about__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  background: var(--accent-warm);
  border-radius: 100px;
  padding: 5px 12px;
}

/* ─────────────────────────────────────────────
   Support
───────────────────────────────────────────── */
.support {
  padding: 96px 0;
  text-align: center;
}
.support__inner { max-width: 520px; }

.support__coffee {
  font-size: 3rem;
  margin-bottom: 24px;
  line-height: 1;
}
.support .section-heading { text-align: center; }
.support .section-sub {
  text-align: center;
  margin: 0 auto 36px;
}
.support__note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--ink-4);
}

/* ─────────────────────────────────────────────
   Footer
───────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: 48px 0 36px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.footer__links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.07);
}

.footer__legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
}

/* ─────────────────────────────────────────────
   Animations
───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────
   Reduced motion
───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
