:root {
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --bg-light: #F8FAFC;
  --card-bg: #FFFFFF;
  --border: #E2E8F0;
  --dark-card: #0A1120;
  
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-num: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-muted);
  background-color: var(--bg-light);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, strong {
  color: var(--text-main);
  font-family: var(--font-heading);
}

.font-num {
  font-family: var(--font-num);
}

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

.text-center { text-align: center; }
.margin-auto { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
}

.btn-blue {
  background: var(--primary);
  color: #fff;
}

.btn-blue:hover {
  background: var(--primary-hover);
}

.btn-white {
  background: #fff;
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-lg {
  padding: 0.85rem 1.65rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text-main);
}

.logo-img {
  width: 32px;   /* Change this to adjust width (e.g., 36px or 40px) */
  height: 32px;  /* Change this to match width */
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.grid-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(to right, rgba(226, 232, 240, 0.5) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(226, 232, 240, 0.5) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  border-radius: 99px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.hero-pill.dark {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #93C5FD;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.gradient-text {
  color: #3B82F6;
  background: linear-gradient(135deg, #2563EB, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.avatar-group {
  display: flex;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
}

.avatar:first-child { margin-left: 0; }
.av-1 { background: #3B82F6; }
.av-2 { background: #10B981; }
.av-3 { background: #F59E0B; }
.av-4 { background: #8B5CF6; }

.stars { color: #F59E0B; font-size: 0.85rem; }
.trust-meta p { font-size: 0.85rem; }

/* Mobile Frame Mockup */
.phone-frame {
  background: #000;
  border-radius: 36px;
  padding: 10px;
  border: 4px solid #1E293B;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  color: #000;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 0.7rem;
  padding: 0.25rem 0.75rem;
}

.app-header {
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 20px 20px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.app-body {
  background: #F1F5F9;
  padding: 0.75rem;
  border-radius: 0 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.card-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.date-chip, .days-chip {
  background: #F8FAFC;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.big-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.2rem 0;
}

.stat-trend {
  font-size: 0.65rem;
}

.trend-up {
  color: #10B981;
  font-weight: 700;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.grid-card {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.grid-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.blue-bg { background: #EFF6FF; color: var(--primary); }
.green-bg { background: #ECFDF5; color: #10B981; }
.purple-bg { background: #F3E8FF; color: #a855f7; }
.orange-bg { background: #FFF7ED; color: #f97316; }

.card-label { font-size: 0.65rem; color: var(--text-muted); display: block; }
.grid-card strong { font-size: 0.85rem; display: block; line-height: 1; }
.sub-label { font-size: 0.6rem; color: #94A3B8; }

.svg-chart {
  position: relative;
  margin-top: 0.5rem;
}

.chart-path { width: 100%; height: 50px; }
.chart-tooltip {
  position: absolute;
  top: 0;
  right: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.whatsapp-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wa-left {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.wa-icon { font-size: 1.2rem; }
.wa-left strong { font-size: 0.7rem; display: block; }

.btn-wa {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.65rem;
  font-weight: 600;
}

/* Stats Banner */
.stats-banner {
  background: #fff;
  border-y: 1px solid var(--border);
  padding: 2.5rem 0;
}

.banner-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 2rem;
  color: #94A3B8;
}

.stats-row {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.25rem;
  font-weight: 800;
}

.stat-item p {
  font-size: 0.85rem;
}

/* Features Grid */
.features-section, .showcase-section, .calculator-section, .transform-section, .testimonials-section, .faq-section {
  padding: 5rem 0;
}

.section-heading {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-subtext {
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: left;
}

.f-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.blue-soft { background: #EFF6FF; }

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
}

/* Showcase Section */
.showcase-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.showcase-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  text-align: left;
}

.showcase-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Calculator Section */
.calc-wrapper {
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: left;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.calc-inputs {
  padding: 2rem;
}

.calc-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.form-group input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
  outline: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.input-symbol {
  position: relative;
}

.input-symbol span {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.input-symbol input {
  padding-left: 24px;
}

.calc-breakdown {
  background: #0B132B;
  color: #fff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc-title.green strong { color: #fff; }

.b-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #94A3B8;
}

.b-row strong { color: #fff; }

.net-banner {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
}

.net-banner strong {
  font-size: 1.35rem;
  color: #fff;
}

/* Transform Section */
.transform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.t-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  text-align: left;
}

.t-num {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.rev-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rev-text {
  font-size: 0.9rem;
  margin: 1rem 0;
  color: var(--text-main);
}

.rev-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.u-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.rev-user span { font-size: 0.75rem; display: block; }

/* FAQ */
.faq-accordion {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
}

.faq-head {
  width: 100%;
  padding: 1.25rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-body {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  display: none;
}

.faq-item.faq-item.open .faq-body { 
  display: block; 
}

/* Dark CTA / Contact Section */
.dark-cta-section {
  padding: 4rem 0;
}

.dark-cta-card {
  background: var(--dark-card);
  border-radius: 28px;
  padding: 3rem;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.dark-cta-card h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.dark-cta-card p {
  color: #94A3B8;
  margin-bottom: 1.5rem;
}

/* CTA Buttons Row */
.dark-cta-card .cta-btns {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 1rem !important;
  margin: 1.5rem 0 1.75rem 0 !important;
}

/* Force Reset on Links inside CTA */
.dark-cta-card .cta-btns a,
.dark-cta-card .cta-btns a:visited,
.dark-cta-card .cta-btns a:hover,
.dark-cta-card .cta-btns a:active {
  text-decoration: none !important;
}

/* Primary Download Button */
.dark-cta-card .cta-btns a.btn-primary-glow,
.dark-cta-card .cta-btns a.btn-blue {
  background-color: #2563EB !important;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #ffffff !important;
  padding: 0.85rem 1.6rem !important;
  border-radius: 999px !important;
  font-family: var(--font-heading), sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  white-space: nowrap !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
  transition: all 0.25s ease !important;
}

.dark-cta-card .cta-btns a.btn-primary-glow:hover,
.dark-cta-card .cta-btns a.btn-blue:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5) !important;
}

/* Secondary Button */
.dark-cta-card .cta-btns a.btn-glass-secondary,
.dark-cta-card .cta-btns a.btn-dark-outline {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  padding: 0.85rem 1.6rem !important;
  border-radius: 999px !important;
  font-family: var(--font-heading), sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  white-space: nowrap !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: all 0.25s ease !important;
}

.dark-cta-card .cta-btns a.btn-glass-secondary:hover,
.dark-cta-card .cta-btns a.btn-dark-outline:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.cta-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #94A3B8;
}

.cta-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-card strong { color: #fff; font-size: 0.9rem; }
.contact-card p { font-size: 0.8rem; margin-bottom: 0.25rem; }
.c-link { color: #3B82F6; text-decoration: none; font-size: 0.8rem; font-weight: 600; }

/* Footer */
.footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.f-brand p {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  max-width: 320px;
}

.f-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.f-col a, .f-col p {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}
/* Demo Modal Overlay */
.demo-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

/* Modal Content Card */
.demo-modal-content {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.25rem 1.75rem;
  max-width: 440px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.demo-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #64748B;
  padding: 4px;
}

.demo-modal-close:hover {
  color: #0F172A;
}

.demo-modal-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.demo-modal-content h3 {
  font-size: 1.35rem;
  color: #0F172A;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.demo-modal-content p {
  color: #64748B;
  font-size: 0.925rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* Modal Actions */
.demo-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.demo-modal-actions .btn {
  text-decoration: none !important;
  white-space: nowrap;
  font-size: 0.925rem;
}

/* Responsiveness */
@media (max-width: 900px) {
  .hero-container, .showcase-layout, .calc-wrapper, .dark-cta-card, .footer-grid {
    grid-template-columns: 1fr;
  }
  .features-grid, .transform-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .nav-links { display: none; }
  .hero-title { font-size: 2.25rem; }
}