/* ============================================================
   SALWADEV — SHARED STYLESHEET
   Theme: Brutalist editorial dark / acid-green accent
   Fonts: Syne (display) + DM Sans (body)
   ============================================================ */

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

/* ── Variables ── */
:root {
  --black:   #0a0a0a;
  --black2:  #0d0d0d;
  --white:   #f5f2ed;
  --acid:    #c8ff00;
  --muted:   #6b6b6b;
  --card-bg: #141414;
  --border:  rgba(255,255,255,0.08);
  --radius:  4px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* ── Custom Cursor ── */
.cursor {
  width: 10px; height: 10px;
  background: var(--acid);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s, width 0.2s, height 0.2s;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(200,255,0,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: all 0.15s ease;
}

/* ── Navigation ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.4rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease, background 0.3s ease;
}
nav.scrolled { padding: 1rem 4rem; background: rgba(10,10,10,0.97); }

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  color: var(--white);
  text-decoration: none;
}
.logo span { color: var(--acid); }

nav ul { display: flex; gap: 2.5rem; list-style: none; }
nav ul a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
nav ul a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--acid);
  transition: width 0.3s ease;
}
nav ul a:hover,
nav ul a.active { color: var(--acid); }
nav ul a:hover::after,
nav ul a.active::after { width: 100%; }

.nav-cta {
  background: var(--acid) !important;
  color: var(--black) !important;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.2s !important;
  letter-spacing: 0.04em !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #b8ef00 !important; transform: translateY(-1px); color: var(--black) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span { width: 24px; height: 1.5px; background: var(--white); display: block; transition: 0.3s; }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--black);
  z-index: 99;
  padding: 6rem 2.5rem 3rem;
  flex-direction: column;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: -0.02em;
}
.mobile-menu a:hover { color: var(--acid); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10rem 4rem 5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,255,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,255,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.page-hero-tag::before { content:''; width:20px; height:1px; background:var(--acid); }
.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 900px;
}
.page-hero h1 .outline {
  -webkit-text-stroke: 1px rgba(200,255,0,0.4);
  color: transparent;
}
.page-hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.8;
  margin-top: 1.5rem;
}

/* ── Marquee ── */
.marquee-wrap {
  overflow: hidden;
  background: var(--acid);
  padding: 0.85rem 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 22s linear infinite;
}
.marquee-item {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  padding: 0 2rem;
}
.marquee-dot { color: rgba(0,0,0,0.3); }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── Section commons ── */
section { padding: 7rem 4rem; }
.section-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 1.5rem;
}
.section-tag::before { content:''; width:20px; height:1px; background:var(--acid); }

h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.accent { color: var(--acid); }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--acid);
  color: var(--black);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.95rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
  letter-spacing: 0.03em;
  border: none;
  cursor: none;
}
.btn-primary:hover { transform: translateY(-2px); background: #b8ef00; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 0.88rem;
  padding: 0.95rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  cursor: none;
}
.btn-ghost:hover { border-color: var(--acid); color: var(--acid); }

/* ── Scroll Reveal ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── WhatsApp Float ── */
.wa-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 52px; height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: waWiggle 4s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); animation: none; }
@keyframes waWiggle { 0%,100%{transform:rotate(0)} 20%{transform:rotate(-8deg)} 40%{transform:rotate(8deg)} 60%{transform:rotate(-4deg)} 80%{transform:rotate(4deg)} }
.wa-float svg { width: 26px; height: 26px; }

/* ── Footer ── */
footer.site-footer {
  background: #070707;
  padding: 4rem;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-top: 1rem; max-width: 260px; }
.footer-socials { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.footer-socials a:hover { border-color: var(--acid); color: var(--acid); }
.footer-socials svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul a { font-size: 0.86rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--acid); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── 3D Canvas ── */
#canvas3d {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }

/* ── Toast ── */
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--acid); color: var(--black);
  font-family: 'Syne', sans-serif; font-weight: 700;
  padding: 0.9rem 2rem; border-radius: var(--radius);
  transition: transform 0.4s ease;
  z-index: 9999; font-size: 0.88rem;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  nav { padding: 1.4rem 2rem; }
  nav.scrolled { padding: 1rem 2rem; }
  nav ul { display: none; }
  .hamburger { display: flex; }
  section { padding: 5rem 2rem; }
  .page-hero { padding: 9rem 2rem 4rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .page-hero { padding: 8rem 1.5rem 3rem; }
  section { padding: 4rem 1.5rem; }
}
