/* ============================================================
   GlobalTrust Bank — Homepage Styles
   ============================================================ */

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 22, 40, 0.88) 0%,
    rgba(10, 22, 40, 0.70) 50%,
    rgba(10, 22, 40, 0.40) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 80px;
  max-width: 680px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold-light);
  padding: 0.4rem 0.875rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero__title {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 560px;
  animation: fadeInUp 0.8s ease 0.25s both;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  animation: fadeInUp 0.8s ease 0.55s both;
}

.hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.hero__trust-item strong {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}

.hero__trust-item span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}

.hero__trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.6; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ---- Ticker ---- */
.ticker {
  background: var(--navy);
  border-bottom: 1px solid var(--navy-light);
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
}

.ticker__inner {
  width: 100%;
  overflow: hidden;
}

.ticker__track {
  display: flex;
  gap: 3rem;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  padding: 0 1rem;
}

.ticker__track span {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
}

.ticker__track em {
  font-style: normal;
  font-weight: 500;
  margin-left: 0.25rem;
}

.ticker__track em.up   { color: #4CAF82; }
.ticker__track em.down { color: #E57373; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Section Styles ---- */
.section {
  padding: 6rem 0;
}

.section--alt {
  background: var(--off-white);
}

.section--navy {
  background: var(--navy);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section__header--light { color: var(--white); }

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section__label--gold { color: var(--gold-light); }

.section__desc {
  color: var(--gray-500);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-top: 0.75rem;
}

/* ---- Products Grid ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}

.product-card--featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, #FFFDF5 0%, var(--white) 100%);
}

.product-card--featured:hover {
  border-color: var(--gold);
}

.product-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.875rem;
  border-radius: 100px;
  white-space: nowrap;
}

.product-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.product-card__icon--blue   { background: var(--blue-light); color: var(--blue); }
.product-card__icon--gold   { background: var(--gold-pale); color: #8B6914; }
.product-card__icon--green  { background: var(--green-light); color: var(--green); }

.product-card__title {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
  color: var(--navy);
}

.product-card__desc {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.product-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-card__features li {
  font-size: 0.875rem;
  color: var(--gray-700);
  padding-left: 1.25rem;
  position: relative;
}

.product-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---- Why GTB ---- */
.why-gtb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-gtb__media {
  position: relative;
}

.why-gtb__image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.why-gtb__stats-box {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1.5rem;
  border: 1px solid var(--gray-200);
}

.why-gtb__stat {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.why-gtb__stat strong {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--navy);
}

.why-gtb__stat span {
  font-size: 0.75rem;
  color: var(--gray-500);
  white-space: nowrap;
}

.why-gtb__content p {
  color: var(--gray-500);
  line-height: 1.75;
  font-size: 1rem;
}

.why-gtb__content h2 {
  margin: 0.5rem 0 1.25rem;
}

.why-gtb__pillars {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pillar__icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--gold-pale);
  color: #8B6914;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar h5 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

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

.business-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

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

.business-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.business-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
}

/* ---- Investments ---- */
.invest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.invest-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: background 0.2s;
}

.invest-card:hover {
  background: rgba(255,255,255,0.08);
}

.invest-card__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(201,168,76,0.3);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.invest-card h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.invest-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

.invest-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ---- Rates Table ---- */
.rates-table {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.rates-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 2fr;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  align-items: center;
  gap: 1rem;
  transition: background 0.15s;
}

.rates-row:last-child { border-bottom: none; }
.rates-row:hover:not(.rates-row--header) { background: var(--gray-100); }

.rates-row--header {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rates-row > span:first-child {
  font-weight: 500;
  color: var(--gray-900);
  font-size: 0.9375rem;
}

.rates-row--header > span { color: rgba(255,255,255,0.55); }

.rates-row__value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.rates-row__value--gold { color: var(--gold); }

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

.testimonial {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-top: 3px solid var(--gold);
}

.testimonial p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--gray-700);
  flex: 1;
  font-style: italic;
}

.testimonial footer {
  border-top: 1px solid var(--gray-100);
  padding-top: 1rem;
}

.testimonial footer strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  font-style: normal;
  margin-bottom: 0.125rem;
}

.testimonial footer span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ---- CTA Banner ---- */
.cta-banner {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}

.cta-banner__image-wrap {
  position: absolute;
  inset: 0;
}

.cta-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,22,40,0.9) 0%, rgba(10,22,40,0.7) 100%);
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.cta-banner__content h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
  max-width: 520px;
}

.cta-banner__content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--gray-900);
}

.footer__top {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

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

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer__logo-mark {
  width: 34px;
  height: 34px;
  background: var(--gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  flex-shrink: 0;
}

.footer__logo strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
}

.footer__logo span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  max-width: 280px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.footer__col h6 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__col li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer__col li a:hover { color: var(--white); }

.footer__bottom {
  padding: 1.5rem 0;
}

.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer__legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__legal-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}

.footer__legal-links a:hover { color: rgba(255,255,255,0.65); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .products-grid    { grid-template-columns: 1fr; }
  .business-grid    { grid-template-columns: 1fr 1fr; }
  .invest-grid      { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer__grid     { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand    { grid-column: 1 / -1; }
  .why-gtb          { grid-template-columns: 1fr; gap: 3rem; }
  .why-gtb__stats-box { right: 0; bottom: -16px; }
}

@media (max-width: 768px) {
  .section          { padding: 4rem 0; }
  .hero__content    { max-width: 100%; }
  .hero__trust      { gap: 1rem; }
  .hero__trust-divider { display: none; }
  .business-grid    { grid-template-columns: 1fr; }
  .invest-grid      { grid-template-columns: 1fr; }
  .footer__grid     { grid-template-columns: 1fr 1fr; }
  .footer__brand    { grid-column: 1 / -1; }
  .rates-row        { grid-template-columns: 1fr 1fr; }
  .rates-row > span:last-child { display: none; }
  .cta-banner       { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .hero__cta        { flex-direction: column; }
  .hero__cta .btn   { width: 100%; justify-content: center; }
  .footer__grid     { grid-template-columns: 1fr; }
  .footer__bottom .container { flex-direction: column; align-items: flex-start; }
}
