/* ============================================================
   InstaShakes — Global Styles
   Based on Skiper UI design language (skiper-ui.com)
   ============================================================ */

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

:root {
  --brand:       #C2F84F;   /* Skiper UI lime/green accent — exact from skiper19 SVG stroke */
  --brand-dark:  #a8e030;
  --orange:      #FF5C00;
  --pink:        #FF3E8A;
  --bg:          #0A0A0A;
  --bg-2:        #111111;
  --bg-3:        #1A1A1A;
  --bg-card:     #161616;
  --border:      rgba(255,255,255,0.07);
  --border-hover:rgba(194,248,79,0.35);
  --white:       #FFFFFF;
  --muted:       #6B7280;
  --muted-2:     #9CA3AF;
  --font:        'Inter', sans-serif;
  --radius:      16px;
  --radius-lg:   24px;
  --ease:        cubic-bezier(0.4,0,0.2,1);
  --spring:      cubic-bezier(0.34,1.56,0.64,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
img{ max-width: 100%; display: block; }

/* ── Scrollbar ───────────────────────────────────────────────*/
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 2px; }

/* ── Scroll progress bar (skiper89 inspired) ─────────────────*/
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--orange));
  transition: width 0.1s linear;
}

/* ── Navbar ──────────────────────────────────────────────────*/
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 6%;
  transition: all 0.4s var(--ease);
}
.nav.stuck {
  padding: 14px 6%;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em;
}
.nav-logo .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--brand);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.4);opacity:0.7} }
.nav-logo span { color: var(--brand); }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.04em; color: var(--muted-2);
  transition: color 0.25s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--brand);
}

.nav-cta {
  background: var(--brand);
  color: var(--bg) !important;
  font-weight: 700 !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.82rem !important;
  transition: all 0.3s var(--spring) !important;
}
.nav-cta:hover { transform: scale(1.06) !important; background: #d4ff5a !important; }
.nav-cta.active::after { display: none !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  width: 22px; height: 1.5px;
  background: var(--white); display: block; border-radius: 1px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 998;
  background: var(--bg); flex-direction: column;
  align-items: center; justify-content: center; gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--brand); }
.mobile-close {
  position: absolute; top: 22px; right: 6%;
  background: none; border: none; color: var(--white);
  font-size: 1.6rem; cursor: pointer;
}

/* ── Buttons ─────────────────────────────────────────────────*/
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px;
  font-family: var(--font); font-size: 0.85rem;
  font-weight: 600; cursor: pointer; border: none;
  transition: all 0.3s var(--spring);
  white-space: nowrap;
}
.btn-brand {
  background: var(--brand); color: var(--bg);
}
.btn-brand:hover { background: #d4ff5a; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(194,248,79,0.3); }

.btn-ghost {
  background: transparent; color: var(--white);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

.btn-sm { padding: 9px 20px; font-size: 0.78rem; }

/* ── Section utilities ───────────────────────────────────────*/
.section { padding: 100px 6%; }
.section-sm { padding: 64px 6%; }

.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.label::before {
  content: ''; width: 18px; height: 1px; background: var(--brand);
}

h1,h2 { letter-spacing: -0.03em; line-height: 1.05; }
.heading-xl {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 900;
}
.heading-lg {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 800;
}
.heading-md {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 800;
}
.accent { color: var(--brand); }
.muted  { color: var(--muted-2); }

/* ── Reveal animation ────────────────────────────────────────*/
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* ── Marquee (Skiper rolling text) ───────────────────────────*/
.marquee {
  overflow: hidden; background: var(--brand);
  padding: 12px 0; white-space: nowrap;
}
.marquee-inner {
  display: inline-block;
  animation: marquee-scroll 22s linear infinite;
}
.marquee:hover .marquee-inner { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bg); padding: 0 24px;
}
.marquee-item .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--bg); flex-shrink: 0; }
@keyframes marquee-scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── Page hero (inner pages) ─────────────────────────────────*/
.page-hero {
  min-height: 42vh;
  padding: 140px 6% 56px;
  display: flex; align-items: flex-end;
  background: var(--bg-2);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-eyebrow {
  display: block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 12px;
}
.page-hero h1 { color: var(--white); }
/* Big faded BG text */
.page-hero-bg-text {
  position: absolute; bottom: -20px; right: 5%;
  font-size: clamp(5rem, 14vw, 13rem);
  font-weight: 900; letter-spacing: -0.04em;
  color: rgba(255,255,255,0.03);
  user-select: none; pointer-events: none;
  white-space: nowrap;
}

/* ── Footer ──────────────────────────────────────────────────*/
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 6% 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 48px;
}
.footer-brand-desc {
  color: var(--muted); font-size: 0.85rem; line-height: 1.75;
  margin: 14px 0 22px; max-width: 260px;
}
.footer-socials {
  display: flex; gap: 10px;
}
.footer-socials a {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: all 0.25s;
}
.footer-socials a:hover {
  background: var(--brand); border-color: var(--brand); color: var(--bg);
  transform: translateY(-2px);
}
.footer-col h6 {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 18px; color: var(--muted-2);
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 0.85rem; color: var(--muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 0.78rem; color: var(--muted); }
.footer-brand-mark {
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.2em; color: var(--brand);
  text-transform: uppercase;
}

/* ── Toast ───────────────────────────────────────────────────*/
.toast-wrap {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--bg-3);
  border: 1px solid var(--border-hover);
  border-radius: 14px;
  padding: 13px 20px;
  font-size: 0.84rem; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  pointer-events: auto;
  transform: translateX(120%);
  transition: transform 0.45s var(--spring);
  max-width: 300px;
}
.toast.show { transform: translateX(0); }

/* ── Responsive ──────────────────────────────────────────────*/
@media (max-width: 992px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .section { padding: 72px 5%; }
  .footer-grid { grid-template-columns: 1fr; }
}
