/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --dark:    #1a1b1f;
  --darker:  #111214;
  --yellow:  #ffc107;
  --white:   #ffffff;
  --light:   #f8f9fa;
  --text:    #2d2d2d;
  --muted:   #666;
  --border:  #e4e4e4;
  --radius:  6px;
  --max:     1100px;
  --font:    'Josefin Sans', sans-serif;
}

/* ── Selection ─────────────────────────────────────────────────────────────── */
::selection { background: #ffc107; color: var(--dark); }

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.7; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ── Typography ────────────────────────────────────────────────────────────── */
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 700; line-height: 1.3; }
p  { font-size: 1.05rem; }

/* ── Utility ────────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.section    { padding: 6rem 0; }

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
}
.btn-primary:hover {
  background: #e6ad00;
  border-color: #e6ad00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,193,7,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--darker);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.btn-nav-outline {
  background: transparent;
  color: var(--dark);
  border-color: rgba(0,0,0,0.3);
}
.btn-nav-outline:hover {
  border-color: var(--dark);
  background: rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

/* ── Nav ────────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--yellow);
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav__logo img { height: 36px; width: auto; }
.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav__social {
  display: flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.nav__social:hover { opacity: 1; }
.nav__social img { width: 22px; height: 22px; }

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--dark);
  min-height: 90vh;
  padding-top: 70px;
  display: flex;
  align-items: center;
}
.hero__inner--centered {
  display: flex;
  justify-content: center;
  padding: 5rem 2rem;
}
.hero__content--centered {
  color: var(--white);
  text-align: center;
  max-width: 760px;
}
.hero__icon { width: 120px; height: 120px; margin: 0 auto 2rem; }
.hero__content--centered h1 { margin-bottom: 1.5rem; }
.hero__content--centered h1 span { color: var(--yellow); }
.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero__actions--centered {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Micro Apps (Features) ─────────────────────────────────────────────────── */
.features { background: var(--white); }
.features__intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.features__intro h2 { margin-bottom: 0.75rem; }
.features__intro p  { color: var(--muted); font-size: 1.05rem; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.feature-card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
}
.feature-card h3 { margin-bottom: 0.75rem; color: var(--dark); }
.feature-card p  { color: var(--muted); font-size: 0.95rem; line-height: 1.8; }

/* ── Community ──────────────────────────────────────────────────────────────── */
.community { background: var(--yellow); }
.community__intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.community__intro h2 { color: var(--dark); margin-bottom: 0.75rem; }
.community__intro p  { color: rgba(26,27,31,0.65); font-size: 1.05rem; }
.community__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.community__card {
  background: var(--dark);
  border-radius: 12px;
  padding: 2.5rem;
  color: var(--white);
  transition: transform 0.2s;
}
.community__card:hover { transform: translateY(-3px); }
.community__card img {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
}
.community__card-icon--pair {
  display: inline-block;
  margin-bottom: 1.5rem;
}
.community__card h3 { margin-bottom: 0.75rem; color: var(--yellow); }
.community__card p  { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.8; }

/* ── Download CTA ──────────────────────────────────────────────────────────── */
.cta {
  background: var(--darker);
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
}
.cta h2 { margin-bottom: 0.75rem; }
.cta p {
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.cta__badge img { height: 56px; margin: 0 auto; }

/* ── Roadmap ────────────────────────────────────────────────────────────────── */
.roadmap { background: var(--light); }
.roadmap__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.roadmap__content h2 { margin-bottom: 1rem; color: var(--dark); }
.roadmap__content p  { color: var(--muted); margin-bottom: 1.5rem; line-height: 1.8; }
.roadmap__trello {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--dark);
  color: var(--white);
  padding: 1rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.roadmap__trello img { width: 22px; height: 22px; filter: invert(1); }
.roadmap__trello:hover {
  background: #0d0e10;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.roadmap__badge-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
}
.roadmap__badge-card p  { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.2rem; line-height: 1.6; }
.roadmap__badge-card img { height: 48px; margin: 0 auto; }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.footer { background: var(--dark); color: var(--white); padding: 5rem 0 3rem; }
.footer__top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: start;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2.5rem;
}
.footer__logo { display: flex; justify-content: center; }
.footer__logo img { height: 40px; }
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}
.footer__links .btn { font-size: 0.78rem; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.35); }
.footer__attribution { font-size: 0.75rem !important; }
.footer__bottom .footer__attribution a { color: var(--yellow); opacity: 0.5; }
.footer__bottom a { color: var(--yellow); }
.footer__social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer__social:hover { color: rgba(255,255,255,0.8); }
.footer__social img { width: 18px; opacity: 0.5; }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .features__grid,
  .community__grid   { grid-template-columns: 1fr 1fr; }
  .features__grid .feature-card:nth-child(4),
  .features__grid .feature-card:nth-child(5) { grid-column: auto; }
  .roadmap__inner    { grid-template-columns: 1fr; gap: 3rem; }
  .footer__top       { grid-template-columns: 1fr; }
  .footer__links     { align-items: flex-start; }
}

@media (max-width: 600px) {
  .section             { padding: 4rem 0; }
  .features__grid,
  .community__grid     { grid-template-columns: 1fr; }
  .nav__actions .btn   { display: none; }
  .hero__actions--centered { flex-direction: column; align-items: center; }
  .hero__actions--centered .btn { width: 100%; max-width: 320px; text-align: center; }
.footer__bottom      { flex-direction: column; text-align: center; }
}
