/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Your Original Palette + Material Standards */
  --bg-dark: #0b1020;
  --bg-light: #101b3a;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-hover: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.15);
  --text-main: #eaf0ff;
  --text-muted: rgba(234, 240, 255, 0.7);
  --primary: #7c5cff;
  --primary-grad: linear-gradient(135deg, rgba(124,92,255,1), rgba(100,70,240,1));
  --success: #2ee59d;
  --error: #ff4d6d;
  --radius-card: 20px;
  --radius-pill: 50px;
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(124,92,255,0.25), transparent 60%),
    radial-gradient(900px 600px at 80% 40%, rgba(46,229,157,0.15), transparent 55%),
    linear-gradient(180deg, var(--bg-dark), var(--bg-light));
  background-attachment: fixed; /* Keeps background still while scrolling */
  min-height: 100vh;
  display: flex; flex-direction: column;
}

/* --- Navigation --- */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 5%;
  background: rgba(11, 16, 32, 0.6);
  backdrop-filter: blur(15px);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
}
.brand { font-weight: 700; font-size: 20px; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; gap: 20px; }
.nav-links a {
  text-decoration: none; color: var(--text-muted); font-size: 14px; font-weight: 500;
  transition: .3s; padding: 8px 16px; border-radius: var(--radius-pill);
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: var(--surface); }

/* Mobile Menu Button */
.menu-btn { display: none; background: none; border: none; color: white; font-size: 24px; cursor: pointer; }

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #101b3a; flex-direction: column; padding: 20px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; }
}

/* --- Layout --- */
main { flex: 1; width: min(1000px, 92%); margin: 40px auto; }

h1 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 10px; font-weight: 700; background: linear-gradient(to right, #fff, #b0b8d1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.subtitle { color: var(--text-muted); font-size: 16px; line-height: 1.6; max-width: 650px; margin-bottom: 30px; }

/* --- Cards --- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

/* --- Buttons & Inputs --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 14px; cursor: pointer; border: none;
  transition: transform 0.2s, opacity 0.2s; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--primary-grad); color: white; box-shadow: 0 4px 15px rgba(124,92,255,0.4); }
.btn-glass { background: var(--surface); color: white; border: 1px solid var(--border); }
.btn-glass:hover { background: var(--surface-hover); }

input[type="text"] {
  width: 100%; background: rgba(0,0,0,0.3); border: 1px solid var(--border);
  color: white; padding: 14px; border-radius: 12px; font-size: 16px; outline: none;
  font-family: monospace; transition: border-color 0.3s;
}
input[type="text"]:focus { border-color: var(--primary); }

/* --- Footer --- */
footer {
  text-align: center; padding: 30px; color: var(--text-muted); font-size: 13px;
  border-top: 1px solid var(--border); margin-top: auto;
}
footer a { color: var(--text-main); text-decoration: none; }