/* === ROOT VARIABLES === */
:root {
  --color-primary: #4f46e5;
  --color-primary-light: #818cf8;
  --color-primary-dark: #3730a3;
  --color-secondary: #f97316;
  --color-secondary-light: #fb923c;
  --color-background: #ffffff;
  --color-background-alt: #f8fafc;
  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-border: #e2e8f0;
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-full: 9999px;
  --transition: 0.3s ease;
  --gradient: linear-gradient(90deg, #4f46e5, #f97316);
}

/* === RESET === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background-color: var(--color-background);
  color: var(--color-text);
  overflow-x: hidden;
}

/* === HEADINGS === */
h1, h2, h3 {
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 1rem;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}
h3 {
  font-size: 1.5rem;
}

/* === TYPOGRAPHY === */
p {
  color: var(--color-text-light);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--color-primary-dark);
}

/* === CONTAINER === */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* === NAVIGATION === */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-weight: 500;
  padding: 0.5rem;
  border-radius: var(--radius-full);
}
.nav-links a:hover {
  background-color: var(--color-background-alt);
}

/* === CTA BUTTON === */
.cta-button {
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
}
.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}

/* === STICKY CTA === */
.sticky-cta {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: var(--gradient);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 1000;
  cursor: pointer;
  transition: all 0.3s ease;
}
.sticky-cta:hover {
  transform: scale(1.05);
}

/* === HERO SECTION === */
.hero {
  background: var(--gradient);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
}
.hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
}
.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* === GRID SECTIONS === */
.features-grid,
.pricing-grid,
.case-studies,
.values-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 3rem;
}

/* === CARDS === */
.feature-card,
.pricing-card,
.case-study,
.value-card {
  background: var(--color-background);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}
.feature-card:hover,
.pricing-card:hover,
.case-study:hover,
.value-card:hover {
  transform: translateY(-5px);
}

/* === GLASS CARD === */
.glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* === GRADIENT TEXT === */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* === FOOTER === */
.footer {
  background-color: var(--color-text);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
  font-size: 0.9rem;
}

/* === SCROLL ANIMATION === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === MEDIA QUERIES === */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding: 4rem 1.5rem;
  }
  .sticky-cta {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}