/* ============================================
   Nexara Summit Group — Iotix-Inspired Dark Theme
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: rgba(255,255,255,0.7);
  background: #0b0b0f;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: #fff;
  line-height: 1.15;
  font-weight: 700;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(99,102,241,0.3); color: #fff; }

/* --- CSS Variables --- */
:root {
  --bg: #0b0b0f;
  --bg-card: #131318;
  --bg-elevated: #1a1a22;
  --border: rgba(255,255,255,0.06);
  --accent: #996515;
  --accent-light: #b8842a;
  --text: rgba(255,255,255,0.7);
  --text-muted: rgba(255,255,255,0.4);
  --text-heading: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --shadow-card: 0 1px 2px rgba(0,0,0,0.3), 0 4px 16px rgba(0,0,0,0.2);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-accent: 0 8px 24px rgba(153,101,21,0.3);
}

/* --- Container --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 20px 0;
  transition: background 0.3s, padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(11,11,15,0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  padding: 14px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-weight: 800; font-size: 20px; color: #fff; letter-spacing: -0.02em;
  display: flex; align-items: center;
}
.logo img { height: 130px; width: auto; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  font-size: 14px !important; font-weight: 600 !important; padding: 10px 24px;
  background: var(--accent) !important; color: #fff !important;
  border-radius: var(--radius-full); transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-accent); }

/* Mobile Nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: all 0.3s; border-radius: 2px; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(11,11,15,0.98); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-size: 20px; font-weight: 600; color: var(--text-muted); transition: color 0.2s; }
.mobile-menu a:hover { color: #fff; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .logo img { height: 60px; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center; overflow: hidden;
  padding: 70px 0 40px;
}
.hero-network-canvas {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}
.hero-content { position: relative; z-index: 10; max-width: 960px; padding: 40px 16px 60px; overflow: hidden; }
.hero-brand {
  font-size: 28px; font-weight: 900; color: #fff; letter-spacing: -0.04em;
  line-height: 1.1; margin-bottom: 24px;
  text-shadow: 0 0 40px rgba(153,101,21,0.3), 0 0 80px rgba(153,101,21,0.15);
}
.hero-brand span { color: var(--accent-light); }
.hero-label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
  font-size: 13px; font-weight: 600; color: var(--accent-light);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.hero h1 { font-size: 48px; font-weight: 800; color: #fff; margin-bottom: 24px; letter-spacing: -0.03em; line-height: 1.1; }
.hero-desc { font-size: 15px; color: var(--text-muted); max-width: 560px; margin: 0 auto 40px; line-height: 1.7; }

/* Inner page hero */
.hero-inner {
  position: relative; padding: 160px 0 80px; text-align: center; overflow: hidden;
}
.hero-inner .hero-network-canvas {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.hero-inner .container { position: relative; z-index: 1; }
.hero-inner h1 { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; }
.hero-inner .hero-desc { font-size: 17px; color: var(--text-muted); max-width: 560px; margin: 16px auto 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; justify-content: center; margin-bottom: 20px; font-size: 13px; }
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb .sep { color: rgba(255,255,255,0.15); }
.breadcrumb .current { color: rgba(255,255,255,0.6); }

@media (min-width: 640px) {
  .hero h1 { font-size: 60px; }
  .hero-brand { font-size: 60px; white-space: nowrap; }
  .hero-inner h1 { font-size: 52px; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 72px; }
  .hero-brand { font-size: 80px; }
  .hero-inner h1 { font-size: 64px; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 15px;
  border-radius: var(--radius-full); border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-accent); }
.btn-primary .arrow { transition: transform 0.2s; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px;
  background: transparent; border: 1px solid var(--border);
  color: #fff; font-weight: 600; font-size: 15px;
  border-radius: var(--radius-full); cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: var(--bg-elevated); border-color: rgba(255,255,255,0.12); }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-card); }
.has-network { overflow: hidden; }
.section-network {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.has-network .container { position: relative; z-index: 1; }
.section-head { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.section-head .label {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent-light);
  text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 16px;
}
.section-head h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.section-head p { font-size: 16px; color: var(--text-muted); }
@media (min-width: 640px) { .section-head h2 { font-size: 44px; } }

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 36px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(255,255,255,0.1); }

/* Service card */
.service-card { padding: 40px; display: flex; flex-direction: column; }
.service-card .icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.15);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.service-card .icon-wrap svg { width: 24px; height: 24px; stroke: var(--accent-light); }
.service-card h3 { font-size: 20px; margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; flex: 1; }
.service-card .card-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
  font-size: 14px; font-weight: 600; color: var(--accent-light);
  transition: gap 0.2s;
}
.service-card:hover .card-link { gap: 12px; }

/* Feature item */
.feature-item { display: flex; gap: 20px; padding: 24px; border-radius: var(--radius); transition: background 0.3s; }
.feature-item:hover { background: var(--bg-elevated); }
.feature-item .icon-wrap {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.12);
  display: flex; align-items: center; justify-content: center;
}
.feature-item .icon-wrap svg { width: 20px; height: 20px; stroke: var(--accent-light); }
.feature-item h3 { font-size: 16px; margin-bottom: 4px; }
.feature-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Testimonial card */
.testimonial-card { padding: 40px; position: relative; }
.testimonial-card .quote-bg {
  position: absolute; top: 24px; right: 32px; font-size: 96px;
  font-family: Georgia, serif; color: rgba(255,255,255,0.03); line-height: 1; user-select: none;
}
.testimonial-card .stars { display: flex; gap: 4px; margin-bottom: 20px; }
.testimonial-card .stars span { color: var(--accent); font-size: 14px; }
.testimonial-card blockquote { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 28px; font-style: italic; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-elevated); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--accent-light);
}
.testimonial-card .author-name { font-size: 14px; font-weight: 600; color: #fff; }
.testimonial-card .author-role { font-size: 12px; color: var(--text-muted); }

/* Region card */
.region-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--border); text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.region-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.1); }
.region-card .flag { font-size: 32px; margin-bottom: 12px; }
.region-card h3 { font-size: 16px; margin-bottom: 4px; }
.region-card p { font-size: 12px; color: var(--text-muted); }

/* Contact card */
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-card); padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--border);
}
.contact-card .icon-wrap {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.12);
  display: flex; align-items: center; justify-content: center;
}
.contact-card .icon-wrap svg { stroke: var(--accent-light); }
.contact-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.contact-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* Supply card */
.supply-card {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 36px;
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s;
}
.supply-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.1); }
.supply-card .supply-num {
  font-size: 48px; font-weight: 800; color: rgba(99,102,241,0.15);
  line-height: 1; margin-bottom: 16px;
}
.supply-card h3 { font-size: 18px; margin-bottom: 20px; }
.supply-card ul li {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0; font-size: 14px; color: var(--text);
}
.supply-card ul li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

/* Client card */
.client-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card); padding: 20px; border-radius: var(--radius);
  border: 1px solid var(--border); font-size: 14px; font-weight: 500; color: var(--text);
  transition: transform 0.3s, border-color 0.3s;
}
.client-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.1); }
.client-card svg { stroke: var(--accent-light); flex-shrink: 0; }

/* Cert badge */
.cert-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cert-badge {
  display: inline-flex; padding: 10px 22px; border-radius: var(--radius-full);
  background: var(--bg-elevated); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--text);
}

/* Hero badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px;
  border-radius: var(--radius-full); font-size: 13px; font-weight: 600;
  background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.15);
  color: var(--accent-light); margin-bottom: 20px;
}

/* ============================================
   STATS
   ============================================ */
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; text-align: center; }
@media (min-width: 768px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat .number { font-size: 48px; font-weight: 800; color: #fff; line-height: 1; }
.stat .label { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  overflow: hidden; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 18px 0;
}
.marquee-track { display: flex; width: max-content; }
.marquee-track span {
  white-space: nowrap; padding: 0 32px; font-size: 13px; font-weight: 600;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.15em;
}
.marquee-track span::after { content: '·'; margin-left: 32px; color: rgba(255,255,255,0.1); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  position: relative; overflow: hidden; padding: 100px 0;
  background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-banner .container { text-align: center; }
.cta-banner h2 { font-size: 36px; margin-bottom: 20px; }
.cta-banner p { color: var(--text-muted); font-size: 17px; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .cta-banner h2 { font-size: 44px; } }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--bg); padding: 80px 0 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.footer .brand-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer h4 {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 20px;
}
.footer ul li a { font-size: 14px; color: var(--text-muted); display: block; padding: 5px 0; transition: color 0.2s; }
.footer ul li a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; font-size: 12px; color: rgba(255,255,255,0.25);
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer .logo img { height: 70px; } .footer-bottom { flex-direction: column; gap: 8px; text-align: center; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================
   GRIDS
   ============================================ */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline { position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--border), transparent);
}
.timeline-item { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 32px; }
.timeline-badge {
  position: relative; z-index: 1; width: 48px; height: 48px; flex-shrink: 0;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--accent-light);
}
.timeline-text { font-size: 14px; color: var(--text-muted); padding-top: 12px; }

/* ============================================
   PROCESS STEPS
   ============================================ */
.step-card {
  display: flex; gap: 24px; padding: 32px; background: var(--bg-card);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  margin-bottom: 20px; transition: transform 0.3s, border-color 0.3s;
}
.step-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.1); }
.step-num {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px;
  background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: var(--accent-light);
}
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.step-card .details { display: flex; flex-wrap: wrap; gap: 8px; }
.step-card .detail-tag {
  font-size: 12px; color: var(--text-muted);
  background: var(--bg-elevated); border: 1px solid var(--border);
  padding: 4px 12px; border-radius: var(--radius-full);
}

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.8); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 14px; color: #fff;
  font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--bg-card); color: #fff; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ============================================
   LEADER CARDS
   ============================================ */
.leader { text-align: center; }
.leader .photo { position: relative; width: 80px; height: 80px; margin: 0 auto 16px; }
.leader .photo-bg {
  position: absolute; inset: 0; border-radius: 14px;
  background: linear-gradient(135deg, rgba(99,102,241,0.3), rgba(99,102,241,0.1));
  transform: rotate(3deg); transition: transform 0.3s;
}
.leader:hover .photo-bg { transform: rotate(6deg); }
.leader .photo-inner {
  position: relative; width: 100%; height: 100%; border-radius: 14px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--accent-light);
}
.leader h3 { font-size: 14px; font-weight: 700; }
.leader p { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.grid-6 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 640px) { .grid-6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-6 { grid-template-columns: repeat(6, 1fr); } }
