@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;600;700&display=swap");

:root {
  --ice-blue: #00b4d8;
  --ice-cyan: #0096c7;
  --ice-light: #48cae4;
  --ice-pale: #90e0ef;
  --warning: #f77f00;
  --success: #06ffa5;
  --bg: #0a0e14;
  --bg-elevated: #111827;
  --bg-card: #1a1f2e;
  --text: #e4e9f0;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --border: #1f2937;
  --border-bright: #374151;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 14, 20, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 1.5rem 2rem;
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo img {
  height: 48px;
  width: auto;
}

.btn-full {
  width: 100%;
  text-align: center;
}

.logo-text {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

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

.nav-links a {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-links a.active {
  color: var(--ice-cyan);
}

/* Mobile menu */
.mobile-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

#menu-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

#menu-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

#nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1099;
}

#nav-overlay.open {
  display: block;
}

#nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 260px;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border-bright);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.22s ease;
}

#nav-drawer.open {
  transform: translateX(0);
}

#nav-drawer-hdr {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-bright);
  flex-shrink: 0;
}

#nav-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 4px;
}

#nav-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.drawer-links {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.drawer-links a {
  display: block;
  padding: 0.85rem 1.25rem;
  color: var(--text);
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  border-left: 3px solid transparent;
  transition: background 0.12s, border-color 0.12s;
}

.drawer-links a:hover {
  background: rgba(255, 255, 255, 0.03);
  border-left-color: var(--ice-cyan);
  color: var(--ice-cyan);
}

/* Buttons */
.btn {
  font-family: "Inter", sans-serif;
  padding: 1rem 2rem;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  position: relative;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background: linear-gradient(135deg, var(--ice-cyan) 0%, var(--ice-blue) 100%);
  color: var(--bg);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--ice-blue) 0%, var(--ice-light) 100%);
  transition: left 0.3s ease;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--ice-cyan);
  border: 2px solid var(--ice-cyan);
  box-shadow: 0 0 0 0 rgba(0, 150, 199, 0);
}

.btn-secondary:hover {
  background: rgba(0, 150, 199, 0.1);
  border-color: var(--ice-blue);
  color: var(--ice-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 150, 199, 0.2), 0 0 0 2px rgba(0, 150, 199, 0.1);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Hero (shared base) */
.hero {
  margin-top: 120px;
  padding: 4rem 2rem 6rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content {
  max-width: 900px;
}

.hero h1 {
  font-family: "Inter", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero .subtitle {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 700px;
  font-weight: 400;
  line-height: 1.7;
}

/* Footer */
footer {
  background: var(--bg-elevated);
  color: var(--text-muted);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border-bright);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-section h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--ice-cyan);
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
  color: var(--ice-cyan);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    margin-top: 100px;
    padding: 2rem 1.5rem 4rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .mobile-actions {
    display: flex;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
