/* 1. Global */
:root {
  --bg: #ffffff;
  --bg-soft: #f8f9fa;
  --panel: #ffffff;
  --panel-soft: #f0f2f5;
  --text: #0f1115;
  --text-light: #444;
  --muted: #666;
  --light-border: #e0e0e0;
  --accent: #e91e63;
  --accent-2: #7c5cff;
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius: 16px;
  --radius-sm: 8px;
  --max: 1180px;
  --spacing: 24px;
  --spacing-lg: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* 2. Header / Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--light-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  font-size: 1.05rem;
  color: var(--accent);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 20px rgba(233, 30, 99, 0.18);
  font-size: 1.15rem;
  color: white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 3. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border: none;
  box-shadow: 0 12px 28px rgba(233, 30, 99, 0.24);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--light-border);
  color: var(--text);
}

/* 4. Hero Section */
.hero {
  padding: 80px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.eye-brow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--light-border);
  background: var(--bg);
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero p {
  margin: 18px 0 0;
  max-width: 60ch;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-card {
  padding: 24px;
  border-radius: calc(var(--radius) + 4px);
  background: var(--panel);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(233, 30, 99, 0.08);
  border: 1px solid rgba(233, 30, 99, 0.16);
  color: var(--accent);
  font-size: 0.9rem;
}

.story-preview {
  display: grid;
  gap: 14px;
}

.preview-item {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--light-border);
  background: var(--bg);
}

.preview-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--text);
}

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

/* 5. Features Section */
.section {
  padding: 36px 0 12px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  color: var(--text);
}

.section-head p {
  margin: 0;
  color: var(--text-light);
  max-width: 52ch;
  line-height: 1.6;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--light-border);
  background: var(--panel-soft);
}

.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.12), rgba(124, 92, 255, 0.12));
  border: 1px solid rgba(233, 30, 99, 0.18);
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  color: var(--text);
}

.feature p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.65;
}

/* 6. Stories Section */
#stories {
  padding: var(--spacing-lg) 0;
}

.stories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.story-card {
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--light-border);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.story-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  color: var(--text);
}

.story-card p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.65;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* 7. CTA (Get started) */
.cta {
  padding: 40px 0 72px;
}

.cta-card {
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--light-border);
  background: var(--panel-soft);
}

.cta-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
}

.cta-card p {
  margin: 0;
  color: var(--text-light);
  max-width: 50ch;
  line-height: 1.65;
}

/* 8. Footer */
footer {
  padding: 20px 0 28px;
  color: var(--muted);
  border-top: 1px solid var(--light-border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--accent);
}

/* 9. Responsive (fixed nav + no horizontal scroll) */
@media (max-width: 920px) {
  .nav-inner {
    padding: 0 16px;
  }

  .hero-grid,
  .grid-3,
  .stories,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 16px;
  }

  .nav-actions {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    min-height: 68px;
    padding: 0 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-actions {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .nav-actions .btn {
    flex: 1;
    padding: 9px 12px;
    font-size: 0.95rem;
  }

  .hero {
    padding: 60px 0 28px;
  }

  .hero-actions {
    justify-content: center;
  }
}
