/* ============================================
   Philips OneBlade — Futuristic Landing
   Mobile-first (9:16)
============================================ */

:root {
  --black: #050505;
  --graphite: #10100e;
  --graphite-2: #15140f;
  --graphite-3: #1a1812;
  --lime: #a6d600;
  --lime-2: #9ed300;
  --lime-3: #b4e600;
  --amber: #ff7a00;
  --amber-2: #d95f00;
  --amber-3: #ff9a1f;
  --white: #ffffff;
  --white-soft: #f4f4f4;
  --gray-1: #b8b8b8;
  --gray-2: #8e8e8e;
  --gray-3: #6f6f6f;

  --pad-x: 24px;
  --radius-card: 24px;
  --radius-pill: 999px;
}

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

html,
body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

.lime {
  color: var(--lime);
}

/* ============================================ */
.page {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100dvh;
  overflow: hidden;
  padding-bottom: 32px;
}

/* ============================================
   HERO — flex-column
============================================ */
.hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: #050505;
  padding-bottom: 24px;
  min-height: 700px;
  overflow: hidden;
}

/* Vídeo de fundo da hero — deslocado pra direita via transform */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center -5%;
  transform: translateX(10%);
  z-index: 0;
  pointer-events: none;
}

/* Gradiente sobre a hero — escurece esquerda (copy) + funde base com o fundo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.65) 38%, rgba(5, 5, 5, 0.05) 62%, rgba(5, 5, 5, 0) 75%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.45) 0%, transparent 22%, transparent 55%, rgba(5, 5, 5, 0.85) 90%, #050505 100%);
  pointer-events: none;
  z-index: 1;
}

/* Fade-out sutil na base — só pra costurar com a Stats Bar */
.hero-floor-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.6) 70%, #050505 100%);
}

/* ============================================
   HEADER
============================================ */
.header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px var(--pad-x) 0;
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-logo {
  width: auto;
  height: 64px;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.7));
}

.brand-fallback {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-fallback .brand-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.brand-fallback .brand-product {
  margin-top: 4px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--white);
}

.menu-btn {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
}

.menu-btn span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.menu-btn span:last-child {
  width: 18px;
}

/* ============================================
   HERO CONTENT — copy no topo, CTA com gap pro stats
============================================ */
.hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  padding: 28px var(--pad-x) 0;
  gap: 36px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  max-width: 78%;
}

.mini-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--lime);
  text-transform: uppercase;
}

.headline {
  margin-top: 22px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(58px, 17vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.05em;
  color: var(--white);
  display: flex;
  flex-direction: column;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.65);
}

.headline span {
  display: block;
}

.subheadline {
  margin-top: 28px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}

.body {
  margin-top: 16px;
  max-width: 300px;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--gray-1);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

/* CTA — empurrado pra base do hero-content */
.cta-group {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-width: 220px;
}

.btn-primary {
  background: var(--lime);
  color: var(--black);
  box-shadow: 0 0 32px rgba(166, 214, 0, 0.28);
}

.btn-primary:hover {
  background: var(--lime-3);
  transform: translateY(-1px);
  box-shadow: 0 0 48px rgba(166, 214, 0, 0.5);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: rgba(5, 5, 5, 0.4);
  color: var(--white);
  border: 1px solid var(--lime);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(166, 214, 0, 0.1);
}

/* ============================================
   STATS BAR — Liquid Glass (3 camadas + SVG distortion)
   Inspirado no sistema GlassEffect/GlassButton
============================================ */
.stats-bar {
  position: relative;
  z-index: 6;
  margin: 20px var(--pad-x) 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 122, 0, 0.16),
    0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 700ms cubic-bezier(0.175, 0.885, 0.32, 2.2),
    box-shadow 700ms cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.stats-bar:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 10px 14px rgba(0, 0, 0, 0.4),
    0 0 48px rgba(255, 122, 0, 0.22),
    0 0 1px rgba(255, 255, 255, 0.1);
}

/* Camadas de vidro líquido */
.glass-layer {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

/* Camada 1 — distortion (turbulence SVG) */
.glass-distortion {
  z-index: 0;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  filter: url(#glass-distortion);
  overflow: hidden;
}

/* Camada 2 — tint translúcido (dark mode da paleta) */
.glass-tint {
  z-index: 1;
  background: rgba(10, 10, 10, 0.55);
}

/* Camada 3 — inset shine (borda de vidro) */
.glass-shine {
  z-index: 2;
  box-shadow:
    inset 2px 2px 1px 0 rgba(255, 255, 255, 0.18),
    inset -1px -1px 1px 1px rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(166, 214, 0, 0.06);
}

/* Conteúdo da Stats Bar */
.stats-content {
  position: relative;
  z-index: 3;
  padding: 26px 22px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
  gap: 14px;
}

.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gray-2);
  text-transform: uppercase;
}

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: var(--lime);
  line-height: 1;
}

.stat-value .num {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.stat-value .unit {
  font-size: 14px;
  font-weight: 500;
}

.stat-desc {
  font-size: 11px;
  line-height: 1.35;
  color: var(--gray-1);
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(166, 214, 0, 0.45) 50%,
      transparent 100%);
  justify-self: center;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (min-width: 480px) {
  .page {
    border-radius: 0;
  }
}

@media (max-width: 360px) {
  .hero-copy {
    max-width: 82%;
  }

  .body {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
  }
}