:root {
  --bg: #0C0C10;
  --card: #131318;
  --card-2: #191922;
  --card-hover: #1F1F2B;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #F4F4F6;
  --muted: #A1A1AB;
  --faint: #686876;
  
  /* Brand Colors from HabitFine App Icon */
  --blue: #1A9BF8;
  --blue-s: #38BDF8;
  --blue-light: #BAE6FD;
  --blue-glow: rgba(26, 155, 248, 0.35);
  --blue-soft: rgba(26, 155, 248, 0.12);
  --charcoal: #1C1C1C;
  --warm-white: #F1E6DC;
  
  --emerald: #10B981;
  --emerald-s: #34D399;
  --amber: #F59E0B;
  --amber-s: #FBBF24;
  --rose: #EF4444;
  
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --maxw: 1120px;
  --gut: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue-s);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Bilingual switcher */
:root[data-lang="hi"] .en,
:root:not([data-lang="hi"]) .hi {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.bar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(12, 12, 16, 0.78);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}

.bar.is-down {
  border-bottom-color: var(--line);
  background: rgba(12, 12, 16, 0.92);
}

.bar__in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 0 14px var(--blue-glow);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}

.nav a {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.bar__end {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11.5px;
  background: rgba(19, 19, 24, 0.6);
}

.lang span {
  padding: 5px 9px;
  color: var(--faint);
  transition: color 0.2s, background 0.2s;
  user-select: none;
}

:root:not([data-lang="hi"]) .lang [data-l="en"],
:root[data-lang="hi"] .lang [data-l="hi"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

.bar-get-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 0 14px var(--blue-glow);
  transition: transform 0.2s, background 0.2s;
}

.bar-get-btn:hover {
  background: #38BDF8;
  transform: translateY(-1px);
}

/* ==========================================================================
   Typography & Common Elements
   ========================================================================== */
.sec {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 88px var(--gut) 0;
  position: relative;
}

.sec--wide {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 38em;
  margin-top: -12px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid var(--line-2);
  background: rgba(25, 25, 34, 0.75);
  color: var(--ink);
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  background: rgba(33, 33, 44, 0.9);
}

.btn--go {
  background: var(--ink);
  color: #0A0A0E;
  border-color: var(--ink);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.15);
}

.btn--go:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  box-shadow: 0 4px 30px rgba(255, 255, 255, 0.3);
}

.btn--blue {
  background: var(--blue);
  color: #FFFFFF;
  border-color: var(--blue);
  box-shadow: 0 0 24px var(--blue-glow);
}

.btn--blue:hover {
  background: #38BDF8;
  border-color: #38BDF8;
  box-shadow: 0 4px 32px rgba(26, 155, 248, 0.5);
}

/* Coming Soon Pill */
.badge-ios {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--muted);
  user-select: none;
}

.badge-ios .dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
  animation: pulse 1.8s infinite alternate;
}

@keyframes pulse {
  from { opacity: 0.5; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1.15); }
}

/* ==========================================================================
   Ambient Spotlight & Grid Veil
   ========================================================================== */
.glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1400px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.veil, .spot {
  position: absolute;
  top: -140px;
  left: 0;
  width: 140%;
  height: 160%;
  pointer-events: none;
  opacity: 0;
  animation: spotlight 2.2s ease 0.2s 1 forwards;
}

.veil {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 68%);
}

@keyframes spotlight {
  from { opacity: 0; transform: translate(-70%, -55%) scale(0.6); }
  to { opacity: 1; transform: translate(-50%, -35%) scale(1); }
}

main {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px var(--gut) 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: center;
}

.ver-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ver {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 6px;
  border: 1px solid var(--line-2);
  border-radius: 99px;
  background: rgba(19, 19, 24, 0.7);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  transition: border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
}

.ver:hover {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.ver b {
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(135deg, #1A9BF8, #0284C7);
  padding: 3px 9px;
  border-radius: 99px;
  box-shadow: 0 0 10px var(--blue-glow);
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(38px, 5.2vw, 62px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--blue-s);
  background: linear-gradient(135deg, #38BDF8 0%, #BAE6FD 60%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  margin-top: 22px;
  max-width: 28em;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--muted);
}

.cta {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.stats {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.stats span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.stats svg {
  color: var(--blue-s);
}

.stats b {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--ink);
}

.rise {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) forwards;
}

.hero__copy .rise:nth-child(2) { animation-delay: 0.1s; }
.hero__copy .rise:nth-child(3) { animation-delay: 0.2s; }
.hero__copy .rise:nth-child(4) { animation-delay: 0.3s; }
.hero__copy .rise:nth-child(5) { animation-delay: 0.4s; }
.hero__art.rise { animation-delay: 0.35s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Hero Visual & Interactive Heatmap Background
   ========================================================================== */
.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-height: 620px;
}

.heat {
  position: absolute;
  inset: -8% -14%;
  display: grid;
  grid-template-columns: repeat(28, 1fr);
  gap: 7px;
  align-content: center;
  mask-image: radial-gradient(70% 62% at 50% 50%, #000 45%, transparent 92%);
  -webkit-mask-image: radial-gradient(70% 62% at 50% 50%, #000 45%, transparent 92%);
  opacity: 0.55;
  pointer-events: none;
}

.heat i {
  aspect-ratio: 1;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 1.2s, box-shadow 1.2s;
}

.ph {
  position: relative;
  z-index: 2;
  height: auto;
  border-radius: 46px;
  filter: drop-shadow(0 32px 50px rgba(0, 0, 0, 0.65));
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}

.ph:hover {
  transform: translateY(-8px) scale(1.02);
  filter: drop-shadow(0 38px 60px var(--blue-glow));
}

.ph--main {
  width: min(290px, 45%);
  z-index: 3;
}

.ph--side {
  width: min(230px, 35%);
  transform: translateY(42px);
  opacity: 0.92;
}

.ph--side:hover {
  opacity: 1;
  transform: translateY(32px) scale(1.02);
}

/* ==========================================================================
   Feature Grid ("What it does")
   ========================================================================== */
.feats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.feats li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s var(--ease), background-color 0.25s;
  position: relative;
  overflow: hidden;
}

.feats li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feats li:hover {
  border-color: var(--line-2);
  background: var(--card-hover);
  transform: translateY(-3px);
}

.feats li:hover::before {
  opacity: 1;
}

.feat__num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-s);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feats b {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.feats p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================================
   Interactive Soundscapes Studio
   ========================================================================== */
.sounds-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.sound-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
  position: relative;
}

.sound-card:hover {
  border-color: var(--line-2);
  background: var(--card-hover);
  transform: translateY(-2px);
}

.sound-card.is-playing {
  border-color: var(--blue);
  box-shadow: 0 0 24px var(--blue-glow);
}

.sound-icon {
  font-size: 32px;
}

.sound-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.sound-desc {
  font-size: 12.5px;
  color: var(--muted);
  min-height: 36px;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-2);
  color: var(--ink);
  transition: background 0.2s, transform 0.2s, color 0.2s;
}

.play-btn:hover {
  background: var(--blue);
  color: #fff;
  transform: scale(1.08);
}

.sound-card.is-playing .play-btn {
  background: var(--blue);
  color: #fff;
}

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}

.wave i {
  width: 3px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  transition: background 0.2s, height 0.2s;
}

.sound-card.is-playing .wave i {
  background: var(--blue-s);
  animation: wavePulse 1s ease-in-out infinite alternate;
}

.sound-card.is-playing .wave i:nth-child(1) { animation-delay: 0.1s; }
.sound-card.is-playing .wave i:nth-child(2) { animation-delay: 0.3s; }
.sound-card.is-playing .wave i:nth-child(3) { animation-delay: 0.5s; }
.sound-card.is-playing .wave i:nth-child(4) { animation-delay: 0.2s; }
.sound-card.is-playing .wave i:nth-child(5) { animation-delay: 0.4s; }

@keyframes wavePulse {
  from { height: 4px; }
  to { height: 16px; }
}

/* ==========================================================================
   Horizontal Screenshot Shelf / Carousel
   ========================================================================== */
.shelf-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.shelf-hint {
  font-size: 14px;
  color: var(--muted);
  font-family: var(--mono);
}

.shelf-wrap {
  position: relative;
  width: 100%;
}

.nudge {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(19, 19, 24, 0.85);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(8px);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  cursor: pointer;
}

.nudge:hover:not(:disabled) {
  background: var(--card-hover);
  border-color: rgba(255, 255, 255, 0.3);
}

.nudge:disabled {
  opacity: 0.25;
  cursor: default;
}

.nudge--prev { left: 24px; }
.nudge--next { right: 24px; }

.shelf {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px calc((100vw - min(var(--maxw), 100vw)) / 2 + var(--gut));
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shelf::-webkit-scrollbar {
  display: none;
}

.shot {
  flex: 0 0 280px;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s;
}

.shot .zoom {
  width: 100%;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  background: #0E0E14;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  cursor: zoom-in;
}

.shot .zoom:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow: 0 26px 48px var(--blue-glow);
}

.shot figcaption {
  margin-top: 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.shot figcaption p {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}

/* ==========================================================================
   Android Widgets Showcase
   ========================================================================== */
.widgets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.widget-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}

.widget-card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}

.widget-img-wrap {
  background: #0A0A0E;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.widget-img-wrap img {
  border-radius: 14px;
  max-height: 220px;
  object-fit: contain;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.widget-meta {
  padding: 20px;
}

.widget-meta b {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}

.widget-meta p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ==========================================================================
   Pricing & Plans Section (Free vs HabitFine Plus)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 24px;
  align-items: stretch;
}

.plan-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}

.plan-card--featured {
  background: linear-gradient(180deg, #151824 0%, #10121A 100%);
  border: 1.5px solid var(--blue);
  box-shadow: 0 0 40px rgba(26, 155, 248, 0.15), 0 20px 40px rgba(0, 0, 0, 0.4);
}

.plan-card--featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-s), var(--blue-light));
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 20px;
}

.plan-badge--free {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  border: 1px solid var(--line);
}

.plan-badge--plus {
  background: rgba(26, 155, 248, 0.15);
  color: var(--blue-s);
  border: 1px solid rgba(26, 155, 248, 0.35);
}

.plan-header {
  margin-bottom: 20px;
}

.plan-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  min-height: 48px;
}

.plan-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 20px 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.plan-price {
  font-size: clamp(32px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-family: var(--sans);
}

.plan-period {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.45;
}

.plan-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-features li.plan-feature--plus svg {
  color: var(--blue-s);
}

.plan-features li.plan-feature--free svg {
  color: var(--emerald-s);
}

.plan-cta {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
}

/* ==========================================================================
   Privacy & Sovereign Section ("No Account. Zero Ads.")
   ========================================================================== */
.quiet {
  background: linear-gradient(180deg, var(--card) 0%, rgba(19, 19, 24, 0.4) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.quiet::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(26, 155, 248, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.quiet h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.quiet-desc {
  font-size: 17px;
  color: var(--muted);
  max-width: 48em;
  line-height: 1.65;
  margin-bottom: 36px;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.matrix-item {
  background: rgba(25, 25, 34, 0.6);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.matrix-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-s);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.matrix-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ==========================================================================
   Download Section
   ========================================================================== */
.dl-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 32px;
  margin-top: 16px;
}

.dl-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dl-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
}

.dl-card:hover {
  border-color: var(--line-2);
  background: var(--card-hover);
  transform: translateY(-2px);
}

.dl-card--highlight {
  border-color: rgba(26, 155, 248, 0.4);
  background: linear-gradient(135deg, rgba(22, 28, 44, 0.9) 0%, rgba(19, 19, 24, 0.9) 100%);
  box-shadow: 0 0 30px rgba(26, 155, 248, 0.15);
}

.dl-card--highlight:hover {
  border-color: var(--blue);
  box-shadow: 0 0 40px rgba(26, 155, 248, 0.3);
}

.dl-card--coming-soon {
  opacity: 0.75;
  border-style: dashed;
}

.dl-card--coming-soon:hover {
  transform: none;
  border-color: var(--line-2);
  background: var(--card);
}

.dl-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-s);
}

.dl-card--highlight .dl-icon {
  background: linear-gradient(135deg, #1A9BF8, #0284C7);
  color: #fff;
  border: 0;
}

.dl-info {
  flex: 1;
}

.dl-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.dl-info p {
  font-size: 14px;
  color: var(--muted);
}

.dl-qr {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-box {
  background: #111116;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  margin-bottom: 16px;
}

.qr-box img {
  width: 170px;
  height: 170px;
  border-radius: 8px;
}

.dl-qr b {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.dl-qr p {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 4px;
}

/* ==========================================================================
   Creator / Share Section
   ========================================================================== */
.support-card {
  background: linear-gradient(180deg, var(--card) 0%, rgba(22, 22, 30, 0.6) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.support-copy {
  max-width: 44em;
}

.support-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(26, 155, 248, 0.12);
  border: 1px solid rgba(26, 155, 248, 0.3);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue-s);
  margin-bottom: 16px;
}

.support-copy h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 12px;
}

.support-copy p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.foot {
  max-width: var(--maxw);
  margin: 100px auto 0;
  padding: 48px var(--gut) 60px;
  border-top: 1px solid var(--line);
}

.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-bottom: 48px;
}

.foot__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.foot__brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.foot__tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 24em;
}

.foot__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.foot__col-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-s);
  margin-bottom: 4px;
  font-family: var(--mono);
}

.foot__col a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s, transform 0.15s;
}

.foot__col a:hover {
  color: var(--ink);
  transform: translateX(2px);
}

.foot__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--faint);
  font-family: var(--mono);
}

.foot__bottom a {
  color: var(--muted);
}

.foot__bottom a:hover {
  color: var(--blue-s);
}

/* ==========================================================================
   Zoom Lightbox Modal
   ========================================================================== */
.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 12, 16, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.lb.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lb__stage {
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb__stage img {
  max-height: 76vh;
  width: auto;
  border-radius: 36px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 40px var(--blue-glow);
  border: 1px solid var(--line-2);
}

.lb__cap {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

.lb__close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-2);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.2s;
  cursor: pointer;
}

.lb__close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.lb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(25, 25, 34, 0.8);
  border: 1px solid var(--line-2);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  cursor: pointer;
}

.lb__nav:hover {
  background: var(--card-hover);
}

.lb__nav--prev { left: 32px; }
.lb__nav--next { right: 32px; }

/* ==========================================================================
   Mobile Navigation Drawer & Menu Toggle Button
   ========================================================================== */
.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  padding: 10px 9px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.mobile-drawer.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 16, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mobile-drawer__content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: #111118;
  border-left: 1px solid var(--line-2);
  padding: 24px 20px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.8);
  overflow-y: auto;
}

.mobile-drawer.is-active .mobile-drawer__content {
  transform: translateX(0);
}

.mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.drawer-close:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 20px 0;
  flex-grow: 1;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 14px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.mobile-nav a:hover,
.mobile-nav a:active {
  background: rgba(26, 155, 248, 0.12);
  color: var(--blue-s);
  transform: translateX(4px);
}

.mobile-drawer__footer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   Comprehensive 100% Mobile-Friendly Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
    padding-top: 36px;
  }
  .ver-group { justify-content: center; }
  .hero h1 { font-size: clamp(34px, 6.5vw, 52px); }
  .lede { margin-left: auto; margin-right: auto; font-size: 16.5px; }
  .cta { justify-content: center; }
  .stats { justify-content: center; gap: 20px; }
  
  .hero__art { min-height: auto; padding: 20px 0 10px; }
  .heat { grid-template-columns: repeat(20, 1fr); gap: 5px; inset: -5% -5%; }
  
  .feats { grid-template-columns: repeat(2, 1fr); }
  .sounds-grid { grid-template-columns: repeat(3, 1fr); }
  .widgets-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .dl-wrap { grid-template-columns: 1fr; }
  .matrix-grid { grid-template-columns: 1fr; }
  .support-card { flex-direction: column; text-align: center; }
  .foot__grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

@media (max-width: 640px) {
  :root {
    --gut: 16px;
  }
  
  .sec {
    padding-top: 60px;
  }
  
  .bar__in {
    padding: 0 16px;
    gap: 10px;
  }
  
  .bar-get-btn {
    display: none;
  }
  
  .hero {
    padding-top: 24px;
    gap: 28px;
  }
  
  .hero h1 {
    font-size: clamp(28px, 8.2vw, 40px);
    line-height: 1.08;
  }
  
  .lede {
    font-size: 15.5px;
    line-height: 1.55;
    margin-top: 16px;
  }
  
  .cta {
    margin-top: 24px;
    gap: 10px;
    flex-direction: column;
    width: 100%;
  }
  
  .cta .btn,
  .cta .badge-ios {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 14.5px;
  }
  
  .stats {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
  }
  
  .hero__art {
    gap: 8px;
  }
  
  .ph--main {
    width: min(220px, 56%);
  }
  
  .ph--side {
    width: min(160px, 42%);
    transform: translateY(22px);
  }
  
  .feats {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .feats li {
    padding: 22px 18px;
  }
  
  .sounds-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .sound-card {
    padding: 16px 12px;
  }
  
  .shelf {
    gap: 16px;
    padding: 16px 16px;
  }
  
  .shot {
    flex: 0 0 min(250px, 76vw);
  }
  
  .widgets-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .plan-card {
    padding: 28px 18px;
    border-radius: 20px;
  }
  
  .quiet {
    padding: 32px 18px;
    border-radius: 20px;
  }
  
  .quiet h2 {
    font-size: 24px;
  }
  
  .matrix-item {
    padding: 18px 16px;
  }
  
  .dl-card {
    padding: 18px 16px;
    gap: 14px;
    border-radius: 16px;
  }
  
  .dl-icon {
    width: 44px;
    height: 44px;
  }
  
  .dl-qr {
    padding: 24px 16px;
  }
  
  .qr-box img {
    width: 150px;
    height: 150px;
  }
  
  .support-card {
    padding: 30px 18px;
    border-radius: 20px;
  }
  
  .support-card h2 {
    font-size: 24px;
  }
  
  .foot {
    margin-top: 60px;
    padding: 36px 16px 48px;
  }
  
  .foot__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .foot__bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .lb__nav {
    display: none;
  }
  
  .lb__stage img {
    max-width: 90vw;
    max-height: 75vh;
    border-radius: 24px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 25px;
  }
  
  .sounds-grid {
    grid-template-columns: 1fr;
  }
  
  .ph--main {
    width: 175px;
  }
  
  .ph--side {
    width: 125px;
  }
}



