/* Laughin' Fly — site styles (index + feature pages) */

:root {
  --bg: #0b0d0c;
  --bg-raised: #151816;
  --bg-card: #1b1f1d;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f3f1ec;
  --text-muted: #a8aba6;
  --accent: #e17212;          /* brand orange */
  --accent-hover: #f0852a;
  --accent-soft: rgba(225, 114, 18, 0.14);
  --green: #3fbf63;           /* matches the in-app season tag */
  --radius: 18px;
  --max: 1160px;
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px 10px 18px;
  background: #fff;
  color: #000;
  border-radius: 14px;
  text-decoration: none;
  line-height: 1.1;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.btn-store:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.btn-store i { font-size: 30px; }
.btn-store small { display: block; font-size: 11px; font-weight: 500; }
.btn-store strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.2s ease, border-color 0.2s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled,
.site-header.menu-open {
  background: rgba(11, 13, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
}
.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 4px;
}

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a.nav-link {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.site-nav a.nav-link:hover,
.site-nav a.nav-link.active { color: var(--text); }
.site-nav .btn { padding: 9px 18px; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
    background: rgba(11, 13, 12, 0.97);
    border-bottom: 1px solid var(--line);
  }
  .site-header.menu-open .site-nav { display: flex; }
  .site-nav a.nav-link { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 18px; justify-content: center; padding: 14px; }
}

/* ---------- Phone frames ---------- */

.phone {
  border-radius: 38px;
  padding: 8px;
  background: #222624;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 70px rgba(0, 0, 0, 0.55);
}
.phone img {
  border-radius: 30px;
  width: 100%;
  aspect-ratio: 603 / 1311;
  object-fit: cover;
  object-position: top;
}

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  padding: 140px 0 40px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11, 13, 12, 0.72) 0%, rgba(11, 13, 12, 0.86) 65%, var(--bg) 100%),
    url("../img/hero-stream-bg.jpg") center / cover no-repeat;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 56px;
}
.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  margin: 18px 0 20px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede {
  font-size: 19px;
  color: #d4d4cf;
  max-width: 34em;
  margin: 0 0 32px;
}
.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-phones {
  position: relative;
  height: 600px;
}
.hero-phones .phone {
  position: absolute;
  width: 260px;
}
.hero-phones .phone:nth-child(1) { left: 6%; top: 40px; transform: rotate(-6deg); }
.hero-phones .phone:nth-child(2) { right: 6%; top: 0; transform: rotate(5deg); z-index: 1; }

@media (max-width: 960px) {
  .hero { padding: 120px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .cta-row { justify-content: center; }
  .hero-phones { height: 440px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hero-phones .phone { width: 190px; }
}

/* ---------- Generic section ---------- */

.section { padding: 110px 0; }
.section-alt { background: var(--bg-raised); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); margin: 12px 0 16px; }
.section-head p { color: var(--text-muted); font-size: 18px; margin: 0; }

@media (max-width: 700px) {
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
}

/* ---------- Feature cards ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(225, 114, 18, 0.5); }
.feature-shot {
  height: 300px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 100%, rgba(225, 114, 18, 0.22), transparent 70%);
  padding: 28px 34px 0;
}
.feature-shot img {
  border-radius: 22px 22px 0 0;
  box-shadow: 0 0 0 6px #222624;
  width: 100%;
}
.feature-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.feature-body h3 { font-size: 22px; margin-bottom: 8px; }
.feature-body p { color: var(--text-muted); font-size: 15px; margin: 0 0 18px; flex: 1; }
.feature-body .more { color: var(--accent); font-weight: 600; font-size: 15px; }

@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Shop section ---------- */

.shop .wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.shop-visual { display: flex; justify-content: center; gap: 20px; }
.shop-visual .phone { width: 250px; }
.shop-visual .phone:nth-child(2) { margin-top: 70px; }

.steps { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 14px; }
.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 22px;
}
.steps h3 { font-size: 19px; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--text-muted); font-size: 15px; }

@media (max-width: 960px) {
  .shop .wrap { grid-template-columns: 1fr; gap: 48px; }
  .shop-visual { order: 2; }
  .shop-visual .phone { width: 44%; max-width: 230px; }
}

/* ---------- Story ---------- */

.story .wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.story h2 { font-size: clamp(32px, 4.4vw, 50px); margin-top: 12px; }
.story-text p { color: #cfcfc9; margin: 0 0 18px; }
.story-text p:last-child { margin-bottom: 0; }
.story-sig { margin-top: 26px; color: var(--text-muted); font-size: 15px; }

@media (max-width: 860px) { .story .wrap { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Download band ---------- */

.download-band { padding: 0 0 110px; }
.download-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 64px 56px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(135deg, #e17212 0%, #b4530a 100%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}
.download-card .brand-badge { width: 96px; height: 96px; border-radius: 24px; padding: 8px; }
.download-card h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 8px; }
.download-card p { margin: 0; color: rgba(255, 255, 255, 0.88); font-size: 18px; }

@media (max-width: 860px) {
  .download-band { padding-bottom: 76px; }
  .download-card { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 48px 24px; }
}

/* ---------- Feature page ---------- */

.page-hero {
  padding: 130px 0 70px;
  background: radial-gradient(ellipse at 70% 0%, rgba(225, 114, 18, 0.16), transparent 60%);
}
.page-hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.crumbs { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; color: var(--text-muted); }
.crumbs a:hover { color: var(--text); }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 66px); margin-bottom: 18px; }
.page-hero .lede { font-size: 19px; color: #d4d4cf; margin: 0 0 22px; }
.page-hero .body { color: var(--text-muted); margin: 0 0 30px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; padding: 0; list-style: none; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  font-size: 14px;
  font-weight: 500;
}
.chips i { color: var(--accent); }

.page-hero .phone { width: 300px; margin: 0 auto; }

@media (max-width: 900px) {
  .page-hero { padding-top: 110px; }
  .page-hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .page-hero .phone { width: 240px; }
}

.shots {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 24px 30px;
  margin: 0 -24px;
  scrollbar-width: thin;
}
.shots .phone { flex: 0 0 250px; scroll-snap-align: center; }
@media (min-width: 900px) { .shots { justify-content: center; } }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 36px;
  font-size: 15px;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-grid h4 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-grid .brand { color: var(--text); margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 26px; font-size: 14px; }

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky download bar ---------- */

.sticky-get {
  display: none;
}
@media (max-width: 700px) {
  .sticky-get {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 10px 12px;
    background: rgba(27, 31, 29, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(140%);
    transition: transform 0.25s ease;
  }
  .sticky-get.show { transform: none; }
  .sticky-get .brand-badge { width: 40px; height: 40px; flex: none; }
  .sticky-get div { flex: 1; line-height: 1.25; font-size: 14px; }
  .sticky-get strong { display: block; font-size: 15px; }
  .sticky-get .btn { padding: 10px 18px; }
  .site-footer { padding-bottom: 110px; }
}

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .feature-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .feature-grid-3 { grid-template-columns: 1fr; } }

/* ---------- Store (Shopify) ---------- */

.nav-ext { font-size: 11px; vertical-align: 1px; }

.store-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}
.store-head .section-head { margin-bottom: 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(225, 114, 18, 0.5); }
.product-img { background: #f4f3f0; aspect-ratio: 4 / 4.4; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img img { transform: scale(1.04); }
.product-body { padding: 20px 22px 22px; }
.product-cat { font-size: 13px; color: var(--text-muted); }
.product-body h3 { font-size: 21px; margin: 4px 0 12px; }
.product-body .more { color: var(--accent); font-weight: 600; font-size: 15px; }

.product-card-all {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(225, 114, 18, 0.22), transparent 65%),
    var(--bg-card);
}
.product-card-all .brand-badge { width: 84px; height: 84px; border-radius: 22px; padding: 8px; margin-bottom: 22px; }
.product-card-all h3 { font-size: 26px; margin-bottom: 8px; }
.product-card-all p { color: var(--text-muted); margin: 0 0 24px; }

.footer-sub { margin-top: 26px !important; }

@media (max-width: 900px) {
  .store-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card-all { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
}
