:root {
  --bg: #050505;
  --panel: rgba(18, 18, 18, 0.7);
  --accent: #e63946;
  --accent-glow: rgba(230, 57, 70, 0.3);
  --text: #f8f9fa;
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --glass: blur(12px) saturate(180%);
  --dragon-shadow: 0 0 40px rgba(230, 57, 70, 0.15);
}

@font-face {
  font-family: 'Outfit';
  src: url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* --- Entrance Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Navigation --- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand img {
  height: 32px;
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--text);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  background: radial-gradient(circle at 80% 50%, rgba(230, 57, 70, 0.05) 0%, transparent 60%);
}

.hero-content {
  flex: 1;
  z-index: 2;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to bottom, #fff 40%, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* --- Mascot Panel --- */
.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mascot-container {
  width: 450px;
  height: 450px;
  position: relative;
  filter: drop-shadow(var(--dragon-shadow));
  transition: transform 0.1s ease-out;
}

.mascot-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- Section: The Appliance --- */
.section {
  padding: 10rem 0;
}

.section-tag {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
}

.section h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 3rem;
}

.appliance-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}

.appliance-visual {
  position: relative;
  background: #111;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.appliance-visual img {
  width: 100%;
  display: block;
}

.feature-list {
  display: grid;
  gap: 2rem;
}

.feature-item {
  padding: 2rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: var(--glass);
}

.feature-item h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.feature-item p {
  color: var(--muted);
  font-size: 0.9rem;
}

.stability-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  text-transform: uppercase;
}

.badge-stable { color: #22c55e; border-color: rgba(34, 197, 94, 0.2); }
.badge-beta { color: #f59e0b; border-color: rgba(245, 158, 11, 0.2); }
.badge-exp { color: #8b5cf6; border-color: rgba(139, 92, 246, 0.2); }

/* --- Copy Command UI --- */
.copy-command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000;
  padding: 1.25rem 1.5rem;
  font-family: monospace;
  border-radius: 12px;
  margin-bottom: 3rem;
  border: 1px solid var(--border);
  color: var(--accent);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.copy-command:hover {
  border-color: var(--accent);
  background: rgba(230, 57, 70, 0.05);
}

.copy-icon {
  font-size: 1.25rem;
  opacity: 0.5;
}

.copy-command.success {
  border-color: #22c55e;
  color: #22c55e;
}

.copy-tooltip {
  position: absolute;
  top: -40px;
  right: 0;
  background: #22c55e;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: 'Outfit', sans-serif;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
}

.copy-command.success .copy-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* --- Spec Sheet --- */
.specs {
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 4rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.spec-item {
  border-left: 1px solid var(--accent);
  padding-left: 1.5rem;
}

.spec-val {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.25rem;
}

.spec-label {
  color: var(--muted);
  font-size: 0.8rem;
}

/* --- Footer --- */
footer {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wales-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wales-badge img {
  height: 20px;
  filter: grayscale(0.5) brightness(1.2);
}

@media (max-width: 1024px) {
  .hero h1 { font-size: 3.5rem; }
  .appliance-grid { grid-template-columns: 1fr; }
  .hero { flex-direction: column; text-align: center; }
  .hero p { margin: 0 auto 2.5rem; }
  .cta-group { justify-content: center; }
}
