@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap');

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

:root {
  --background: #f5f7fa;
  --foreground: #0f172a;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --primary: #1e40af;
  --primary-foreground: #ffffff;
  --secondary: #0f172a;
  --secondary-foreground: #ffffff;
  --muted: #e8ecf1;
  --muted-foreground: #64748b;
  --accent: #e8eeff;
  --accent-foreground: #1e40af;
  --border: #dfe4ea;
  --radius: 0.5rem;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}
h1, h2, h3 { font-family: 'Playfair Display', serif; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--secondary);
}
.navbar-inner {
  max-width: 72rem; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
}
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.7); transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { height: 2rem; width: 2rem; border-radius: 0.375rem; object-fit: cover; }
.brand span { font-family: 'Playfair Display', serif; font-size: 1.125rem; font-weight: 600; color: #fff; }
.menu-btn {
  display: none; background: none; border: none; color: #fff; cursor: pointer; font-size: 1.5rem;
}
.mobile-menu {
  display: none; flex-direction: column; gap: 1rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: var(--secondary);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.mobile-menu a:hover { color: #fff; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
}

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 5rem; background-size: cover; background-position: center;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(10,22,40,0.4); }
.hero-inner {
  position: relative; max-width: 72rem; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 4rem;
  padding: 5rem 1.5rem;
}
.hero-logo-wrap {
  flex-shrink: 0; position: relative;
  width: 16rem; height: 16rem;
  display: flex; align-items: center; justify-content: center;
}
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(34,211,238,0.3); }
.ring-1 { inset: 0; animation: spin 20s linear infinite; }
.ring-2 { inset: 0.75rem; border-color: rgba(34,211,238,0.5); animation: spin 15s linear infinite reverse; }
.ring-3 { inset: 1.5rem; border-width: 2px; border-color: rgba(34,211,238,0.6); animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-logo-img {
  position: relative; z-index: 2; width: 8rem; height: 8rem;
  border-radius: 50%; object-fit: cover;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  border: 2px solid rgba(34,211,238,0.3);
}
.hero-text { text-align: left; }
.hero-text h1 {
  font-size: 3rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: -0.025em; color: #fff; margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: 0.75rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.35em; color: rgba(103,232,249,0.7); margin-bottom: 2rem;
}
.hero-sep {
  width: 6rem; height: 1px; margin-bottom: 2rem;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,0.6), transparent);
}
.hero-desc { max-width: 28rem; font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,0.6); margin-bottom: 2.5rem; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2rem; border-radius: var(--radius);
  background: var(--primary); color: var(--primary-foreground);
  font-size: 0.875rem; font-weight: 600;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transition: opacity 0.2s, box-shadow 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { opacity: 0.9; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.btn-primary svg { margin-left: 0.25rem; }

/* ── Sections ── */
.section-padding { padding: 5rem 1.5rem; }
@media (min-width: 768px) { .section-padding { padding: 7rem 1.5rem; } }
@media (min-width: 1024px) { .section-padding { padding: 7rem 0; } }

/* ── Problems ── */
.problems { background: var(--card); }
.problems-inner { max-width: 72rem; margin: 0 auto; }
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em; color: var(--primary); margin-bottom: 0.75rem;
}
.section-title { font-size: 1.875rem; font-weight: 700; color: var(--foreground); }
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
.problems-header { max-width: 42rem; margin-bottom: 4rem; }
.problems-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .problems-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .problems-grid { grid-template-columns: repeat(4, 1fr); } }
.problem-card {
  border-radius: 0.75rem; border: 1px solid var(--border);
  background: var(--background); padding: 2rem;
  box-shadow: 0 4px 24px -4px rgba(15,23,42,0.08);
  transition: box-shadow 0.3s, transform 0.3s;
}
.problem-card:hover { box-shadow: 0 12px 40px -8px rgba(30,64,175,0.15); transform: translateY(-4px); }
.problem-icon {
  width: 3rem; height: 3rem; border-radius: 0.5rem;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; color: var(--primary);
}
.problem-card h3 { font-family: 'Inter', sans-serif; font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; }
.problem-card p { font-size: 0.875rem; line-height: 1.75; color: var(--muted-foreground); }

/* ── How It Works ── */
.how-it-works { background: var(--background); }
.how-inner { max-width: 72rem; margin: 0 auto; }
.how-header { text-align: center; margin-bottom: 4rem; }
.steps-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: center; }
@media (min-width: 768px) { .step { text-align: left; } }
.step-number { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: rgba(30,64,175,0.15); margin-bottom: 1rem; }
.step-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: rgba(30,64,175,0.1); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; color: var(--primary);
}
@media (min-width: 768px) { .step-icon { margin: 0 0 1rem; } }
.step h3 { font-family: 'Inter', sans-serif; font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
.step p { font-size: 0.875rem; line-height: 1.75; color: var(--muted-foreground); }

/* ── Benefits ── */
.benefits { background: var(--card); padding: 5rem 1.5rem 2.5rem; }
@media (min-width: 768px) { .benefits { padding: 7rem 1.5rem 3.5rem; } }
@media (min-width: 1024px) { .benefits { padding: 7rem 0 3.5rem; } }
.benefits-inner { max-width: 72rem; margin: 0 auto; display: grid; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .benefits-inner { grid-template-columns: repeat(2, 1fr); } }
.benefits-left p { color: var(--muted-foreground); line-height: 1.75; }
.benefit-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.benefit-check { flex-shrink: 0; margin-top: 0.25rem; color: var(--primary); }
.benefit-item h3 { font-family: 'Inter', sans-serif; font-size: 1.125rem; font-weight: 600; margin-bottom: 0.25rem; }
.benefit-item p { font-size: 0.875rem; line-height: 1.75; color: var(--muted-foreground); }

/* ── CTA Final ── */
.cta-final {
  position: relative; overflow: hidden;
  background: var(--secondary); text-align: center;
}
.cta-final h2 { font-size: 1.875rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .cta-final h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .cta-final h2 { font-size: 3rem; } }
.cta-final .highlight { color: rgba(255,255,255,0.8); }
.cta-final p { max-width: 36rem; margin: 0 auto 2.5rem; color: rgba(255,255,255,0.6); line-height: 1.75; }
.cta-glow {
  position: absolute; bottom: -2rem; left: 50%; transform: translateX(-50%);
  width: 20rem; height: 6rem; border-radius: 50%;
  background: rgba(30,64,175,0.1); filter: blur(48px); pointer-events: none;
}

/* ── Responsive hero ── */
@media (max-width: 768px) {
  .hero-inner { flex-direction: column; gap: 2.5rem; }
  .hero-text { text-align: center; }
  .hero-text h1 { font-size: 2.25rem; }
  .hero-sep { margin: 0 auto 2rem; }
  .hero-logo-wrap { width: 12rem; height: 12rem; }
  .hero-logo-img { width: 7rem; height: 7rem; }
}
