:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-elevated: #10100d;
  --text: #fffaf0;
  --muted: rgba(255, 250, 240, 0.68);
  --soft: rgba(255, 250, 240, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(12, 12, 10, 0.58);
  --glass-strong: rgba(15, 15, 13, 0.78);
  --gold: #d4af37;
  --gold-dark: #8c6b15;
  --amber: #ffbf47;
  --orange: #ff8a3d;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1180px;
  --nav-height: 74px;
  font-family: "Manrope", Arial, sans-serif;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #fff8ed;
  --bg-elevated: #fffdf7;
  --text: #11100c;
  --muted: rgba(17, 16, 12, 0.66);
  --soft: rgba(17, 16, 12, 0.08);
  --line: rgba(17, 16, 12, 0.14);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --shadow: 0 24px 80px rgba(100, 70, 12, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-gutter: stable;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.12), transparent 34%),
    linear-gradient(215deg, rgba(255, 138, 61, 0.08), transparent 42%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  transition:
    background-color 450ms ease,
    color 450ms ease;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

body.loaded .preloader {
  pointer-events: none;
  opacity: 0;
  transform: translateY(-12px) scale(1.02);
}

body.lightbox-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

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

img {
  height: auto;
}

input,
textarea,
select {
  font-size: 16px;
}

main,
section,
article,
div,
nav,
header,
footer {
  min-width: 0;
}

::selection {
  background: rgba(212, 175, 55, 0.35);
  color: var(--text);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: 20px;
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.18), transparent 48%),
    #050505;
  transition:
    opacity 600ms ease,
    transform 600ms ease,
    visibility 600ms ease;
}

.loader-mark {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 50%;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    0 0 42px rgba(212, 175, 55, 0.24),
    inset 0 0 28px rgba(212, 175, 55, 0.12);
  animation: loaderFloat 1.7s ease-in-out infinite;
}

.loader-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.loader-track {
  width: 184px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.loader-track span {
  display: block;
  width: 44%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--gold), var(--orange));
  animation: loaderTrack 1.1s ease-in-out infinite;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--orange));
}

.particle-field {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  z-index: 95;
  pointer-events: none;
  translate: -50% -50%;
  opacity: 0;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.cursor-ring {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: 50%;
  transition:
    width 180ms ease,
    height 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.cursor-ring.is-hovering {
  width: 68px;
  height: 68px;
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(255, 138, 61, 0.8);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 70;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(var(--max), calc(100% - 32px));
  min-height: var(--nav-height);
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(145%);
  transform: translateX(-50%);
  transition:
    border-color 300ms ease,
    background 300ms ease,
    box-shadow 300ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(212, 175, 55, 0.22);
  background: var(--glass-strong);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 900;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #fff7c0, var(--gold) 46%, #6d4e05),
    #d4af37;
  color: #050505;
  font-size: 0.86rem;
  letter-spacing: 0;
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.28);
}

.brand-text {
  font-size: 0.98rem;
  letter-spacing: 0;
}

.site-header .brand {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.28em;
}

.site-header .brand-symbol {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  box-shadow: none;
}

.site-header .brand-text {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
}

.site-footer .brand {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.28em;
}

.site-footer .brand-symbol {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: none;
}

.site-footer .brand-text {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: var(--soft);
  outline: 0;
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle,
.nav-toggle,
.back-to-top,
.floating-action {
  border: 0;
  cursor: pointer;
}

.theme-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 70px;
  height: 42px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--text);
}

.theme-toggle::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  transition: transform 260ms ease;
}

[data-theme="light"] .theme-toggle::before {
  transform: translateX(28px);
}

.theme-toggle svg {
  position: relative;
  z-index: 1;
  width: 17px;
  height: 17px;
  margin: auto;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #080704;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(212, 175, 55, 0.22);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition:
    transform 200ms ease,
    opacity 200ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.section-shell {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 116px 0;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: 36px;
  min-height: 100svh;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 158px 0 58px;
}

.hero-three {
  position: absolute;
  inset: 0 0 auto auto;
  z-index: -1;
  width: min(720px, 62vw);
  height: min(720px, 70vh);
  min-height: 460px;
  opacity: 0.98;
}

.hero-content {
  min-width: 0;
  max-width: 890px;
}

.section-kicker {
  max-width: 100%;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  max-width: 100%;
  margin: 0;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 870px;
  font-size: 7.2rem;
  line-height: 0.96;
  font-weight: 900;
}

h2 {
  max-width: 850px;
  font-size: 4.9rem;
  line-height: 0.96;
  font-weight: 900;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.22;
  font-weight: 850;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-subtitle {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin-top: 34px;
}

.button,
.play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  transition:
    transform 190ms ease,
    box-shadow 190ms ease,
    border-color 190ms ease,
    background 190ms ease;
}

.button svg,
.play-button svg {
  width: 18px;
  height: 18px;
}

.button-primary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #fff1a4, var(--gold) 45%, var(--orange));
  color: #090704;
  box-shadow: 0 20px 48px rgba(212, 175, 55, 0.28);
}

.button-glass,
.button-ghost {
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--text);
  backdrop-filter: blur(18px);
}

.button-ghost {
  background: transparent;
}

.button:hover,
.button:focus-visible,
.play-button:hover,
.play-button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(212, 175, 55, 0.22);
  outline: 0;
}

.hero-console {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px) saturate(160%);
}

.hero-console div {
  min-height: 88px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.12), transparent),
    rgba(255, 255, 255, 0.04);
}

.hero-console span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-console strong {
  font-size: 1.02rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 14px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 76px;
}

.proof-item,
.feature-card,
.stat-card,
.timeline-item,
.app-card,
.contact-form,
.testimonial-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)),
    var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(150%);
}

.proof-item {
  min-height: 118px;
  height: 100%;
  padding: 24px;
  border-radius: var(--radius);
}

.proof-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.proof-item span {
  color: var(--muted);
  line-height: 1.55;
}

.phone-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 0.72fr);
  gap: 54px;
  align-items: center;
}

.section-copy p:not(.section-kicker),
.about-content p,
.founder-copy p,
.contact-section p {
  max-width: 690px;
  font-size: 1.03rem;
}

.phone-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.18), transparent 44%),
    linear-gradient(45deg, rgba(255, 138, 61, 0.1), transparent 54%),
    var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  padding: 26px 26px 104px;
}

.phone-media {
  position: relative;
  width: 100%;
  height: 520px;
}

.phone-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
  transition: opacity 550ms ease;
}

.phone-media img.is-active {
  opacity: 1;
}

.phone-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--glass-strong);
  backdrop-filter: blur(20px);
}

.phone-caption span {
  color: var(--muted);
  font-weight: 700;
}

.phone-caption strong {
  color: var(--gold);
}

.section-divider {
  width: 100%;
  height: 120px;
  margin: -20px 0 -8px;
  color: rgba(212, 175, 55, 0.08);
  fill: currentColor;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.7fr);
  gap: 58px;
  align-items: start;
}

.about-content {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.about-content p:first-child {
  margin-top: 0;
}

.specialty-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.specialty-grid span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
}

.founder-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.55fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}

.founder-portrait {
  display: grid;
  place-items: center;
  min-height: 460px;
}

.portrait-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: min(360px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(from 180deg, var(--gold), var(--orange), transparent, var(--gold)),
    rgba(255, 255, 255, 0.05);
  box-shadow:
    0 0 72px rgba(212, 175, 55, 0.26),
    var(--shadow);
}

.portrait-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--bg);
}

.portrait-ring img {
  position: relative;
  z-index: 1;
  width: calc(100% - 34px);
  height: calc(100% - 34px);
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.founder-role {
  margin: 14px 0 20px;
  color: var(--gold);
  font-weight: 900;
}

.founder-signature {
  display: inline-grid;
  gap: 8px;
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--glass);
}

.founder-signature span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 42px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.app-card {
  position: relative;
  display: grid;
  gap: 22px;
  overflow: hidden;
  min-height: 620px;
  padding: 24px;
  border-radius: 8px;
  transform-style: preserve-3d;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--tone), transparent 78%), transparent 36%),
    linear-gradient(315deg, color-mix(in srgb, var(--tone), transparent 88%), transparent 42%);
  opacity: 0.76;
  transition: transform 320ms ease;
}

.app-card:hover::before {
  transform: translateY(-10px);
}

.app-card-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
}

.app-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--tone), #ffffff 18%), color-mix(in srgb, var(--tone), #000000 36%)),
    var(--tone);
  color: #080704;
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: 0 18px 40px color-mix(in srgb, var(--tone), transparent 78%);
}

.icon-kirtan {
  font-size: 1.75rem;
}

.icon-bhajan {
  font-size: 2rem;
}

.rating {
  margin: 8px 0 0;
  color: var(--gold);
  font-weight: 800;
}

.rating span {
  color: var(--text);
}

.mini-phone {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
}

.screen-track {
  display: flex;
  width: 300%;
  height: 100%;
  animation: screenSlide 8s infinite;
}

.mini-screen {
  flex: 0 0 100%;
  display: grid;
  place-items: end start;
  gap: 6px;
  min-width: 100%;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.36), transparent 16%),
    linear-gradient(135deg, #4a2b04, #d4af37 46%, #ff8a3d);
  color: #fffaf0;
}

.mini-screen strong {
  align-self: end;
  font-size: 1.45rem;
  line-height: 1.05;
}

.mini-screen span {
  align-self: start;
  color: rgba(255, 250, 240, 0.78);
  font-weight: 800;
}

.mini-screen.reading {
  background: linear-gradient(135deg, #17130b, #d4af37);
}

.mini-screen.audio {
  background: linear-gradient(135deg, #260f00, #ff9f43);
}

.mini-screen.stream {
  background: linear-gradient(135deg, #161106, #f4c75d);
}

.mini-screen.utility {
  background: linear-gradient(135deg, #062523, #58d5c9);
}

.mini-screen.game {
  background: linear-gradient(135deg, #250604, #ff7043);
}

.mini-screen.driving {
  background: linear-gradient(135deg, #161616, #d4af37);
}

.mini-screen.alt {
  filter: hue-rotate(24deg) brightness(1.06);
}

.mini-screen.third {
  filter: hue-rotate(-28deg) saturate(1.18);
}

.feature-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.play-button {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: start;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(255, 138, 61, 0.12));
  color: var(--text);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 238px;
  padding: 24px;
  border-radius: 8px;
}

.feature-card svg {
  width: 30px;
  height: 30px;
  margin-bottom: 34px;
  color: var(--gold);
}

.feature-card p {
  margin: 12px 0 0;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  min-height: 250px;
  padding: 24px;
  border-radius: 8px;
}

.timeline-item span {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--gold);
  font-weight: 900;
}

.timeline-item p {
  margin: 12px 0 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  display: grid;
  place-items: center;
  min-height: 176px;
  padding: 22px;
  border-radius: 8px;
  text-align: center;
}

.stat-card strong {
  font-size: 3.35rem;
  line-height: 1;
  color: var(--gold);
}

.stat-card span {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  perspective: 1200px;
}

.gallery-card {
  min-height: 430px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  border-color: rgba(212, 175, 55, 0.46);
  box-shadow: 0 32px 90px rgba(212, 175, 55, 0.18);
  transform: translateY(-8px) rotateX(3deg);
  outline: 0;
}

.gallery-shot {
  display: grid;
  align-content: end;
  width: 100%;
  height: 100%;
  padding: 24px;
  color: #fffaf0;
  background: linear-gradient(135deg, #4a2b04, #d4af37, #ff8a3d);
  transition: transform 450ms ease;
}

.gallery-card:hover .gallery-shot {
  transform: scale(1.08);
}

.gallery-shot strong {
  font-size: 1.55rem;
  line-height: 1.08;
}

.gallery-shot em {
  margin-top: 10px;
  color: rgba(255, 250, 240, 0.78);
  font-style: normal;
  font-weight: 800;
}

.gallery-shot.utility {
  background: linear-gradient(135deg, #062523, #58d5c9);
}

.gallery-shot.game {
  background: linear-gradient(135deg, #250604, #ff7043);
}

.gallery-shot.driving {
  background: linear-gradient(135deg, #161616, #d4af37);
}

.testimonial-slider {
  position: relative;
  min-height: 310px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 26px;
  padding: clamp(28px, 6vw, 62px);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.testimonial-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.testimonial-card p {
  max-width: 860px;
  margin: 0;
  color: var(--text);
  font-size: 2.25rem;
  line-height: 1.22;
  font-weight: 850;
}

.testimonial-card strong {
  color: var(--gold);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(350px, 0.62fr);
  gap: 58px;
  align-items: start;
}

.email-link {
  display: inline-flex;
  max-width: 100%;
  margin-top: 10px;
  color: var(--gold);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  outline: 0;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form textarea {
  background: rgba(255, 255, 255, 0.76);
}

.contact-form input {
  min-height: 52px;
  padding: 0 16px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
  padding: 15px 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(212, 175, 55, 0.74);
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.12);
  background: rgba(255, 255, 255, 0.1);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--gold);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(160px, 0.6fr));
  gap: 38px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 38px;
  border-top: 1px solid var(--line);
}

.footer-brand p {
  max-width: 380px;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 11px;
}

.site-footer h3 {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--muted);
  font-weight: 700;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
  outline: 0;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.back-to-top,
.floating-action {
  position: fixed;
  right: calc(22px + env(safe-area-inset-right, 0px));
  z-index: 64;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--glass-strong);
  color: var(--text);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    border-color 220ms ease;
}

.floating-action {
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #080704;
}

.back-to-top {
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top svg,
.floating-action svg {
  width: 20px;
  height: 20px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding:
    calc(24px + env(safe-area-inset-top, 0px))
    calc(24px + env(safe-area-inset-right, 0px))
    calc(24px + env(safe-area-inset-bottom, 0px))
    calc(24px + env(safe-area-inset-left, 0px));
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(20px);
  transition: opacity 240ms ease;
}

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

.lightbox > button {
  position: absolute;
  top: calc(22px + env(safe-area-inset-top, 0px));
  right: calc(22px + env(safe-area-inset-right, 0px));
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fffaf0;
  cursor: pointer;
}

.lightbox-content {
  width: min(680px, 92vw);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(12, 12, 10, 0.82);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.56);
}

.lightbox-content [data-lightbox-shot] {
  height: min(68vh, 560px);
}

.lightbox-content .gallery-shot {
  min-height: 100%;
}

.lightbox-content h3 {
  padding: 22px 24px 26px;
  color: #fffaf0;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

.tilt-card {
  will-change: transform;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.tilt-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 28px 90px rgba(212, 175, 55, 0.16);
}

@keyframes loaderFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes loaderTrack {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(240%);
  }
}

@keyframes pulseLight {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes founderFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes borderSpin {
  to {
    rotate: 360deg;
  }
}

@keyframes screenSlide {
  0%,
  26% {
    transform: translateX(0);
  }
  34%,
  60% {
    transform: translateX(-100%);
  }
  68%,
  94% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 1100px) {
  h1 {
    font-size: 5.8rem;
  }

  h2 {
    font-size: 4rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-section,
  .phone-section,
  .about-section,
  .founder-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-three {
    width: 100%;
    height: 58vh;
    min-height: 420px;
    opacity: 0.48;
  }

  .hero-console {
    max-width: 560px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --nav-height: 56px;
  }

  .site-header {
    top: calc(12px + env(safe-area-inset-top, 0px));
    width: calc(100% - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
    max-width: calc(100% - 24px);
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 0;
    padding: 8px 10px 8px 14px;
  }

  .brand-text {
    display: none;
  }

  .site-header .brand-text {
    display: block;
  }

  .site-header .brand-symbol,
  .site-header .brand-text {
    font-size: 1.15rem;
  }

  .nav-toggle {
    display: flex;
    justify-self: end;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .site-nav,
  .header-actions {
    grid-column: 1 / -1;
    display: flex;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      max-height 260ms ease,
      opacity 200ms ease,
      transform 220ms ease,
      margin 260ms ease;
  }

  .site-nav {
    flex-direction: column;
    gap: 4px;
  }

  .header-actions {
    gap: 10px;
  }

  .site-header.nav-expanded .site-nav {
    max-height: 320px;
    margin-top: 10px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header.nav-expanded .header-actions {
    max-height: 72px;
    margin-top: 8px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header.nav-expanded {
    padding-bottom: 14px;
  }

  .site-nav a {
    justify-content: space-between;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 1rem;
    border: 1px solid transparent;
  }

  .site-nav a:hover {
    border-color: var(--line);
    background: var(--soft);
  }

  .theme-toggle,
  .header-cta {
    min-height: 48px;
  }

  .header-cta {
    flex: 1;
  }

  .hero-section,
  .section-shell,
  .proof-strip,
  .site-footer {
    width: min(var(--max), calc(100% - 24px));
  }

  .hero-section {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-three {
    right: 50%;
    width: min(100%, 620px);
    height: min(520px, 58svh);
    min-height: 380px;
    transform: translateX(50%);
  }

  h1 {
    font-size: clamp(3.1rem, 10.5vw, 4.15rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(2.45rem, 8.2vw, 3.2rem);
    line-height: 1;
  }

  .stat-card strong {
    font-size: 2.85rem;
  }

  .testimonial-card p {
    font-size: 1.65rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .button {
    width: 100%;
  }

  .play-button {
    width: 100%;
  }

  .proof-strip,
  .app-grid,
  .timeline,
  .feature-grid,
  .stats-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    padding: 22px 22px 94px;
  }

  .phone-media {
    height: min(460px, 58vh);
  }

  .app-card {
    min-height: auto;
    padding: 18px;
    border-radius: 8px;
  }

  .app-card-top {
    grid-template-columns: 62px 1fr;
  }

  .app-icon {
    width: 62px;
    height: 62px;
    border-radius: 8px;
  }

  .mini-phone {
    height: 230px;
  }

  .timeline::before {
    display: none;
  }

  .gallery-card {
    min-height: 320px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  body {
    min-width: 0;
  }

  .site-header {
    width: calc(100% - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
    padding: 8px;
  }

  .brand-symbol {
    width: 46px;
    height: 46px;
  }

  .site-header .brand-symbol,
  .site-header .brand-text {
    font-size: 1rem;
  }

  h1 {
    font-size: clamp(2.72rem, 13.2vw, 3.15rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(2.08rem, 10.4vw, 2.45rem);
  }

  .section-kicker {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  .section-shell {
    padding: 86px 0;
  }

  .hero-section {
    gap: 22px;
    width: min(var(--max), calc(100% - 24px));
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .hero-three {
    height: min(360px, 54svh);
    min-height: 300px;
  }

  .hero-subtitle {
    margin-top: 22px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .button,
  .play-button {
    min-height: 52px;
    padding-inline: 14px;
  }

  .proof-item,
  .feature-card,
  .timeline-item,
  .stat-card,
  .gallery-shot {
    padding: 20px;
  }

  .app-card-top {
    grid-template-columns: 56px 1fr;
    gap: 12px;
  }

  .app-icon {
    width: 56px;
    height: 56px;
    font-size: 1.1rem;
  }

  .rating {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .mini-phone {
    height: 210px;
  }

  .mini-screen {
    padding: 20px;
  }

  .mini-screen strong {
    font-size: 1.22rem;
  }

  .phone-caption {
    align-items: start;
    flex-direction: column;
  }

  .founder-portrait {
    min-height: 330px;
  }

  .contact-form,
  .about-content {
    padding: 18px;
    border-radius: 8px;
  }

  .back-to-top,
  .floating-action {
    right: calc(14px + env(safe-area-inset-right, 0px));
  }

  .lightbox {
    padding:
      calc(84px + env(safe-area-inset-top, 0px))
      calc(12px + env(safe-area-inset-right, 0px))
      calc(18px + env(safe-area-inset-bottom, 0px))
      calc(12px + env(safe-area-inset-left, 0px));
  }

  .lightbox-content {
    width: 100%;
  }

  .lightbox-content [data-lightbox-shot] {
    height: min(58vh, 460px);
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: clamp(2.36rem, 12.4vw, 2.75rem);
  }

  h2 {
    font-size: clamp(1.92rem, 10vw, 2.15rem);
  }

  .brand-symbol {
    width: 44px;
    height: 44px;
    font-size: 0.78rem;
  }

  .nav-toggle {
    min-width: 46px;
    min-height: 46px;
  }

  .site-header {
    width: calc(100% - 18px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  }

  .hero-section,
  .section-shell,
  .proof-strip,
  .site-footer {
    width: min(var(--max), calc(100% - 18px));
  }
}

@media (max-width: 820px) and (orientation: landscape) and (max-height: 520px) {
  .site-nav {
    top: calc(76px + env(safe-area-inset-top, 0px));
    max-height: calc(100svh - 88px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  }

  .hero-section {
    padding-top: 112px;
  }

  .hero-three {
    height: 76svh;
    min-height: 260px;
  }

  .phone-stage {
    padding: 18px 18px 88px;
  }

  .phone-media {
    height: min(420px, 56vh);
  }
}

@media (min-width: 521px) and (max-width: 820px) {
  .proof-strip,
  .feature-grid,
  .stats-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-strip {
    align-items: stretch;
  }

  .app-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form {
    max-width: 640px;
  }
}

@media (pointer: coarse), (max-width: 900px) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
