/* ============================================================
   Glu Energy — Website Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink:      #0A0F1C;
  --dark:     #111827;
  --navy:     #0D1B2A;
  --mid:      #374151;
  --subtle:   #6B7280;
  --rule:     #E5E7EB;
  --bg-alt:   #F9FAFB;
  --white:    #FFFFFF;
  --purple:   #7652D1;
  --purple-lt: rgba(118,82,209,0.1);
  --violet:   #7C3AED;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
nav img { height: 38px; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font: 600 0.88rem/1 'Lato', sans-serif;
  letter-spacing: 0.04em;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--purple); }
.nav-cta {
  padding: 0.6rem 1.5rem;
  background: var(--purple);
  color: #fff !important;
  border-radius: 999px;
  font: 700 0.85rem/1 'Lato', sans-serif !important;
  letter-spacing: 0.04em;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.88; color: #fff !important; }

/* ── SECTIONS ── */
section { width: 100%; }
.inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../uploads/21.png');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.hero .inner {
  position: relative;
  z-index: 10;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(118,82,209,0.15);
  border: 1px solid rgba(118,82,209,0.35);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font: 700 0.72rem/1 'Lato', sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #A78BFA;
  margin-bottom: 1.75rem;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #A78BFA;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100%{ opacity:1; transform:scale(1); }
  50%    { opacity:0.3; transform:scale(0.6); }
}
.hero h1 {
  font: 900 clamp(3.2rem, 6.5vw, 6.5rem)/1.0 'Lato', sans-serif;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.5rem;
  max-width: 14ch;
}
.hero h1 span { color: #A78BFA; }
.hero p {
  font: 300 clamp(1.1rem, 1.6vw, 1.35rem)/1.65 'Lato', sans-serif;
  color: rgba(255,255,255,0.62);
  max-width: 52ch;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.btn-primary {
  padding: 0.9rem 2.2rem;
  background: var(--purple);
  color: #fff;
  border-radius: 999px;
  font: 700 0.95rem/1 'Lato', sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.88; }
.btn-ghost {
  padding: 0.9rem 2.2rem;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.8);
  border-radius: 999px;
  font: 600 0.95rem/1 'Lato', sans-serif;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.hero-stats {
  display: flex;
  gap: 3.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num {
  font: 900 2.2rem/1 'Lato', sans-serif;
  color: #fff;
  letter-spacing: -0.03em;
}
.hero-stat-num span { color: #A78BFA; font-size: 0.6em; }
.hero-stat-label {
  font: 400 0.78rem/1 'Lato', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-top: 0.5rem;
}

/* ── SECTION COMMON ── */
.section-pad { padding: 6rem 0; }
.eyebrow {
  font: 700 0.78rem/1 'Lato', sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--purple); flex-shrink: 0;
}
.section-title {
  font: 700 clamp(2.2rem, 4vw, 3.8rem)/1.05 'Lato', sans-serif;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.section-title-light {
  font: 700 clamp(2.2rem, 4vw, 3.8rem)/1.05 'Lato', sans-serif;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.75rem;
}
.accent-rule {
  width: 44px; height: 3px;
  background: var(--purple);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.section-lead {
  font: 300 clamp(1rem, 1.4vw, 1.2rem)/1.65 'Lato', sans-serif;
  color: var(--subtle);
  max-width: 56ch;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 2rem;
}
.card-dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  padding: 2rem;
}
.card-alt {
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 2rem;
}

/* ── GRIDS ── */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; }
.g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

/* ── HOW IT WORKS ── */
.step-num {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--purple-lt);
  display: flex; align-items: center; justify-content: center;
  font: 900 1.2rem/1 'Lato', sans-serif;
  color: var(--purple);
  margin-bottom: 1.2rem;
  flex-shrink: 0;
}
.step-title {
  font: 700 1.3rem/1.2 'Lato', sans-serif;
  color: var(--ink);
  margin-bottom: 0.55rem;
}
.step-body {
  font: 400 1rem/1.6 'Lato', sans-serif;
  color: var(--subtle);
}

/* ── TAG / CHIP ── */
.tag {
  display: inline-block;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  font: 700 0.68rem/1 'Lato', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag-p { background: var(--purple-lt); color: var(--purple); }
.tag-v { background: rgba(124,58,237,0.1); color: var(--violet); border: 1px solid rgba(124,58,237,0.2); }

/* ── PROJECTS ── */
.proj-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--white);
  transition: transform 0.22s, box-shadow 0.22s;
}
.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}
.proj-header {
  background: var(--ink);
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.proj-header span { font: 700 0.9rem/1 'Lato', sans-serif; color: #fff; }
.proj-body { padding: 1.5rem; }
.proj-body h3 { font: 700 1.15rem/1.3 'Lato', sans-serif; color: var(--ink); margin-bottom: 0.5rem; }
.proj-body p { font: 400 0.95rem/1.6 'Lato', sans-serif; color: var(--subtle); }

/* ── TEAM ── */
.avatar {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font: 900 1.1rem/1 'Lato', sans-serif;
  color: #fff;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.member-name { font: 700 1rem/1.2 'Lato', sans-serif; color: var(--ink); margin-bottom: 0.4rem; }
.member-bio { font: 400 0.88rem/1.6 'Lato', sans-serif; color: var(--subtle); margin-top: 0.6rem; }

/* ── COMPARE TABLE ── */
.tbl { width: 100%; border-collapse: collapse; }
.tbl thead tr { border-bottom: 2px solid rgba(255,255,255,0.1); }
.tbl thead th {
  padding: 0.85rem 1.1rem;
  font: 700 0.72rem/1 'Lato', sans-serif;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); text-align: left;
}
.tbl thead th.hl { color: #A78BFA; }
.tbl tbody tr { border-bottom: 1px solid rgba(255,255,255,0.08); }
.tbl tbody td { padding: 0.9rem 1.1rem; font-size: 0.95rem; color: rgba(255,255,255,0.35); }
.tbl tbody td:first-child { color: rgba(255,255,255,0.88); font-weight: 600; }
.tbl tbody td.hl { color: #A78BFA; font-weight: 700; }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.cta-section .inner { position: relative; z-index: 10; }
.cta-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 2.5rem 0;
}
footer .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font: 400 0.82rem/1 'Lato', sans-serif;
  color: rgba(255,255,255,0.3);
}
.footer-email {
  font: 600 0.88rem/1 'Lato', sans-serif;
  color: #A78BFA;
  text-decoration: none;
}
.footer-email:hover { text-decoration: underline; }

/* ── DIVIDER ── */
.wire {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple) 20%, var(--purple) 80%, transparent);
  opacity: 0.35;
  margin: 0;
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px; width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  background: #fff;
  z-index: 200;
  padding: 5rem 2rem 2.5rem;
  box-shadow: -4px 0 32px rgba(0,0,0,0.12);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.mobile-menu ul li a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  font: 700 1.05rem/1 'Lato', sans-serif;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.mobile-menu ul li a:hover { color: var(--purple); }
.mobile-menu-close {
  position: absolute;
  top: 1.1rem; right: 1.25rem;
  background: none; border: none;
  font-size: 1.4rem; cursor: pointer;
  color: var(--mid); line-height: 1;
}
.mobile-menu-cta {
  display: block;
  margin-top: 2rem;
  padding: 0.9rem 1.5rem;
  background: var(--purple);
  color: #fff;
  border-radius: 999px;
  font: 700 0.95rem/1 'Lato', sans-serif;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s;
}
.mobile-menu-cta:hover { opacity: 0.88; }
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 199;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-menu-overlay.open { opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .mobile-menu-overlay { display: block; }
  .inner { padding: 0 1.5rem; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 2rem; }
  .stmt-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .stmt-grid .stmt-img { order: 2; }
  .stmt-grid .stmt-text { order: 1; }
}
