:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #10b981;
  --bg-soft: #ecfdf5;
  --bg-page: #f0fdf4;
  --bg-hero: #f3faf6;
  --text: #0f172a;
  --muted: #64748b;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 16px 48px rgba(5, 150, 105, 0.12);
}

* { box-sizing: border-box; }

body { 
  margin: 0; 
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; 
  color: var(--text); 
  background: #fff; 
  overflow-x: hidden; 
}

a { text-decoration: none; color: inherit; }

/* ===== Top bar ===== */
.topbar { background: #064e3b; color: #a7f3d0; font-size: 0.8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; gap: 12px; flex-wrap: wrap; }
.topbar-left span { margin-right: 18px; }
.topbar-left i, .topbar-right i { margin-right: 6px; }
.topbar-right a { color: #a7f3d0; margin-left: 14px; text-decoration: none; }
.topbar-right a:hover { color: #fff; }
.lang { margin-left: 14px; }

/* ===== Navigation ===== */
.public-nav { 
  background: rgba(255,255,255,.95); 
  border-bottom: 1px solid #e2e8f0; 
  position: sticky; 
  top: 0; 
  z-index: 100; 
  backdrop-filter: blur(12px); 
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; text-decoration: none; color: var(--text); }
.brand-mark { 
  width: 36px;  border-radius: 10px; 
  /*background: linear-gradient(135deg, #059669, #10b981); */
  color: #fff; display: grid; place-items: center; font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; }
.nav-links a { font-weight: 500; color: #334155; text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-login { margin-left: 8px; }
.btn-nav-outline {
  border: 1.5px solid var(--primary); color: var(--primary) !important;
  padding: 8px 16px; border-radius: 999px; font-weight: 600 !important;
}
.btn-nav-solid { 
  background: var(--primary); color: #fff !important; 
  padding: 10px 18px; border-radius: 999px; font-weight: 700 !important; 
}
.btn-nav-solid:hover { background: var(--primary-dark); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.3rem; color: var(--text); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links { 
    display: none; position: absolute; left: 0; right: 0; top: 100%; 
    background: #fff; flex-direction: column; padding: 16px; 
    border-bottom: 1px solid #e2e8f0; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
}

/* ===== Luxury Hero ===== */
.lux-hero { background: linear-gradient(180deg, #f3faf6 0%, #ffffff 100%); padding: 56px 0 40px; }
.lux-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.lux-eyebrow { color: var(--primary); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.lux-eyebrow.light { color: #6ee7b7; }
.lux-hero-copy h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 16px; }
.lux-highlight { 
  background: linear-gradient(120deg, #a7f3d0 0%, #a7f3d0 100%); 
  background-repeat: no-repeat; background-size: 100% 42%; background-position: 0 78%; padding: 0 4px; 
}
.lux-lead { color: var(--muted); font-size: 1.05rem; max-width: 520px; line-height: 1.7; margin-bottom: 24px; }
.lux-lead.dark { color: #cbd5e1; }
.lux-hero-meta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-bottom: 28px; }
.lux-avatars { display: flex; align-items: center; }
.lux-avatars .av { width: 36px; height: 36px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 0.8rem; display: grid; place-items: center; border: 2px solid #fff; margin-left: -8px; }
.lux-avatars .av:first-child { margin-left: 0; }
.av-plus { margin-left: 8px; font-weight: 700; font-size: 0.85rem; color: var(--primary); }
.lux-rating .stars { color: #f59e0b; letter-spacing: 1px; }
.lux-rating .muted { color: var(--muted); font-size: 0.85rem; margin-left: 6px; }
.lux-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-lux-primary { 
  display: inline-flex; align-items: center; gap: 8px; 
  background: var(--primary); color: #fff; padding: 14px 26px; 
  border-radius: 12px; font-weight: 700; text-decoration: none; 
  box-shadow: 0 10px 28px rgba(5,150,105,.3); 
}
.btn-lux-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-lux-ghost { 
  display: inline-flex; align-items: center; padding: 14px 24px; 
  border-radius: 12px; font-weight: 700; text-decoration: none; 
  color: var(--primary); border: 1.5px solid #a7f3d0; background: #fff; 
}
.lux-svg-card svg { width: 100%; max-width: 380px; filter: drop-shadow(0 20px 40px rgba(5,150,105,.25)); }

/* Standard Hero Fallback */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(160deg, #ecfdf5 0%, #d1fae5 40%, #fff 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.02em; }
.hero h1 span { color: var(--primary); }
.hero p.lead { color: var(--muted); font-size: 1.1rem; max-width: 520px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-hero { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 12px; font-weight: 700; font-size: 1rem; transition: transform .2s, box-shadow .2s; }
.btn-hero:hover { transform: translateY(-2px); }
.btn-hero-primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; box-shadow: 0 8px 24px rgba(5,150,105,.35); }
.btn-hero-ghost { background: #fff; color: var(--primary); border: 1.5px solid #a7f3d0; }
.hero-card {
  background: linear-gradient(145deg, #059669, #10b981);
  border-radius: 24px; padding: 28px; color: #fff;
  box-shadow: 0 20px 50px rgba(5,150,105,.35);
  animation: floatY 6s ease-in-out infinite;
  position: relative; overflow: hidden;
}
.hero-card::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.hero-card .label { opacity: .85; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.hero-card .balance { font-size: 2.4rem; font-weight: 800; margin: 8px 0 16px; }
.hero-card .row-meta { display: flex; justify-content: space-between; font-size: .85rem; opacity: .9; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-trust-row { display: flex; flex-wrap: wrap; gap: 14px 20px; margin-top: 28px; font-size: 0.85rem; color: #475569; font-weight: 600; }
.hero-trust-row i { color: var(--primary); margin-right: 6px; }

/* ===== Trio Cards ===== */
.lux-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lux-trio-card { 
  background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; 
  padding: 28px 24px; box-shadow: 0 8px 30px rgba(15,23,42,.04); 
  transition: transform .25s, box-shadow .25s; 
}
.lux-trio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.lux-trio-card h4 { font-weight: 800; font-size: 1.1rem; margin: 14px 0 8px; line-height: 1.35; }
.lux-trio-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; }
.lux-trio-green { background: linear-gradient(160deg, #059669, #10b981); border: none; color: #fff; }
.lux-trio-green h4, .lux-trio-green p { color: #fff; }
.lux-trio-green p { opacity: .9; }
.trio-balance-pill { background: rgba(255,255,255,.18); border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.trio-balance-pill span { font-size: 0.8rem; opacity: .9; }
.trio-balance-pill strong { font-size: 1.25rem; }
.mini-card-svg svg, .mini-phone-svg svg { width: 100%; max-height: 140px; }

/* ===== Analytics Band ===== */
.lux-analytics { background: #022c22; color: #fff; padding: 72px 0; }
.lux-analytics-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.big-phone { width: 100%; max-width: 300px; filter: drop-shadow(0 24px 48px rgba(0,0,0,.35)); }
.lux-analytics-copy h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.lux-underline { text-decoration: underline; text-decoration-color: #34d399; text-underline-offset: 6px; }
.lux-feature-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.lux-feat { display: flex; gap: 14px; background: rgba(255,255,255,.06); border-radius: 14px; padding: 16px 18px; }
.feat-ico { width: 44px; height: 44px; border-radius: 50%; background: #059669; display: grid; place-items: center; flex-shrink: 0; }
.lux-feat strong { display: block; margin-bottom: 4px; }
.lux-feat p { margin: 0; font-size: 0.9rem; color: #94a3b8; }

/* ===== Trusted Section ===== */
.lux-trusted { background: #021c16; padding: 32px 0; text-align: center; }
.trusted-label { color: #6ee7b7; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.trusted-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 40px; opacity: .85; }

/* ===== Stats Band ===== */
.stats-band { background: #0f172a; color: #fff; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #6ee7b7; }
.stat-label { font-size: 0.9rem; color: #94a3b8; margin-top: 4px; }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== General Sections & Features ===== */
.section { padding: 72px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-title p { color: var(--muted); max-width: 560px; margin: 8px auto 0; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--card); border: 1px solid #e2e8f0; border-radius: var(--radius);
  padding: 28px 22px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #a7f3d0; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--bg-soft); color: var(--primary);
  display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 14px;
}
.feature-card h5 { font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ===== How it works ===== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.step-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius);
  padding: 28px 22px; text-align: center; transition: transform .25s, box-shadow .25s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; font-weight: 800; display: grid; place-items: center;
  margin: 0 auto 14px; font-size: 1.1rem;
}
.step-card h5 { font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ===== Digital / Mobile ===== */
.digital-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.digital-copy h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.digital-copy > p { color: var(--muted); margin-bottom: 20px; max-width: 480px; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 500; color: #334155; }
.check-list i { color: var(--primary); }
.phone-frame {
  max-width: 280px; margin: 0 auto; background: #0f172a;
  border-radius: 32px; padding: 12px; box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
}
.phone-screen {
  background: linear-gradient(180deg, #ecfdf5, #fff); border-radius: 24px;
  padding: 24px 16px 16px; min-height: 420px; display: flex; flex-direction: column;
}
.mini-balance {
  background: linear-gradient(145deg, #059669, #10b981); color: #fff;
  border-radius: 16px; padding: 20px; font-size: 1.5rem; font-weight: 800; margin-bottom: 16px;
}
.mini-actions { display: flex; gap: 8px; margin-bottom: auto; }
.mini-actions span {
  flex: 1; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
  padding: 10px 4px; text-align: center; font-size: 0.7rem; font-weight: 600; color: #334155;
}
.mini-nav {
  display: flex; justify-around: space-around; padding-top: 14px;
  border-top: 1px solid #e2e8f0; color: #64748b; font-size: 1.1rem;
}
.mini-nav i:nth-child(3) { color: var(--primary); font-size: 1.4rem; }

/* ===== Global Regions ===== */
.region-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.region-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 18px 16px; display: flex; flex-direction: column; gap: 6px;
  transition: border-color .2s, box-shadow .2s;
}
.region-card:hover { border-color: #a7f3d0; box-shadow: var(--shadow); }
.region-card strong { font-weight: 700; color: var(--text); }
.region-card span { font-size: 0.85rem; color: var(--muted); }

/* ===== Why Choose Us ===== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.why-item {
  display: flex; gap: 16px; background: #fff; border: 1px solid #e2e8f0;
  border-radius: var(--radius); padding: 22px; transition: transform .25s, box-shadow .25s;
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-item > i {
  width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft);
  color: var(--primary); display: grid; place-items: center; font-size: 1.15rem; flex-shrink: 0;
}
.why-item h5 { font-weight: 700; margin: 0 0 6px; }
.why-item p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ===== Plans ===== */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.plan-card {
  background: #fff; border-radius: var(--radius); border: 1px solid #e2e8f0;
  padding: 28px; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-card .roi { font-size: 2rem; font-weight: 800; color: var(--primary); margin: 8px 0; }
.plan-card .badge-tier {
  display: inline-block; background: var(--bg-soft); color: var(--primary);
  font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}

/* ===== Testimonials ===== */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testimonial-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius);
  padding: 28px 24px; transition: transform .25s, box-shadow .25s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial-card .stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 12px; font-size: 0.95rem; }
.testimonial-card p { color: #334155; font-size: 0.98rem; line-height: 1.6; margin-bottom: 16px; }
.testimonial-card .author { font-size: 0.85rem; font-weight: 600; color: var(--muted); }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 4px 16px; }
.faq-item summary {
  cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.2rem; color: var(--primary); font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0 0 14px; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* ===== CTA Band ===== */
.cta-band {
  background: linear-gradient(135deg, #047857, #10b981);
  color: #fff; border-radius: 24px; padding: 48px 32px; text-align: center; margin: 40px 0;
}
.cta-band h3 { font-weight: 800; margin-bottom: 12px; }
.cta-band a { display: inline-block; margin-top: 16px; background: #fff; color: var(--primary); padding: 12px 28px; border-radius: 12px; font-weight: 700; }
.cta-band .cta-secondary {
  display: inline-block; margin-top: 12px; margin-left: 10px; background: transparent;
  color: #fff; border: 1.5px solid rgba(255,255,255,.5); padding: 12px 24px; border-radius: 12px; font-weight: 700;
}
.cta-band .cta-secondary:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ===== Form Controls / Generic Utility ===== */
.soft-bg { background: var(--bg-page); }
.content-card { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid #e2e8f0; box-shadow: 0 4px 20px rgba(0,0,0,.04); }
.form-control, .form-select { border-radius: 12px; border-color: #e2e8f0; padding: 12px 14px; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(5,150,105,.15); }
.btn-primary-uf { background: var(--primary); border: none; color: #fff; padding: 12px 24px; border-radius: 12px; font-weight: 700; }
.btn-primary-uf:hover { background: var(--primary-dark); color: #fff; }

/* ===== Footer ===== */
.public-footer { background: #0f172a; color: #e2e8f0; padding: 56px 0 24px; margin-top: 40px; }
.public-footer .brand-text { color: #fff; }
.public-footer h6 { color: #fff; font-weight: 700; margin-bottom: 12px; }
.public-footer a { display: block; color: #94a3b8; margin-bottom: 6px; font-size: .95rem; }
.public-footer a:hover { color: #6ee7b7; }
.footer-muted { color: #94a3b8; font-size: .95rem; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 32px; padding-top: 20px; text-align: center; color: #64748b; font-size: .85rem; }

/* ===== Toasts ===== */
.toast-stack { position: fixed; top: 80px; right: 16px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.toast-item {
  background: #fff; border-radius: 12px; padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  animation: slideIn .35s ease; border-left: 4px solid var(--primary);
}
.toast-error, .toast-danger { border-left-color: #dc2626; }
.toast-warning { border-left-color: #d97706; }
.toast-success { border-left-color: #059669; }
.toast-item button { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: #94a3b8; }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===== Reveal on Scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: all .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Media Queries ===== */
@media (max-width: 960px) {
  .lux-hero-grid, .lux-analytics-grid, .lux-trio, .digital-grid, .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .hero-card { max-width: 400px; }
}