@font-face {
  font-family: "Inter";
  src: url("fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/InterVariable-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

/* =========================================================
   Nexon Solutions — Website Draft
   Design tokens + base layout. Map these to GenerateBlocks
   global styles & block presets when porting to WordPress.
   ========================================================= */

:root {
  /* Brand */
  --brand-900: #0B1F3A;   /* deep aviation navy — headlines, footer */
  --brand-700: #14375E;   /* primary surfaces, hover */
  --brand-500: #2E6BB8;   /* mid blue — links, secondary accents */
  --accent:    #C8102E;   /* Swiss red — restrained, used sparingly */
  --accent-2:  #F2B705;   /* warm yellow — reserved, currently unused */

  /* Neutrals */
  --ink:       #0B1426;
  --ink-2:     #3B4A63;
  --ink-3:     #6B7A92;
  --line:      #E3E8F0;
  --surface:   #F6F8FB;
  --surface-2: #EDF1F7;
  --bg:        #FFFFFF;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter", system-ui, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow-1:  0 1px 2px rgba(11, 31, 58, 0.06), 0 4px 16px rgba(11, 31, 58, 0.04);
  --shadow-2:  0 4px 12px rgba(11, 31, 58, 0.08), 0 16px 40px rgba(11, 31, 58, 0.08);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-500); text-decoration: none; }
a:hover { color: var(--brand-700); }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brand-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--ink-2); }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 60ch; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: 1rem;
}
.eyebrow.accent { color: var(--accent); }

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section   { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section.alt   { background: var(--surface); }
.section.dark  {
  background: linear-gradient(180deg, var(--brand-900) 0%, #081429 100%);
  color: #DBE5F3;
}
.section.dark h1,
.section.dark h2,
.section.dark h3 { color: #fff; }
.section.dark p  { color: #C8D3E6; }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  transition: all .18s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--brand-900);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-700); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--brand-900);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--brand-900); }
.btn-light {
  background: #fff; color: var(--brand-900);
}
.btn-light:hover { background: var(--surface); }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--brand-900); font-size: 1.15rem; letter-spacing: -0.02em; }
.brand .mark {
  width: 28px; height: 28px;
  background:
    radial-gradient(circle at 30% 30%, #fff 0 22%, transparent 23%),
    var(--brand-900);
  border-radius: 50%;
  position: relative;
}
.brand .mark::after{
  content:"";
  position:absolute; inset: 6px;
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 50%;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink); font-weight: 500; font-size: .95rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand-900); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none; background: none; border: 0; width: 40px; height: 40px;
  cursor: pointer; color: var(--brand-900);
}
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 24px;
    border-bottom: 1px solid var(--line);
  }
  .hamburger { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta .btn { display: none; }
}

/* Hero */
.hero { position: relative; padding: 96px 0 80px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 600px at 90% -10%, rgba(46,107,184,0.10), transparent 60%),
    radial-gradient(800px 500px at -10% 20%, rgba(200,16,46,0.05), transparent 60%);
  z-index: -1;
}
.hero h1 .accent-text { color: var(--brand-500); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-visual {
  aspect-ratio: 5 / 4;
  background:
    linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 60%, var(--brand-500) 100%);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-2);
  margin: 0;
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask: radial-gradient(circle at 30% 40%, #000 0%, transparent 70%);
}
.hero-visual .plane {
  position: absolute; left: 12%; top: 38%;
  width: 60%;
  color: rgba(255,255,255,.92);
}

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.card .icon {
  width: 44px; height: 44px;
  background: var(--surface);
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand-500);
  margin-bottom: 16px;
}
.card h3 { margin-bottom: .35em; }

/* Product card (Flightnet / Flightnet CAMO on home) */
.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
  overflow: hidden;
}
.product-card .ribbon {
  position: absolute; top: 0; right: 0;
  font-size: .72rem; letter-spacing: .12em; font-weight: 700; text-transform: uppercase;
  color: #fff; background: var(--brand-900);
  padding: 6px 12px; border-bottom-left-radius: 10px;
}
.product-card.flightnet .ribbon { background: var(--brand-500); }
.product-card.camonet   .ribbon { background: var(--brand-900); }
.product-card h2 { font-size: 1.75rem; margin-top: 0; }
.product-card ul { list-style: none; padding: 0; margin: 0 0 8px; color: var(--ink-2); }
.product-card li { padding: 6px 0 6px 22px; position: relative; }
.product-card li::before {
  content: "›"; position: absolute; left: 4px; top: 6px;
  color: var(--brand-500); font-weight: 700;
}
.product-card .footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 4px;
}

/* Feature list */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 880px) { .features { grid-template-columns: 1fr; } }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p  { font-size: .95rem; }
.feature .num {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .8rem; font-weight: 600;
  color: var(--brand-500);
  letter-spacing: .08em;
  margin-bottom: 10px;
}

/* Two-column content blocks (alternating image/text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}
.split-art {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--surface-2);
  box-shadow: var(--shadow-1);
  position: relative;
  overflow: hidden;
  margin: 0;
}
.split-art.dark {
  background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
}

/* Logo strip */
.logos {
  display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; justify-content: center;
  opacity: .75;
}
.logos span {
  font-weight: 600; color: var(--ink-3); letter-spacing: .04em;
}

/* Spec list (used on product pages) */
.spec { border-top: 1px solid var(--line); }
.spec dl { display: grid; grid-template-columns: 220px 1fr; gap: 0; margin: 0; }
.spec dt, .spec dd {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.spec dt { font-weight: 600; color: var(--brand-900); }
.spec dd { margin: 0; color: var(--ink-2); }
@media (max-width: 720px) {
  .spec dl { grid-template-columns: 1fr; }
  .spec dt { padding-bottom: 0; border-bottom: 0; }
  .spec dd { padding-top: 4px; }
}

/* Contact form */
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-1);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--brand-900); }
.field input,
.field textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(46,107,184,0.12);
}
.contact-form textarea { resize: vertical; }

/* Spam trap: must stay reachable for bots but invisible and unfocusable for people. */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Result message above the fields */
.form-status {
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: .92rem;
  line-height: 1.5;
}
.form-status.is-ok {
  background: #E9F6EE;
  border: 1px solid #A8D8BC;
  color: #1C5C38;
}
.form-status.is-error {
  background: #FDECEE;
  border: 1px solid #F2B8C0;
  color: #8A1220;
}

/* Footer */
.site-footer {
  background: var(--brand-900);
  color: #C8D3E6;
  padding: 64px 0 32px;
}
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #C8D3E6; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 8px 0; }
.legal {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: .85rem; color: #8FA0BB;
}

/* Utility */
.text-center { text-align: center; }
.muted { color: var(--ink-3); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.tag {
  display: inline-block; padding: 4px 10px;
  background: var(--surface); color: var(--brand-700);
  border-radius: 999px; font-size: .78rem; font-weight: 600;
  letter-spacing: .04em;
}
.tag.accent { background: rgba(200,16,46,0.08); color: var(--accent); }

/* Hero meta pre-headline */
.hero-meta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 28px;
}
.hero-meta .meta-dot {
  width: 8px; height: 8px; background: var(--accent);
  border-radius: 50%;
  animation: meta-pulse 2s ease-in-out infinite;
  display: inline-block;
}
@keyframes meta-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Stats strip below hero */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 72px; padding: 32px 0;
}
.stat { padding: 0 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 700;
  color: var(--brand-900); line-height: 1;
  margin-bottom: 6px; letter-spacing: -0.02em;
}
.stat-label {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .72rem; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: .08em;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat { padding: 18px 16px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Hero visual: image variant */
.hero-visual.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-visual.has-image img,
.split-art.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-credit {
  position: absolute;
  right: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  border-radius: 5px;
  background: rgba(8, 20, 41, 0.74);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.67rem;
  line-height: 1.35;
  backdrop-filter: blur(3px);
}
.image-credit a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}
.image-credit a:hover { text-decoration-color: #fff; }
.hero-visual.has-image.contain {
  background-size: contain;
  background-color: #fff;
  border: 1px solid var(--line);
}

/* Product card tagline */
.product-card .product-tagline {
  color: var(--brand-500);
  font-size: 1rem;
  font-style: italic;
  margin: 0 0 12px;
}

/* Team / About us */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 880px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}
.team-card {
  text-align: center;
}
.team-photo {
  position: relative;
  width: 160px; height: 160px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 600;
  letter-spacing: .02em;
  box-shadow: var(--shadow-1);
}
.team-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.team-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-900);
  margin-bottom: 4px;
}
.team-role {
  font-size: .9rem;
  color: var(--ink-3);
}

/* Module feature bullets (used in products.html module sections) */
.module-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  color: var(--ink-2);
}
.module-features li {
  padding: 6px 0 6px 24px;
  position: relative;
}
.module-features li::before {
  content: "›";
  position: absolute;
  left: 4px;
  top: 6px;
  color: var(--brand-500);
  font-weight: 700;
}
.module-features li .status {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand-500);
  margin-right: 8px;
  vertical-align: middle;
}
.module-features li .status.eval {
  background: rgba(200, 16, 46, 0.08);
  color: var(--accent);
}

/* "In development" ribbon variant for product cards */
.product-card .ribbon.dev {
  background: var(--accent);
}

/* =========================================================
   Legal / long-form documents (imprint, privacy)
   ========================================================= */
.legal-doc { max-width: 760px; }
.legal-doc h2 { font-size: 1.35rem; margin: 44px 0 12px; }
.legal-doc h3 { font-size: 1.02rem; margin: 26px 0 8px; }
.legal-doc p, .legal-doc li { color: var(--ink-2); }
.legal-doc ul { margin: 12px 0 12px 20px; padding: 0; }
.legal-doc li { margin-bottom: 8px; }
.legal-doc address { font-style: normal; }
.legal-doc .updated { color: var(--ink-3); font-size: .9rem; }
.legal-doc .tbd {
  display: inline-block;
  background: #FFF4E5;
  border: 1px solid #F0C99A;
  color: #8A5A00;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
}
.legal-doc .tbd-block {
  background: #FFF4E5;
  border: 1px solid #F0C99A;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 16px 0;
  color: #8A5A00;
  font-size: .92rem;
}

/* =========================================================
   Brand logo image (header) — replaces the old .mark + text
   Source asset is 331x32 px, so 32px is its native height.
   Displaying it larger upscales it: replace with an SVG (or a
   2x PNG) before going live if a bigger logo is wanted.
   ========================================================= */
.brand img.brand-logo { height: 32px; width: auto; display: block; }
@media (max-width: 880px) {
  .brand img.brand-logo { height: 26px; }
}
