/* ============================================================
   Crown Heritage Bank — Landing Page Styles
   ============================================================ */

/* ── Page Shell ── */
.page--home {
  padding-top: 72px; /* navbar height */
}

/* ──────────────────────────────────────────────────────────
   HERO
   ────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content { }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
  padding: 6px 14px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-full);
}

.hero__title {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--space-lg);
}

.hero__title span {
  color: var(--gold);
  display: block;
}

.hero__desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 500px;
}

.hero__cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
}

.hero__trust-item svg, .hero__trust-item span.icon { color: var(--gold); }

/* Hero Visual — Dashboard Mockup */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  width: 100%;
  max-width: 380px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-xl);
}

.mockup-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.mockup-card__logo {
  height: 28px;
  opacity: 0.9;
}

.mockup-card__chip {
  width: 36px;
  height: 26px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.mockup-card__balance-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.mockup-card__balance {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.mockup-card__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.mockup-tx {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-tx:last-child { border-bottom: none; }

.mockup-tx__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mockup-tx__dot--green { background: var(--green); }
.mockup-tx__dot--red   { background: var(--red); }

.mockup-tx__name {
  flex: 1;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}

.mockup-tx__amount {
  font-size: 0.875rem;
  font-weight: 600;
}
.mockup-tx__amount--credit { color: var(--green); }
.mockup-tx__amount--debit  { color: #FCA5A5; }

/* ──────────────────────────────────────────────────────────
   FEATURES
   ────────────────────────────────────────────────────────── */
.features {
  background: var(--white);
  padding: var(--space-3xl) 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.feature-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.feature-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  transition: var(--transition);
}

.feature-card:hover .feature-card__icon {
  background: var(--gold);
}

.feature-card__title {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.feature-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ──────────────────────────────────────────────────────────
   STATS
   ────────────────────────────────────────────────────────── */
.stats {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.stats__divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  display: none;
}

/* ──────────────────────────────────────────────────────────
   HOW IT WORKS
   ────────────────────────────────────────────────────────── */
.how-it-works {
  padding: var(--space-3xl) 0;
  background: var(--bg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.6% + 40px);
  right: calc(16.6% + 40px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  border-radius: var(--radius-full);
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto var(--space-lg);
  position: relative;
  box-shadow: var(--shadow-gold);
}

.step__title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.step__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ──────────────────────────────────────────────────────────
   TESTIMONIALS
   ────────────────────────────────────────────────────────── */
.testimonials {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.testimonial-card {
  padding: var(--space-xl);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition-slow);
  position: relative;
}

.testimonial-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.testimonial-card__quote {
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-sm);
  font-family: Georgia, serif;
}

.testimonial-card__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-card__author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.testimonial-card__author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
  color: var(--gold);
  font-size: 0.875rem;
}

/* ──────────────────────────────────────────────────────────
   CTA BANNER
   ────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner__title {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: var(--space-md);
}
.cta-banner__title span { color: var(--gold); }

.cta-banner__text {
  color: rgba(255,255,255,0.7);
  font-size: 1.0625rem;
  max-width: 540px;
  margin: 0 auto var(--space-xl);
}

/* ──────────────────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  text-decoration: none;
}

.footer-brand__img { height: 36px; }

.footer-brand__desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 280px;
}

.footer-brand__fdic {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.footer-col__title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-md);
}

.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col__link:hover { color: var(--white); }

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.site-footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ──────────────────────────────────────────────────────────
   HOME PAGE RESPONSIVE
   ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid    { grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__desc { margin: 0 auto var(--space-xl); }
  .hero__cta  { justify-content: center; }
  .hero__trust { justify-content: center; flex-wrap: wrap; }
  .hero__visual { display: none; }

  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .steps::before { display: none; }

  .testimonials__grid { grid-template-columns: 1fr; }

  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .features__grid { grid-template-columns: 1fr; }
  .stats__grid    { grid-template-columns: 1fr 1fr; }
}
