:root {
  /* Colors */
  --bg-primary: #0a0a0c;
  --bg-secondary: #141418;
  --accent-primary: #3b82f6; /* Electric Blue */
  --accent-secondary: #8b5cf6; /* Violet */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --glass-bg: rgba(20, 20, 24, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glow-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  --mesh-1: radial-gradient(at 10% 20%, rgba(59, 130, 246, 0.1) 0px, transparent 50%);
  --mesh-2: radial-gradient(at 90% 80%, rgba(139, 92, 246, 0.1) 0px, transparent 50%);
  --grid-pattern: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                  linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);

  /* Cursor */
  --cursor-size: 8px;
  --outline-size: 40px;

  /* Spacing */
  --space-unit: 1rem;
  --header-height: 80px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  background-image: var(--mesh-1), var(--mesh-2), var(--grid-pattern);
  background-size: 100% 100%, 100% 100%, 50px 50px;
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
  cursor: none;
}

/* Custom Cursor */
#cursor-dot {
  width: var(--cursor-size);
  height: var(--cursor-size);
  background-color: var(--accent-primary);
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  z-index: 10000;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

#cursor-outline {
  width: var(--outline-size);
  height: var(--outline-size);
  border: 1px solid var(--accent-primary);
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.3s, height 0.3s;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Base Styles */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* Premium Layout Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.glass:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.hero.text-center {
  text-align: center;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-fast);
}

header.scrolled {
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  height: 70px;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  margin-top: 10px;
}

.dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
}

.dropdown-content a {
  padding: 12px 20px;
  text-align: left;
  font-size: 0.9rem;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-primary);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(tolow-right, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

nav a:hover {
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 100px);
  padding-bottom: 100px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Complex Gradient Background for Hero */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 70%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  z-index: -1;
  filter: blur(100px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  z-index: -1;
  filter: blur(100px);
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  max-width: 900px;
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 3rem;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
  box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

/* Features Section */
.features {
  padding: 100px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 3rem;
  transition: var(--transition-slow);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.03);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
  font-size: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--text-secondary);
}

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

.reveal {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

/* Project Cards */
.project-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  transition: var(--transition-slow);
}

.project-card:hover {
  border-color: var(--accent-primary);
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.project-card h3 {
  margin-bottom: 0.5rem;
}
/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  nav {
    display: none; /* Mobile menu logic later */
  }

  #cursor-dot, #cursor-outline {
    display: none; /* Disable custom cursor on mobile */
  }

  body {
    cursor: auto;
  }
}

#benefits {
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent);
  border: 1px solid var(--glass-border);
}

#benefits span {
  font-family: 'Outfit';
  font-size: 1.5rem;
  opacity: 0.5;
}

#benefits h4 {
  color: var(--text-primary);
}

/* Form refinement */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255,255,255,0.08);
}
