/* ===== girocard landing page — dark navy premium fintech ===== */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-latin-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --gc-navy-900: #060B1D;
  --gc-navy-800: #0A1128;
  --gc-navy-700: #101B3C;
  --gc-navy-600: #1A2A52;
  --gc-surface: rgba(255, 255, 255, 0.04);
  --gc-surface-hover: rgba(255, 255, 255, 0.07);
  --gc-border: rgba(255, 255, 255, 0.09);
  --gc-text-primary: #F2F5FA;
  --gc-text-secondary: #A5B0C8;
  --gc-text-tertiary: #6E7A96;
  /* single accent — sober signal blue, used for every interactive/brand element */
  --gc-accent: #2E6BE6;
  --gc-accent-hover: #3F7AF0;
  --gc-accent-soft: rgba(46, 107, 230, 0.14);
  --gc-accent-border: rgba(46, 107, 230, 0.35);
  /* light steel tint for icon strokes on dark surfaces */
  --gc-steel: #A9C6FF;
  --gc-radius-sm: 10px;
  --gc-radius-md: 16px;
  --gc-radius-lg: 24px;
  --gc-shadow-card: 0 18px 50px -12px rgba(0, 0, 0, 0.55);
  --gc-shadow-elevate: 0 10px 26px -8px rgba(0, 0, 0, 0.45);
  --gc-font: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gc-container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(ellipse 90% 45% at 70% 0%, rgba(46, 107, 230, 0.13), transparent 60%),
    linear-gradient(180deg, var(--gc-navy-900) 0%, var(--gc-navy-800) 45%, var(--gc-navy-700) 100%);
  background-repeat: no-repeat;
  color: var(--gc-text-primary);
  font-family: var(--gc-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
button { font-family: var(--gc-font); }

/* ===== Header ===== */
.gc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 11, 29, 0.72);
  border-bottom: 1px solid var(--gc-border);
}
.gc-header-inner {
  max-width: var(--gc-container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.gc-wordmark { display: flex; align-items: center; gap: 10px; }
.gc-wordmark-icon { width: 32px; height: 32px; border-radius: 8px; }
.gc-wordmark-text {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gc-text-primary);
}
.gc-security-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gc-steel);
  background: var(--gc-accent-soft);
  border: 1px solid var(--gc-accent-border);
}

/* ===== Hero ===== */
.gc-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 64px;
}
.gc-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}
.gc-hero-glow-a { width: 480px; height: 480px; background: rgba(46, 107, 230, 0.20); top: -160px; right: -120px; }
.gc-hero-glow-b { width: 380px; height: 380px; background: rgba(46, 107, 230, 0.10); bottom: -140px; left: -100px; }

.gc-hero-inner {
  position: relative;
  max-width: var(--gc-container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.gc-eyebrow {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gc-steel);
}
.gc-hero-headline {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  background: linear-gradient(120deg, #FFFFFF 35%, #C6D8F5 80%, #A9C6FF 115%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.gc-hero-sub {
  margin: 0 0 26px;
  font-size: 18px;
  color: var(--gc-text-secondary);
  max-width: 52ch;
}

/* Trust chips */
.gc-trust-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
}
.gc-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gc-text-primary);
  background: var(--gc-surface);
  border: 1px solid var(--gc-border);
  backdrop-filter: blur(8px);
}
.gc-trust-chip svg { width: 15px; height: 15px; color: var(--gc-steel); flex: 0 0 auto; }


/* Hero CTA */
.gc-hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }

/* ===== Buttons ===== */
.gc-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 32px;
  border: none;
  border-radius: var(--gc-radius-md);
  background: var(--gc-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.gc-btn-primary:hover { background: var(--gc-accent-hover); transform: translateY(-1px); box-shadow: var(--gc-shadow-elevate); }
.gc-btn-primary:active { transform: translateY(0); }
.gc-btn-primary:focus-visible { outline: 2px solid var(--gc-steel); outline-offset: 3px; }
.gc-btn-primary.downloading { background: var(--gc-accent-soft); color: var(--gc-steel); box-shadow: none; }
.gc-btn-primary.downloading::before {
  content: "";
  width: 16px; height: 16px;
  border: 2px solid rgba(91, 155, 255, 0.3);
  border-top-color: var(--gc-steel);
  border-radius: 50%;
  animation: gc-spin 0.8s linear infinite;
}
@keyframes gc-spin { to { transform: rotate(360deg); } }

.gc-btn-large { width: 100%; max-width: 420px; height: 60px; font-size: 18px; }
.gc-btn-small { height: 42px; padding: 0 20px; font-size: 14px; }

.gc-compat-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--gc-text-secondary);
}
.gc-compat-chip svg { color: var(--gc-steel); }

/* ===== Bank card showcase ===== */
.gc-card-showcase {
  position: relative;
  height: 420px;
  perspective: 1200px;
}
.gc-bank-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(340px, 100%);
  aspect-ratio: 1.586;
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--gc-shadow-card);
  overflow: hidden;
}
.gc-bank-card::after {
  /* sheen */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.14) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: gc-sheen 5.5s ease-in-out infinite;
}
@keyframes gc-sheen { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

.gc-bank-card-front {
  transform: translate(-38%, -50%) rotate(-7deg);
  background: linear-gradient(135deg, #14213F 0%, #1C2E5E 55%, #24406F 100%);
  z-index: 2;
  animation: gc-float-a 7s ease-in-out infinite;
}
.gc-bank-card-back {
  transform: translate(-62%, -54%) rotate(8deg);
  background: linear-gradient(135deg, #101A36 0%, #16244A 55%, #1E3260 100%);
  z-index: 1;
  animation: gc-float-b 8s ease-in-out infinite;
}
@keyframes gc-float-a { 0%, 100% { transform: translate(-38%, -50%) rotate(-7deg); } 50% { transform: translate(-36%, -48%) rotate(-5deg); } }
@keyframes gc-float-b { 0%, 100% { transform: translate(-62%, -54%) rotate(8deg); } 50% { transform: translate(-64%, -52%) rotate(10deg); } }

/* card internals built by JS as inline SVG string */
.gc-bank-card .gc-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.gc-bank-card .gc-card-bank { font-size: 15px; font-weight: 600; color: #fff; }
.gc-bank-card .gc-card-type { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.75); margin-top: 2px; }
.gc-bank-card .gc-card-contactless { width: 26px; height: 26px; }
.gc-bank-card .gc-card-chip {
  width: 44px; height: 34px;
  border-radius: 6px;
  background: linear-gradient(135deg, #D9DEE8 0%, #B9C2D4 100%);
  position: relative;
}
.gc-bank-card .gc-card-chip::before,
.gc-bank-card .gc-card-chip::after {
  content: "";
  position: absolute;
  inset: 6px 4px;
  border: 1.5px solid rgba(21, 31, 58, 0.35);
}
.gc-bank-card .gc-card-chip::before { border-radius: 4px 4px 0 0; border-bottom: none; }
.gc-bank-card .gc-card-chip::after { border-radius: 0 0 4px 4px; border-top: none; inset: 17px 4px 6px; }
.gc-bank-card .gc-card-middle { display: flex; align-items: center; gap: 14px; }
.gc-bank-card .gc-card-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.gc-bank-card .gc-card-holder { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.92); letter-spacing: 0.02em; }
.gc-bank-card .gc-card-number { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.85); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.gc-bank-card .gc-card-scheme {
  font-size: 15px;
  font-weight: 800;
  font-style: italic;
  color: #fff;
  letter-spacing: -0.02em;
}
.gc-bank-card .gc-card-scheme.gc-scheme-vpay { font-style: normal; font-weight: 700; }

/* ===== Sections ===== */
.gc-section {
  max-width: var(--gc-container);
  margin: 0 auto;
  padding: 28px 24px;
}
.gc-section-title {
  margin: 24px 0 8px;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

/* Update card */
.gc-update-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px 34px;
  border-radius: var(--gc-radius-lg);
  background: linear-gradient(160deg, rgba(46, 107, 230, 0.10), rgba(255, 255, 255, 0.03) 55%);
  border: 1px solid var(--gc-border);
  backdrop-filter: blur(10px);
}
.gc-update-icon {
  flex: 0 0 56px;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--gc-radius-md);
  background: rgba(46, 124, 246, 0.14);
  border: 1px solid var(--gc-accent-border);
  color: var(--gc-steel);
}
.gc-update-copy h2 { margin: 0 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.gc-update-copy p { margin: 0 0 14px; color: var(--gc-text-secondary); font-size: 16px; max-width: 68ch; }
.gc-update-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gc-steel);
  background: var(--gc-accent-soft);
  border: 1px solid var(--gc-accent-border);
}
.gc-update-badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gc-accent);
  animation: gc-pulse 2s ease-in-out infinite;
}
@keyframes gc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* Benefits */
.gc-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.gc-benefit {
  padding: 28px 26px;
  border-radius: var(--gc-radius-lg);
  background: var(--gc-surface);
  border: 1px solid var(--gc-border);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}
.gc-benefit:hover { background: var(--gc-surface-hover); transform: translateY(-3px); }
.gc-benefit-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--gc-accent-soft);
  border: 1px solid var(--gc-accent-border);
  color: var(--gc-steel);
}

.gc-benefit h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.gc-benefit p { margin: 0; font-size: 15px; color: var(--gc-text-secondary); }

/* Steps */
.gc-steps-list {
  list-style: none;
  counter-reset: gc-step;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.gc-step {
  counter-increment: gc-step;
  position: relative;
  padding: 26px 26px 26px 82px;
  border-radius: var(--gc-radius-lg);
  background: var(--gc-surface);
  border: 1px solid var(--gc-border);
}
.gc-step::before {
  content: counter(gc-step);
  position: absolute;
  left: 24px;
  top: 26px;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: var(--gc-accent);
  box-shadow: var(--gc-shadow-elevate);
}
.gc-step h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.gc-step h3 svg { width: 18px; height: 18px; color: var(--gc-steel); }
.gc-step p { margin: 0; font-size: 15px; color: var(--gc-text-secondary); }

/* Download CTA */
.gc-download { padding-bottom: 40px; }
.gc-download-card {
  text-align: center;
  padding: 52px 32px;
  border-radius: var(--gc-radius-lg);
  background:
    radial-gradient(ellipse 80% 120% at 50% -30%, rgba(46, 107, 230, 0.18), transparent 70%),
    var(--gc-surface);
  border: 1px solid var(--gc-border);
}
.gc-download-title { margin: 0 0 6px; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.gc-download-meta { margin: 0 0 28px; font-size: 14px; color: var(--gc-text-tertiary); }
.gc-download-card .gc-compat-chip { margin-top: 18px; justify-content: center; display: inline-flex; }

/* ===== Footer ===== */
.gc-footer {
  max-width: var(--gc-container);
  margin: 0 auto;
  padding: 32px 24px 96px;
  border-top: 1px solid var(--gc-border);
  text-align: center;
  font-size: 13px;
  color: var(--gc-text-tertiary);
}
.gc-footer p { margin: 4px 0; }
.gc-footer a { color: var(--gc-text-secondary); text-decoration: none; }
.gc-footer a:hover { color: var(--gc-steel); text-decoration: underline; }
.gc-footer-disclaimer { max-width: 72ch; margin: 10px auto; }

/* ===== Sticky mobile bar ===== */
.gc-sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(6, 11, 29, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--gc-border);
}
.gc-sticky-info { display: flex; flex-direction: column; line-height: 1.3; }
.gc-sticky-brand { font-weight: 700; font-size: 15px; }
.gc-sticky-meta { font-size: 12px; color: var(--gc-text-tertiary); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .gc-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  /* width:100% is required: max-width + margin:auto on a grid item makes it
     shrink-to-fit, collapsing the absolutely-positioned cards to 0px wide. */
  .gc-card-showcase { width: 100%; height: 360px; max-width: 480px; margin: 0 auto; }
  .gc-benefits-grid { grid-template-columns: 1fr; }
  .gc-steps-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .gc-hero { padding: 40px 0 32px; }
  .gc-hero-inner { padding: 0 16px; gap: 32px; }
  .gc-hero-sub { font-size: 16px; }
  .gc-header-inner { padding: 12px 16px; }
  .gc-section { padding: 24px 16px; }
  .gc-security-pill span { display: none; }
  .gc-security-pill { padding: 6px 8px; }
  /* Keep both cards fully inside the viewport: no side offsets, smaller stack. */
  .gc-card-showcase { width: 100%; height: 240px; }
  .gc-bank-card {
    width: min(240px, 74%);
    padding: 14px 16px;
    border-radius: 12px;
  }
  .gc-bank-card-front { transform: translate(-50%, -50%) rotate(-4deg); }
  .gc-bank-card-back { transform: translate(-50%, -50%) rotate(5deg) translate(10px, -12px); }
  .gc-bank-card .gc-card-bank { font-size: 12px; }
  .gc-bank-card .gc-card-type { font-size: 10px; }
  .gc-bank-card .gc-card-holder { font-size: 11px; }
  .gc-bank-card .gc-card-number { font-size: 11px; letter-spacing: 0.04em; }
  .gc-bank-card .gc-card-scheme { font-size: 12px; }
  .gc-bank-card .gc-card-contactless { width: 20px; height: 20px; }
  .gc-bank-card .gc-card-chip { width: 34px; height: 26px; border-radius: 4px; }
  .gc-bank-card .gc-card-chip::after { inset: 13px 4px 5px; }
  .gc-update-card { flex-direction: column; padding: 24px 22px; gap: 16px; }
  .gc-sticky-bar { display: flex; }
  .gc-footer { padding-bottom: 110px; }
  .gc-hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .gc-hero-cta .gc-btn-primary { width: 100%; }
  .gc-compat-chip { justify-content: center; }
  .gc-steps-list { gap: 12px; }
  .gc-trust-chips { gap: 8px; }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gc-bank-card-front, .gc-bank-card-back, .gc-bank-card::after, .gc-update-badge::before { animation: none; }
  .gc-btn-primary, .gc-benefit { transition: none; }
}
