:root {
  /* Pro Elite - Dawn Eruption Palette */
  --sunrise-orange: #ff8c00;
  --magma-orange: #bf360c;
  --basalt-black: #0c0c0c;
  --stadium-white: #f8fafc;
  --turf-grey: #94a3b8;
  
  /* Textures */
  --glass-carbon: rgba(20, 20, 20, 0.85);
  --glass-border: rgba(255, 140, 0, 0.15);
  
  /* Fonts */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  background-color: var(--basalt-black);
  background-image: url('../assets/bg_basalt.png');
  background-attachment: fixed;
  background-size: cover;
  color: var(--stadium-white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography Overrides */
h1, h2, h3 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -1px;
}

.metallic-text {
  background: linear-gradient(to bottom, #fff 20%, #94a3b8 50%, #fff 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 2px rgba(255,255,255,0.2));
}

header {
  padding: 1.5rem 8%;
  background: rgba(12, 12, 12, 0.9);
  backdrop-filter: blur(15px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--magma-orange);
}

.logo {
  font-size: 1.5rem;
  letter-spacing: 1px;
  font-weight: 900;
}

.logo span {
  color: var(--sunrise-orange);
  text-shadow: 0 0 15px rgba(255, 140, 0, 0.4);
}

nav a {
  color: var(--turf-grey);
  text-decoration: none;
  margin-left: 2.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  transition: all 0.3s;
}

nav a:hover {
  color: var(--sunrise-orange);
}

.hero {
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 10%;
  overflow: hidden;
}

/* Dawn Rim Light Effect */
.hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0; width: 50%; height: 100%;
  background: radial-gradient(circle at top right, rgba(255, 140, 0, 0.15) 0%, transparent 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 0.9;
  margin-bottom: 2rem;
}

.hero h1 span {
  color: var(--sunrise-orange);
  text-shadow: 0 0 30px rgba(255, 140, 0, 0.3);
}

.hero-img-container {
  position: absolute;
  right: 5%;
  width: 40%;
  height: 80%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 50px rgba(255, 140, 0, 0.1));
}

/* Steam Animation Overlay Mockup */
.steam {
  position: absolute;
  bottom: 10%;
  right: 15%;
  width: 200px;
  height: 100px;
  background: radial-gradient(ellipse at bottom, rgba(255,255,255,0.1) 0%, transparent 70%);
  filter: blur(20px);
  animation: drift 8s infinite ease-in-out;
  z-index: 6;
}

@keyframes drift {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-20px) scale(1.2); opacity: 0.5; }
}

.btn {
  display: inline-block;
  padding: 1.2rem 3.5rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 2px;
  transition: all 0.4s;
  border: none;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
  cursor: pointer;
}

.btn-brushed {
  background: linear-gradient(135deg, #444 0%, #222 50%, #111 100%);
  color: var(--stadium-white);
  border: 1px solid rgba(255, 140, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-brushed::after {
  content: "";
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border: 1px solid var(--sunrise-orange);
  animation: breathe 3s infinite;
  pointer-events: none;
}

@keyframes breathe {
  0%, 100% { opacity: 0.2; box-shadow: 0 0 5px var(--sunrise-orange); }
  50% { opacity: 0.8; box-shadow: 0 0 20px var(--sunrise-orange); }
}

section {
  padding: 8rem 10%;
}

/* Engineering Protocols - Magma Details */
.protocol-card {
  background: var(--glass-carbon);
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCAwaDQwdjQwSDB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTAgNDBMNDAgMCIgc3Ryb2tlPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMDMpIiBzdHJva2Utd2lkdGg9IjEiLz48L3N2Zz4=');
  backdrop-filter: blur(20px);
  padding: 4rem;
  border-left: 4px solid var(--magma-orange);
  transition: all 0.4s;
}

.protocol-card:hover {
  border-left-color: var(--sunrise-orange);
  transform: translateX(10px);
}

.data-value {
  font-size: 4rem;
  font-weight: 900;
  color: var(--sunrise-orange);
  text-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
  margin-bottom: 1rem;
}

.divider {
  height: 1px;
  background: linear-gradient(to right, var(--magma-orange), transparent);
  margin: 2rem 0;
}

/* Bespoke Vault - Texture Slices */
.vault-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.texture-slice {
  aspect-ratio: 1;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.texture-slice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}

.texture-slice:hover img {
  transform: scale(1.15);
}

.texture-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.7);
  padding: 15px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-align: center;
}

footer {
  padding: 6rem 10%;
  background: #050505;
  text-align: center;
  border-top: 1px solid var(--magma-orange);
}

.basalt-icon {
  width: 30px;
  height: 30px;
  vertical-align: middle;
  margin-right: 15px;
  opacity: 0.6;
}
