/*
Theme Name: FORWIN Nexus
Theme URI: https://forwin.example
Author: FORWIN
Description: Premium biotechnology theme foundation for the FORWIN Prototype.
Version: 0.1.0-alpha.1-A02
Text Domain: forwin-nexus
*/

:root {
  --fw-bg: #0b0f14;
  --fw-surface: #121922;
  --fw-surface-2: #182333;
  --fw-text: #f5f7fa;
  --fw-muted: #aeb8c4;
  --fw-gold: #c8a44d;
  --fw-blue: #3ca8ff;
  --fw-cyan: #6ce7ff;
  --fw-line: rgba(255,255,255,.12);
  --fw-radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 5%, rgba(60,168,255,.18), transparent 28rem),
    radial-gradient(circle at 85% 15%, rgba(200,164,77,.13), transparent 24rem),
    var(--fw-bg);
  color: var(--fw-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.fw-container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.fw-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(11,15,20,.82);
  border-bottom: 1px solid var(--fw-line);
}

.fw-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.fw-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.fw-brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(200,164,77,.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--fw-gold);
}

.fw-menu {
  display: flex;
  gap: 22px;
  color: var(--fw-muted);
  font-size: 14px;
}

.fw-menu a:hover { color: var(--fw-text); }

.fw-hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.fw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,231,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,231,255,.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 0, transparent 72%);
}

.fw-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 110px 0;
}

.fw-eyebrow {
  color: var(--fw-gold);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
  margin-bottom: 18px;
}

.fw-hero h1 {
  font-size: clamp(42px, 7vw, 86px);
  line-height: .98;
  margin: 0 0 24px;
  letter-spacing: -.04em;
}

.fw-hero p {
  color: var(--fw-muted);
  font-size: clamp(18px, 2vw, 23px);
  max-width: 720px;
  margin: 0 0 34px;
}

.fw-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.fw-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--fw-line);
  background: rgba(255,255,255,.04);
}

.fw-button.primary {
  background: linear-gradient(135deg, var(--fw-gold), #e8cf82);
  color: #111;
  border: none;
  font-weight: 700;
}

.fw-section {
  padding: 88px 0;
  border-top: 1px solid var(--fw-line);
}

.fw-section h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  margin: 0 0 18px;
}

.fw-section-lead {
  color: var(--fw-muted);
  max-width: 760px;
  margin: 0 0 34px;
}

.fw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fw-card {
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
  border: 1px solid var(--fw-line);
  border-radius: var(--fw-radius);
  padding: 26px;
  min-height: 210px;
}

.fw-card h3 { margin-top: 0; color: var(--fw-text); }
.fw-card p { color: var(--fw-muted); }

.fw-footer {
  border-top: 1px solid var(--fw-line);
  padding: 34px 0;
  color: var(--fw-muted);
  background: rgba(0,0,0,.18);
}

@media (max-width: 820px) {
  .fw-nav { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .fw-menu { flex-wrap: wrap; }
  .fw-grid { grid-template-columns: 1fr; }
  .fw-hero { min-height: 560px; }
}
