﻿/* ============================================================
   Seodeveloper — Global Stylesheet (shared.css)
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  --ink:      #080810;
  --acid:     #c8ff00;
  --electric: #00d4ff;
  --ember:    #ff4d1c;
  --card:     #0f0f1a;
  --card2:    #141421;
  --border:   rgba(255,255,255,0.07);
  --muted:    rgba(255,255,255,0.4);
  --white:    #f0ede8;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
  padding-top: 72px;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Bricolage Grotesque', sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---- LOGO ---- */
.logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  color: #fff;
  white-space: nowrap;
}
.logo span { color: var(--acid); }
@media (min-width: 480px) { .logo { font-size: 1.55rem; } }

/* ============================================================
   NAV
   ============================================================ */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
#mainNav.scrolled {
  background: rgba(8,8,16,0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Desktop links */
.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link, .nav-btn {
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.nav-link:hover, .nav-btn:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-link.active { color: var(--acid); }

/* Dropdown */
.has-dropdown { position: relative; }
.chevron { transition: transform 0.3s; flex-shrink: 0; }
.has-dropdown.active .chevron { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #0f0f1a;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.5rem;
  min-width: 230px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}
.has-dropdown.active .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.drop-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
}
.drop-item:hover { background: rgba(200,255,0,0.07); color: #fff; }
.drop-item.active { color: var(--acid); }
.drop-icon { font-size: 1rem; flex-shrink: 0; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-cta {
  background: var(--acid);
  color: var(--ink) !important;
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: #d4ff1a;
  box-shadow: 0 0 30px rgba(200,255,0,0.35);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.hamburger:hover { border-color: rgba(200,255,0,0.3); }
.hamburger span {
  display: block;
  height: 1.5px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger span:nth-child(1) { width: 20px; }
.hamburger span:nth-child(2) { width: 14px; }
.hamburger span:nth-child(3) { width: 18px; }
.hamburger.open span:nth-child(1) { width: 20px; transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { width: 20px; transform: translateY(-6.5px) rotate(-45deg); }

/* ---- MOBILE DRAWER ---- */
.mobile-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(340px, 92vw);
  height: 100dvh;
  background: #0c0c18;
  border-left: 1px solid var(--border);
  z-index: 1100;
  transform: translateX(105%);
  transition: transform 0.4s cubic-bezier(0.32,0,0.67,0);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.open {
  transform: translateX(0);
  transition-timing-function: cubic-bezier(0.33,1,0.68,1);
}

.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  backdrop-filter: blur(4px);
}
.drawer-backdrop.show { opacity: 1; pointer-events: all; }

.drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 1.25rem 2rem;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.close-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.close-btn:hover { border-color: var(--ember); color: var(--ember); }

.drawer-nav { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }

.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: all 0.2s;
}
.drawer-link:hover { background: rgba(255,255,255,0.05); color: #fff; }
.drawer-link.active { background: rgba(200,255,0,0.08); color: var(--acid); }

.drawer-group-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: all 0.2s;
}
.drawer-group-btn:hover { background: rgba(255,255,255,0.05); color: #fff; }
.drawer-group.open .drawer-group-btn { color: var(--acid); }
.drawer-group.open .chevron { transform: rotate(180deg); }

.drawer-sub {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.4rem 0 0.4rem 1rem;
}
.drawer-group.open .drawer-sub { display: flex; }

.drawer-sub-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
  border-left: 2px solid rgba(200,255,0,0.15);
  margin-left: 0.25rem;
}
.drawer-sub-link:hover { background: rgba(200,255,0,0.06); color: #fff; border-left-color: var(--acid); }
.drawer-sub-link.active { color: var(--acid); border-left-color: var(--acid); }

.drawer-footer { flex-shrink: 0; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* ---- MOBILE: hide CTA text on tiny screens ---- */
@media (max-width: 479px) {
  .nav-right .nav-cta { display: none; }
}

/* ---- DESKTOP BREAKPOINT ---- */
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
  .nav-right .nav-cta { display: inline-flex; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 1.25rem; position: relative; z-index: 1; }
.section-inner { max-width: 1160px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--acid);
  margin-bottom: 0.85rem;
}
.section-label::before { content: ''; width: 20px; height: 2px; background: var(--acid); flex-shrink: 0; }

.section-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 1.1rem;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 520px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: all 0.25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 0 30px rgba(200,255,0,0.2);
}
.btn-primary:hover {
  background: #d4ff1a;
  box-shadow: 0 0 50px rgba(200,255,0,0.4);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--acid);
  border: 1px solid rgba(200,255,0,0.35);
}
.btn-outline:hover { background: rgba(200,255,0,0.08); border-color: var(--acid); }

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid rgba(200,255,0,0.2);
  color: rgba(200,255,0,0.7);
}

/* Grid cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  border-color: rgba(200,255,0,0.15);
}

/* Divider */
.divider { width: 100%; height: 1px; background: var(--border); }

/* Page hero */
.page-hero {
  padding: 5rem 1.25rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.page-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.18;
}

/* MARQUEE */
.marquee-row {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  background: rgba(200,255,0,0.02);
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  animation: marqueeScroll 22s linear infinite;
  width: max-content;
}
.marquee-track.reverse { animation-direction: reverse; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  color: rgba(255,255,255,0.28);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.marquee-item .dot { color: var(--acid); font-size: 1rem; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* STATS ROW */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
@media (min-width: 640px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat-cell {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--acid);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; }

/* ============================================================
   FOOTER
   ============================================================ */
#mainFooter {
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.footer-wrap { max-width: 1160px; margin: 0 auto; padding: 4rem 1.25rem 2rem; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand p {
  color: rgba(255,255,255,0.32);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 0.9rem;
  max-width: 280px;
}
.social-row { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.soc-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
  transition: all 0.2s;
}
.soc-btn:hover { border-color: rgba(200,255,0,0.35); color: var(--acid); }

.footer-col h5 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--acid); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.2); }

/* ============================================================
   RESPONSIVE SECTION PADDING
   ============================================================ */
@media (min-width: 768px) {
  .section { padding: 7rem 1.5rem; }
}
