:root {
  /* Default Dark Mode */
  --bg-color: #050505;
  --card-bg: rgba(20, 20, 20, 0.6);
  --border-color: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --accent-primary: #8b5cf6; /* Violet */
  --accent-secondary: #3b82f6; /* Blue */
  --accent-glow: rgba(139, 92, 246, 0.5);
  --font-main: "Inter", sans-serif;
  --shadow-color: rgba(0, 0, 0, 0.5);
}

/* Light Mode Variables (System Preference) */
@media (prefers-color-scheme: light) {
  :root {
    --bg-color: #fafafa;
    --card-bg: rgba(255, 255, 255, 0.8);
    --border-color: rgba(0, 0, 0, 0.1);
    --text-primary: #18181b;
    --text-secondary: #52525b;
    --accent-primary: #7c3aed;
    --accent-secondary: #2563eb;
    --accent-glow: rgba(124, 58, 237, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.1);
  }
}

/* Manual Theme Overrides */
[data-theme="light"] {
  --bg-color: #fafafa;
  --card-bg: rgba(255, 255, 255, 0.8);
  --border-color: rgba(0, 0, 0, 0.1);
  --text-primary: #18181b;
  --text-secondary: #52525b;
  --accent-primary: #7c3aed;
  --accent-secondary: #2563eb;
  --accent-glow: rgba(124, 58, 237, 0.2);
  --shadow-color: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
  --bg-color: #050505;
  --card-bg: rgba(20, 20, 20, 0.6);
  --border-color: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --accent-primary: #8b5cf6;
  --accent-secondary: #3b82f6;
  --accent-glow: rgba(139, 92, 246, 0.5);
  --shadow-color: rgba(0, 0, 0, 0.5);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Background Effects */
.glow-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: radial-gradient(
      circle at 15% 50%,
      rgba(139, 92, 246, 0.08),
      transparent 25%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(59, 130, 246, 0.08),
      transparent 25%
    );
}

/* Typography */
h1,
h2,
h3,
h4 {
  color: var(--text-primary);
  font-weight: 700;
}

.gradient-text {
  background: linear-gradient(to right, #c4b5fd, #8b5cf6, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navbar */
.navbar {
  padding: 20px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-color);
  height: 48px;
}

.btn-primary:hover {
  background: var(--text-primary);
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-primary.small {
  height: 36px;
  padding: 0 16px;
  font-size: 0.875rem;
  color: var(--bg-color);
  background: var(--text-primary);
}

.btn-primary.small:hover {
  color: var(--bg-color);
  background: var(--text-primary);
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-sub {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-left: 4px;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 99px;
  color: #c4b5fd;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

.cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat .number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat .label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Hero Image & Mockup */
.hero-image {
  position: relative;
}

.browser-mockup {
  background: #1a1a1a;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px -12px var(--shadow-color);
  overflow: hidden;
  position: relative;
  z-index: 10;
  aspect-ratio: 16/10;
}

.mockup-header {
  background: #262626;
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red {
  background: #ef4444;
}
.dot.yellow {
  background: #f59e0b;
}
.dot.green {
  background: #22c55e;
}

.mockup-content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f0f10 0%, #18181b 100%);
}

.mockup-placeholder {
  text-align: center;
  color: var(--text-secondary);
}

.mockup-placeholder i {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--accent-primary);
}

/* Floating Elements */
.floating-card {
  position: absolute;
  background: rgba(30, 30, 30, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
  z-index: 20;
  animation: float 6s ease-in-out infinite;
}

.card-1 {
  top: -20px;
  right: -20px;
  animation-delay: 0s;
}

.card-2 {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

.floating-card i {
  font-size: 1.5rem;
}

.card-1 i {
  color: #22c55e;
}
.card-2 i {
  color: #f59e0b;
}

.floating-card h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
  color: #ffffff;
}

.floating-card p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Features Section */
.features {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.1);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.icon-box i {
  color: var(--accent-primary);
  font-size: 1.25rem;
}

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

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

/* Steps Section */
.steps {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
}

.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-top: 60px;
}

.step {
  flex: 1;
  text-align: center;
}

.step.arrow {
  flex: 0;
  align-self: center;
  font-size: 1.5rem;
  color: var(--text-secondary);
  opacity: 0.5;
}

.step-number {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(78, 78, 78, 0.73);
  line-height: 1;
  margin-bottom: -20px;
  position: relative;
  z-index: 0;
}

.step h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  padding: 80px 0 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.footer-left p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

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

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .cta-group {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .browser-mockup {
    max-width: 600px;
    margin: 0 auto;
  }

  .steps-container {
    flex-direction: column;
    align-items: center;
  }

  .step.arrow {
    transform: rotate(90deg);
    margin: 20px 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
  }

  .mobile-menu-btn {
    display: block;
  }
}
