@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --background: #09090b; /* Zinc 950 */
  --card: #09090b;
  --card-hover: #18181b; /* Zinc 900 */
  --border: #27272a; /* Zinc 800 */
  --border-hover: #3f3f46; /* Zinc 700 */
  --primary: #6366f1; /* Indigo 500 */
  --primary-hover: #4f46e5;
  --text: #fafafa;
  --muted: #a1a1aa;
  
  --green: #10b981;
  --yellow: #f59e0b;
  --red: #ef4444;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--background);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── NAV ── */
nav {
  position: fixed; top: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 200; height: 64px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 1rem; gap: 0.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  border-radius: 100px;
  background: rgba(9, 9, 11, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 98%; max-width: 1550px;
}
nav.scrolled {
  background: rgba(9, 9, 11, 0.85);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  top: 1rem;
}
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0; white-space: nowrap; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.logo span { font-size: 1.1rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }

.nav-links { display: flex; gap: 0.9rem; flex: 1; justify-content: center; align-items: center; }
.nav-links > a, .nav-links > .nav-dropdown > a { 
  color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.2s; 
  padding: 0.4rem; position: relative; display: flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.nav-links > a:hover, .nav-links > .nav-dropdown:hover > a { color: var(--text); }
.nav-links > a::after, .nav-links > .nav-dropdown > a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--primary); transition: width 0.3s ease; border-radius: 2px;
  box-shadow: 0 0 10px var(--primary);
}
.nav-links > a:hover::after, .nav-links > .nav-dropdown:hover > a::after { width: 70%; }

.nav-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.5rem 1.1rem; border-radius: 100px; font-size: 0.9rem; font-weight: 600;
  text-decoration: none; transition: all 0.2s; cursor: pointer; border: 1px solid transparent;
}
.btn-p { background: var(--text); color: var(--background); }
.btn-p:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-g { background: rgba(255, 255, 255, 0.05); color: var(--text); border-color: rgba(255, 255, 255, 0.1); }
.btn-g:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); transform: translateY(-1px); }

/* ── PAGE LAYOUT ── */
.page-container {
  max-width: 1000px; margin: 8rem auto 5rem; padding: 0 1.5rem;
}
.page-title {
  font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; text-align: center;
}
.page-desc {
  text-align: center; color: var(--muted); margin-bottom: 4rem; max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ── UI COMPONENTS ── */
.clean-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s;
}
.clean-card:hover {
  border-color: var(--border-hover);
  background: var(--card-hover);
}

.sec-title {
  font-size: 1.2rem; font-weight: 600; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.5rem; color: var(--text); letter-spacing: -0.01em;
}
.sec-title i { color: var(--primary); width: 20px; height: 20px; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  background: var(--card);
}
footer .logo { justify-content: center; margin-bottom: 1.5rem; }
footer .links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
footer .links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
footer .links a:hover { color: var(--text); }
footer p { color: var(--border-hover); font-size: 0.85rem; }

/* ── RESPONSIVE ── */
.mobile-menu-btn { display: none; cursor: pointer; color: var(--text); padding: 0.5rem; }

@media(max-width: 950px) {
  .mobile-menu-btn { display: block; }
  .desktop-only { display: none !important; }
  
  .nav-links {
    position: absolute; top: 80px; left: 0; right: 0;
    background: rgba(9, 9, 11, 0.98);
    flex-direction: column; gap: 1.5rem; padding: 2rem;
    border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    display: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
  }
  .nav-links.active { display: flex; }
  .nav-links > a, .nav-links > .nav-dropdown > a { white-space: normal; font-size: 1.1rem; }
  .nav-separator { display: none !important; }
  .page-title { font-size: 2rem; }
}
