@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

* {
  box-sizing: border-box;
}

:root {
  --navy-deep: #060b18;
  --navy: #0b1329;
  --navy-brand: #162779;
  --gold: #ffce00;
  --ink: #0f172a;
  --steel: #64748b;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #eef1f8;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* Backdrop */
.page-backdrop {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1.25rem;
}

.page {
  width: 100%;
  max-width: 42rem;
  background-color: #ffffff;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(11, 19, 41, 0.18);
  border: 1px solid rgba(11, 19, 41, 0.06);
  display: flex;
  flex-direction: column;
}

/* Hero Banner */
.brand-banner {
  position: relative;
  width: 100%;
  min-height: 360px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.brand-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 24, 0.55) 0%, rgba(6, 11, 24, 0.55) 40%, rgba(6, 11, 24, 0.92) 100%);
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.brand-banner-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2.5rem 2rem 2.25rem;
}

.brand-logo-top {
  position: absolute;
  top: 1.75rem;
  left: 2rem;
  z-index: 1;
  height: 2.1rem;
}

.quick-access-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.quick-access-badge-line {
  height: 1px;
  width: 2.5rem;
  background-color: var(--gold);
}

.content-title {
  font-family: 'Manrope', sans-serif;
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem 0;
}

.content-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.975rem;
  line-height: 1.6;
  color: #fff;
  max-width: 28rem;
  margin: 0;
}

.gold-underline {
  display: inline-block;
  white-space: nowrap;
  background-image: linear-gradient(90deg, var(--gold), var(--gold));
  background-position: 0 88%;
  background-repeat: no-repeat;
  background-size: 100% 0.3em;
  color: #ffffff;
}

/* Content */
.content {
  flex-grow: 1;
  width: 100%;
  padding: 2.5rem 2rem 2rem;
}

/* Link Grid */
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.link-card {
  position: relative;
  display: flex;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.15rem;
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.link-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.link-card:hover {
  transform: translateY(-5px);
  border-color: #d7ddf0;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}

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

.link-card-icon-wrap {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  background-color: #eef1fb;
  border: 1px solid #dbe1f5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.link-card:hover .link-card-icon-wrap {
  background-color: var(--navy-brand);
  border-color: var(--navy-brand);
  transform: scale(1.08);
}

.link-card-icon {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--navy-brand);
  transition: color 0.3s ease;
}

.link-card:hover .link-card-icon {
  color: #ffffff;
}

.link-card-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.link-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap 0.25s ease, color 0.25s ease;
}

.link-card:hover .link-card-cta {
  gap: 0.75rem;
  color: var(--gold);
}

.link-card-arrow {
  transition: transform 0.25s ease;
}

/* Footer */
.brand-footer {
  background-color: var(--navy-deep);
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.scroll-top-btn {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: var(--gold);
  border: none;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.scroll-top-btn:hover {
  transform: translateY(-50%) scale(1.1);
}

.scroll-top-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* Responsive */
@media (max-width: 640px) {
  .page-backdrop {
    padding: 0;
  }

  .page {
    border-radius: 0;
    min-height: 100vh;
    border: none;
    box-shadow: none;
  }

  .brand-banner {
    min-height: 300px;
  }

  .content-title {
    font-size: 1.7rem;
  }

  .brand-banner-content {
    padding: 2rem 1.5rem 1.75rem;
  }

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

  .content {
    padding: 2rem 1.5rem 1.5rem;
  }
}
