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

:root {
  --bg-dark: #0a0b10;
  --bg-card: rgba(16, 18, 26, 0.7);
  --accent-primary: #ffbc00;
  --accent-secondary: #ff8c00;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(255, 255, 255, 0.08);
  --glow-color: rgba(255, 188, 0, 0.15);
  --glass-bg: rgba(16, 18, 26, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 188, 0, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.3s ease, 
              box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 188, 0, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
              0 0 20px var(--glow-color);
}

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

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Typography Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-text {
  color: var(--accent-primary);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 8px;
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #000;
  box-shadow: 0 4px 15px rgba(255, 188, 0, 0.3);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 188, 0, 0.5);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
}

.btn-outline:hover {
  background: rgba(255, 188, 0, 0.1);
  transform: translateY(-2px);
}

/* Section Layout */
.section {
  padding: 120px 5% 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .grid-m-2 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  .section { padding: 100px 20px 60px; }
}

/* Navbar Styles (Ported from Navbar.jsx) */
.navbar-capsule {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 1000;
  background: rgba(16, 18, 26, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 15px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  max-width: 1400px;
  margin: 0 auto;
}

.navbar-capsule.scrolled {
  top: 10px;
  padding: 10px 15px;
}

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

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

.nav-logo-box {
  background: var(--accent-primary);
  padding: 4px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-text {
  color: #000;
  font-weight: 900;
  font-size: 1.2rem;
}

.nav-brand-text {
  font-size: clamp(0.85rem, 3.5vw, 1.3rem);
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.desktop-menu {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-link {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.nav-item {
  position: relative;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-dark);
  border: 1px solid var(--glass-border);
  padding: 10px 0;
  border-radius: 8px;
  min-width: 180px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 100;
  padding-top: 15px;
}

.nav-item:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.8rem;
  color: var(--text-primary);
}

.dropdown-menu a:hover {
  background: rgba(255, 188, 0, 0.1);
  color: var(--accent-primary);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  cursor: pointer;
  padding: 8px;
  color: white;
  z-index: 1001;
  flex-shrink: 0;
  margin-left: 10px;
}

@media (max-width: 992px) {
  .desktop-menu { display: none !important; }
  .mobile-toggle { display: block !important; }
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 999;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 100px 40px;
  gap: 20px;
}

.mobile-overlay.active {
  right: 0;
}

.mobile-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #20222a; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #30323a; }
