/* ---------- Base & tokens ---------- */

:root {
  --aime-pink: #dd37d3;
  --aime-purple: #871af5;
  --aime-pink-soft: #ff80f0;
  --bg-deep: #050016;
  --bg-elevated: #0c0620;
  --text-main: #ffffff;
  --text-muted: #d1c4ff;
  --border-soft: rgba(255, 255, 255, 0.12);
  --radius-xl: 1.5rem;
  --radius-full: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-subtle: 0 10px 25px rgba(0, 0, 0, 0.35);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(221, 55, 211, 0.28), transparent 55%),
    radial-gradient(circle at top right, rgba(135, 26, 245, 0.28), transparent 55%),
    radial-gradient(circle at bottom, rgba(135, 26, 245, 0.35), #050016);
  color: var(--text-main);
  line-height: 1.6;
}

/* Layout helpers */

.container {
  width: min(1120px, 100% - 2.75rem);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: linear-gradient(135deg, rgba(221, 55, 211, 0.08), rgba(135, 26, 245, 0.12));
}

.section-heading {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.1rem);
  margin: 0 0 0.5rem;
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 0, 22, 0.98), rgba(5, 0, 22, 0.7));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--aime-pink), var(--aime-purple));
  -webkit-background-clip: text;
  color: transparent;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.18s ease, opacity 0.18s ease;
}

.nav a:hover {
  color: #ffffff;
  opacity: 0.9;
}

.nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at top left, rgba(221, 55, 211, 0.22), rgba(135, 26, 245, 0.22));
  color: #ffffff;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  margin: 4px 0;
  border-radius: 999px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 4rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  color: var(--aime-pink-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 1.7rem + 1.8vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--aime-pink), var(--aime-purple));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--aime-pink), var(--aime-purple));
  color: #ffffff;
  box-shadow: var(--shadow-subtle);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  background: rgba(12, 6, 32, 0.7);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.btn-ghost:hover {
  background: rgba(12, 6, 32, 0.95);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 6, 32, 0.85);
  color: var(--text-muted);
}

/* Hero card */

.hero-card {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.1), transparent 55%),
              linear-gradient(145deg, rgba(8, 2, 36, 0.95), rgba(18, 4, 60, 0.98));
  border-radius: calc(var(--radius-xl) * 1.1);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}

.dot-pink { background: var(--aime-pink); }
.dot-purple { background: var(--aime-purple); }
.dot-soft { background: rgba(255, 255, 255, 0.5); }

.hero-card h2 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.7rem;
}

.hero-list li {
  padding: 0.6rem 0.7rem;
  border-radius: 0.9rem;
  background: rgba(5, 0, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}

.hero-value {
  font-size: 0.9rem;
}

.hero-card-footer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Mission ---------- */

.mission-section {
  background: rgba(8, 2, 36, 0.9);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.mission-block {
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(5, 0, 22, 0.95), rgba(20, 4, 70, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mission-block h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

/* ---------- Features ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-xl);
  background: rgba(8, 2, 36, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
}

.feature-card p {
  margin-top: 0;
  margin-bottom: 0.85rem;
  color: var(--text-muted);
}

.feature-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Steps ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.step-card {
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius-xl);
  background: rgba(5, 0, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.step-number {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--aime-pink), var(--aime-purple));
  margin-bottom: 0.8rem;
}

/* ---------- Community ---------- */

.community-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.community-list {
  padding-left: 1.1rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.community-card {
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(221, 55, 211, 0.15), rgba(135, 26, 245, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-subtle);
}

/* ---------- CTA ---------- */

.cta-section {
  padding: 4rem 0 3.5rem;
  background: radial-gradient(circle at top, rgba(221, 55, 211, 0.16), rgba(135, 26, 245, 0.2));
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.cta-text h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2rem);
}

.cta-text p {
  margin: 0;
  color: var(--text-muted);
}

.cta-form {
  background: rgba(5, 0, 22, 0.96);
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-subtle);
}

.input-group {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

input[type="email"] {
  flex: 1;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(5, 0, 22, 0.9);
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
}

input[type="email"]::placeholder {
  color: rgba(209, 196, 255, 0.8);
}

input[type="email"]:focus {
  border-color: var(--aime-pink-soft);
}

.cta-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem 0 2rem;
  background: rgba(5, 0, 22, 1);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-left {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}

.footer-brand {
  font-weight: 600;
  color: #ffffff;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-inner,
  .cta-inner,
  .community-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .mission-grid,
  .features-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    position: absolute;
    inset: 72px 0 auto;
    background: rgba(5, 0, 22, 0.98);
    padding: 0.75rem 1rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 3rem;
  }

  .mission-grid,
  .features-grid,
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-section {
    padding-top: 3.2rem;
  }

  .cta-form {
    padding: 1.3rem 1.2rem;
  }

  .input-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
