/* ===========================================================
   Geminos Technologies Ltd — homepage stylesheet
   Navy + teal umbrella brand. Static, no framework.
   =========================================================== */

:root {
  --navy-900: #07172b;
  --navy-800: #0a1f38;
  --navy-700: #0e2a4a;
  --navy-600: #143a63;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --teal-600: #0d9488;
  --gold: #c9a23a;
  --gold-bright: #e0b84a;
  --ink: #0f1c2e;
  --slate: #51627a;
  --slate-light: #8294ad;
  --paper: #ffffff;
  --mist: #f5f8fc;
  --line: #e6ecf4;
  --maxw: 1180px;
  --radius: 16px;
  --shadow-card: 0 14px 36px -22px rgba(10, 31, 56, 0.40);
  --shadow-card-hover: 0 26px 50px -26px rgba(10, 31, 56, 0.50);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 0.9rem;
}
.eyebrow.light { color: var(--teal-400); }
.gold { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
.btn-primary { background: var(--teal-500); color: #04221d; box-shadow: 0 12px 26px -12px rgba(20, 184, 166, 0.65); }
.btn-primary:hover { transform: translateY(-2px); background: var(--teal-400); }

/* ===================== HEADER ===================== */
header.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
header.site .bar { display: flex; align-items: center; gap: 1.5rem; height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 0.7rem; }
.logo .mark { width: 38px; height: 38px; flex: none; }
.logo .word { display: flex; flex-direction: column; line-height: 1.05; color: var(--ink); }
.logo .word b { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }
.logo .word span { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.6; }

.primary-nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.primary-nav a { font-size: 0.95rem; color: var(--slate); font-weight: 500; transition: color 0.15s ease; }
.primary-nav a:hover { color: var(--ink); }
.header-cta { flex: none; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; margin-left: auto; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle span + span { margin-top: 5px; }
.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); }

.mobile-nav { display: none; flex-direction: column; gap: 0.25rem; padding: 0.5rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem; border-bottom: 1px solid var(--line); background: #fff; }
.mobile-nav a { padding: 0.7rem 0.25rem; color: var(--slate); font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav a.btn { margin-top: 0.75rem; justify-content: center; border-bottom: 0; color: #04221d; }
.mobile-nav.open { display: flex; }

/* ===================== HERO ===================== */
.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero-curves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 800; color: var(--navy-800); }
.hero h1 .gold { color: var(--gold); }
.hero .lede { margin-top: 1.5rem; font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: var(--slate); max-width: 48ch; }
.hero .cta { margin-top: 2.2rem; }

.hero-visual { position: relative; }
.hero-panel {
  position: relative; aspect-ratio: 4 / 3.4; border-radius: 22px; overflow: hidden;
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700) 58%, var(--navy-600));
  box-shadow: 0 40px 80px -40px rgba(10, 31, 56, 0.6);
  display: grid; place-items: center;
}
.hero-panel-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 60% 40%, #000 0%, transparent 78%);
}
.hero-emblem { position: relative; width: 62%; max-width: 280px; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.35)); }

/* ===================== SECTION SCAFFOLD ===================== */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; color: var(--navy-800); }

/* ===================== PRODUCTS ===================== */
.products { background: var(--mist); }
.grid { display: grid; gap: 1.4rem; }
.products-grid { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.6rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.card-line { position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--accent); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  margin-bottom: 1.15rem;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy-800); }
.card p { margin-top: 0.55rem; color: var(--slate); font-size: 0.97rem; flex: 1 1 auto; }
.card-cta { margin-top: 1.2rem; font-weight: 600; font-size: 0.92rem; color: var(--accent); display: inline-flex; align-items: center; gap: 0.35rem; }
.card-cta span { transition: transform 0.15s ease; }
.card-cta:hover span { transform: translateX(4px); }

.products-note { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 700; color: var(--navy-800); }

/* ===================== MISSION ===================== */
.mission { position: relative; background: var(--navy-800); color: #fff; overflow: hidden; }
.mission .topo { position: absolute; top: 0; right: 0; height: 100%; width: 50%; z-index: 0; }
.mission-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.mission-main { font-size: clamp(1.6rem, 3.8vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; max-width: 18ch; }
.mission-side p { color: rgba(233, 240, 249, 0.82); font-size: 1.1rem; }

/* ===================== METRICS ===================== */
.metrics { background: var(--paper); border-bottom: 1px solid var(--line); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.metric { background: #fff; padding: 2rem 1.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.metric-ico { width: 30px; height: 30px; color: var(--teal-600); margin-bottom: 0.4rem; }
.metric b { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; color: var(--navy-800); line-height: 1; }
.metric span { color: var(--slate); font-size: 0.92rem; }

/* ===================== ABOUT / PARTNER ===================== */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-left h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; color: var(--navy-800); margin-bottom: 1rem; }
.about-left p { color: var(--slate); font-size: 1.1rem; max-width: 46ch; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.4rem; font-weight: 600; color: var(--teal-600); }
.link-arrow span { transition: transform 0.15s ease; }
.link-arrow:hover span { transform: translateX(4px); }

.about-right { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); }
.contact-list li { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { width: 22px; height: 22px; color: var(--teal-600); flex: none; }
.contact-list a { color: var(--ink); font-weight: 500; }
.contact-list a:hover { color: var(--teal-600); }
.social { display: flex; gap: 0.7rem; margin-top: 1.3rem; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--navy-700); transition: transform 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.social a:hover { transform: translateY(-2px); color: var(--teal-600); border-color: color-mix(in srgb, var(--teal-500) 40%, var(--line)); }
.social svg { width: 18px; height: 18px; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.72); padding: 2.4rem 0; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; justify-content: space-between; }
.footer-logo .word b { color: #fff; }
.footer-logo .word span { color: rgba(255,255,255,0.6); }
.footer-copy { font-size: 0.9rem; }
.footer-legal { display: flex; gap: 1rem; font-size: 0.9rem; align-items: center; }
.footer-legal a:hover { color: #fff; }
.footer-legal span { opacity: 0.4; }

/* "Coming soon" card CTA — non-interactive, visibly inactive (not a link) */
.card-cta-soon {
  margin-top: 1.2rem;
  font-weight: 600; font-size: 0.92rem;
  color: var(--slate-light);
  display: inline-flex; align-items: center; gap: 0.35rem;
  cursor: default;
}

/* ===================== ACCESSIBILITY ===================== */
:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; }
  .mission-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 540px) {
  .products-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; text-align: center; }
}
