/* ═══════════════════════════════════════════════════════════════════
   NEXWAVE NETWORKS — CLIENT DESIGN SYSTEM
   Theme: Dark Green-Black · Lime Green · Bold Modern Sans
   Replicating: nexwavenetworks.in
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Syne:wght@400;500;600;700;800&display=swap');

/* ─── TOKENS ─── */
:root {
  --bg:       #0a0f0a;
  --bg2:      #0d1410;
  --bg3:      #111a12;
  --card:     #131d14;
  --panel:    rgba(255,255,255,0.04);
  --green:    #3ddc5c;
  --green2:   #56f073;
  --green3:   #27a83d;
  --green-glow: rgba(61,220,92,0.25);
  --white:    #ffffff;
  --off-white:#e8f0e8;
  --muted:    #7a9b7d;
  --dim:      #4a6b4d;
  --border:   rgba(61,220,92,0.18);
  --border2:  rgba(61,220,92,0.09);
  --glow:     0 0 40px rgba(61,220,92,0.3);
  --font-head: 'Syne', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
::selection { background: var(--green); color: #0a0f0a; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green3); border-radius: 2px; }

/* ─── NAV ─── */
#nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
  transition: all 0.4s var(--ease);
}
#nav.scrolled {
  height: 66px;
  background: rgba(10,15,10,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-logo { display:flex; align-items:center; gap:14px; text-decoration:none; }
.nav-logo-img {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--green);
  box-shadow: 0 0 16px rgba(61,220,92,0.35);
  transition: all 0.3s;
}
.nav-logo:hover .nav-logo-img { box-shadow: 0 0 28px rgba(61,220,92,0.6); }
.nav-logo-text { display:flex; flex-direction:column; }
.nav-logo-name {
  font-family: var(--font-head); font-size: 1rem; font-weight: 800;
  letter-spacing: 3px; color: var(--white); text-transform: uppercase; line-height:1.1;
}
.nav-logo-sub {
  font-size: 0.55rem; letter-spacing: 4px;
  color: var(--green); text-transform: uppercase; margin-top:1px;
}
.nav-links { display:flex; align-items:center; gap:8px; }
.nav-links a {
  color: var(--off-white); text-decoration:none;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.5px;
  padding: 8px 16px; border-radius: 6px;
  transition: color 0.25s; position:relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-links a.active::after {
  content:''; position:absolute; bottom:2px; left:50%;
  transform:translateX(-50%); width:16px; height:2px;
  background: var(--green); border-radius:1px;
}
.nav-cta {
  background: var(--green) !important; color: #0a0f0a !important;
  padding: 9px 22px !important; border-radius: 8px !important;
  font-weight: 700 !important; letter-spacing:0.5px !important;
}
.nav-cta:hover { background: var(--green2) !important; box-shadow: var(--glow) !important; }
.nav-cta.active::after { display:none !important; }
.hamburger {
  display:none; flex-direction:column; gap:5px;
  cursor:pointer; background:none; border:none; padding:8px;
}
.hamburger span {
  display:block; width:22px; height:2px;
  background: var(--green); border-radius:1px; transition:all 0.3s;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  min-height: 60vh; display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center;
  padding: 160px 6% 80px; position:relative; overflow:hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(61,220,92,0.1) 0%, transparent 70%);
}
.page-hero-bg {
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(61,220,92,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,220,92,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 25s linear infinite;
}
@keyframes gridMove { from{background-position:0 0} to{background-position:60px 60px} }
.page-hero-content { position:relative; z-index:2; max-width:750px; }
.page-chip {
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(61,220,92,0.1); border: 1px solid var(--border);
  border-radius:50px; padding:6px 18px; margin-bottom:24px;
  font-size:0.68rem; font-weight:700; letter-spacing:3px;
  color:var(--green); text-transform:uppercase;
}
.page-chip::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--green); box-shadow:0 0 8px var(--green); }

/* ─── SECTION ATOMS ─── */
.section { padding: 90px 6%; position:relative; z-index:2; }
.section.alt { background: var(--bg2); }
.section.alt2 { background: var(--bg3); }

.s-chip {
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(61,220,92,0.08); border: 1px solid var(--border);
  border-radius:50px; padding:5px 16px; margin-bottom:20px;
  font-size:0.65rem; font-weight:700; letter-spacing:3px;
  color:var(--green); text-transform:uppercase;
}
.s-chip::before { content:''; width:5px; height:5px; border-radius:50%; background:var(--green); }

h2.s-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 18px;
  color: var(--white);
}
h2.s-title em { font-style:normal; color: var(--green); }
.s-desc { font-size:0.97rem; color:var(--muted); line-height:1.9; max-width:580px; }

/* ─── BUTTONS ─── */
.btn-green {
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 30px; border-radius:10px; text-decoration:none;
  font-family:var(--font-body); font-size:0.88rem; font-weight:700;
  letter-spacing:0.3px;
  background: var(--green); color: #0a0f0a;
  transition: all 0.3s var(--ease);
}
.btn-green:hover {
  background: var(--green2);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(61,220,92,0.4);
}
.btn-outline {
  display:inline-flex; align-items:center; gap:10px;
  padding:13px 28px; border-radius:10px; text-decoration:none;
  font-family:var(--font-body); font-size:0.88rem; font-weight:600;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--off-white);
  transition: all 0.3s var(--ease);
  background: rgba(255,255,255,0.05);
}
.btn-outline:hover {
  border-color: var(--green); color: var(--green);
  transform: translateY(-2px);
  box-shadow: var(--glow);
  background: rgba(61,220,92,0.06);
}

/* ─── CARD ─── */
.g-card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 16px;
  transition: all 0.4s var(--ease);
  position:relative; overflow:hidden;
}
.g-card::before {
  content:''; position:absolute; inset:0; opacity:0;
  background: linear-gradient(135deg, rgba(61,220,92,0.05), transparent 60%);
  transition:opacity 0.4s;
}
.g-card:hover { transform:translateY(-6px); border-color:var(--border); box-shadow:var(--glow); }
.g-card:hover::before { opacity:1; }

/* ─── DIVIDER ─── */
.divider { height:1px; background:linear-gradient(90deg, transparent, var(--border2), transparent); }

/* ─── TICKER ─── */
.ticker {
  background: var(--bg2); border-top:1px solid var(--border2);
  border-bottom:1px solid var(--border2); padding:13px 0; overflow:hidden;
}
.ticker-track {
  display:flex; white-space:nowrap;
  animation: tickerRoll 30s linear infinite;
}
.ticker-item {
  display:inline-flex; align-items:center; gap:10px;
  padding:0 36px; font-size:0.72rem; font-weight:600; letter-spacing:2px;
  text-transform:uppercase; color:var(--muted);
  border-right:1px solid var(--border2);
}
.ticker-item i { color:var(--green); font-size:0.7rem; }
@keyframes tickerRoll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ─── FOOTER ─── */
footer {
  background: var(--bg2); border-top:1px solid var(--border2);
  padding:70px 6% 32px; position:relative;
}
footer::before {
  content:''; position:absolute; top:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, var(--green), transparent);
  opacity:0.4;
}
.footer-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr 1.2fr;
  gap:48px; margin-bottom:52px;
}
.footer-logo { display:inline-flex; align-items:center; gap:14px; text-decoration:none; margin-bottom:18px; }
.footer-logo-img { width:46px; height:46px; border-radius:50%; object-fit:cover; border:2px solid var(--green); box-shadow:0 0 12px rgba(61,220,92,0.3); }
.footer-logo-text { display:flex; flex-direction:column; }
.footer-logo-name { font-family:var(--font-head); font-size:0.95rem; font-weight:800; letter-spacing:3px; color:var(--white); line-height:1.1; }
.footer-logo-sub { font-size:0.55rem; letter-spacing:4px; color:var(--green); text-transform:uppercase; margin-top:1px; }
.footer-desc { font-size:0.86rem; color:var(--muted); line-height:1.85; max-width:280px; margin-top:14px; }
.footer-socials { display:flex; gap:10px; margin-top:22px; }
.social-btn {
  width:36px; height:36px; border-radius:8px;
  border:1px solid var(--border2);
  display:flex; align-items:center; justify-content:center;
  color:var(--muted); font-size:0.82rem; text-decoration:none;
  transition:all 0.3s;
}
.social-btn:hover { border-color:var(--green); color:var(--green); box-shadow:var(--glow); transform:translateY(-3px); }
.footer-col h4 { font-size:0.68rem; letter-spacing:3px; color:var(--green); text-transform:uppercase; margin-bottom:20px; font-weight:700; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:11px; }
.footer-col ul li a { color:var(--muted); text-decoration:none; font-size:0.86rem; transition:color 0.3s; display:flex; align-items:center; gap:8px; }
.footer-col ul li a:hover { color:var(--green); }
.footer-col ul li a i { font-size:0.55rem; color:var(--green); opacity:0.6; }
.footer-contact-item { display:flex; align-items:flex-start; gap:12px; color:var(--muted); font-size:0.84rem; margin-bottom:14px; line-height:1.5; }
.footer-contact-item i { color:var(--green); margin-top:3px; font-size:0.85rem; flex-shrink:0; }
.footer-bottom {
  border-top:1px solid var(--border2); padding-top:26px;
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:12px;
}
.footer-bottom p { font-size:0.78rem; color:var(--muted); }
.footer-bottom a { color:var(--green); text-decoration:none; }
.footer-bottom a:hover { text-decoration:underline; }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity:0; transform:translateY(36px); transition:opacity 0.75s ease, transform 0.75s ease; }
.reveal.vis { opacity:1; transform:none; }
.reveal-l { opacity:0; transform:translateX(-36px); transition:opacity 0.75s ease, transform 0.75s ease; }
.reveal-l.vis { opacity:1; transform:none; }
.reveal-r { opacity:0; transform:translateX(36px); transition:opacity 0.75s ease, transform 0.75s ease; }
.reveal-r.vis { opacity:1; transform:none; }
.reveal-s { opacity:0; transform:scale(0.94); transition:opacity 0.75s ease, transform 0.75s ease; }
.reveal-s.vis { opacity:1; transform:none; }

/* ─── RESPONSIVE ─── */
@media(max-width:900px){
  #nav { padding:0 5%; }
  .nav-links {
    display:none; flex-direction:column; align-items:flex-start;
    position:fixed; top:66px; left:0; right:0;
    background:rgba(10,15,10,0.98); backdrop-filter:blur(20px);
    border-bottom:1px solid var(--border2); padding:24px 6%; gap:4px; z-index:999;
  }
  .nav-links.open { display:flex; }
  .hamburger { display:flex; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:36px; }
}
@media(max-width:600px){
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .footer-bottom { flex-direction:column; text-align:center; }
}