/* ==========================================================================
   Tiger Payment Center Group — Corporate Site
   Navy × Gold, refined institutional finance aesthetic
   ========================================================================== */

:root {
  --navy-900: #07172e;
  --navy-800: #0a1f44;
  --navy-700: #11315f;
  --navy-600: #1c4480;
  --gold-500: #c8a24a;
  --gold-400: #d8b766;
  --gold-300: #e7cf95;
  --ink: #1a2236;
  --slate: #4a5568;
  --paper: #f7f6f2;
  --paper-2: #efece3;
  --white: #ffffff;
  --line: rgba(200, 162, 74, 0.28);

  --serif: Georgia, "Times New Roman", "Songti SC", "STSong", serif;
  --sans: "Helvetica Neue", Helvetica, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* Shared heading system --------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold-500);
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--navy-800);
  margin: 18px 0 0;
}

.section {
  padding: 96px 0;
}
.section--tint {
  background: var(--paper-2);
}
.section--navy {
  background:
    radial-gradient(1200px 480px at 80% -10%, rgba(200, 162, 74, 0.14), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
  color: rgba(255, 255, 255, 0.9);
}
.section--navy .section-title {
  color: var(--white);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.site-header.is-scrolled {
  background: rgba(7, 23, 46, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand__logo {
  height: 42px;
  width: auto;
  display: block;
  /* lift the deep-gold artwork so it reads on the navy background */
  filter: brightness(1.25) saturate(1.05);
}
.brand__logo--footer {
  height: 46px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav__links {
  display: flex;
  gap: 30px;
  list-style: none;
}
.nav__links a {
  position: relative;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold-500);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover {
  color: var(--white);
}
.nav__links a:hover::after {
  width: 100%;
}

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.lang a {
  color: rgba(255, 255, 255, 0.55);
  padding: 4px 7px;
  border-radius: 2px;
  transition: color 0.25s var(--ease);
}
.lang a:hover {
  color: var(--white);
}
.lang a.is-active {
  color: var(--navy-900);
  background: var(--gold-500);
  font-weight: 600;
}
.lang span {
  color: rgba(255, 255, 255, 0.25);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 78% 18%, rgba(200, 162, 74, 0.18), transparent 58%),
    linear-gradient(155deg, var(--navy-900) 10%, var(--navy-800) 52%, var(--navy-700) 100%);
}
.hero::before {
  /* fine gold grid texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(200, 162, 74, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 162, 74, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 70% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  border: 1px solid rgba(200, 162, 74, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(200, 162, 74, 0.04);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: 90px;
  padding-bottom: 40px;
}
.hero__eyebrow {
  color: var(--gold-400);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 6.4vw, 72px);
  line-height: 1.08;
  letter-spacing: 0.005em;
  margin: 22px 0 0;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-400);
}
.hero__lead {
  margin-top: 26px;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
}
.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__meta {
  margin-top: 56px;
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
}
.hero__meta div {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
.hero__meta dt {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--gold-400);
}
.hero__meta dd {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--gold-500), transparent);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.btn--gold {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn--gold:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(200, 162, 74, 0.28);
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn--ghost:hover {
  border-color: var(--gold-500);
  color: var(--gold-400);
}
.btn--dark {
  background: var(--navy-800);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
}

/* ==========================================================================
   About
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.about__body p {
  margin-top: 22px;
  color: var(--slate);
  font-size: 16.5px;
}
.about__body p:first-child {
  margin-top: 26px;
}
.about__aside {
  position: relative;
  padding: 40px 38px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-700));
  color: var(--white);
  overflow: hidden;
}
.about__aside::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(200, 162, 74, 0.25);
  border-radius: 50%;
}
.about__aside h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  position: relative;
}
.about__aside ul {
  list-style: none;
  margin-top: 22px;
  position: relative;
}
.about__aside li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.84);
}
.about__aside li::before {
  content: "—";
  color: var(--gold-400);
}

/* ==========================================================================
   Services
   ========================================================================== */
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head p {
  margin-top: 16px;
  color: var(--slate);
  font-size: 16.5px;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: var(--paper);
  padding: 44px 40px;
  position: relative;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.section--tint .service {
  background: var(--paper-2);
}
.service:hover {
  background: var(--white);
}
.service__num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold-500);
  letter-spacing: 0.1em;
}
.service__icon {
  margin: 8px 0 20px;
  width: 46px;
  height: 46px;
  color: var(--navy-700);
}
.service__icon svg {
  width: 100%;
  height: 100%;
}
.service h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--navy-800);
}
.service p {
  margin-top: 12px;
  color: var(--slate);
  font-size: 15px;
}
.service::after {
  content: "";
  position: absolute;
  left: 40px;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width 0.4s var(--ease);
}
.service:hover::after {
  width: 60px;
}

/* ==========================================================================
   Why Us (navy)
   ========================================================================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 56px;
}
.pillar {
  position: relative;
  padding-top: 28px;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold-500);
}
.pillar__icon {
  width: 40px;
  height: 40px;
  color: var(--gold-400);
  margin-bottom: 18px;
}
.pillar h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  color: var(--white);
}
.pillar p {
  margin-top: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   Corporate info
   ========================================================================== */
.info__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.info__table {
  width: 100%;
  border-collapse: collapse;
}
.info__table th,
.info__table td {
  text-align: left;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.info__table th {
  width: 38%;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.info__table td {
  color: var(--ink);
  font-size: 16px;
}
.info__seal {
  display: grid;
  place-items: center;
}
.info__mark {
  width: 240px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__brand .brand {
  margin-bottom: 18px;
}
.footer__brand p {
  font-size: 14px;
  max-width: 320px;
  line-height: 1.8;
}
.footer__col h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 18px;
}
.footer__col ul {
  list-style: none;
}
.footer__col li {
  margin-bottom: 12px;
  font-size: 14px;
}
.footer__col a {
  transition: color 0.25s var(--ease);
}
.footer__col a:hover {
  color: var(--gold-400);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}
.footer__bottom a:hover {
  color: var(--gold-400);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-cue::after {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 940px) {
  .about__grid,
  .info__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services__grid {
    grid-template-columns: 1fr;
  }
  .pillars {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .info__seal {
    order: -1;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 72px 0;
  }
  .nav-toggle {
    display: flex;
  }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 100px 32px 40px;
    background: linear-gradient(165deg, var(--navy-900), var(--navy-800));
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.35);
  }
  .nav.is-open {
    transform: translateX(0);
  }
  .nav__links {
    flex-direction: column;
    gap: 4px;
  }
  .nav__links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 15px;
  }
  .lang {
    margin-top: 24px;
  }
  .brand__logo {
    height: 34px;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__meta {
    gap: 24px;
  }
}
