/* ============================================
   GS NexaTech — Global Styles
   Layers on top of Bootstrap 5
============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #06070a;
  --bg-alt: #050609;
  --surface: rgba(255,255,255,0.04);
  --surface-border: rgba(255,255,255,0.09);
  --surface-hover-border: rgba(125,211,252,0.35);
  --text: #f4f5f7;
  --text-muted: #b7bcc7;
  --text-dim: #8b93a3;
  --text-faint: #6b7280;
  --accent-blue: #38bdf8;
  --accent-blue-soft: #7dd3fc;
  --accent-violet: #818cf8;
  --accent-violet-soft: #a78bfa;
  --on-accent: #06070a;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --navbar-bg: rgba(6,7,10,0.72);
  --hairline: rgba(255,255,255,0.07);
  --hairline-soft: rgba(255,255,255,0.06);
  --ghost-bg: rgba(255,255,255,0.03);
  --ghost-bg-hover: rgba(255,255,255,0.06);
  --ghost-border: rgba(255,255,255,0.14);
  --ghost-border-hover: rgba(255,255,255,0.24);
  --pill-bg: rgba(255,255,255,0.04);
  --pill-border: rgba(255,255,255,0.09);
  --card-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
  --footer-bg: #030405;
  --nav-link: #c7cbd4;
  --nav-link-hover: #fff;
}

[data-theme="light"] {
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --surface: rgba(15,23,42,0.03);
  --surface-border: rgba(15,23,42,0.09);
  --surface-hover-border: rgba(56,189,248,0.45);
  --text: #0f172a;
  --text-muted: #45506b;
  --text-dim: #5b6577;
  --text-faint: #7c8598;
  --accent-blue: #0284c7;
  --accent-blue-soft: #0ea5e9;
  --accent-violet: #6366f1;
  --accent-violet-soft: #7c3aed;
  --on-accent: #ffffff;

  --navbar-bg: rgba(255,255,255,0.82);
  --hairline: rgba(15,23,42,0.08);
  --hairline-soft: rgba(15,23,42,0.07);
  --ghost-bg: rgba(15,23,42,0.03);
  --ghost-bg-hover: rgba(15,23,42,0.06);
  --ghost-border: rgba(15,23,42,0.14);
  --ghost-border-hover: rgba(15,23,42,0.24);
  --pill-bg: rgba(15,23,42,0.04);
  --pill-border: rgba(15,23,42,0.1);
  --card-shadow: 0 20px 50px -24px rgba(15,23,42,0.18);
  --footer-bg: #f5f8fc;
  --nav-link: #45506b;
  --nav-link-hover: #0f172a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent-blue-soft); text-decoration: none; transition: color .2s ease; }
a:hover { color: #93c5fd; }

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
  font-weight: 800;
}

p { color: var(--text-muted); }

.container-xl-custom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Reusable text styles ---------- */
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-blue-soft);
  display: inline-block;
}

.lead-custom {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 400;
}

.body-sm { font-size: 15px; line-height: 1.6; color: var(--text-dim); }

.grad-text {
  background: linear-gradient(90deg, #7dd3fc 0%, #a78bfa 55%, #7dd3fc 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.maxw-720 { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- Badge ---------- */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(125,211,252,0.08);
  border: 1px solid rgba(125,211,252,0.25);
  color: var(--accent-blue-soft);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-pill .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent-blue-soft);
  box-shadow: 0 0 8px 2px rgba(125,211,252,0.7);
}

/* ---------- Buttons ---------- */
.btn-gsx-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 12px; font-weight: 700; font-size: 15px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
  color: var(--on-accent);
  border: none;
  box-shadow: 0 8px 30px -8px rgba(56,189,248,0.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-gsx-primary:hover {
  color: var(--on-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px -6px rgba(56,189,248,0.65);
}

.btn-gsx-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 12px; font-weight: 700; font-size: 15px;
  background: var(--ghost-bg);
  border: 1px solid var(--ghost-border);
  color: var(--text);
  transition: background .2s ease, border-color .2s ease;
}
.btn-gsx-ghost:hover {
  color: var(--text);
  background: var(--ghost-bg-hover);
  border-color: var(--ghost-border-hover);
}

.btn-gsx-sm { padding: 11px 20px; font-size: 13.5px; border-radius: 10px; }

.btn-gsx-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 12px; font-weight: 700; font-size: 15px;
  background: #25D366;
  color: #06210f;
  border: none;
  box-shadow: 0 8px 24px -8px rgba(37,211,102,0.55);
  transition: transform .2s ease;
}
.btn-gsx-whatsapp:hover { color: #06210f; transform: translateY(-2px); }

/* ---------- Glass card ---------- */
.glass {
  background: linear-gradient(180deg, var(--surface), rgba(255,255,255,0.02));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  box-shadow: var(--card-shadow);
}

.glass-hover { transition: transform .25s ease, border-color .25s ease; }
.glass-hover:hover { transform: translateY(-4px); border-color: var(--surface-hover-border); }

/* ---------- Navbar ---------- */
.gsx-navbar {
  position: sticky; top: 0; z-index: 1050;
  background: var(--navbar-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
  padding: 14px 0;
}
.gsx-logo { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: var(--text); }
.gsx-logo span { color: var(--accent-blue-soft); }
.gsx-logo-img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.gsx-navbar .nav-link {
  color: var(--nav-link); font-weight: 500; font-size: 14.5px; padding: 8px 14px;
}
.gsx-navbar .nav-link:hover, .gsx-navbar .nav-link.active { color: var(--nav-link-hover); }
.gsx-navbar .navbar-toggler { border-color: var(--ghost-border-hover); }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--ghost-bg); border: 1px solid var(--ghost-border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text); cursor: pointer; transition: background .2s ease, border-color .2s ease;
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--ghost-bg-hover); border-color: var(--ghost-border-hover); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: inline-block; }

/* Sticky mobile WhatsApp CTA */
.sticky-whatsapp {
  position: fixed; bottom: 18px; right: 18px; z-index: 1040;
  width: 56px; height: 56px; border-radius: 999px;
  background: #25D366; display: none;
  align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -6px rgba(37,211,102,0.6);
}
@media (max-width: 767px) { .sticky-whatsapp { display: flex; } }

/* ---------- Hero / orb ---------- */
.hero-section { padding: 96px 0 110px; position: relative; overflow: hidden; }
.orb {
  position: absolute; border-radius: 999px; filter: blur(60px); opacity: 0.55; pointer-events: none;
}

.node-sphere { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1/1; margin: 0 auto; }
.sphere-core {
  position: absolute; inset: 18%; border-radius: 999px;
  background: radial-gradient(circle at 32% 28%, rgba(148,197,255,0.9), rgba(99,102,241,0.35) 45%, rgba(20,22,34,0.9) 78%);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 0 90px 10px rgba(88,130,255,0.35), inset 0 0 60px rgba(255,255,255,0.06);
  animation: float 7s ease-in-out infinite;
}
.ring { position: absolute; border: 1px solid rgba(125,211,252,0.28); border-radius: 999px; }
.ring1 { inset: 4%; animation: spin 22s linear infinite; }
.ring2 { inset: -6%; border-color: rgba(167,139,250,0.22); animation: spin 30s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.node-chip {
  position: absolute; padding: 7px 13px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: var(--navbar-bg); border: 1px solid var(--ghost-border); color: var(--text);
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.35);
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.float-card { position: absolute; padding: 14px 16px; min-width: 160px; animation: float 6s ease-in-out infinite; }
.float-card .fc-label { font-size: 11px; color: var(--text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.float-card .fc-title { font-size: 14.5px; font-weight: 700; margin-top: 4px; }

@media (prefers-reduced-motion: reduce) {
  .sphere-core, .ring1, .ring2, .node-chip, .float-card, .grad-text { animation: none !important; }
}

/* ---------- Flow rows ---------- */
.flow-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 46px 0; }
.flow-step { padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 14.5px; }
.flow-arrow { color: var(--text-faint); font-size: 18px; }
.flow-strip { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; color: var(--text-faint); font-size: 14px; font-weight: 600; }
.flow-strip .sep { color: #3a3f4c; }

/* ---------- Icon tile ---------- */
.icon-tile {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(56,189,248,0.16), rgba(129,140,248,0.16));
  border: 1px solid var(--ghost-border);
  display: flex; align-items: center; justify-content: center;
}
.icon-tile-lg { width: 56px; height: 56px; border-radius: 14px; }

.card-tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(167,139,250,0.14); color: var(--accent-violet-soft);
  border: 1px solid rgba(167,139,250,0.3);
}

/* ---------- Sections ---------- */
.section-pad { padding: 100px 0; }
.dark-section { background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(56,189,248,0.09), transparent), var(--bg-alt); padding: 110px 0; }

/* ---------- Pills ---------- */
.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill {
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--nav-link); background: var(--pill-bg); border: 1px solid var(--pill-border);
}

/* ---------- Process chips ---------- */
.process-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.process-chip {
  padding: 10px 18px; border-radius: 10px; font-size: 13.5px; font-weight: 700;
  background: var(--pill-bg); border: 1px solid var(--pill-border); color: var(--text);
}

/* ---------- Timeline ---------- */
.timeline-row { display: flex; gap: 0; position: relative; margin-top: 20px; }
.timeline-row::before {
  content:''; position: absolute; top: 21px; left: 5%; right: 5%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125,211,252,0.4), rgba(167,139,250,0.4), transparent);
}
.tstep { flex: 1; text-align: center; padding: 0 12px; position: relative; }
.tdot {
  width: 42px; height: 42px; border-radius: 999px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border: 2px solid rgba(125,211,252,0.5); font-weight: 800; font-size: 14px;
  color: var(--accent-blue-soft); position: relative; z-index: 2;
}
@media (max-width: 767px) {
  .timeline-row { flex-direction: column; gap: 28px; }
  .timeline-row::before { display: none; }
}

/* ---------- Instagram mock ---------- */
.ig-mock { width: 100%; max-width: 380px; padding: 18px; margin: 0 auto; }
.ig-avatar { width: 34px; height: 34px; border-radius: 999px; background: linear-gradient(135deg,#38bdf8,#a78bfa); }
.ig-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; text-decoration: none; }
.ig-cell { aspect-ratio: 1/1; border-radius: 6px; background: linear-gradient(135deg, rgba(56,189,248,0.25), rgba(129,140,248,0.25)); overflow: hidden; }
.ig-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Camera scene ---------- */
.cam-scene { position: relative; aspect-ratio: 4/3; border-radius: 22px; overflow: hidden; }
.cam-body {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 46%; aspect-ratio: 1.5/1; border-radius: 18px;
  background: linear-gradient(145deg,#1c2030,#0c0e16); border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.cam-lens {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%);
  width: 34%; aspect-ratio: 1/1; border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, rgba(147,197,253,0.7), rgba(20,22,34,0.95) 70%);
  border: 4px solid #232636;
}

/* ---------- Map ---------- */
.map-wrap { position: relative; height: 380px; border-radius: 22px; overflow: hidden; }
.map-pin {
  position: absolute; width: 14px; height: 14px; border-radius: 999px; background: var(--accent-blue-soft);
  box-shadow: 0 0 0 6px rgba(125,211,252,0.18), 0 0 20px 4px rgba(125,211,252,0.6);
}
.map-pin::after {
  content: ''; position: absolute; inset: -14px; border: 1px solid rgba(125,211,252,0.4); border-radius: 999px;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.4); opacity: 0; } }
.map-line { position: absolute; height: 1px; background: linear-gradient(90deg, rgba(125,211,252,0.7), rgba(125,211,252,0)); transform-origin: left center; }
.city-label {
  position: absolute; font-size: 12px; font-weight: 700; color: var(--nav-link);
  background: var(--navbar-bg); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--ghost-border);
}

/* ---------- Founder ---------- */
.avatar-ring {
  width: 220px; height: 220px; border-radius: 26px;
  background: linear-gradient(145deg, rgba(56,189,248,0.18), rgba(129,140,248,0.18));
  border: 1px solid var(--ghost-border);
  display: flex; align-items: center; justify-content: center;
}
.avatar-initial { font-size: 64px; font-weight: 800; color: var(--accent-blue-soft); }
.avatar-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.sig { font-size: 28px; font-style: italic; color: var(--accent-blue-soft); margin-top: 18px; }

/* ---------- Forms ---------- */
.form-control-gsx, .form-select-gsx {
  width: 100%; padding: 13px 14px; border-radius: 10px;
  background: var(--ghost-bg); border: 1px solid var(--ghost-border);
  color: var(--text); font-size: 14.5px; font-family: inherit;
}
.form-control-gsx::placeholder { color: var(--text-faint); }
.form-control-gsx:focus, .form-select-gsx:focus {
  outline: none; border-color: rgba(125,211,252,0.5); background: var(--ghost-bg-hover);
  box-shadow: 0 0 0 3px rgba(125,211,252,0.12);
}
.form-label-gsx {
  display: block; font-size: 12.5px; font-weight: 700; color: var(--text-dim);
  margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.05em;
}

.contact-card { padding: 26px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.cc-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(125,211,252,0.1); border: 1px solid rgba(125,211,252,0.25);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Footer ---------- */
.gsx-footer { background: var(--footer-bg); border-top: 1px solid var(--hairline); padding: 70px 0 30px; }
.gsx-footer h6 { font-size: 13px; font-weight: 800; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.gsx-footer a, .gsx-footer p { color: var(--text-dim); font-size: 14px; line-height: 2.1; }
.gsx-footer a:hover { color: var(--text); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; margin-top: 60px; padding-top: 26px;
  border-top: 1px solid var(--hairline-soft); color: var(--text-faint); font-size: 13px; flex-wrap: wrap; gap: 12px;
}
.social-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--pill-bg); border: 1px solid var(--ghost-border);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Cards: services / industries / projects ---------- */
.service-card { padding: 30px 26px; height: 100%; }
.industry-card { padding: 24px 22px; display: flex; align-items: center; gap: 14px; height: 100%; }
.project-card { overflow: hidden; height: 100%; }
.project-card .proj-thumb {
  aspect-ratio: 16/10; background: linear-gradient(135deg, rgba(56,189,248,0.18), rgba(129,140,248,0.18));
  display: flex; align-items: center; justify-content: center;
}
.project-card .proj-body { padding: 22px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Final CTA ---------- */
.final-cta { padding: 130px 0; text-align: center; position: relative; overflow: hidden; background: var(--footer-bg); }

/* ---------- Page header (inner pages) ---------- */
.page-header { padding: 72px 0 60px; position: relative; overflow: hidden; }

/* Utility */
.text-dim { color: var(--text-dim) !important; }
.text-muted-custom { color: var(--text-muted) !important; }
