/* --- CUSTOM THEMATIC CSS VARIABLES --- */
:root {
  --frost-bg: #070a13;
  --frost-surface: #0c1122;
  --frost-surface-glow: rgba(0, 242, 254, 0.04);
  --frost-accent: #00f2fe;
  --frost-accent-hover: #38bdf8;
  --frost-accent-glow: rgba(0, 242, 254, 0.35);
  --frost-ink: #f1f5f9;
  --frost-ink-muted: #94a3b8;
  --frost-border: rgba(255, 255, 255, 0.08);
  --frost-border-accent: rgba(0, 242, 254, 0.25);
  --frost-gradient: linear-gradient(135deg, #00f2fe 0%, #0072ff 100%);
  
  --font-display: 'Nunito', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-soft: 16px;
}

/* --- BASE STYLES & PRESETS --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--frost-bg);
  color: var(--frost-ink);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* --- COMPONENT SCROLL ANIMATIONS (CSS Only) --- */
@keyframes frost-progress {
  from { width: 0%; }
  to { width: 100%; }
}

.frost-progress-bar {
  height: 4px;
  background: var(--frost-gradient);
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  z-index: 9999;
  animation: frost-progress linear;
  animation-timeline: scroll();
}

@keyframes frost-fade-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.frost-scroll-animate {
  animation: frost-fade-in auto linear;
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}

/* --- HEADER STYLES (Variant 2: Navigation Left + Logo Right) --- */
.frost-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 10, 19, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--frost-border);
}

.frost-menu-burger {
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.frost-menu-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--frost-ink);
  transition: all 0.3s ease-in-out;
}

/* Handle mobile menu trigger without JS */
#frost-nav-trigger:checked ~ .frost-main-navigation {
  display: block;
}

#frost-nav-trigger:checked ~ .frost-menu-burger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#frost-nav-trigger:checked ~ .frost-menu-burger span:nth-child(2) {
  opacity: 0;
}

#frost-nav-trigger:checked ~ .frost-menu-burger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.frost-main-navigation {
  display: none;
}

@media (min-width: 768px) {
  .frost-main-navigation {
    display: block !important;
  }
}

.frost-main-navigation ul li a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--frost-ink-muted);
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.frost-main-navigation ul li a:hover {
  color: var(--frost-accent);
}

.frost-nav-cta {
  border: 1px solid var(--frost-accent);
  border-radius: 999px;
  padding: 0.4rem 1.2rem !important;
  color: var(--frost-accent) !important;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
  transition: all 0.3s ease !important;
}

.frost-nav-cta:hover {
  background: var(--frost-accent);
  color: #000 !important;
  box-shadow: 0 0 15px var(--frost-accent);
}

/* --- HERO SCREEN (Preset M Neon Dark + Glow) --- */
.frost-contain-box {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.frost-peak-intro {
  min-height: 75vh;
  padding-top: 12dvh;
  padding-bottom: 12dvh;
}

.frost-main-title {
  color: var(--frost-ink);
  text-shadow: 0 0 20px var(--frost-accent), 0 0 50px rgba(0, 242, 254, 0.4);
}

/* --- SHIELD FOILS / CARDS (Preset M Features) --- */
.frost-shield-foil {
  background: var(--frost-surface-glow);
  border: 1px solid var(--frost-border);
  border-radius: var(--radius-soft);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.frost-shield-foil:hover {
  transform: translateY(-5px);
  border-color: var(--frost-accent);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.3);
}

/* --- IMAGE GLOW AURA (Preset M Content 1) --- */
.frost-image-glow-wrapper::after {
  content: '';
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, var(--frost-accent-glow) 0%, transparent 70%);
  z-index: -1;
  filter: blur(15px);
  border-radius: calc(var(--radius-soft) + 10px);
}

/* --- BUTTON SHAPES & ANIMATIONS --- */
.frost-action-trigger {
  background: transparent;
  color: var(--frost-accent);
  border: 2px solid var(--frost-accent);
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.frost-action-trigger:hover {
  background: var(--frost-accent);
  color: #000;
  box-shadow: 0 0 20px var(--frost-accent);
}

.frost-action-outline {
  background: rgba(255,255,255,0.03);
  color: var(--frost-ink);
  border: 1px solid var(--frost-border);
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  text-align: center;
}

.frost-action-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--frost-ink-muted);
}

/* Neon Pulse Button (Preset M CTA) */
@keyframes neon-pulse {
  0%, 100% {
    box-shadow: 0 0 10px var(--frost-accent), inset 0 0 5px rgba(0,242,254,0.3);
  }
  50% {
    box-shadow: 0 0 25px var(--frost-accent), 0 0 45px rgba(0,242,254,0.6), inset 0 0 10px rgba(0,242,254,0.5);
  }
}

.frost-action-pulse {
  background: transparent;
  color: var(--frost-accent);
  border: 2px solid var(--frost-accent);
  padding: 1rem 2.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: neon-pulse 2s infinite;
  transition: all 0.3s ease;
}

.frost-action-pulse:hover {
  background: var(--frost-accent);
  color: #000;
  box-shadow: 0 0 35px var(--frost-accent);
  animation: none;
}

/* --- FORMS AND FIELDS (Preset M Dark Inputs) --- */
.frost-input-field:focus {
  border-color: var(--frost-accent) !important;
  box-shadow: 0 4px 15px -5px rgba(0, 242, 254, 0.15);
}

/* --- MOBILE SPECIFIC FIXES --- */
@media (max-width: 767px) {
  .frost-site-header .frost-main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #070a13;
    padding: 1.5rem;
    border-bottom: 1px solid var(--frost-border);
  }
  
  .frost-site-header .frost-main-navigation ul {
    gap: 1rem;
  }
}