/* =============================================
   AIGIProtocol — Stylesheet v4
   Dark #070712 base · Purple/Violet accent
   No logo · No staking · Full responsive
   ============================================= */

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

:root {
  --bg:        #070712;
  --bg2:       #0d0d1f;
  --bg3:       #12122a;
  --purple:    #7c3aed;
  --purple2:   #9f5fff;
  --violet:    #a855f7;
  --blue:      #3b82f6;
  --glow:      rgba(124, 58, 237, 0.35);
  --muted:     #8b8fa8;
  --text:      #e8e8f0;
  --white:     #ffffff;
  --border:    rgba(124, 58, 237, 0.18);
  --radius:    16px;
  --radius-sm: 8px;
  --nav-h:     70px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* UTILITY */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: linear-gradient(135deg, var(--purple2), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section { padding: 100px 0; }
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 48px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--violet);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* BUTTONS */
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124,58,237,0.5); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 13px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-outline:hover { border-color: var(--purple2); color: var(--purple2); background: rgba(124,58,237,0.07); }

.btn-nav {
  background: rgba(124,58,237,0.15);
  color: var(--purple2);
  border: 1.5px solid rgba(124,58,237,0.4);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-nav:hover { background: var(--purple); color: #fff; border-color: var(--purple); }

.btn-full { width: 100%; }

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 100;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.navbar.scrolled {
  background: rgba(7, 7, 18, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo .logo-text {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 40%, var(--purple2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.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); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.25) saturate(1.4) hue-rotate(20deg);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(124,58,237,0.18) 0%, transparent 70%),
    linear-gradient(to bottom, transparent 50%, var(--bg) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 24px;
  padding-top: var(--nav-h);
}
.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--violet);
  background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.3);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero-content h1 {
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}
.hero-content p {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero-partners p {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}
.partner-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.partner-tag {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 5px 14px;
  border-radius: 50px;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-hint span {
  display: block;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--purple2), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:0.4;transform:scaleY(0.8)} 50%{opacity:1;transform:scaleY(1)} }

/* ENTERPRISE */
.enterprise { background: var(--bg2); }
.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(124,58,237,0.2);
  border-color: rgba(124,58,237,0.4);
}
.card-img-wrap { position: relative; overflow: hidden; height: 220px; }
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.3) hue-rotate(15deg);
  transition: transform 0.5s;
}
.card:hover .card-img-wrap img { transform: scale(1.05); }
.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg3) 100%);
}
.card-body { padding: 28px 32px 36px; }
.card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
  display: block;
}
.card-body h3 { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.card-body p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--violet);
  font-size: 12px;
}

/* CONSUMER */
.consumer { background: var(--bg); }
.cards-2-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.product-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(124,58,237,0.2);
  border-color: rgba(124,58,237,0.4);
}
.product-img-wrap { position: relative; height: 240px; overflow: hidden; }
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(1.4) hue-rotate(20deg);
  transition: transform 0.5s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, var(--bg3) 100%);
}
.product-tag-float {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(124,58,237,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 4px 12px;
  border-radius: 50px;
}
.product-body {
  padding: 28px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.product-body h3 { font-size: 24px; font-weight: 700; color: var(--white); }
.product-body p { font-size: 15px; color: var(--muted); line-height: 1.8; }
.product-features {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.product-features span {
  font-size: 12px;
  font-weight: 600;
  color: var(--violet);
  background: rgba(168,85,247,0.08);
  border: 1px solid rgba(168,85,247,0.2);
  padding: 4px 12px;
  border-radius: 50px;
}

/* NETWORK */
.network { background: var(--bg2); }
.network-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.network-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(124,58,237,0.15);
}
.network-img-wrap img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.4) hue-rotate(25deg);
  display: block;
}
.network-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.12), transparent);
}
.network-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 20px;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.stat-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  transition: border-color 0.2s;
}
.stat-box:hover { border-color: rgba(124,58,237,0.35); }
.stat-num {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple2), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.stat-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.network-cta { margin-top: 8px; }

/* CTA BAND */
.cta-band {
  position: relative;
  padding: 120px 24px;
  text-align: center;
  overflow: hidden;
}
.cta-band-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-band-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.15) saturate(1.5) hue-rotate(30deg);
}
.cta-band-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(124,58,237,0.2), transparent),
    linear-gradient(to bottom, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%);
}
.cta-band-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.cta-band-content h2 {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.15;
  letter-spacing: -1px;
}
.cta-band-content p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
}
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}
.footer-brand .logo-text {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 40%, var(--purple2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 14px;
}
.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.8; max-width: 280px; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-socials a:hover { color: var(--white); }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.2); }

/* FADE IN ANIMATION */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ─────────────────────────────── */
@media(max-width: 1024px) {
  .navbar { padding: 0 28px; }
  .network-inner { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media(max-width: 768px) {
  .section { padding: 64px 0; }
  .navbar { padding: 0 20px; }
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(7,7,18,0.97);
    backdrop-filter: blur(20px);
    padding: 16px 0 24px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links > li > a {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
    color: var(--text);
  }
  .nav-links li:last-child { padding: 8px 24px 0; }
  .nav-links li:last-child .btn-nav { width: 100%; text-align: center; }

  .hero-content h1 { font-size: 36px; letter-spacing: -0.5px; }
  .hero-content p { font-size: 16px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn-primary, .hero-cta .btn-outline { width: 100%; max-width: 320px; text-align: center; }

  .cards-2, .cards-2-equal { grid-template-columns: 1fr; }
  .card-img-wrap { height: 200px; }
  .product-img-wrap { height: 200px; }
  .section-header { margin-bottom: 40px; }

  .network-inner { grid-template-columns: 1fr; gap: 36px; }
  .network-img-wrap img { height: 260px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  .cta-band { padding: 80px 24px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn-primary, .cta-btns .btn-outline { width: 100%; max-width: 320px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media(max-width: 480px) {
  .hero-content h1 { font-size: 28px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-body { padding: 20px 20px 28px; }
  .product-body { padding: 20px 20px 28px; }
}
