/* ============================================================
   FallGuard Pro — Ultra-Premium Design System
   "Black & Glass" Aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --orange: #FF6A00;
  --bg-pure: #000000;
  --bg-elevated: #050505;
  --bg-glass: rgba(20, 20, 20, 0.6);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 106, 0, 0.2);
  --text-primary: #FFFFFF;
  --text-secondary: #888888;
  --text-muted: #555555;
  
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --content-max: 1280px;
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-pure);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

/* ---------- Ambient Background ---------- */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.ambient-image {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at center, rgba(0,0,0,0.6) 0%, #000 100%),
    url('assets/feature-graphic.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  mix-blend-mode: screen;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s var(--ease-cinematic);
}

.nav.scrolled {
  padding: 16px 48px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
}

.nav__logo-text {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 2px;
}

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

.nav__links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__cta {
  padding: 10px 24px;
  background: var(--text-primary);
  color: var(--bg-pure);
  font-weight: 700;
  font-size: 13px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-cinematic);
}

.nav__cta:hover {
  transform: scale(1.05);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 48px 80px;
  text-align: center;
}

.hero__content-wrapper {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero__visual-img {
  position: relative;
  z-index: 2;
  perspective: 1000px;
}

.hero__visual-img img {
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(255, 106, 0, 0.2);
  border: 1px solid var(--border-accent);
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform 0.5s var(--ease-cinematic);
}

.hero__visual-img img:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.hero__title {
  font-size: clamp(48px, 6vw, 90px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
  margin-bottom: 32px;
  background: linear-gradient(180deg, #FFF 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 0 48px;
  line-height: 1.6;
}

.play-badge {
  display: inline-block;
  height: 56px;
  transition: transform 0.3s var(--ease-cinematic);
}

.play-badge:hover {
  transform: scale(1.05);
}

.play-badge img {
  height: 100%;
}

/* ---------- Sections ---------- */
.section {
  padding: 120px 48px;
  border-top: 1px solid var(--border-subtle);
}

.section__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.section__heading {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 32px;
  max-width: 800px;
}

.section__description {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 680px;
}

/* ---------- Grid Layouts ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 80px;
}

.bento-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 32px;
  padding: 48px;
  transition: transform 0.5s var(--ease-cinematic), border-color 0.5s ease;
}

.bento-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-8px);
}

.bento-card--large {
  grid-column: span 8;
}

.bento-card--small {
  grid-column: span 4;
}

.bento-card--half {
  grid-column: span 6;
}

.card__icon {
  font-size: 32px;
  margin-bottom: 24px;
}

.card__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.card__text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.card__spec {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
}

/* ---------- Technical Specs ---------- */
.specs-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 64px;
}

.spec-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-item__name {
  font-size: 20px;
  font-weight: 600;
}

.spec-item__value {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-size: 16px;
}

/* ---------- Video Container ---------- */
.video-wrapper {
  margin-top: 80px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #000;
}

.video-wrapper img {
  width: 100%;
  display: block;
}

/* ---------- Legal Document ---------- */
.legal-page {
  padding: 160px 48px 120px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 16px;
}

.legal-date {
  color: var(--text-secondary);
  margin-bottom: 64px;
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.legal-section p, .legal-section li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-section ul {
  padding-left: 24px;
}

.permission-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 16px;
}

.permission-name {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--orange);
  margin-bottom: 8px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 80px 48px 48px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-pure);
}

.footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer__legal a {
  color: var(--text-secondary);
  font-size: 14px;
  margin-left: 32px;
  transition: color 0.3s;
}

.footer__legal a:hover {
  color: var(--text-primary);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bento-card--large, .bento-card--small, .bento-card--half {
    grid-column: span 12;
  }
  
  .spec-item {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 20px;
  }
  
  .nav__links {
    display: none;
  }
  
  .hero {
    padding: 120px 24px 60px;
  }
  
  .hero__title {
    font-size: 48px;
  }
  
  .section {
    padding: 80px 24px;
  }
  
  .bento-card {
    padding: 32px;
  }
  
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
  
  .footer__legal a {
    margin-left: 0;
    margin-right: 24px;
  }
}
