/* ============================================================
   Landing page styles — premium fintech look, solid colours
   ============================================================ */

.landing-hero {
  background: var(--landing_hero_bg, #0f2557);
  color: var(--landing_hero_text, #ffffff);
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
}
.landing-hero::after {
  content: '';
  position: absolute;
  width: 520px; height: 520px; border-radius: 50%;
  background: rgba(26, 58, 138, 0.55);
  top: -220px; right: -160px;
}
.landing-hero::before {
  content: '';
  position: absolute;
  width: 380px; height: 380px; border-radius: 50%;
  background: rgba(15, 157, 88, 0.16);
  bottom: -180px; left: -120px;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 22px; }
.hero-badge i { color: #6fdc9f; }
.hero-title { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; line-height: 1.14; color: #fff; margin-bottom: 18px; letter-spacing: -.5px; }
.hero-title .accent { color: #6fdc9f; }
.hero-desc { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn { padding: 14px 30px; font-size: 15.5px; border-radius: 12px; }
.hero-actions .btn-primary { background: #fff; color: var(--secondary, #0f2557); }
.hero-actions .btn-primary:hover { filter: none; background: #eef2fb; }
.hero-actions .btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.hero-actions .btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat .hs-value { font-size: 26px; font-weight: 800; color: #fff; }
.hero-stat .hs-label { font-size: 13px; color: rgba(255,255,255,.66); font-weight: 600; }

/* Hero visual — floating 3D cards */
.hero-visual { position: relative; min-height: 400px; display: flex; align-items: center; justify-content: center; }
.float-card {
  position: absolute; background: #fff; border-radius: 20px; padding: 20px;
  box-shadow: 0 26px 60px rgba(6, 16, 40, 0.42); width: 250px;
  color: var(--text, #1a2333);
}
.float-card.card-a { top: 8px; right: 6%; transform: rotate(4deg); animation: floatY 5.5s ease-in-out infinite; }
.float-card.card-b { bottom: 4px; left: 4%; transform: rotate(-3deg); animation: floatY 6.5s ease-in-out infinite reverse; }
.float-card.card-c { top: 42%; left: 26%; width: 200px; transform: rotate(1.5deg); animation: floatY 7s ease-in-out infinite; z-index: 3; }
.float-card .fc-label { font-size: 12px; color: var(--text-muted, #6b7a90); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.float-card .fc-value { font-size: 24px; font-weight: 800; margin: 4px 0 10px; }
.float-card .fc-bar { height: 7px; border-radius: 99px; background: #e8edf5; margin-bottom: 12px; overflow: hidden; }
.float-card .fc-bar span { display: block; height: 100%; border-radius: 99px; background: var(--primary, #1a3a8a); }
.float-card .fc-bar span.green { background: var(--success, #0f9d58); }
.float-card .fc-row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-muted, #6b7a90); padding: 4px 0; border-top: 1px solid #eef1f6; }
@keyframes floatY { 0%, 100% { margin-top: 0; } 50% { margin-top: -16px; } }

/* Sections */
.landing-section { padding: 84px 0; }
.landing-section.alt { background: #f8fafd; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section-kicker { display: inline-block; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; color: var(--accent, #0f9d58); margin-bottom: 12px; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.4px; margin-bottom: 14px; }
.section-desc { font-size: 16px; color: var(--text-muted, #6b7a90); line-height: 1.65; }

/* Feature cards */
.feature-card { text-align: left; padding: 28px; border-radius: 18px; background: var(--card-bg, #fff); border: 1px solid var(--border, #e3e8f0); box-shadow: 0 2px 6px rgba(15,37,87,.05); transition: transform .2s, box-shadow .2s; height: 100%; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(15,37,87,.12); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; background: #e8eefb; color: var(--primary, #1a3a8a); }
.feature-icon.green { background: #e9f7ef; color: var(--success, #0f9d58); }
.feature-icon.amber { background: #fdf6e4; color: var(--warning, #e6a700); }
.feature-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--text-muted, #6b7a90); line-height: 1.6; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; border-radius: 18px; background: var(--card-bg, #fff); border: 1px solid var(--border, #e3e8f0); text-align: center; }
.step .step-num { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; background: var(--primary, #1a3a8a); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--text-muted, #6b7a90); }

/* Testimonials */
.testimonial-card { padding: 26px; border-radius: 18px; background: var(--card-bg, #fff); border: 1px solid var(--border, #e3e8f0); box-shadow: 0 2px 6px rgba(15,37,87,.05); }
.testimonial-card blockquote { font-size: 14.5px; color: var(--text, #1a2333); line-height: 1.65; margin-bottom: 18px; }
.testimonial-card .t-author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .t-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary, #1a3a8a); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.testimonial-card .t-name { font-weight: 700; font-size: 14px; }
.testimonial-card .t-role { font-size: 12.5px; color: var(--text-muted, #6b7a90); }

/* FAQ */
.faq-item { border: 1px solid var(--border, #e3e8f0); border-radius: 14px; margin-bottom: 12px; overflow: hidden; background: var(--card-bg, #fff); }
.faq-q { width: 100%; text-align: left; padding: 18px 22px; background: none; border: 0; font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--text, #1a2333); }
.faq-q i { transition: transform .2s; color: var(--text-muted, #6b7a90); }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 22px 18px; font-size: 14.5px; color: var(--text-muted, #6b7a90); line-height: 1.65; }
.faq-item.open .faq-a { display: block; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: start; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item .ci-icon { width: 46px; height: 46px; border-radius: 12px; background: #e8eefb; color: var(--primary, #1a3a8a); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-info-item h4 { font-size: 14.5px; margin-bottom: 3px; }
.contact-info-item p { font-size: 14px; color: var(--text-muted, #6b7a90); }

/* Footer */
.public-footer { background: var(--secondary, #0f2557); color: rgba(255,255,255,.78); padding: 64px 0 0; }
.public-footer a { color: rgba(255,255,255,.78); }
.public-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.65; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 14.5px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .8px; }
.footer-col a { display: block; font-size: 14px; padding: 5px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: 13.5px; text-align: center; }

/* Announcement / page */
.page-banner { background: var(--secondary, #0f2557); color: #fff; padding: 56px 0; }
.page-banner h1 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.page-banner p { color: rgba(255,255,255,.75); margin-top: 8px; }
.prose { line-height: 1.75; color: var(--text, #1a2333); }
.prose p { margin-bottom: 14px; }
.prose h3 { margin: 22px 0 10px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.prose ul li { margin-bottom: 6px; }

/* Savings plan cards on landing */
.plan-card { padding: 28px; border-radius: 18px; background: var(--card-bg, #fff); border: 1px solid var(--border, #e3e8f0); transition: transform .2s, box-shadow .2s; height: 100%; display: flex; flex-direction: column; }
.plan-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(15,37,87,.12); }
.plan-card .plan-name { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.plan-card .plan-desc { font-size: 14px; color: var(--text-muted, #6b7a90); line-height: 1.6; flex: 1; }
.plan-card .plan-meta { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border, #e3e8f0); font-size: 13px; color: var(--text-muted, #6b7a90); display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }

/* Auth pages */
.auth-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 30px 16px; background: var(--background, #f4f6fb); }
.auth-card { width: 100%; max-width: 440px; background: var(--card-bg, #fff); border: 1px solid var(--border, #e3e8f0); border-radius: 20px; padding: 36px; box-shadow: 0 12px 40px rgba(15,37,87,.09); }
.auth-card.wide { max-width: 640px; }
.auth-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 26px; }
.auth-brand img { height: 48px; }
.auth-brand h1 { font-size: 20px; }
.auth-brand p { font-size: 13.5px; color: var(--text-muted, #6b7a90); }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted, #6b7a90); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 340px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .landing-hero { padding: 56px 0 80px; }
  .landing-section { padding: 60px 0; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 20px; }
  .float-card { width: 200px; padding: 14px; }
  .float-card.card-c { width: 160px; }
}
