/* ==================== RESET & VARIABLES ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0a0c10;
  --bg-card: #111317;
  --bg-elevated: #1a1e27;
  --text-primary: #eef2ff;
  --text-secondary: #b3bedb;
  --accent: #4f6ef5;
  --accent-hover: #3b5bdf;
  --border: #2a2f3a;
  --transition: all 0.3s ease;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --radius: 1rem;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, #fff, var(--text-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 12, 16, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 600;
  background: linear-gradient(135deg, #e0e4e8, #a0a8b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==================== HERO SECTION ==================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 4rem 0;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  text-align: center;
  animation: float 6s ease-in-out infinite;
}

.hero-image img {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==================== FEATURES ==================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* ==================== HOW IT WORKS (STEPS) ==================== */
.steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 3rem 0;
}

.step {
  flex: 1;
  text-align: center;
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius);
  position: relative;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* ==================== PRICING CARDS ==================== */
.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.pricing-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius);
  width: 300px;
  transition: var(--transition);
  border: 1px solid var(--border);
  text-align: center;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.price {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent);
  margin: 1rem 0;
}

.price span {
  font-size: 1rem;
  font-weight: normal;
  color: var(--text-secondary);
}

.pricing-card ul {
  list-style: none;
  margin: 1.5rem 0;
}

.pricing-card li {
  margin: 0.5rem 0;
  color: var(--text-secondary);
}

/* ==================== CTA SECTION ==================== */
.cta {
  text-align: center;
  background: var(--bg-card);
  padding: 4rem 2rem;
  border-radius: var(--radius);
  margin: 4rem 0;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
}

.cta h2 {
  margin-bottom: 1rem;
}

/* ==================== FOOTER ==================== */
footer {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1rem 0;
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .steps {
    flex-direction: column;
  }
  .step {
    width: 100%;
  }
  .container {
    padding: 0 1rem;
  }
}

/* ==================== ANIMATIONS ==================== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}