:root {
  --bg-color: #050505;
  --text-primary: #f5f5f7;
  --text-secondary: #86868b;
  --card-bg: rgba(255, 255, 255, 0.02);
  --card-border: rgba(255, 255, 255, 0.05);
  --accent: #fff;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  font-size: 16px;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  /* Smooth scrolling could interfere with Framer Motion, but let's keep it clean */
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.app {
  width: 100%;
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
  position: relative;
  height: 120vh; /* slightly taller so it scrolls out nicely */
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* background is handled by frame motion background div */
}

.hero-bg {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  z-index: 1;
}

.hero-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 100%;
  pointer-events: none; /* so we can scroll past it over the bg */
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--text-primary);
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
  margin-bottom: 1rem;
}

.hero-content h2 {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--text-secondary);
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* =========================================================================
   DETAILS SECTION
   ========================================================================= */
.details {
  position: relative;
  z-index: 10;
  background: var(--bg-color);
  padding: 8rem 2rem;
  border-top: 1px solid var(--card-border);
  box-shadow: 0 -20px 50px rgba(0,0,0,0.5);
}

.details-container {
  max-width: 1000px;
  margin: 0 auto;
}

.intro-text h3 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 6rem;
  text-align: center;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 6rem;
}

.spec-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s ease, background 0.3s ease;
  backdrop-filter: blur(10px);
}

.spec-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.04);
}

.spec-card.highlight {
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.spec-value {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.spec-sub {
  font-size: 1rem;
  color: var(--text-secondary);
}

.spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.spec-list li {
  font-size: 1.1rem;
  color: var(--text-primary);
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--card-border);
}

.spec-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-text {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 6rem;
  font-weight: 300;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.about-text p {
  background: linear-gradient(to right, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.emissions {
  text-align: center;
  padding-top: 4rem;
  border-top: 1px solid var(--card-border);
}

.emissions h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.emissions p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
}
