/* Tokens (from Framer project) */
:root {
  --neutral-01: rgb(255, 255, 255);
  --neutral-02: rgb(170, 177, 173);
  --neutral-03: rgb(4, 20, 28);
  --neutral-04: rgb(3, 14, 20);
  --neutral-05: rgb(67, 67, 67);
  --gold: rgb(211, 174, 55);
  --color-01: rgb(11, 30, 72);
  --font-display: "Inter", system-ui, sans-serif;
  --font-body: "Work Sans", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--neutral-04);
  color: var(--neutral-01); font-family: var(--font-body);
  -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* Text styles */
.t-h1 { font-family: var(--font-display); font-weight: 500; font-size: 65px;
  line-height: 1.2em; letter-spacing: -3px; margin: 0; }
.t-h2 { font-family: var(--font-display); font-weight: 500; font-size: 48px;
  line-height: 1.2em; letter-spacing: -1.7px; margin: 0; }
.t-h3 { font-family: var(--font-display); font-weight: 500; font-size: 32px;
  line-height: 1.4em; letter-spacing: -1px; margin: 0; }
.t-h4 { font-family: var(--font-display); font-weight: 500; font-size: 22px;
  line-height: 1.5em; letter-spacing: 0; margin: 0; }
.t-18-r { font-family: var(--font-body); font-weight: 400; font-size: 18px;
  line-height: 1.7em; letter-spacing: -0.5px; }
.t-16-r { font-family: var(--font-body); font-weight: 400; font-size: 16px;
  line-height: 1.7em; letter-spacing: -0.5px; }
.t-16-m { font-family: var(--font-body); font-weight: 500; font-size: 16px;
  line-height: 1.7em; letter-spacing: -0.5px; }
.t-14-r { font-family: var(--font-body); font-weight: 400; font-size: 14px;
  line-height: 1.7em; letter-spacing: -0.5px; }
.t-14-m { font-family: var(--font-body); font-weight: 500; font-size: 14px;
  line-height: 1.7em; letter-spacing: -0.5px; }
@media (max-width: 900px) {
  .t-h1 { font-size: 44px; letter-spacing: -2px; }
  .t-h2 { font-size: 34px; letter-spacing: -1.2px; }
}

/* Header */
header.top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 48px; max-width: 1440px; margin: 0 auto;
}
.logo {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold); border-radius: 10px;
  padding: 8px 12px; font-family: var(--font-body); font-weight: 500;
  font-size: 12px; line-height: 1.15; letter-spacing: 0.18em; text-align: center;
}
.btn-ghost {
  display: inline-flex; align-items: center; padding: 12px 22px;
  border-radius: 999px; border: 0.5px solid var(--neutral-05);
  background: rgba(255,255,255,0.05); font: 500 14px/1 var(--font-body);
  letter-spacing: -0.3px; color: #fff;
  transition: background 200ms, border-color 200ms;
}
.btn-ghost:hover { background: rgba(211,174,55,0.12); border-color: var(--gold); }

/* Gold CTA */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 17px 28px; border-radius: 999px; background: var(--gold);
  color: var(--neutral-04); font: 600 15px/1 var(--font-body);
  letter-spacing: -0.3px; border: none; cursor: pointer;
  box-shadow: 0 8px 30px rgba(211,174,55,0.18);
  transition: transform 200ms, box-shadow 200ms;
}
.btn-gold:hover { transform: translateY(-1px);
  box-shadow: 0 14px 50px rgba(211,174,55,0.3); }

/* Hero (home) */
.hero { position: relative; overflow: hidden; padding: 100px 30px 50px;
  background: var(--neutral-04); }
.hero .bg-gradient {
  position: absolute; top: 0; bottom: -454px; left: 0; right: 0;
  width: 135%; background: url("../images/gradient.png") center/cover no-repeat;
  z-index: 0; pointer-events: none;
}
.hero .bg-shape {
  position: absolute; top: 0; bottom: -377px; left: 0; right: -644px;
  z-index: 0; pointer-events: none; overflow: hidden;
}
.hero .bg-shape img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero .mask-blur {
  position: absolute; top: 0; bottom: 0; left: 0; width: 82%; z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, var(--neutral-04) 0%, rgba(3,14,20,0.6) 40%, rgba(3,14,20,0) 100%);
}
.hero .container {
  position: relative; z-index: 3; width: 100%; max-width: 1296px;
  margin: 0 auto; display: flex; justify-content: space-between; align-items: center;
  gap: 10px; min-height: 620px; padding-top: 60px;
}
.hero .content { flex: 1 1 0; max-width: 580px;
  display: flex; flex-direction: column; gap: 23px; align-items: flex-start; }
.hero .top-content { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.label {
  display: inline-flex; align-items: center; padding: 7px 17px;
  border-radius: 55px; background: rgba(255,255,255,0.05);
  border: 0.5px solid var(--neutral-05); color: var(--gold);
}
.hero .title { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.hero .desc { opacity: 0.8; max-width: 600px; }

/* Globe wrapper */
.image-wrapper { position: relative; width: 570px; height: 570px; flex: 0 0 570px; }
.image-wrapper .globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.image-wrapper .planet { position: absolute; width: 248px; height: 234px; z-index: 1; }
.image-wrapper .planet-1 { bottom: -24px; left: -127px; transform: rotate(-27deg); }
.image-wrapper .planet-2 { top: -44px; right: -41px; transform: rotate(59deg); }
.image-wrapper .line-shadow, .image-wrapper .line {
  position: absolute; left: -42px; right: -18px; top: 50%; height: 252px;
  transform: translateY(-51%) rotate(-30deg); transform-origin: center;
  pointer-events: none;
}
.image-wrapper .line { height: 274px; z-index: 1; left: -40px; }
.image-wrapper .line-shadow { z-index: 0; }
.image-wrapper .line img, .image-wrapper .line-shadow img { width: 100%; height: 100%; }

/* Toolbox */
.toolbox { padding: 140px 30px 0; background: var(--neutral-04); }
.toolbox .wrap { max-width: 1296px; margin: 0 auto; display: flex; flex-direction: column;
  align-items: center; gap: 29px; text-align: center; }
.toolbox h2 { max-width: 662px; }
.toolbox .sub { max-width: 600px; color: var(--neutral-02); }
.cards {
  width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px; margin-top: 24px;
}
.card {
  position: relative; aspect-ratio: 416/315;
  background: var(--neutral-03); border-radius: 10px; padding: 32px;
  overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: stretch;
  transition: transform 240ms ease;
}
.card:hover { transform: translateY(-4px); }
.card .pattern {
  position: absolute; inset: 0; z-index: 0; opacity: 0.2;
  background: url("../images/card-pattern.svg") center/cover no-repeat;
  pointer-events: none;
}
.card .cursor-glow {
  position: absolute; width: 189px; height: 189px; border-radius: 50%;
  background: var(--gold); filter: blur(60px); opacity: 0;
  top: 32px; left: -100px; z-index: 1; pointer-events: none;
  transition: opacity 220ms ease, left 220ms ease, top 220ms ease;
}
.card:hover .cursor-glow { opacity: 0.55; }
.card .icon {
  position: relative; z-index: 2; width: 55px; height: 55px;
  margin: 6% auto 0; display: grid; place-items: center;
}
.card .icon svg, .card .icon img { width: 100%; height: 100%; }
.card .title { position: relative; z-index: 2; max-width: 250px; margin: auto auto 0;
  text-align: center; color: var(--neutral-01); }

/* Mission */
.mission { padding: 140px 30px; text-align: center; background: var(--neutral-04);
  position: relative; overflow: hidden; }
.mission::before { content: ""; position: absolute; inset: -20% 0 auto 0; height: 60%;
  background: radial-gradient(600px 300px at 50% 40%, rgba(31,80,100,0.35), transparent 65%);
  pointer-events: none; }
.mission .wrap { position: relative; max-width: 720px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 20px; }
.mission .label { color: var(--gold); }
.mission p { color: var(--neutral-02); max-width: 60ch; }

/* Footer */
footer.site { padding: 105px 30px 60px; background: var(--neutral-04); }
.footer-row {
  max-width: 1296px; margin: 0 auto; display: flex;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer-row .left { max-width: 326px; display: flex; flex-direction: column; gap: 53px; }
.footer-row .left .logo { margin-left: 0; }
.footer-row .left .copyright { color: var(--neutral-02); }
.footer-row .right { max-width: 205px; display: flex; flex-direction: column; gap: 32px;
  align-items: flex-end; }
.footer-row .right .contact-link { color: var(--neutral-01); font-weight: 500; font-size: 16px; }
.footer-row .right .menu-list { display: flex; flex-direction: column; gap: 12px;
  align-items: flex-start; width: 100%; }
.footer-row .right .menu-list > * { color: var(--neutral-02); max-width: 170px; text-align: right; }
.footer-row a:hover { color: var(--neutral-01); }

/* Contact page */
.contact-hero {
  position: relative; overflow: hidden; min-height: 100vh;
  padding: 200px 30px 70px; background: var(--neutral-04);
}
.contact-hero .bg-gradient {
  position: absolute; inset: 0; background: url("../images/gradient.png") center/cover no-repeat;
  z-index: 0; pointer-events: none; opacity: 0.6;
}
.contact-hero .container {
  position: relative; z-index: 2; width: 100%; max-width: 1296px; margin: 0 auto;
  display: flex; justify-content: center;
}
.contact-left { display: flex; flex-direction: column; gap: 142px; }
.contact-left .title { display: flex; flex-direction: column; gap: 16px; }
.contact-left .desc { opacity: 0.85; max-width: 421px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; max-width: 315px; }
.contact-info h4 { margin: 0; }
.contact-info p { margin: 0; opacity: 0.85; }

/* 404 page */
.not-found {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 120px 30px; background: var(--neutral-04);
}
.not-found .wrap {
  max-width: 1296px; display: flex; flex-direction: column; align-items: center;
  gap: 40px; text-align: center;
}
.not-found .illustration { width: 50%; max-width: 720px; aspect-ratio: 1.524; }
.not-found .illustration img { width: 100%; height: 100%; object-fit: contain; }
.not-found .title { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.not-found .desc { color: var(--neutral-02); max-width: 60ch; }

/* Responsive */
@media (max-width: 1080px) {
  .hero .container { flex-direction: column; padding-top: 40px; }
  .image-wrapper { width: min(90vw, 560px); height: min(90vw, 560px); flex: none; margin: 24px auto 0; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  header.top { padding: 20px 20px; }
  .hero { padding: 90px 20px 30px; }
  .toolbox, .mission { padding-left: 20px; padding-right: 20px; }
  footer.site { padding: 60px 20px 40px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-row .right { align-items: flex-start; }
  .contact-hero { padding: 140px 20px 60px; }
  .contact-form { padding: 24px; }
}
