:root {
  --bg: #ffffff;
  --soft: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #2563eb;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; font-family: Inter, system-ui; }

html { scroll-behavior: smooth; }

body {
  color: var(--text);
  background:
    linear-gradient(#f9fafb 1px, transparent 1px),
    linear-gradient(90deg, #f9fafb 1px, transparent 1px);
  background-size: 48px 48px;
}

.container {
  max-width: 1280px;
  margin: auto;
  padding: 0 24px;
}

/* Offset anchor scroll for sticky header */
#features,
#how,
#who,
#pricing {
  scroll-margin-top: 96px; /* header height + breathing room */
}
#how {
  scroll-margin-top: 96px; /* same as header offset */
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: #2563eb;
  border-radius: 10px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon {
  width: 20px;
  height: 20px;
}

.brand-name {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.2px;
}


/* ======================
   TOP BAR / HEADER
====================== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px; /* 🔑 increase space between Log in & Open App */
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;

  background: #ffffff;
  border-bottom: 1px solid #eef2f7;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;

  height: 74px;                 /* 🔑 taller header */
  padding: 0 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}


.brand {
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 17px;              /* slightly larger than nav */
  font-weight: 600;
  color: #0f172a;
}

.brand-icon {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #2563eb;
  color: #ffffff;
  border-radius: 10px;
  font-size: 16px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;                    /* 🔑 more breathing room */
}

.nav a {
  font-size: 14px;              /* 🔑 calmer text */
  font-weight: 500;
  color: #64748b;
  text-decoration: none;

  position: relative;
  padding: 4px 0;
}

.nav a:hover {
  color: #0f172a;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #2563eb;
  opacity: 0;
  transform: scaleX(0.6);
  transition: all 0.2s ease;
}

.nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Log in */
.link-btn {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  background: none;
  border: none;
  cursor: pointer;
}

.link-btn:hover {
  color: #0f172a;
}

/* HERO */
.hero {
  padding: 40px 0 30px;  /* more air like screenshot */
  text-align: center;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 8px 14px;
  margin-bottom: 8px;

  font-size: 14px;
  font-weight: 500;
  color: #6b7280;

  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #e5e7eb;
  border-radius: 999px;

  backdrop-filter: blur(6px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;

  background: #22c55e;

  box-shadow:
    0 0 0 4px rgba(34, 197, 94, 0.15),
    0 0 10px rgba(34, 197, 94, 0.45);

  animation: statusPulse 2.4s ease-out infinite;
}

@keyframes statusPulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(34, 197, 94, 0.45),
      0 0 10px rgba(34, 197, 94, 0.55);
  }

  70% {
    box-shadow:
      0 0 0 10px rgba(34, 197, 94, 0),
      0 0 18px rgba(34, 197, 94, 0.35);
  }

  100% {
    box-shadow:
      0 0 0 0 rgba(34, 197, 94, 0),
      0 0 10px rgba(34, 197, 94, 0.45);
  }
}


.hero-title {
  font-size: 64px;
  line-height: 1.1;
  font-weight: 800;

  letter-spacing: -0.025em;
  margin-bottom: 12px;

  color: #0f172a;
}

.hero-title .accent {
  color: #2563eb;
}

.pill {
  display: inline-block;
  background: #eef2ff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.accent {
  color: var(--primary);
}


.hero-sub {
  max-width: 560px;
  margin: 0 auto 28px;
  margin-bottom: 16px;

  font-size: 18px;
  line-height: 1.6;
  font-weight: 450;        /* ⬅️ bolder as requested */
  color: #475569;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.hero-actions .large {
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top center,
    rgba(37, 99, 235, 0.08),
    transparent 60%
  );
  pointer-events: none;
}
.hero-meta {
  margin-top: 28px;
  text-align: center;
}

/* “Already have an account?” */
.hero-login {
  font-size: 14px;
  color: #9ca3af; /* soft grey */
  margin-bottom: 10px;
}

.login-link {
  background: none;
  border: none;
  padding: 0;
  margin-left: 4px;

  font-size: 14px;
  font-weight: 500;
  color: #2563eb;
  cursor: pointer;
}

.login-link:hover {
  text-decoration: underline;
}

/* Audience line */
.hero-audience {
  font-size: 13px;
  line-height: 1.6;
  color: #9ca3af;
  font-weight: 450;
  
}

/* =========================
   FEATURES SECTION
========================= */

.features-section {
  padding: 24px 0 32px;
}


.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.section-subtitle {
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 32px;
}

.features-section .section-title {
  margin-bottom: 24px !important;
}

.features-section .section-subtitle {
  margin-top: 4px;
  margin-bottom: 20px;   /* tighter gap to cards */
  line-height: 1.4;
}

/* GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ✅ FORCE 4 */
  gap: 20px;
}

@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* CARD */
.features-section {
  background: #ffffff;
  
}

.feature-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;

  padding: 22px 22px 24px;
  text-align: left;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* ICON TILE */
.feature-icon {
  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 18px;

  background: #f1f5f9;
  border-radius: 12px;

  color: #2563eb;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

/* ICON HOVER */
.feature-card:hover .feature-icon {
  background: #eef2ff;
}

/* TEXT */
.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
}


/* SECTIONS */
.section {
  padding: 100px 0;
}

.section.features-section {
  padding: 14px 0 32px;   /* ✅ now it will move */
}

.section.soft {
  background: var(--soft);
}

.section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
}

/* =========================
   CHALLENGES SECTION
========================= */

.challenges-section {
  padding: 80px 0;
  background: #ffffff; /* ✅ white like features */
}

.challenges-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.challenges-subtitle {
  text-align: center;
  font-size: 15px;
  color: #64748b;
  margin-bottom: 48px;
}

/* GRID */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px)); /* ⬅️ reduced width */
  gap: 24px;
  justify-content: center; /* ⬅️ centers narrower cards */
}


@media (max-width: 768px) {
  .challenges-grid {
    grid-template-columns: 1fr;
  }
}

/* CARD */
.challenge-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 28px 24px;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.challenge-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* ICON */
.challenge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 14px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.challenge-icon.red {
  background: #fff1f2;
  color: #ef4444;
}

.challenge-icon svg {
  width: 20px;
  height: 20px;
}

/* TEXT */
.challenge-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #0f172a;
}

.challenge-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
}

/* =========================
   HOW IT WORKS – TIMELINE
========================= */

.how-section {
  padding: 24px 0;
  background: #ffffff;
}

.how-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 6px;
}

.how-subtitle {
  text-align: center;
  font-size: 15px;
  color: #64748b;
  margin-bottom: 28px;
}

.how-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.how-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #e5e7eb;
  transform: translateX(-50%);
}

/* ROW */
.how-row {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}

.how-row.left {
  justify-content: flex-start;
}

.how-row.right {
  justify-content: flex-end;
}

/* CARD */
.how-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 14px 20px;
  width: 350px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.how-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 2px 0 4px;
}

.how-card p {
  font-size: 14px;
  line-height: 1.4;
  color: #64748b;
}

.how-timeline {
  max-width: 860px;   /* slightly narrower = less vertical stretch */
}

/* STEP NUMBER */
.step-num {
  font-size: 12px;
  font-weight: 600;
  color: #22c55e;
}

/* DOT */
.dot {
  position: absolute;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  transform: translateX(-50%);

  box-shadow:
    0 0 0 6px rgba(34,197,94,0.15),
    0 0 12px rgba(34,197,94,0.45);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .how-timeline::before {
    left: 16px;
  }

  .how-row {
    justify-content: flex-start !important;
    padding-left: 40px;
  }

  .dot {
    left: 16px;
    transform: none;
  }

  .how-card {
    width: 100%;
  }
}

/* =========================
   WHO IT’S FOR
========================= */

.who-section {
  padding: 80px 0;
  background: #ffffff;
}

.who-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 6px;
}

.who-subtitle {
  text-align: center;
  font-size: 15px;
  color: #64748b;
  margin-bottom: 48px;
}

/* GRID */
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .who-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .who-grid {
    grid-template-columns: 1fr;
  }
}

/* CARD */
.who-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.who-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* ICON */
.who-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #f1f5f9;
  border-radius: 12px;
  color: #2563eb;
}

.who-icon svg {
  width: 22px;
  height: 22px;
}

/* TEXT */
.who-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0f172a;
}

.who-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
}


/* =========================
   PRICING SECTION
========================= */

.pricing-section {
  padding: 80px 0;
  background: #ffffff; /* same as how-it-works */
}

.pricing-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-subtitle {
  text-align: center;
  font-size: 15px;
  color: #64748b;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* GRID */
.pricing-grid {
  display: flex;
  gap: 12px;          /* 🔑 reduce space between cards */
  justify-content: center;
}


@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* CARD */
.price-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  max-width: 380px;   /* 🔑 controls box width */
  width: 100%;
  

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Slightly tighter grid gap */
.pricing-grid {
  display: flex;
  gap: 12px;           /* now this WILL work */
  justify-content: center;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.08);
}

/* FEATURED */
.price-card.featured {
  border-color: #2563eb;
  box-shadow: 0 24px 48px rgba(37,99,235,0.18);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

/* TEXT */
.plan-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.plan-desc {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
}

.price {
  font-size: 36px;
  font-weight: 700;
}

.price-note {
  font-size: 13px;
  color: #64748b;
}

/* FEATURES LIST */
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.plan-features li {
  font-size: 14px;
  color: #0f172a;
  margin-bottom: 12px;
  padding-left: 22px;
  position: relative;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 600;
}

.plan-features li.disabled {
  color: #9ca3af;
}

.plan-features li.disabled::before {
  content: "✕";
  color: #e5e7eb;
}

/* BUTTONS */
.btn-primary,
.btn-secondary {
  border-radius: 14px;
  padding: 12px 20px;
  text-decoration: none;
  display: inline-block;
  transition: transform .2s, box-shadow .2s;
}

.price-card .btn-secondary {
  font-weight: 600;          /* 🔑 bold */
  border-width: 2px;
}

.price-card .btn-secondary:hover {
  background: #f8fafc;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* Open App */
.btn-primary {
  font-size: 14px;              /* 🔑 smaller than before */
  font-weight: 600;

  padding: 10px 18px;
  background: #2563eb;
  color: #ffffff;
  text-decoration: none;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-secondary {
  border: 1px solid #e5e7eb;
  color: var(--text);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.large {
  padding: 16px 28px;
}

/* =========================
   CTA – READY TO ORGANIZE
========================= */

.cta-section {
  padding: 80px 0 100px;
  background: #ffffff; /* ✅ SAME as pricing section */
}

.cta-card {
  max-width: 520px;
  margin: 0 auto;

  text-align: center;
  padding: 40px 36px;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;

  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* TITLE */
.cta-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

/* SUBTEXT */
.cta-card p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* BUTTON */
.cta-card .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-size: 14px;
  font-weight: 600;

  padding: 12px 22px;
  border-radius: 12px;
}


/* =========================
   FOOTER
========================= */

.site-footer {
  background: #ffffff; /* ✅ SAME as pricing + CTA */
  padding: 40px 0 64px;
  border-top: 1px solid #eef2f7;
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* BRAND */
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #eef2ff;

  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-name {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

/* META */
.footer-meta {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 14px;
}

/* NOTE */
.footer-note {
  font-size: 12px;
  line-height: 1.6;
  color: #9ca3af;
  max-width: 640px;
  margin: 0 auto;
}

/* ================= AUTH MODAL ================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.btn-primary {
  border: none;
  outline: none;
}

.auth-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  padding: 36px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  z-index: 1001;
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  color: #94a3b8;
  cursor: pointer;
}

.auth-view h2 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.auth-sub {
  text-align: center;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 22px;
}

/* INPUT FIELD */
.auth-field {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 14px;
}

.auth-icon {
  width: 18px;
  height: 18px;
  color: #94a3b8;
}

.auth-field input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
}

/* LINKS */
.auth-links {
  text-align: right;
  margin: 8px 0 16px;
}

.auth-links a {
  font-size: 13px;
  color: #2563eb;
  cursor: pointer;
}

.auth-footer {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  margin-top: 18px;
}

.auth-footer a {
  color: #2563eb;
  cursor: pointer;
}

/* BUTTON */
.auth-box .btn-primary {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  font-size: 15px;
}

/* UTILITY */
.hidden {
  display: none;
}

.auth-message {
  margin: 12px 0;
  font-size: 0.9rem;
  text-align: center;
}

.auth-message.error {
  color: #dc2626;
}

.auth-message.success {
  color: #16a34a;
}

/* ================= Footer contact ================= */

.footer-contact,
.footer-contact-email a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.footer-contact:hover,
.footer-contact-email a:hover {
  text-decoration: underline;
}

.footer-contact-email {
  margin-top: 8px;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ===========================
   MOBILE HEADER FIX
=========================== */

@media (max-width: 768px) {

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Hide nav links on mobile */
  .nav {
    display: none;
  }

  /* Reduce logo spacing */
  .brand-name {
    font-size: 16px;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
  }

  /* Compact header actions */
  .header-actions {
    display: flex;
    gap: 8px;
  }

  .header-actions .btn-primary {
    padding: 8px 12px;
    font-size: 14px;
  }

  .header-actions .link-btn {
    font-size: 14px;
  }
}
