:root {
  --bg: #050508;
  --surface: #0d0d14;
  --primary: #8b5cf6;
  --primary-glow: rgba(139, 92, 246, 0.5);
  --accent: #22d3ee;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --border: rgba(255, 255, 255, 0.05);
  --glass: rgba(13, 13, 20, 0.7);
  --grad: linear-gradient(135deg, #8b5cf6, #22d3ee);
}

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

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

h1, h2, h3, h4, .font-display {
  font-family: 'Space Grotesk', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad);
  color: #000;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: 0.5s;
}

.navbar.scrolled {
  background: var(--glass);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  position: relative;
  width: 36px;
  height: 36px;
}

.logo-gradient {
  position: absolute;
  inset: 0;
  background: var(--grad);
  border-radius: 8px;
  transform: rotate(6deg);
}

.logo-letters {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
}

.logo-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
  color: var(--text);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 200px;
  padding: 8px;
  display: none;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.dropdown-menu.show {
  display: block;
}

.drop-item {
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
  border-radius: 8px;
  color: var(--text-muted);
}

.drop-item:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text);
}

.drop-arrow {
  transition: 0.3s;
}

.nav-dropdown:hover .drop-arrow {
  transform: rotate(180deg);
}

/* Mobile Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--surface);
  padding: 100px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: 0.5s;
  z-index: 999;
}

.mobile-menu.open {
  right: 0;
}

.mob-link {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Sections */
.section-padding {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
}

.section-subtitle {
  color: var(--text-muted);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(139, 92, 246, 0.1);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 5rem;
  }
}

/* Grid Pattern */
.grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 2;
  opacity: 0.5;
}

.orb-purple {
  background: var(--primary);
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
}

.orb-cyan {
  background: var(--accent);
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
}

/* Footer */
.footer {
  background: #1A3263;
  padding: 80px 0 40px;
  position: relative;
}

.divider-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad);
  opacity: 0.3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-brand .logo-box {
  margin-bottom: 20px;
}

.footer-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.nl-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  outline: none;
}

.socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
