:root {
  --bg-main: #060913;
  --bg-glass: rgba(15, 23, 42, 0.4);
  --bg-glass-heavy: rgba(15, 23, 42, 0.7);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-light: rgba(255, 255, 255, 0.15);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;

  --primary: #38bdf8;
  --primary-glow: rgba(56, 189, 248, 0.4);
  --secondary: #818cf8;

  --cyan: #22d3ee;
  --purple: #c084fc;
  --orange: #fb923c;

  --font-sans: 'Inter', system-ui, sans-serif;
  --font-heading: 'Outfit', system-ui, sans-serif;
}

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

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

/* Background Effects */
.bg-gradient {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -2;
  opacity: 0.4;
  animation: float 20s infinite ease-in-out alternate;
}

.bg-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -200px;
  left: -100px;
}

.bg-blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  bottom: 100px;
  right: -100px;
  animation-delay: -10s;
}

.mesh-overlay {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

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

.glass-heavy {
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.1;
}

.text-gradient {
  background: linear-gradient(135deg, var(--cyan), var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: var(--font-sans);
}

.btn i {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
}

.btn-glow {
  box-shadow: 0 0 20px var(--primary-glow);
}

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

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-glass-light);
}

.btn-secondary {
  background: var(--primary);
  color: #000;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-secondary:hover {
  background: #fff;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem;
  z-index: 100;
  display: flex;
  justify-content: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
}

.logo-icon {
  color: var(--primary);
}

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

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

.nav-links a:hover {
  color: var(--text-main);
}

.github-link {
  display: flex;
  align-items: center;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

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

.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.btn-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding-top: 1rem;
  transition: color 0.2s;
}

.btn-link:hover {
  color: var(--text-main);
}

.highlight {
  box-shadow: 0 0 30px var(--primary-glow);
  transform: scale(1.05);
}

.windows-only {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.download-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.security-hint {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 450px;
  border-color: rgba(239, 68, 68, 0.2);
}

.security-hint i {
  width: 16px;
  height: 16px;
  color: #f87171;
  flex-shrink: 0;
}

.security-hint b {
  color: var(--text-main);
}

/* Mockup Showcase */
.showcase {
  width: 100%;
  max-width: 1000px;
  margin: -2rem auto 8rem;
  perspective: 1000px;
  padding: 0 2rem;
}

.app-window {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: rotateX(5deg) scale(0.95);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-window:hover {
  transform: rotateX(0) scale(1);
}

.window-header {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
}

.window-controls {
  display: flex;
  gap: 6px;
}

.window-controls span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #475569;
}

.window-controls span:nth-child(1) {
  background: #ef4444;
}
.window-controls span:nth-child(2) {
  background: #eab308;
}
.window-controls span:nth-child(3) {
  background: #22c55e;
}

.window-title {
  margin: 0 auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.window-body {
  display: flex;
  height: 400px;
}

.sidebar {
  width: 200px;
  border-right: 1px solid var(--border-glass);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-item {
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-item.active {
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.content {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.header-mock {
  height: 40px;
  border-radius: 8px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card-mock {
  height: 120px;
  border-radius: 12px;
}

.glow-card {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: inset 0 0 20px rgba(34, 211, 238, 0.1);
}

/* Features */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  border-radius: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-light);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.icon-cyan {
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.2);
}
.icon-purple {
  background: rgba(192, 132, 252, 0.1);
  color: var(--purple);
  border: 1px solid rgba(192, 132, 252, 0.2);
}
.icon-blue {
  background: rgba(56, 189, 248, 0.1);
  color: var(--primary);
  border: 1px solid rgba(56, 189, 248, 0.2);
}
.icon-orange {
  background: rgba(251, 146, 60, 0.1);
  color: var(--orange);
  border: 1px solid rgba(251, 146, 60, 0.2);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border-glass);
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  opacity: 0.8;
}

.copyright {
  font-size: 0.85rem;
  color: #64748b;
}

/* Animations */
@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(50px, -50px) scale(1.1);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  .cta-group {
    flex-direction: column;
  }
  .btn {
    justify-content: center;
  }
  .nav-links a:not(.btn, .github-link) {
    display: none;
  }
}
