:root {
  --bg: #040404;
  --bg-soft: #100606;
  --ember: #ff4a1c;
  --ember-bright: #ffb347;
  --text: #f5f1ef;
  --muted: #c8b8b0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 70% 25%, #3f0707 0, rgba(14, 0, 0, 0.6) 28%, #020202 65%),
    linear-gradient(150deg, #070707, #020202 60%, #120505);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

#embers-canvas,
.fire-haze,
.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#embers-canvas {
  z-index: 0;
}

.fire-haze {
  z-index: 1;
  opacity: 0.35;
  background: radial-gradient(circle at 15% 80%, rgba(255, 68, 20, 0.22), transparent 38%),
    radial-gradient(circle at 78% 12%, rgba(255, 18, 0, 0.24), transparent 45%),
    radial-gradient(circle at 55% 55%, rgba(255, 122, 40, 0.12), transparent 60%);
  mix-blend-mode: screen;
  animation: shimmer 8s ease-in-out infinite alternate;
}

.cursor-glow {
  z-index: 2;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  opacity: 0.22;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(255, 110, 45, 0.7), rgba(255, 50, 20, 0.15) 40%, transparent 72%);
  filter: blur(14px);
  transition: transform 120ms linear, opacity 180ms ease;
}

@keyframes shimmer {
  from {
    transform: scale(1) translateY(0);
    filter: blur(2px);
  }
  to {
    transform: scale(1.08) translateY(-1.8%);
    filter: blur(5px);
  }
}

.site-header,
.ticker,
main {
  position: relative;
  z-index: 3;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 5vw;
  border-bottom: 1px solid rgba(255, 72, 30, 0.25);
  backdrop-filter: blur(6px);
  background: rgba(8, 3, 3, 0.42);
}

.brand-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-label {
  font-family: Teko, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, #fff4df 0, #ffca73 48%, #ff6a1f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 14px rgba(255, 91, 21, 0.45), 0 0 30px rgba(255, 25, 0, 0.22);
}

.brand-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

nav {
  display: flex;
  gap: 1.2rem;
}

nav a {
  color: #f7dad0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

nav a:hover {
  color: var(--ember-bright);
}

.ticker {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255, 95, 48, 0.2);
  border-bottom: 1px solid rgba(255, 95, 48, 0.2);
  background: rgba(35, 6, 6, 0.6);
}

.ticker-track {
  display: inline-flex;
  gap: 1.2rem;
  padding: 0.55rem 0;
  min-width: 100%;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: #ffbf9b;
  animation: ticker 22s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

main {
  padding: 3.2rem 5vw 5rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1rem, 4vw, 4rem);
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  color: #ff7a5a;
}

h1 {
  margin: 0;
  font-size: clamp(2.3rem, 6.2vw, 5rem);
  line-height: 1;
  max-width: 13ch;
}

.heat-text {
  display: inline-block;
  color: #ffd5a0;
  text-shadow: 0 0 16px rgba(255, 102, 30, 0.45);
  animation: flicker 2.5s ease-in-out infinite;
}

@keyframes flicker {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
  35% {
    opacity: 0.84;
    transform: translateY(-1px);
  }
  50% {
    opacity: 0.96;
    transform: translateY(1px);
  }
}

.hero-copy p {
  color: var(--muted);
  max-width: 48ch;
}

.cta-row {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

button {
  border: none;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(130deg, #ff4717, #ff8b2b);
  color: #250303;
  box-shadow: 0 0 24px rgba(255, 92, 24, 0.36);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 92, 24, 0.45);
}

button.ghost {
  background: transparent;
  color: #ffd2c0;
  border: 1px solid rgba(255, 125, 90, 0.5);
  box-shadow: none;
}

.stats-row {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.stats-row div {
  border: 1px solid rgba(255, 115, 82, 0.35);
  background: rgba(42, 8, 8, 0.55);
  border-radius: 0.8rem;
  padding: 0.6rem 0.8rem;
  min-width: 120px;
}

.stats-row strong {
  display: block;
  color: #ffd7b5;
  font-size: 1.05rem;
}

.stats-row span {
  color: #c9aea2;
  font-size: 0.82rem;
}

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flame-orb {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(6px);
  mix-blend-mode: screen;
}

.orb-a {
  right: 12%;
  top: 6%;
  background: radial-gradient(circle, rgba(255, 152, 82, 0.65), rgba(255, 40, 0, 0.1) 60%, transparent);
  animation: orbFloatA 7s ease-in-out infinite;
}

.orb-b {
  left: 8%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(255, 92, 35, 0.55), rgba(255, 30, 0, 0.08) 64%, transparent);
  animation: orbFloatB 9s ease-in-out infinite;
}

@keyframes orbFloatA {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-16px) scale(1.08);
  }
}

@keyframes orbFloatB {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(18px) scale(0.94);
  }
}

.phone-shell {
  width: min(320px, 76vw);
  aspect-ratio: 9 / 18.5;
  border-radius: 2.4rem;
  padding: 0.7rem;
  background: linear-gradient(170deg, #2a2a2d, #0f0f12);
  border: 1px solid #3f3f47;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 34px rgba(255, 72, 32, 0.2);
  position: relative;
  animation: phoneBob 4.4s ease-in-out infinite;
}

@keyframes phoneBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.phone-notch {
  width: 42%;
  height: 1.2rem;
  border-radius: 0 0 1rem 1rem;
  background: #0b0b0d;
  margin: 0 auto;
}

.phone-screen {
  margin-top: 0.25rem;
  border-radius: 1.8rem;
  height: calc(100% - 1.55rem);
  position: relative;
  overflow: hidden;
  border: 1px dashed rgba(255, 132, 87, 0.48);
  background: linear-gradient(180deg, #120303, #050505 66%);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
}

.screen-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 20%, rgba(255, 80, 20, 0.34), transparent 40%);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.08);
  }
}

.phone-screen p {
  color: #f5d7c7;
  z-index: 1;
  font-weight: 600;
}

.feature-grid {
  margin-top: clamp(2rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid article {
  padding: 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 93, 56, 0.28);
  background: linear-gradient(180deg, rgba(45, 8, 8, 0.6), rgba(10, 4, 4, 0.65));
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 146, 106, 0.6);
}

.feature-grid h3 {
  margin-top: 0;
  color: #ffd3aa;
}

.feature-grid p {
  color: #d2beb5;
}

@media (max-width: 900px) {
  .hero,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  nav {
    display: none;
  }

  .cursor-glow {
    display: none;
  }
}
