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

:root {
  --navy:   #1e3a5f;
  --blue:   #2d6a9f;
  --blue-l: #4a90d9;
  --green:  #16a34a;
  --bg:     #f5f6f8;
  --white:  #ffffff;
  --gray-1: #f8fafc;
  --gray-2: #e8e9ec;
  --gray-3: #9ca3af;
  --text:   #1a1a2e;
  --text-2: #4b5563;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s;
  white-space: nowrap;
  text-decoration: none;
}
.btn--primary  { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--navy); text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(45,106,159,0.35); }
.btn--ghost    { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; text-decoration: none; }
.btn--outline  { background: transparent; color: var(--gray-3); border-color: var(--gray-2); }
.btn--white    { background: #fff; color: var(--navy); }
.btn--white:hover { background: #f0f6ff; text-decoration: none; transform: translateY(-1px); }
.btn--full     { width: 100%; justify-content: center; }

.gradient-text {
  background: linear-gradient(135deg, #4a90d9 0%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Navbar ───────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-2);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}
.nav__icon { font-size: 20px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 14px; color: var(--text-2); font-weight: 500; }
.nav__links a:hover { color: var(--blue); text-decoration: none; }
.nav__cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 7px 18px;
  border-radius: 7px;
  font-weight: 600;
}
.nav__cta:hover { background: var(--navy) !important; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #0f2540 0%, #1e3a5f 45%, #15294a 100%);
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50%  { opacity: 0.4; }
}

.hero__title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero__desc {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero__trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
}

/* ── Browser Mockup ───────────────────────────────────────────────────── */
.browser-mock {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f0f2f5;
  border-bottom: 1px solid #e0e2e6;
}
.browser-dot {
  width: 10px; height: 10px;
  border-radius: 50%; flex-shrink: 0;
}
.browser-dot.r { background: #ff5f57; }
.browser-dot.y { background: #febc2e; }
.browser-dot.g { background: #28c840; }
.browser-url {
  font-size: 11px; color: #888;
  background: #fff;
  border: 1px solid #e0e2e6;
  border-radius: 5px;
  padding: 3px 10px;
  margin-left: 6px;
  flex: 1;
}
.browser-content { padding: 20px; min-height: 180px; position: relative; }
.mock-text {
  font-size: 13px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 16px;
}
.mock-highlight {
  background: rgba(255,230,0,0.35);
  border-bottom: 2px solid #2d6a9f;
  padding: 1px 2px;
  border-radius: 2px;
  cursor: help;
  font-weight: 600;
  color: #1e3a5f;
}
.mock-tooltip {
  background: #fff;
  border: 1px solid #d0d7de;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  width: 260px;
  overflow: hidden;
  font-size: 11.5px;
  animation: floatIn 0.4s ease;
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mtt-header {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px 6px;
  background: linear-gradient(135deg, #1e3a5f, #2d6a9f);
}
.mtt-code { font-size: 14px; font-weight: 800; color: #fff; font-family: monospace; }
.mtt-badge { font-size: 9px; font-weight: 700; padding: 1px 6px; border-radius: 8px; }
.mtt-badge.rename { background: #dbeafe; color: #1e40af; }
.mtt-close { margin-left: auto; color: rgba(255,255,255,0.6); font-size: 10px; cursor: pointer; }
.mtt-name { padding: 7px 10px 2px; font-size: 12px; font-weight: 700; color: #1a1a2e; }
.mtt-rename { padding: 2px 10px; font-size: 10.5px; color: #6b7280; }
.mtt-old { text-decoration: line-through; color: #9ca3af; }
.mtt-new { color: #1d4ed8; font-weight: 600; }
.mtt-desc { padding: 4px 10px 6px; font-size: 11px; color: #4b5563; line-height: 1.45; }
.mtt-footer { display: flex; gap: 6px; padding: 7px 10px 9px; }
.mtt-btn {
  padding: 4px 10px; border-radius: 5px; font-size: 10.5px;
  font-weight: 600; cursor: pointer; border: 1.5px solid;
}
.mtt-btn.green { color: #16a34a; border-color: #16a34a; background: #fff; }
.mtt-btn.blue  { color: #2d6a9f; border-color: #2d6a9f; background: #fff; }

/* ── Stats ────────────────────────────────────────────────────────────── */
.stats {
  background: var(--navy);
  padding: 36px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 12px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-num  { font-size: 36px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 12.5px; color: rgba(255,255,255,0.6); font-weight: 500; }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section--alt { background: var(--gray-1); }

.section__head { text-align: center; margin-bottom: 56px; }
.section__tag {
  display: inline-block;
  background: #e8f0fb;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section__title { font-size: 34px; font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -0.3px; }
.section__sub   { font-size: 16px; color: var(--text-2); max-width: 540px; margin: 0 auto; }

/* ── Features Grid ────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.feature-card--accent {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d6a9f 100%);
  border-color: transparent;
  color: #fff;
}
.feature-card--accent h3, .feature-card--accent p { color: rgba(255,255,255,0.92); }
.feature-card--accent .feature-icon { background: rgba(255,255,255,0.15); }

.feature-icon {
  width: 44px; height: 44px;
  background: #eef2f8;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.feature-card h3 { font-size: 14.5px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feature-card p  { font-size: 13px; color: var(--text-2); line-height: 1.55; }

/* ── Steps ────────────────────────────────────────────────────────────── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.step {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.step__num {
  width: 36px; height: 36px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step__content h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step__content p  { font-size: 13px; color: var(--text-2); line-height: 1.55; }
.step__arrow {
  font-size: 22px; color: var(--gray-3);
  align-self: center; flex-shrink: 0; margin-top: -20px;
}

/* ── Pricing ──────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-2);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
}
.pricing-card--featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(45,106,159,0.08);
}
.pricing-card--coming { opacity: 0.8; }

.pricing-badge {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 14px; border-radius: 20px;
  white-space: nowrap;
}
.pricing-badge.soon { background: var(--gray-3); }

.pricing-plan  { font-size: 13px; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.pricing-price { font-size: 52px; font-weight: 800; color: var(--navy); line-height: 1; }
.pricing-price span { font-size: 20px; font-weight: 600; }
.pricing-period { font-size: 13px; color: var(--gray-3); margin-bottom: 24px; }

.pricing-list { list-style: none; margin: 0 0 24px; display: flex; flex-direction: column; gap: 8px; }
.pricing-list li { font-size: 13.5px; color: var(--text-2); }
.pricing-list li.coming { color: var(--gray-3); }

.pricing-note  { font-size: 11.5px; color: var(--gray-3); text-align: center; margin: 10px 0 8px; }
.pricing-email-wrap {
  display: flex; gap: 6px;
}
.pricing-email {
  flex: 1; padding: 8px 12px;
  border: 1.5px solid var(--gray-2); border-radius: 7px;
  font-size: 13px; font-family: inherit; outline: none;
}
.pricing-email:focus { border-color: var(--blue); }
.pricing-email-btn {
  padding: 8px 14px; border-radius: 7px;
  background: var(--blue); color: #fff;
  font-size: 13px; font-weight: 700; font-family: inherit;
  border: none; cursor: pointer; white-space: nowrap;
  transition: background 0.15s;
}
.pricing-email-btn:hover   { background: var(--navy); }
.pricing-email-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.pricing-email-msg {
  font-size: 12px; margin-top: 6px; min-height: 18px;
  text-align: center;
}
.pricing-email-msg.success { color: #16a34a; }
.pricing-email-msg.error   { color: #dc2626; }

/* ── Trust ────────────────────────────────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.trust-item {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.trust-icon { font-size: 28px; margin-bottom: 12px; }
.trust-item h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.trust-item p  { font-size: 12.5px; color: var(--text-2); line-height: 1.55; }

.privacy-box {
  background: #f0f6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.privacy-box__icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.privacy-box h3    { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.privacy-box p     { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.privacy-box code  { background: rgba(0,0,0,0.07); padding: 1px 5px; border-radius: 4px; font-size: 12px; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  padding: 18px 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary        { border-bottom: 1px solid var(--gray-2); }
.faq-item p {
  padding: 16px 22px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.65;
}
.faq-item p a { color: var(--blue); }
kbd {
  background: #f0f2f5; border: 1px solid #d0d3db;
  border-radius: 4px; padding: 1px 6px;
  font-size: 12px; font-family: monospace;
}
.faq-item p code { background: #f0f2f5; padding: 1px 5px; border-radius: 4px; font-size: 12.5px; }

/* ── CTA Section ──────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d6a9f 100%);
  padding: 72px 0;
  text-align: center;
}
.cta-section h2  { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.cta-section p   { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 28px; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer {
  background: #0f1f35;
  padding: 28px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
.footer__ver  { font-size: 11px; background: rgba(255,255,255,0.1); padding: 2px 7px; border-radius: 10px; color: rgba(255,255,255,0.6); }
.footer__links { display: flex; gap: 20px; margin-left: auto; }
.footer__links a { font-size: 13px; color: rgba(255,255,255,0.55); }
.footer__links a:hover { color: rgba(255,255,255,0.9); text-decoration: none; }
.footer__copy  { width: 100%; font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 4px; }

/* ── Donate section ───────────────────────────────────────────────────── */
.section--donate {
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e0 100%);
}

.donate-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 8px 0 40px;
}
.donate-momo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ae2070;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 32px;
  text-decoration: none;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 4px 20px rgba(174,32,112,0.3);
}
.donate-momo-link:hover {
  background: #8f1a5c;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(174,32,112,0.4);
  text-decoration: none;
}
.donate-momo-m {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: #fff;
  color: #ae2070;
  font-size: 13px;
  font-weight: 900;
  border-radius: 50%;
  flex-shrink: 0;
}
.donate-note {
  font-size: 12px;
  color: #a0622a;
  opacity: 0.75;
}

.donor-wall { margin-top: 8px; }
.donor-wall__title {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
}
.donor-wall__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.donor-card {
  background: #fff;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 14px 16px;
  min-width: 220px;
  max-width: 300px;
  flex: 1;
  box-shadow: 0 2px 8px rgba(174,32,112,0.06);
  position: relative;
}
.donor-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.donor-card__icon { font-size: 16px; flex-shrink: 0; }
.donor-card__name { font-weight: 700; font-size: 14px; color: #1a1a2e; flex: 1; }
.donor-card__amount {
  background: #d1fae5;
  color: #065f46;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}
.donor-card__msg {
  font-size: 13px;
  color: #6b7280;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 8px;
}
.donor-card__date {
  font-size: 11px;
  color: #d1a060;
  position: absolute;
  bottom: 10px;
  right: 14px;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__title  { font-size: 34px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid   { grid-template-columns: repeat(2, 1fr); }
  .trust-grid    { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; }
  .step__arrow { display: none; }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 440px; }
  .nav__links a:not(.nav__cta) { display: none; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .trust-grid    { grid-template-columns: 1fr; }
  .hero__title   { font-size: 28px; }
  .section__title { font-size: 26px; }
  .hero__actions  { flex-direction: column; }
  .footer__links  { display: none; }
  .donor-wall__grid { flex-direction: column; }
  .donor-card { max-width: 100%; }
}
