/* ── KYNEX TECHNOLOGIES — SHARED STYLES (LIGHT MODE) ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

:root {
  --teal-dark:  #0a4a5c;
  --teal-mid:   #1a7a94;
  --teal-light: #1e9db8;
  --teal-glow:  #4db8d4;
  --accent:     #00a3bb;

  /* Light palette */
  --bg:         #f5f8fa;
  --bg2:        #eaf3f7;
  --bg3:        #ffffff;
  --surface:    #ffffff;
  --border:     rgba(26,122,148,0.14);
  --border-mid: rgba(26,122,148,0.22);
  --text:       #0d1e26;
  --text-2:     #3a5564;
  --text-3:     #6a8a98;
  --white:      #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4vw; height: 68px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(10,74,92,0.07);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo .logo-icon { height: 36px; }
.nav-logo .logo-full { height: 32px; }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a {
  display: block; padding: 8px 14px;
  font-size: 0.84rem; font-weight: 500; letter-spacing: 0.03em;
  color: var(--text-2); text-decoration: none;
  transition: color 0.2s, background 0.2s; border-radius: 6px;
}
.nav-links a:hover { color: var(--teal-mid); background: rgba(26,122,148,0.07); }
.nav-links li.active > a { color: var(--teal-mid); }

/* Dropdown */
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: -10px;
  background: var(--white); border: 1px solid var(--border-mid);
  border-radius: 12px; padding: 10px; min-width: 220px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.2s; display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 16px 40px rgba(10,74,92,0.12);
}
.dropdown a { padding: 9px 14px; border-radius: 8px; font-size: 0.82rem; color: var(--text-2); white-space: nowrap; }
.dropdown a:hover { color: var(--teal-mid); background: rgba(26,122,148,0.07); }

.nav-cta {
  padding: 9px 22px; border-radius: 8px;
  background: linear-gradient(135deg, var(--teal-mid), var(--teal-dark));
  color: var(--white) !important; font-size: 0.83rem; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,163,187,0.3); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-nav {
  position: fixed; top: 68px; left: 0; right: 0; z-index: 199;
  background: var(--white); padding: 20px 5vw 28px;
  display: flex; flex-direction: column; gap: 4px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(10,74,92,0.08);
  transform: translateY(-120%); transition: transform 0.3s;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a { padding: 12px 16px; border-radius: 8px; color: var(--text-2); text-decoration: none; font-size: 0.95rem; }
.mobile-nav a:hover { background: rgba(26,122,148,0.07); color: var(--teal-mid); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; padding: 13px 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--teal-mid), var(--teal-dark));
  color: var(--white); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,163,187,0.3); }
.btn-ghost {
  display: inline-block; padding: 13px 30px; border-radius: 8px;
  border: 1.5px solid var(--teal-mid); color: var(--teal-mid);
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-ghost:hover { background: rgba(26,122,148,0.08); transform: translateY(-2px); }

/* ── TYPOGRAPHY ── */
.section-head { text-align: center; margin-bottom: 64px; }
.eyebrow {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal-mid); margin-bottom: 14px;
}
.section-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.02em;
  color: var(--text);
}
.section-h2 span {
  background: linear-gradient(135deg, var(--teal-mid), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-sub {
  font-size: 1rem; color: var(--text-3); margin-top: 14px;
  max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.75;
}

/* ── PAGE HEADER ── */
.page-header {
  padding: 140px 5vw 80px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #e8f5f9 0%, #f5f8fa 100%);
  border-bottom: 1px solid var(--border);
}
.page-header::before {
  content:''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(26,122,148,0.1) 0%, transparent 70%);
}
.page-header::after {
  content:''; position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(26,122,148,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,122,148,0.06) 1px, transparent 1px);
  background-size:60px 60px;
}
.page-header-content { position: relative; z-index: 1; max-width: 700px; }
.page-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 20px;
  color: var(--text);
}
.page-header h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--teal-mid), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-header p { font-size: 1.05rem; color: var(--text-2); line-height: 1.75; max-width: 560px; }

/* ── FOOTER ── */
footer {
  background: var(--teal-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 64px 5vw 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px;
}
.footer-brand img { height: 40px; display: block; filter: brightness(0) invert(1); }
.footer-tagline { font-size: 0.83rem; color: rgba(255,255,255,0.45); line-height: 1.7; margin-top: 14px; }
.footer-col-title {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-glow); margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal-glow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.77rem; color: rgba(255,255,255,0.3);
}
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.5);
  text-decoration: none; font-size: 0.75rem; font-weight: 700;
  transition: border-color 0.2s, color 0.2s;
}
.social-link:hover { border-color: var(--teal-glow); color: var(--teal-glow); }

/* ── BREADCRUMB ── */
.breadcrumb {
  position: relative; z-index:1;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--text-3);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--teal-mid); text-decoration: none; }
.breadcrumb span { opacity: 0.5; }

/* ── CARDS ── */
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 28px;
  box-shadow: 0 2px 12px rgba(10,74,92,0.06);
}

/* Responsive */
@media(max-width:900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media(max-width:540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction:column; gap:8px; text-align:center; }
}
