/* ===================================================================
   NEXData — Global Stylesheet
   Brand: Dark charcoal, Blue→Cyan gradient, Orange accent
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --dark: #1e2530;
  --dark-mid: #2a3240;
  --dark-deep: #151a22;
  --blue-deep: #1a4fa0;
  --blue-mid: #2b7de9;
  --blue-bright: #00b4d8;
  --cyan: #00d4ff;
  --orange: #f5920b;
  --orange-light: #ffb84d;
  --white: #ffffff;
  --off-white: #f5f8fc;
  --light-gray: #eef2f7;
  --text-dark: #1a2332;
  --text-body: #4a5568;
  --text-light: #c0cee0;
  --text-muted: #7a8da3;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 32px; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: 2.8rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: 2rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 700; }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.section-title { margin-bottom: 16px; color: var(--text-dark); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 600px;
  font-weight: 300;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(30,37,48,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 32px;
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img { height: 36px; width: auto; }

.nav-logo-text { font-size: 1.3rem; font-weight: 800; }
.nav-logo-text .nex { color: var(--white); }
.nav-logo-text .data { color: var(--cyan); }

.nav-links { display: flex; gap: 28px; align-items: center; }

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--cyan); }
.nav-links a.active { color: var(--cyan); }

.nav-cta {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-bright));
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: opacity 0.2s !important;
}

.nav-cta:hover { opacity: 0.9; color: var(--white) !important; }

/* Mobile nav */
.nav-toggle { display: none; cursor: pointer; color: var(--white); font-size: 1.5rem; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(150deg, var(--dark-deep) 0%, var(--dark) 35%, #1a2e4a 65%, #163860 100%);
  color: var(--white);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.07) 0%, transparent 60%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -35%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,146,11,0.05) 0%, transparent 60%);
  border-radius: 50%;
}

.hero .container { position: relative; z-index: 1; }

.hero h1 { margin-bottom: 16px; }
.hero h1 .accent { color: var(--cyan); }

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 32px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-bright));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,180,216,0.3);
}

.btn-primary:hover { box-shadow: 0 6px 24px rgba(0,180,216,0.4); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}

.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* ===== SECTIONS ===== */
.section { padding: 72px 0; }
.section-dark {
  background: linear-gradient(150deg, var(--dark-deep) 0%, var(--dark) 50%, #1a2e4a 100%);
  color: var(--white);
}

.section-dark .section-title { color: var(--white); }
.section-dark .section-subtitle { color: var(--text-light); }

.section-alt { background: var(--off-white); }

/* ===== BRIDGE VISUAL ===== */
.bridge-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 24px 0;
  flex-wrap: wrap;
}

.bridge-node {
  padding: 16px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
}

.bn-question {
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--text-dark);
}

.bn-nex {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-bright));
  color: var(--white);
  font-weight: 700;
  padding: 18px 30px;
  box-shadow: 0 4px 20px rgba(0,180,216,0.25);
}

.bn-answer {
  background: var(--white);
  border: 2px solid var(--orange);
  color: var(--text-dark);
}

.bridge-arrow {
  font-size: 1.5rem;
  color: var(--blue-mid);
  padding: 0 12px;
}

/* ===== CARD GRID ===== */
.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.card-accent::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-deep), var(--cyan));
}

.card-accent-orange::before { background: linear-gradient(90deg, var(--orange), var(--orange-light)); }
.card-accent-cyan::before { background: linear-gradient(90deg, var(--blue-bright), var(--cyan)); }
.card-accent-mixed::before { background: linear-gradient(90deg, var(--blue-deep), var(--orange)); }

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(26,79,160,0.08), rgba(0,212,255,0.08));
}
.card-icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0) saturate(100%) invert(22%) sepia(85%) saturate(1800%) hue-rotate(200deg) brightness(95%) contrast(95%);
}
.card-accent-cyan .card-icon { background: linear-gradient(135deg, rgba(0,180,216,0.08), rgba(0,212,255,0.1)); }
.card-accent-cyan .card-icon img {
  filter: brightness(0) saturate(100%) invert(55%) sepia(90%) saturate(2000%) hue-rotate(155deg) brightness(100%) contrast(100%);
}
.card-accent-orange .card-icon { background: linear-gradient(135deg, rgba(245,146,11,0.08), rgba(255,184,77,0.1)); }
.card-accent-orange .card-icon img {
  filter: brightness(0) saturate(100%) invert(55%) sepia(90%) saturate(1200%) hue-rotate(10deg) brightness(100%) contrast(95%);
}
.card-accent-mixed .card-icon { background: linear-gradient(135deg, rgba(26,79,160,0.08), rgba(245,146,11,0.08)); }
.card-accent-mixed .card-icon img {
  filter: brightness(0) saturate(100%) invert(35%) sepia(70%) saturate(1500%) hue-rotate(200deg) brightness(90%) contrast(90%);
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.9rem; color: var(--text-body); line-height: 1.6; }

.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.tag {
  background: var(--light-gray);
  color: var(--text-body);
  font-size: 0.73rem;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 5px;
}

/* ===== STEPS ===== */
.steps-row {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  align-items: flex-start;
}

.step {
  flex: 1;
  min-width: 130px;
  max-width: 160px;
  text-align: center;
  padding: 0 6px;
}

.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.step-num-1 { background: var(--blue-deep); }
.step-num-2 { background: var(--blue-mid); }
.step-num-3 { background: var(--blue-bright); }
.step-num-4 { background: #0099b8; }
.step-num-5 { background: var(--orange); }

.step h4 { font-size: 0.88rem; margin-bottom: 4px; color: var(--white); }
.step p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.45; }

.step-arrow {
  color: rgba(255,255,255,0.15);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  padding-top: 14px;
}

/* ===== LUME SHOWCASE ===== */
.lume-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.lume-text h3 { font-size: 1.5rem; margin-bottom: 12px; }
.lume-text h3 span { color: var(--cyan); }
.lume-text p { color: var(--text-body); margin-bottom: 16px; line-height: 1.7; }

.lume-features { list-style: none; }
.lume-features li {
  padding: 6px 0;
  font-size: 0.92rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
}

.lume-features li::before {
  content: '\2713';
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.9rem;
}

.lume-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* ===== AI CALLOUT ===== */
.ai-card {
  background: linear-gradient(135deg, #f0f7ff 0%, #f8fbff 50%, #fff9f0 100%);
  border: 1px solid #d8e6f5;
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 680px;
  text-align: center;
}

.ai-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.ai-card h3 span { color: var(--blue-mid); }
.ai-card p { font-size: 0.95rem; color: var(--text-body); line-height: 1.7; }

/* ===== AUDIENCE ===== */
.audience-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  text-align: center;
}

.audience-item .a-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(26,79,160,0.06), rgba(0,212,255,0.06));
}
.audience-item .a-icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0) saturate(100%) invert(40%) sepia(80%) saturate(1500%) hue-rotate(180deg) brightness(95%) contrast(90%);
}
.audience-item h4 { font-size: 0.88rem; margin-bottom: 4px; }
.audience-item p { font-size: 0.78rem; color: var(--text-body); line-height: 1.4; }

/* ===== STATS BAR ===== */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 24px 0;
}

.stat { text-align: center; }
.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-bright) 100%);
  padding: 56px 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 { font-size: 1.7rem; margin-bottom: 10px; }
.cta-section p { font-size: 1rem; color: rgba(255,255,255,0.85); margin-bottom: 24px; font-weight: 300; }

.cta-links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; font-size: 0.95rem; }
.cta-links a { color: var(--white); font-weight: 600; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.cta-links a:hover { border-color: var(--white); }
.cta-links span { color: rgba(255,255,255,0.35); }

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(43,125,233,0.1);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.contact-info { padding: 20px 0; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-info-item .ci-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  padding-top: 2px;
}

.contact-info-item h4 { font-size: 0.9rem; margin-bottom: 2px; }
.contact-info-item p { font-size: 0.88rem; color: var(--text-body); }
.contact-info-item a { color: var(--blue-mid); }
.contact-info-item a:hover { color: var(--blue-deep); }

/* ===== ABOUT ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.team-card h3 { margin-bottom: 4px; }
.team-card .role { font-size: 0.88rem; color: var(--blue-mid); font-weight: 600; margin-bottom: 12px; }
.team-card p { font-size: 0.9rem; color: var(--text-body); line-height: 1.6; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-deep);
  color: var(--text-light);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand .logo-text { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; }
.footer-brand .logo-text .nex { color: var(--white); }
.footer-brand .logo-text .data { color: var(--cyan); }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; max-width: 300px; }

.footer h4 { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer li a { font-size: 0.88rem; color: var(--text-muted); }
.footer li a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 120px 0 60px; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .lume-showcase { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; align-items: center; }
  .step-arrow { display: none; }
  .bridge-flow { flex-direction: column; }
  .bridge-arrow { transform: rotate(90deg); }
  .stats-bar { gap: 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .container { padding: 0 20px; }
}

@media print {
  .nav { display: none; }
  .card:hover { transform: none; box-shadow: none; }
}
