/* ================================
   Design System - Base (Clean)
   ================================ */
:root {
  /* Colors */
  --clr-bg: #fff;
  --clr-surface: #f8fafc;
  --clr-text: #0f172a;
  --clr-text-muted: #475569;
  --clr-primary: #6366f1; /* indigo */
  --clr-primary-2: #7c3aed; /* violet */
  --clr-border: rgb(15 23 42 / 8%);

  /* Typography */
  --font-base: "Segoe UI", tahoma, geneva, verdana, sans-serif;
  --fs-xxl: clamp(2rem, 3vw + 1rem, 2.5rem);
  --fs-xl: clamp(1.5rem, 2vw + 0.8rem, 2rem);
  --fs-lg: clamp(1.125rem, 0.8vw + 0.9rem, 1.25rem);
  --fs-md: clamp(1rem, 0.6vw + 0.85rem, 1.125rem);
  --fs-sm: 0.9rem;

  /* Spacing */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;

  /* Radius & Shadow */
  --radius: 12px;
  --shadow-sm: 0 4px 12px rgb(0 0 0 / 6%);
  --shadow-md: 0 10px 24px rgb(0 0 0 / 8%);
}

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

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-base);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout */
.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

section {
  padding: var(--space-12) 0;
}

/* Typography Utilities */
.section-title {
  text-align: center;
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--clr-text);
  margin-bottom: var(--space-4);
  letter-spacing: 0.02em;
}

.section-subtitle {
  text-align: left;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--clr-text);
  margin: 0 0 var(--space-3);
}

.section-body {
  text-align: left;
  font-size: var(--fs-md);
  color: var(--clr-text-muted);
  max-width: 760px;
}

/* Button */
.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-2));
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  margin: var(--space-4) auto 0;
  width: max-content;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Navbar (compat) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgb(0 0 0 / 8%);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo h1 {
  font-size: 1.4rem;
  color: var(--clr-text);
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--clr-text);
  font-weight: 600;
}

.nav-link.active {
  color: var(--clr-primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.bar {
  width: 24px;
  height: 3px;
  background: var(--clr-text);
}

/* Footer */
footer {
  background: #0f172a;
  color: #fff;
  text-align: center;
  padding: var(--space-8) 0;
}

footer p {
  font-size: var(--fs-sm);
  opacity: 0.9;
}

/* Responsive */
@media (width <= 992px) {
  .section-title {
    font-size: var(--fs-xl);
  }
}

@media (width <= 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: #fff;
    flex-direction: column;
    text-align: center;
    padding: var(--space-8) 0;
    box-shadow: var(--shadow-md);
    transition: 0.25s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: var(--space-4) 0;
  }

  section {
    padding: var(--space-8) 0;
  }
}

@media (width <= 480px) {
  .section-title {
    font-size: var(--fs-xl);
  }

  .section-subtitle {
    font-size: var(--fs-md);
  }

  .section-body {
    font-size: var(--fs-sm);
  }
}
