/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #3f51b5;
  --color-primary-dark: #303f9f;
  --color-primary-light: #7986cb;
  --color-accent: #536dfe;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7ff;
  --color-text: #212121;
  --color-text-light: #616161;
  --color-border: #e0e0e0;
  --font-main: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 960px;
  --radius: 12px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ===== Utility ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

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

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary-dark);
}

.navbar__brand svg {
  width: 32px;
  height: 32px;
  fill: var(--color-primary);
}

.navbar__links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.navbar__links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color 0.2s;
}

.navbar__links a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* ===== Hero ===== */
.hero {
  padding: 80px 0 64px;
  text-align: center;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.hero__badge {
  display: inline-block;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}

.hero__cta:hover {
  background: #222;
  text-decoration: none;
}

.hero__cta svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* ===== Sections ===== */
.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 12px;
}

.section__subtitle {
  text-align: center;
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto 48px;
}

/* ===== Features Grid ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature:hover {
  box-shadow: 0 8px 30px rgba(63, 81, 181, 0.08);
  transform: translateY(-2px);
}

.feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature__icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-primary);
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ===== How It Works ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 28px 20px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

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

/* ===== CTA Banner ===== */
.cta-banner {
  text-align: center;
  padding: 64px 0;
  background: var(--color-primary);
  color: #fff;
}

.cta-banner h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.cta-banner__btn {
  display: inline-block;
  background: #fff;
  color: var(--color-primary-dark);
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}

.cta-banner__btn:hover {
  background: #f0f0f0;
  text-decoration: none;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

.footer__links a {
  color: var(--color-text-light);
  font-weight: 500;
}

.footer__links a:hover {
  color: var(--color-primary);
}

/* ===== Legal Pages (Privacy / Terms) ===== */
.legal {
  padding: 64px 0;
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal__updated {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 36px;
}

.legal h2 {
  font-size: 1.3rem;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal p,
.legal ul {
  margin-bottom: 16px;
  color: var(--color-text-light);
  line-height: 1.75;
}

.legal ul {
  padding-left: 24px;
}

.legal ul li {
  margin-bottom: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .section__title {
    font-size: 1.6rem;
  }

  .navbar__links {
    gap: 16px;
  }
}
