/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue-700: #1a3a6b;
  --blue-600: #1d4ed8;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-50: #eff6ff;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-50: #f0fdf4;
  --purple-500: #8b5cf6;
  --purple-50: #f5f3ff;
  --orange-500: #f97316;
  --orange-50: #fff7ed;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --whatsapp: #25d366;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.1), 0 12px 32px rgba(0,0,0,0.08);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn--small {
  padding: 8px 20px;
  font-size: 0.875rem;
}

.btn--large {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn--primary {
  background: var(--blue-500);
  color: var(--white);
  border-color: var(--blue-500);
}
.btn--primary:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.btn--outline {
  background: transparent;
  color: var(--blue-500);
  border-color: var(--blue-500);
}
.btn--outline:hover {
  background: var(--blue-50);
}

.btn--white {
  background: var(--white);
  color: var(--blue-600);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--blue-50);
  border-color: var(--blue-50);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav--scrolled {
  background: var(--white);
  box-shadow: var(--shadow);
}

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

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

.nav__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--white);
  color: var(--blue-600);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav--scrolled .nav__icon {
  background: var(--blue-500);
  color: var(--white);
}

.nav__name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  transition: color 0.3s ease;
}

.nav--scrolled .nav__name {
  color: var(--blue-700);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s ease;
}

.nav__links a:not(.btn):hover {
  color: var(--white);
}

.nav--scrolled .nav__links a:not(.btn) {
  color: var(--gray-600);
}

.nav--scrolled .nav__links a:not(.btn):hover {
  color: var(--gray-900);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav--scrolled .nav__toggle span {
  background: var(--gray-700);
}

.nav__toggle--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle--active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-500) 60%, var(--blue-400) 100%);
  padding: 140px 0 100px;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.hero__title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.hero__title--accent {
  display: block;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: 8px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

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

.hero__actions .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.hero__actions .btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* Hero visual — abstract card mockup */
.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__card {
  width: 320px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  overflow: hidden;
  transform: rotate(2deg);
}

.hero__card-header {
  display: flex;
  gap: 6px;
  padding: 14px 18px;
  background: var(--gray-100);
}

.hero__card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300, #d1d5db);
}

.hero__card-dot:first-child { background: #ef4444; }
.hero__card-dot:nth-child(2) { background: #f59e0b; }
.hero__card-dot:nth-child(3) { background: #22c55e; }

.hero__card-body {
  padding: 24px;
}

.hero__card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-50);
  border: 3px solid var(--blue-400);
  margin-bottom: 16px;
}

.hero__card-line {
  height: 10px;
  border-radius: 5px;
  background: var(--gray-200);
  margin-bottom: 10px;
}

.hero__card-line--long { width: 100%; }
.hero__card-line--medium { width: 70%; }
.hero__card-line--short { width: 40%; }

.hero__card-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 16px 0;
}

.hero__card-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.hero__card-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-600);
  background: var(--green-50);
  border-radius: 20px;
}

/* Hero card org row */
.hero__card-org {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.hero__card-org-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--blue-50);
  border: 2px solid var(--blue-200, #bfdbfe);
  flex-shrink: 0;
}

/* ===== Value Proposition ===== */
.value-prop {
  padding: 60px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.value-prop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.value-prop__number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-500);
  line-height: 1;
  margin-bottom: 12px;
}

.value-prop__text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== Section Headers ===== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
}

/* ===== Features ===== */
.features {
  padding: 100px 0;
  background: var(--gray-50);
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card__icon--blue {
  background: var(--blue-50);
  color: var(--blue-500);
}

.feature-card__icon--green {
  background: var(--green-50);
  color: var(--green-600);
}

.feature-card__icon--purple {
  background: var(--purple-50);
  color: var(--purple-500);
}

.feature-card__icon--orange {
  background: var(--orange-50);
  color: var(--orange-500);
}

.feature-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.feature-card__text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ===== Admin Features ===== */
.admin-features {
  padding: 100px 0;
}

.admin-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.admin-feature {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-feature:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow);
}

.admin-feature svg {
  color: var(--blue-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.admin-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.admin-feature p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 100px 0;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  text-align: center;
  max-width: 260px;
  padding: 0 20px;
}

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-500);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.step__text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.steps__connector {
  width: 80px;
  height: 2px;
  background: var(--gray-200);
  margin-top: 28px;
  flex-shrink: 0;
}

/* ===== WhatsApp ===== */
.whatsapp {
  padding: 100px 0;
  background: var(--gray-50);
}

.whatsapp__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.whatsapp__content .section-title {
  text-align: left;
}

.whatsapp__text {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin: 16px 0 24px;
  line-height: 1.7;
}

.whatsapp__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.whatsapp__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--gray-700);
}

.whatsapp__list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whatsapp);
  flex-shrink: 0;
}

/* WhatsApp phone mockup */
.whatsapp__phone {
  width: 300px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 2px solid var(--gray-200);
}

.whatsapp__phone-header {
  background: #075e54;
  color: var(--white);
  padding: 16px 20px;
  font-weight: 700;
}

.whatsapp__phone-name {
  font-size: 0.95rem;
}

.whatsapp__phone-body {
  padding: 20px;
  background: #ece5dd;
  min-height: 220px;
}

.whatsapp__bubble {
  background: var(--white);
  border-radius: 0 12px 12px 12px;
  padding: 14px 16px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--gray-700);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  max-width: 240px;
}

.whatsapp__note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--gray-400);
  font-style: italic;
}

/* ===== Tech Stack ===== */
.tech-stack {
  padding: 80px 0;
  background: var(--white);
}

.tech-stack__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  text-align: center;
}

.tech-stack__item {
  padding: 24px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tech-stack__item strong {
  font-size: 1rem;
  color: var(--gray-900);
}

.tech-stack__item span {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* ===== Security ===== */
.security {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.security__inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.security__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
}

.security__item svg {
  color: var(--green-600);
  flex-shrink: 0;
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--gray-200);
}

.faq__question {
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gray-400);
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__question::after {
  content: '-';
}

.faq__answer {
  padding: 0 0 20px;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-500) 100%);
}

.cta__inner {
  text-align: center;
}

.cta__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.cta__text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta__subtext {
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* ===== Footer ===== */
.footer {
  padding: 60px 0 32px;
  background: var(--gray-900);
  color: var(--gray-400);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer__brand {
  max-width: 280px;
}

.footer__logo-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue-500);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.footer__links {
  display: flex;
  gap: 60px;
}

.footer__heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-200);
  margin-bottom: 14px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col a {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  width: 100%;
  padding-top: 32px;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
  color: var(--gray-600);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
  }

  .nav__links--open {
    display: flex;
  }

  .nav__links a:not(.btn) {
    color: var(--gray-700);
    font-size: 1rem;
  }

  .hero {
    padding: 120px 0 80px;
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    display: none;
  }

  .value-prop__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .admin-features__grid {
    grid-template-columns: 1fr;
  }

  .tech-stack__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .steps__connector {
    width: 2px;
    height: 40px;
    margin: 0;
  }

  .whatsapp__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .whatsapp__content .section-title {
    text-align: center;
  }

  .whatsapp__list {
    align-items: center;
  }

  .security__inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    justify-content: center;
  }

  .footer__bottom {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.65rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .cta__title {
    font-size: 1.75rem;
  }

  .btn--large {
    padding: 12px 24px;
    font-size: 0.95rem;
    width: 100%;
  }

  .cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .tech-stack__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
