/* =====================================================================
   GenesisTrack - Main Stylesheet
   Blue + Green tech theme
   ===================================================================== */
:root {
  --gt-blue:        #0b63ce;
  --gt-blue-dark:   #073b7a;
  --gt-blue-deep:   #04254e;
  --gt-navy:        #061a36;
  --gt-green:       #16c79a;
  --gt-green-dark:  #0f9e7c;
  --gt-gold:        #e3b341;
  --gt-gold-dark:   #c8932a;
  --gt-gold-soft:   #f6d98a;
  --gt-ink:         #0f1b2d;
  --gt-slate:       #5b6b82;
  --gt-light:       #f5f8fc;
  --gt-border:      #e3eaf3;
  --gt-gradient:    linear-gradient(135deg, var(--gt-blue) 0%, var(--gt-green) 100%);
  --gt-gradient-dark: linear-gradient(135deg, var(--gt-navy) 0%, var(--gt-blue-dark) 100%);
  --gt-gradient-gold: linear-gradient(135deg, var(--gt-gold) 0%, var(--gt-gold-dark) 100%);
  --gt-shadow:      0 18px 40px -18px rgba(11, 99, 206, .35);
  --gt-shadow-soft: 0 24px 60px -24px rgba(6, 26, 54, .45);
  --gt-shadow-gold: 0 14px 34px -14px rgba(227, 179, 65, .55);
}


* { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--gt-ink);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-1, .display-2, .display-3, .display-4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -.02em;
}

a { text-decoration: none; }

.text-gradient {
  background: var(--gt-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.bg-light-soft { background: var(--gt-light); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gt-green-dark);
  margin-bottom: .6rem;
}

/* ---- Buttons ---- */
.btn { font-weight: 600; border-radius: 12px; padding: .75rem 1.6rem; transition: transform .25s ease, box-shadow .25s ease, filter .25s ease, background .25s ease, color .25s ease; }
.btn-lg { padding: .9rem 2rem; }
.btn-gt {
  background: var(--gt-gradient);
  color: #fff;
  border: none;
  box-shadow: var(--gt-shadow);
}
.btn-gt:hover { color: #fff; transform: translateY(-3px) scale(1.03); box-shadow: 0 22px 44px -16px rgba(11,99,206,.6); filter: brightness(1.06); }
.btn-gold {
  background: var(--gt-gradient-gold);
  color: #08203f;
  border: none;
  box-shadow: var(--gt-shadow-gold);
}
.btn-gold:hover { color: #08203f; transform: translateY(-3px) scale(1.03); box-shadow: 0 22px 46px -14px rgba(227,179,65,.75); filter: brightness(1.05); }
.btn-outline-gt {
  border: 2px solid rgba(255,255,255,.55);
  color: #fff;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
}
.btn-outline-gt:hover { background: #fff; color: var(--gt-blue-dark); transform: translateY(-3px) scale(1.03); }
.btn-outline-ink {
  border: 2px solid var(--gt-blue);
  color: var(--gt-blue);
  background: transparent;
}
.btn-outline-ink:hover { background: var(--gt-blue); color: #fff; transform: translateY(-2px); }


/* ---- Navbar ---- */
.navbar {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px -16px rgba(4,37,78,.4);
  padding: .7rem 0;
}
.navbar-brand { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.4rem; }
.navbar-brand .brand-dot { color: var(--gt-green); }
.navbar .nav-link { font-weight: 600; color: var(--gt-ink) !important; margin: 0 .35rem; }
.navbar .nav-link.active, .navbar .nav-link:hover { color: var(--gt-blue) !important; }

/* ---- Hero (premium background + overlay) ---- */
.hero {
  position: relative;
  background: var(--gt-navy);
  color: #fff;
  padding: 20px 0 50px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.14); } }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(6,26,54,.92) 0%, rgba(6,26,54,.78) 38%, rgba(7,59,122,.55) 75%, rgba(11,99,206,.35) 100%),
    radial-gradient(circle at 78% 28%, rgba(227,179,65,.20), transparent 42%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); line-height: 1.07; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero .lead { color: rgba(255,255,255,.9); font-size: 1.15rem; max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  padding: .45rem 1rem; border-radius: 50px;
  font-size: .85rem; font-weight: 600; margin-bottom: 1.2rem;
  backdrop-filter: blur(8px);
}
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 1.0rem;
  color: rgba(255,255,255,.85);
}
.hero-trust .item { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .95rem; }
.hero-trust .item i { color: var(--gt-gold); font-size: 1.25rem; }
.hero-glass {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  margin-top: 70px !important;
  align-self: flex-start;
  padding: 1.6rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.hero-glass .mini-stat { text-align: center; padding: .6rem .2rem; }
.hero-glass .mini-stat .v { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--gt-gold-soft); }
.hero-glass .mini-stat .l { font-size: .78rem; color: rgba(255,255,255,.75); }
.pulse-dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--gt-green);
  box-shadow: 0 0 0 rgba(22,199,154,.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(22,199,154,.6); }
  70%  { box-shadow: 0 0 0 16px rgba(22,199,154,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,199,154,0); }
}

/* ---- Stats ---- */
.stat-card { text-align: center; padding: 1.2rem; }
.stat-card .num {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  background: var(--gt-gradient);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-card .label { color: var(--gt-slate); font-weight: 600; }

/* ---- Cards / services ---- */
.feature-card {
  background: #fff;
  border: 1px solid var(--gt-border);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 10px 30px -22px rgba(6,26,54,.4);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--gt-shadow-soft); border-color: transparent; }
.feature-icon {
  width: 62px; height: 62px; border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.7rem; color: #fff;
  background: var(--gt-gradient);
  box-shadow: var(--gt-shadow);
  margin-bottom: 1.1rem;
}
.feature-icon.gold { background: var(--gt-gradient-gold); color: #08203f; box-shadow: var(--gt-shadow-gold); }

/* ---- Service media cards (image preview) ---- */
.service-media-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gt-border);
  border-radius: 22px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 12px 34px -24px rgba(6,26,54,.45);
  transition: transform .35s ease, box-shadow .35s ease;
}
.service-media-card:hover { transform: translateY(-8px); box-shadow: var(--gt-shadow-soft); }
.service-media-card .media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.service-media-card .media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.service-media-card:hover .media img { transform: scale(1.08); }
.service-media-card .media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,26,54,0) 40%, rgba(6,26,54,.55) 100%);
}
.service-media-card .media .s-icon {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.45rem; color: #08203f;
  background: var(--gt-gradient-gold);
  box-shadow: var(--gt-shadow-gold);
}
.service-media-card .body { padding: 1.5rem 1.6rem 1.8rem; }
.service-media-card .body h4, .service-media-card .body h5 { margin-bottom: .5rem; }

/* ---- About media image ---- */
.about-media {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: var(--gt-shadow-soft);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-media .badge-glass {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(6,26,54,.55); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff; padding: .6rem 1rem; border-radius: 14px;
  font-weight: 600; font-size: .9rem;
}
.about-media .badge-glass i { color: var(--gt-gold); }


/* ---- Why choose / list ---- */
.check-item { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; }
.check-item i { color: var(--gt-green-dark); font-size: 1.25rem; margin-top: 2px; }

/* ---- Pricing ---- */
.price-card {
  background: #fff;
  border: 1px solid var(--gt-border);
  border-radius: 20px;
  padding: 2.2rem;
  height: 100%;
  position: relative;
  transition: .3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--gt-shadow); }
.price-card.featured {
  background: var(--gt-gradient-dark);
  color: #fff;
  border: none;
  box-shadow: var(--gt-shadow);
}
.price-card.featured .price-amount,
.price-card.featured .plan-name { color: #fff; }
.price-card.featured .feature-list i { color: var(--gt-green); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gt-green); color: #fff; font-size: .72rem; font-weight: 700;
  padding: .35rem 1rem; border-radius: 50px; letter-spacing: .05em;
}
.plan-name { font-size: 1rem; letter-spacing: .08em; color: var(--gt-slate); font-weight: 700; }
.price-amount { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 2.2rem; }
.feature-list { list-style: none; padding: 0; margin: 1.4rem 0; }
.feature-list li { display: flex; gap: .6rem; align-items: center; padding: .45rem 0; }
.feature-list i { color: var(--gt-green-dark); }

/* ---- Industries ---- */
.industry-card {
  background: #fff; border: 1px solid var(--gt-border); border-radius: 16px;
  padding: 1.6rem; text-align: center; height: 100%; transition: .3s;
}
.industry-card:hover { transform: translateY(-5px); box-shadow: var(--gt-shadow); }
.industry-card i { font-size: 2rem; color: var(--gt-blue); margin-bottom: .7rem; }

/* ---- Industry image tiles (overlay) ---- */
.industry-tile {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  height: 240px;
  color: #fff;
  box-shadow: 0 14px 36px -24px rgba(6,26,54,.5);
  transition: transform .35s ease, box-shadow .35s ease;
}
.industry-tile:hover { transform: translateY(-6px); box-shadow: var(--gt-shadow-soft); color: #fff; }
.industry-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
}
.industry-tile:hover img { transform: scale(1.1); }
.industry-tile .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,26,54,.15) 0%, rgba(6,26,54,.55) 55%, rgba(6,26,54,.9) 100%);
}
.industry-tile .content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.3rem;
}
.industry-tile .content .ti {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.25rem; color: #08203f;
  background: var(--gt-gradient-gold);
  margin-bottom: .7rem;
  box-shadow: var(--gt-shadow-gold);
  transition: transform .35s ease;
}
.industry-tile:hover .content .ti { transform: translateY(-4px); }
.industry-tile h5 { color: #fff; margin-bottom: .25rem; font-size: 1.1rem; }
.industry-tile p { color: rgba(255,255,255,.82); font-size: .82rem; margin: 0; }


/* ---- CTA band ---- */
.cta-band { background: var(--gt-gradient); color: #fff; border-radius: 24px; padding: 3rem; }

/* ---- Footer ---- */
.footer { background: var(--gt-blue-deep); color: rgba(255,255,255,.75); padding: 60px 0 24px; }
.footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.footer a { color: rgba(255,255,255,.75); transition: .2s; }
.footer a:hover { color: var(--gt-green); }
.footer .footer-brand { font-family: 'Poppins', sans-serif; font-weight: 800; color: #fff; font-size: 1.4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .9rem; }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  position: relative;
  background: var(--gt-gradient-dark); color: #fff;
  padding: 150px 0 80px; text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--ph-bg, none);
  background-size: cover; background-position: center;
  opacity: .25;
}

.page-hero.has-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 20%, rgba(227,179,65,.18), transparent 45%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.page-hero p { color: rgba(255,255,255,.85); }
.eyebrow.gold { color: var(--gt-gold-dark); }
.cta-band { box-shadow: var(--gt-shadow-soft); }
.cta-band.dark { background: var(--gt-gradient-dark); }


/* ---- WhatsApp floating button ---- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center; font-size: 1.8rem;
  box-shadow: 0 10px 25px -8px rgba(37,211,102,.7);
  animation: pulse-wa 2.5s infinite;
}
.wa-float:hover { color: #fff; transform: scale(1.08); }
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---- Loading spinner ---- */
#gt-loader {
  position: fixed; inset: 0; background: #fff; z-index: 9999;
  display: grid; place-items: center; transition: opacity .4s;
}
.gt-spinner {
  width: 54px; height: 54px; border-radius: 50%;
  border: 5px solid var(--gt-border); border-top-color: var(--gt-blue);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Forms ---- */
.form-control:focus, .form-select:focus {
  border-color: var(--gt-blue);
  box-shadow: 0 0 0 .2rem rgba(11,99,206,.15);
}

/* ---- Reveal on scroll (smooth, GPU-accelerated) ---- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-bg { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}


/* ---- Admin ---- */
.admin-sidebar {
  background: var(--gt-blue-deep); color: rgba(255,255,255,.8);
  min-height: 100vh; width: 250px; position: fixed; padding: 1.2rem;
}
.admin-sidebar .brand { color: #fff; font-family: 'Poppins'; font-weight: 800; font-size: 1.3rem; }
.admin-sidebar a {
  display: flex; align-items: center; gap: .7rem;
  color: rgba(255,255,255,.75); padding: .7rem .9rem; border-radius: 10px; margin-bottom: .25rem;
}
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.1); color: #fff; }
.admin-main { margin-left: 250px; padding: 1.8rem; background: var(--gt-light); min-height: 100vh; }
.admin-card { background: #fff; border: 1px solid var(--gt-border); border-radius: 16px; padding: 1.4rem; }
.admin-stat { background: var(--gt-gradient); color: #fff; border-radius: 16px; padding: 1.4rem; }
.admin-stat.alt { background: var(--gt-gradient-dark); }

@media (max-width: 991px) {
  .admin-sidebar { position: static; width: 100%; min-height: auto; }
  .admin-main { margin-left: 0; }
}

/* ---- v2: Logo, offer bar, hero media, offer sticker, socials ---- */
.brand-logo { height: 42px; width: auto; display: block; }
.footer-logo { height: 46px; width: auto; }

.offer-bar {
  background: var(--gt-gradient-gold);
  color: #08203f;
  font-weight: 700;
  font-size: .9rem;
  padding: .55rem 1rem;
  letter-spacing: .02em;
}

.offer-sticker {
  display: inline-flex;
  align-items: center;
  background: rgba(227,179,65,.16);
  border: 1px solid var(--gt-gold);
  color: var(--gt-gold-dark);
  font-weight: 700;
  font-size: .82rem;
  padding: .5rem .9rem;
  border-radius: 50px;
}
.hero .offer-sticker { color: var(--gt-gold-soft); background: rgba(227,179,65,.18); border-color: rgba(227,179,65,.55); }

.hero-media { position: relative; }
.hero-media img { width: 100%; border: 1px solid rgba(255,255,255,.12); }
.hero-live-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  background: rgba(4,37,78,.75);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: .35rem .8rem;
  border-radius: 50px;
  backdrop-filter: blur(6px);
}


.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  transition: .25s;
}
.footer-socials a:hover { background: var(--gt-green); color: #04254e; transform: translateY(-2px); }
