@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter+Tight:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: hsl(220, 20%, 2%);
  --fg: hsl(210, 40%, 98%);
  --card: hsl(220, 15%, 6%);
  --primary: hsl(189, 100%, 50%);
  --primary-bg: hsl(220, 20%, 2%);
  --muted: hsl(215, 16%, 62%);
  --border: hsl(220, 15%, 14%);
  --card2: hsl(220, 15%, 10%);
  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter Tight', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--bg); color: var(--fg); line-height: 1.6; min-height: 100vh; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: var(--body); color: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }
.accent { color: var(--primary); }
.body-text { color: var(--muted); font-family: var(--body); font-size: 1rem; line-height: 1.8; }
.mt { margin-top: 1rem; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.5s, border-color 0.5s;
}
.navbar.scrolled { background: hsla(220,20%,2%,0.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (min-width: 1024px) { .nav-inner { height: 5rem; padding: 0 2rem; } }

.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-name { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.1em; color: var(--fg); }
.logo-sub { display: none; font-size: 0.625rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); font-family: var(--body); }
@media (min-width: 640px) { .logo-sub { display: inline; } }

.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links button { font-size: 0.875rem; font-family: var(--body); font-weight: 500; color: var(--muted); letter-spacing: 0.05em; transition: color 0.3s; }
.nav-links button:hover { color: var(--primary); }

.mobile-btn { display: flex; color: var(--fg); padding: 0.5rem; }
.mobile-btn svg { width: 1.25rem; height: 1.25rem; stroke: currentColor; }
@media (min-width: 1024px) { .mobile-btn { display: none; } }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 40;
  background: hsla(220,20%,2%,0.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: flex-start; justify-content: center; padding: 2rem;
}
.mobile-menu.open { display: flex; }
.mob-close { position: absolute; top: 1.25rem; right: 1.5rem; color: var(--fg); padding: 0.5rem; }
.mob-close svg { width: 1.5rem; height: 1.5rem; stroke: currentColor; }
.mob-label { font-size: 0.625rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); font-family: var(--body); margin-bottom: 2rem; }
.mob-links { display: flex; flex-direction: column; gap: 1.5rem; }
.mob-links button { font-size: 1.5rem; font-family: var(--display); font-weight: 600; color: var(--fg); transition: color 0.3s; display: flex; align-items: center; gap: 0.75rem; }
.mob-links button:hover { color: var(--primary); }
.mob-num { font-size: 0.75rem; color: var(--primary); font-family: var(--body); }

/* ─── HERO ─── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.hero-ov1 { position: absolute; inset: 0; background: linear-gradient(to right, var(--bg) 0%, hsla(220,20%,2%,0.9) 55%, hsla(220,20%,2%,0.5) 100%); }
.hero-ov2 { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, transparent 50%, hsla(220,20%,2%,0.6) 100%); }

.scan-line {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.scan-line::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 1px;
  background: hsla(189,100%,50%,0.2);
  animation: scanMove 8s linear infinite;
}
@keyframes scanMove { 0% { left: -1%; } 100% { left: 101%; } }

.grid-trace {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.03;
  background-image: linear-gradient(to right, hsl(189,100%,50%) 1px, transparent 1px), linear-gradient(to bottom, hsl(189,100%,50%) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-content { position: relative; z-index: 1; width: 100%; max-width: 1280px; margin: 0 auto; padding: 6rem 1.5rem 4rem; }
@media (min-width: 1024px) { .hero-content { padding: 6rem 2rem 4rem; } }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }

.hero-left h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.5rem, 8vw, 4.5rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.hero-left p { color: var(--muted); font-family: var(--body); font-size: 1.0625rem; line-height: 1.7; max-width: 28rem; margin-bottom: 2.5rem; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.6875rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--primary); font-family: var(--body);
  border: 1px solid hsla(189,100%,50%,0.2); padding: 0.5rem 1rem;
  backdrop-filter: blur(4px); margin-bottom: 1.5rem;
}
.hero-dot { width: 0.375rem; height: 0.375rem; background: var(--primary); border-radius: 50%; animation: glow 2s ease infinite; }
@keyframes glow { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.btn-outline { font-family: var(--display); font-weight: 600; font-size: 0.875rem; padding: 0.875rem 2rem; border: 1px solid var(--border); color: var(--fg); letter-spacing: 0.05em; transition: all 0.3s; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.hero-right { display: none; flex-direction: column; align-items: flex-end; gap: 3rem; }
@media (min-width: 1024px) { .hero-right { display: flex; } }
.hero-stat { text-align: right; }
.stat-val { font-family: var(--display); font-weight: 700; font-size: 1.875rem; color: var(--primary); margin-bottom: 0.25rem; }
.stat-lbl { font-size: 0.875rem; color: var(--muted); font-family: var(--body); letter-spacing: 0.05em; }

.scroll-btn { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--muted); transition: color 0.3s; animation: fadeIn 0.5s ease 1.5s both; }
.scroll-btn:hover { color: var(--primary); }
.scroll-btn span { font-size: 0.625rem; letter-spacing: 0.3em; text-transform: uppercase; font-family: var(--body); }
.scroll-btn svg { width: 1rem; height: 1rem; stroke: currentColor; animation: bounce 1.5s ease infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ─── SECTION ─── */
.section { padding: 6rem 0; }
@media (min-width: 1024px) { .section { padding: 8rem 0; } }
.sec-label { font-size: 0.6875rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--primary); font-family: var(--body); margin-bottom: 1.5rem; }
.section h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.2; }

/* ─── ABOUT ─── */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-img-wrap { position: relative; margin-top: 2rem; overflow: hidden; border: 1px solid var(--border); }
.about-img-wrap img { width: 100%; height: 12rem; object-fit: cover; opacity: 0.7; }
.about-img-ov { position: absolute; inset: 0; background: linear-gradient(to top, hsla(220,20%,2%,0.7), transparent); }
.about-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.vmcard { border: 1px solid var(--border); padding: 2rem; background: hsla(220,15%,6%,0.5); backdrop-filter: blur(4px); }
.vmcard-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.vmcard-icon { width: 2.5rem; height: 2.5rem; border: 1px solid hsla(189,100%,50%,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vmcard-icon svg { width: 1.25rem; height: 1.25rem; stroke: var(--primary); }
.vmcard h3 { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; }
.vmcard p { color: var(--muted); font-family: var(--body); font-size: 0.875rem; line-height: 1.8; }

/* ─── PRODUCTS ─── */
.products-banner { position: relative; margin: 2.5rem 0; overflow: hidden; border: 1px solid var(--border); }
.products-banner img { width: 100%; height: 14rem; object-fit: cover; opacity: 0.8; }
@media (min-width: 1024px) { .products-banner img { height: 18rem; } }
.products-banner-ov { position: absolute; inset: 0; background: linear-gradient(to right, hsla(220,20%,2%,0.8), transparent, hsla(220,20%,2%,0.8)); }
.products-banner-ov::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, hsla(220,20%,2%,0.6), transparent); }
.products-banner-text { position: absolute; bottom: 1.5rem; left: 2rem; }
.banner-title { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--fg); }
.banner-sub { color: var(--primary); font-size: 0.875rem; font-family: var(--body); letter-spacing: 0.05em; }

.partners-list { display: flex; flex-direction: column; gap: 0; }
.partner-row {
  position: relative; border: 1px solid var(--border); background: hsla(220,15%,6%,0.3);
  backdrop-filter: blur(4px); padding: 1.5rem 2rem; display: grid;
  grid-template-columns: 1fr; gap: 1rem; transition: border-color 0.5s;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .partner-row { grid-template-columns: 1fr 2fr auto; gap: 1.5rem; align-items: start; } }
.partner-row:hover { border-color: hsla(189,100%,50%,0.4); }
.partner-topline { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--primary), transparent); opacity: 0; transition: opacity 0.5s; }
.partner-row:hover .partner-topline { opacity: 1; }
.partner-cat { font-size: 0.625rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--primary); font-family: var(--body); margin-bottom: 0.5rem; }
.partner-meta h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.125rem, 3vw, 1.5rem); line-height: 1.2; }
.partner-desc p { color: var(--muted); font-family: var(--body); font-size: 0.875rem; line-height: 1.7; margin-bottom: 1rem; }
.partner-models { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.partner-models span { font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; font-family: var(--body); color: hsla(189,100%,50%,0.8); border: 1px solid hsla(189,100%,50%,0.2); padding: 0.25rem 0.75rem; }
.partner-link a { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--muted); font-family: var(--body); border: 1px solid var(--border); padding: 0.5rem 1rem; transition: color 0.3s, border-color 0.3s; white-space: nowrap; }
.partner-link a:hover { color: var(--primary); border-color: hsla(189,100%,50%,0.3); }
.partner-link svg { width: 0.75rem; height: 0.75rem; stroke: currentColor; }

/* ─── INNOVATION ─── */
.innovation-section { background: #F1F5F9; }
.innovation-section .sec-label { color: #0891b2; }
.innovation-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem; }
@media (min-width: 1024px) { .innovation-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.innovation-section h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.2; }
.nus-img-wrap { position: relative; }
.nus-img-wrap img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.nus-badge { position: absolute; bottom: -1rem; left: -1rem; background: #fff; border: 1px solid #e2e8f0; padding: 0.75rem 1.5rem; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.nus-badge-title { font-family: var(--display); font-weight: 700; font-size: 0.875rem; color: #0f172a; }
.nus-badge-sub { font-size: 0.75rem; color: #64748b; font-family: var(--body); }
.pillars-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: #fff; border: 1px solid #e2e8f0; padding: 2rem; transition: box-shadow 0.3s; }
.pillar:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.pillar-icon { width: 3rem; height: 3rem; border: 1px solid rgba(8,145,178,0.2); background: rgba(8,145,178,0.05); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.pillar-icon svg { width: 1.25rem; height: 1.25rem; stroke: #0891b2; }
.pillar h3 { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; color: #0f172a; margin-bottom: 0.75rem; }
.pillar p { color: #64748b; font-family: var(--body); font-size: 0.875rem; line-height: 1.7; }

/* ─── CAPABILITIES ─── */
.cap-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .cap-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.cap-img-wrap { position: relative; margin-top: 2rem; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16/9; }
.cap-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.cap-img-ov { position: absolute; inset: 0; background: linear-gradient(to top, hsla(220,20%,2%,0.6), transparent); }
.advantages { display: flex; flex-direction: column; gap: 1rem; }
.advantage { border: 1px solid var(--border); padding: 1.5rem 2rem; background: hsla(220,15%,6%,0.3); display: flex; align-items: flex-start; gap: 1.25rem; transition: border-color 0.3s; }
.advantage:hover { border-color: hsla(189,100%,50%,0.3); }
.adv-icon { width: 2.5rem; height: 2.5rem; border: 1px solid hsla(189,100%,50%,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.3s; }
.advantage:hover .adv-icon { background: hsla(189,100%,50%,0.1); }
.adv-icon svg { width: 1.25rem; height: 1.25rem; stroke: var(--primary); }
.advantage h3 { font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--fg); margin-bottom: 0.375rem; }
.advantage p { color: var(--muted); font-family: var(--body); font-size: 0.875rem; line-height: 1.7; }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.contact-infos { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.contact-info { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { width: 2.5rem; height: 2.5rem; border: 1px solid hsla(189,100%,50%,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 1rem; height: 1rem; stroke: var(--primary); }
.contact-label { font-family: var(--display); font-weight: 600; font-size: 0.875rem; color: var(--fg); margin-bottom: 0.25rem; }
.contact-val { color: var(--muted); font-family: var(--body); font-size: 0.875rem; line-height: 1.7; }
.mono { font-family: monospace; }
.contact-link { color: var(--primary); font-family: var(--body); font-size: 0.875rem; }
.contact-link:hover { text-decoration: underline; }
.map-wrap { border: 1px solid var(--border); overflow: hidden; }
.map-label { font-size: 0.625rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--primary); font-family: var(--body); padding: 1rem; border-bottom: 1px solid var(--border); }

/* ─── FOOTER ─── */
.footer { border-top: 1px solid var(--border); padding: 4rem 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-name { font-family: var(--display); font-weight: 700; font-size: 1.125rem; color: var(--fg); }
.footer-sub-txt { font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-family: var(--body); margin-bottom: 1rem; }
.footer-desc { color: var(--muted); font-family: var(--body); font-size: 0.875rem; line-height: 1.7; }
.footer-label { font-size: 0.625rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--primary); font-family: var(--body); margin-bottom: 1rem; }
.footer-addr { font-family: monospace; font-size: 0.875rem; color: var(--muted); line-height: 1.8; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links button { text-align: left; font-size: 0.875rem; color: var(--muted); font-family: var(--body); transition: color 0.3s; }
.footer-links button:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 2rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom > p { font-size: 0.75rem; color: var(--muted); font-family: var(--body); }
.footer-badge { display: flex; align-items: center; gap: 0.5rem; }
.pulse-dot { width: 0.375rem; height: 0.375rem; background: var(--primary); border-radius: 50%; animation: glow 2s ease infinite; }
.footer-badge span { font-size: 0.75rem; color: var(--muted); font-family: var(--body); }

/* ─── SCROLL ANIMATIONS ─── */
.anim-up { opacity: 0; transform: translateY(1.5rem); transition: opacity 0.7s ease, transform 0.7s ease; }
.anim-right { opacity: 0; transform: translateX(2rem); transition: opacity 0.7s ease, transform 0.7s ease; }
.anim-up.visible, .anim-right.visible { opacity: 1; transform: none; }
