/* ==========================================================================
   PaedsCalc Official Stylesheet — Homepage V2
   Medical, Modern, Minimal, Premium Clinical Decision Support Suite
   ========================================================================== */

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #f0f9ff;
  --primary-border: #bae6fd;
  --accent-blue: #2563eb;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --card-bg: #ffffff;
  --bg-page: #f8fafc;
  --bg-subtle: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.09);
  --shadow-device: 0 25px 60px -15px rgba(15, 23, 42, 0.22);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --font-main: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   Section Headers & Badges
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 850;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  margin-top: 10px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-hover);
  border: 1px solid var(--primary-border);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.badge-tag {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: all 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.18);
  object-fit: cover;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-body);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-launch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.btn-launch:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 56px 0 64px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hero-title .title-accent {
  color: var(--primary);
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-cta-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.btn-cta-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #ffffff;
  padding: 15px 32px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.28);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-cta-hero:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.38);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--primary-hover);
  border: 1.5px solid var(--primary-border);
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-cta-outline:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.hero-microcopy {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.trust-badges-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.badge-icon-circle.mint {
  background: #dcfce7;
  color: #15803d;
}

.badge-icon-circle.blue {
  background: #e0f2fe;
  color: #0369a1;
}

.badge-icon-circle.coral {
  background: #fee2e2;
  color: #b91c1c;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.badge-subtitle {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Official App Screenshot Presentation (Mobile Phone Mockup Frame)
   ========================================================================== */
.hero-screenshot-frame,
.demo-screenshot-frame {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  background: #0f172a;
  border-radius: 40px;
  padding: 10px;
  box-shadow: var(--shadow-device), 0 0 0 4px #334155, 0 0 0 6px #1e293b;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-mockup-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 65px -15px rgba(15, 23, 42, 0.3), 0 0 0 4px #0284c7;
}

.official-app-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
  object-fit: contain;
  background: #0b1120;
}

/* ==========================================================================
   Section 03 — How It Works (3 Steps)
   ========================================================================== */
.how-it-works-section {
  padding: 72px 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.workflow-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.workflow-card {
  flex: 1;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.workflow-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
  background: #ffffff;
}

.step-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  background: var(--primary-light);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.workflow-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
}

.workflow-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
  min-height: 42px;
}

.workflow-pill {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.workflow-arrow {
  font-size: 1.6rem;
  color: var(--border-strong);
  font-weight: 700;
  user-select: none;
}

/* ==========================================================================
   Product Demonstration, Clinical Suite & Emergency Sections
   ========================================================================== */
.demo-section, .suite-section, .emergency-section {
  padding: 80px 0;
  position: relative;
}

.suite-section {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.demo-grid.reversed {
  direction: rtl;
}

.demo-grid.reversed > * {
  direction: ltr;
}

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

.demo-content h2 {
  font-size: 2.3rem;
  font-weight: 850;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.demo-sub {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

.demo-desc {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.65;
}

.demo-perks-list {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo-perks-list li {
  font-size: 0.92rem;
  color: var(--text-body);
  padding-left: 20px;
  position: relative;
}

.demo-perks-list li::before {
  content: "•";
  color: var(--primary);
  font-size: 1.4rem;
  position: absolute;
  left: 4px;
  top: -4px;
}

.suite-callout {
  background: #f8fafc;
  border-left: 4px solid #0284c7;
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: var(--text-body);
  margin-top: 12px;
}

.emergency-badge {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fecaca;
}

.emergency-alert-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 14px;
  font-size: 0.88rem;
  color: #92400e;
}

.alert-icon {
  font-size: 1.2rem;
  line-height: 1;
}

/* ==========================================================================
   Section 05 — Key Benefits (4 Cards Only)
   ========================================================================== */
.benefits-section {
  padding: 76px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.benefits-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.benefit-icon.mint {
  background: #ecfdf5;
  color: #059669;
}

.benefit-icon.blue {
  background: #eff6ff;
  color: #2563eb;
}

.benefit-icon.coral {
  background: #fef2f2;
  color: #dc2626;
}

.benefit-icon.amber {
  background: #fffbeb;
  color: #d97706;
}

.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.benefit-card p {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ==========================================================================
   Section 09 — Clinical Credibility
   ========================================================================== */
.credibility-section {
  padding: 76px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.credibility-sub {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 680px;
  margin: 12px auto 36px;
}

.refs-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}

.ref-summary-item {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ref-summary-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary-border);
}

.ref-summary-item .ref-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 10px;
}

.ref-summary-item h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.ref-summary-item p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.safety-guardrails-card {
  max-width: 920px;
  margin: 40px auto 0;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 5px solid #0284c7;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.safety-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.safety-header h4 {
  font-size: 1.12rem;
  font-weight: 850;
  color: var(--text-dark);
}

.safety-tag {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.safety-guardrails-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 12px;
}

.safety-points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.safety-point {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.safety-point strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-dark);
}

.safety-point span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

@media (max-width: 768px) {
  .safety-points-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   Section 10 — PaedsCalc PRO
   ========================================================================== */
.pro-section {
  padding: 80px 0;
  background: #ffffff;
}

.pro-card-container {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border: 1.5px solid #bae6fd;
  border-radius: var(--radius-xl);
  padding: 56px 44px 44px;
  box-shadow: var(--shadow-md);
  max-width: 1020px;
  margin: 0 auto;
}

.pro-badge-header {
  text-align: center;
  margin-bottom: 36px;
}

.pro-pill-badge {
  display: inline-block;
  background: #10b981;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.pro-badge-header h2 {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.pro-subheadline {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pro-perks-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(186, 230, 253, 0.7);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.perk-item strong {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-dark);
  display: block;
  margin-bottom: 4px;
}

.perk-item p {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.5;
}

.pro-pricing-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-bottom: 40px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12);
  flex-wrap: wrap;
  gap: 18px;
}

.price-details {
  display: flex;
  flex-direction: column;
}

.price-tag {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.price-desc {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* DuitNow Purchase Showcase Card */
.duitnow-purchase-box {
  background: #ffffff;
  border: 1.5px solid #bae6fd;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.duitnow-header {
  text-align: center;
  margin-bottom: 24px;
}

.duitnow-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.duitnow-header h3 {
  font-size: 1.55rem;
  font-weight: 850;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.duitnow-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.duitnow-content-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: center;
}

.duitnow-qr-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 2px dashed #93c5fd;
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.duitnow-qr-img {
  width: 200px;
  height: auto;
  max-width: 100%;
  background: #ffffff;
  padding: 10px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.duitnow-qr-caption {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.duitnow-details-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.account-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.account-label {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.account-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
}

.account-number-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #ffffff;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 4px;
}

.account-num {
  font-size: 1.25rem;
  font-weight: 850;
  color: #0369a1;
  letter-spacing: 0.06em;
}

.btn-copy-account {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #e0f2fe;
  color: #0369a1;
  border: 1.5px solid #0284c7;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-copy-account:hover {
  background: #0284c7;
  color: #ffffff;
}

.mobile-transfer-hint {
  font-size: 0.82rem;
  color: #0369a1;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  line-height: 1.45;
}

.amount-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
}

.amount-val {
  color: #059669;
}

.amount-sub {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.btn-whatsapp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
  transition: all 0.2s ease;
}

.btn-whatsapp-cta:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}

.wa-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.duitnow-help-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Section 11 — FAQ (Accessible Accordion)
   ========================================================================== */
.faq-section {
  padding: 76px 0;
  background: var(--bg-page);
  border-top: 1px solid var(--border);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-toggle {
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 600;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-body);
}

.faq-answer a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

/* ==========================================================================
   Section 12 — Final CTA
   ========================================================================== */
.final-cta-section {
  padding: 76px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  border-top: 1px solid var(--border);
}

.final-cta-section h2 {
  font-size: 2.3rem;
  font-weight: 850;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.final-cta-section p {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Section 13 & 14 — Footer (Structured, Complete & Functional)
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-tagline {
  font-size: 0.92rem;
  color: var(--text-body);
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-col h4 {
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 550;
  transition: color 0.15s ease;
}

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

/* Toast */
.rx-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.rx-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .trust-badges-row {
    justify-content: center;
  }

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

  .demo-content {
    align-items: center;
  }

  .demo-perks-list {
    text-align: left;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .workflow-grid {
    flex-direction: column;
  }

  .workflow-arrow {
    transform: rotate(90deg);
  }

  .benefits-grid-4 {
    grid-template-columns: 1fr;
  }

  .pro-perks-checklist {
    grid-template-columns: 1fr;
  }

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

  .duitnow-qr-frame {
    margin: 0 auto;
  }

  .account-number-row {
    flex-direction: column;
    gap: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .btn-cta-hero {
    width: 100%;
    justify-content: center;
  }

  .pro-pricing-banner {
    flex-direction: column;
    text-align: center;
  }

  .pro-pricing-banner .btn-cta-hero {
    width: 100%;
  }
}
