:root {
  --hypo-core-bg: #0B132B;
  --hypo-panel-surface: #1C2541;
  --hypo-flame-accent: #FF5A5F;
  --hypo-amber-glow: #FFB703;
  --hypo-ink-primary: #FFFFFF;
  --hypo-ink-secondary: #C0C7D6;
  --hypo-gradient-warm: linear-gradient(135deg, #FF5A5F 0%, #FFB703 100%);
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: var(--hypo-core-bg);
  color: var(--hypo-ink-primary);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, .heading-major {
  font-family: var(--font-display);
  text-transform: uppercase;
}

.thermal-shell-wrap {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  position: relative;
  z-index: 10;
}

/* Scroll progress bar */
@keyframes progress-grow {
  to { width: 100%; }
}

.hypo-scroll-line {
  height: 3px;
  width: 0;
  background: var(--hypo-gradient-warm);
  animation: progress-grow linear;
  animation-timeline: scroll();
}

/* Header */
.hypo-top-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 19, 43, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hypo-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.top-links-holder .nav-item-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hypo-nav-link {
  color: var(--hypo-ink-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hypo-nav-link:hover {
  color: var(--hypo-flame-accent);
}

.hypo-toggle-checkbox {
  display: none;
}

.hypo-burger-icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
}

.hypo-burger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--hypo-ink-primary);
  border-radius: 2px;
}

/* Hero Section */
.thermal-hero-zone {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hypo-hero-darkener {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 19, 43, 0.95) 0%, rgba(11, 19, 43, 0.6) 100%);
  z-index: 1;
}

.hypo-hero-content {
  z-index: 10;
}

.thermal-pill-action {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  background: var(--hypo-gradient-warm);
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(255, 90, 95, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
  cursor: pointer;
}

.thermal-pill-action:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px rgba(255, 90, 95, 0.45);
}

/* Bento Grid */
.vital-bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.bento-cell {
  background: var(--hypo-panel-surface);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.bento-cell:hover {
  transform: scale(1.02);
  border-color: rgba(255, 90, 95, 0.3);
}

.bento-span-4 { grid-column: span 4; }
.bento-span-2 { grid-column: span 2; }
.bento-span-3 { grid-column: span 3; }
.bento-span-6 { grid-column: span 6; }

.hypo-badge {
  background: rgba(255, 90, 95, 0.15);
  color: var(--hypo-flame-accent);
}

/* Scroll Reveal */
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  animation: slide-up 0.6s linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 40%;
}

/* Forms */
.hypo-input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--hypo-core-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--hypo-ink-primary);
  font-size: 0.875rem;
}

.hypo-input-field:focus {
  outline: none;
  border-color: var(--hypo-flame-accent);
}

/* FAQ Accordion */
.hypo-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hypo-faq-item summary::-webkit-details-marker {
  display: none;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
  .vital-bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-span-4,
  .bento-span-2,
  .bento-span-3,
  .bento-span-6 {
    grid-column: span 1;
  }

  .hypo-burger-icon {
    display: flex;
  }

  .top-links-holder {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--hypo-panel-surface);
    padding: 1.5rem;
    display: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .top-links-holder .nav-item-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .hypo-toggle-checkbox:checked ~ .top-links-holder {
    display: block;
  }
}