/* ═══════════════════════════════════════════════════════════
   RYANDCRYPTO × KINETIC — SHARED DESIGN SYSTEM
   Design tokens (CSS variables) live in tokens.css.
   ═══════════════════════════════════════════════════════════ */

@import url('./tokens.css');

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 120%; height: 800px;
  background: radial-gradient(ellipse at center,
    rgba(74, 222, 128, 0.08) 0%,
    rgba(74, 222, 128, 0.03) 30%,
    transparent 60%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' /></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.025;
  mix-blend-mode: overlay;
}

a { color: inherit; text-decoration: none; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: calc(100% - 40px);
  max-width: 1280px;
  background: rgba(14, 18, 23, 0.7);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 12px 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px;
  font-weight: 500;
}
.logo .handle {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.logo .handle .at { color: var(--green); }
.logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: breathe 2s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.nav-links {
  display: flex; gap: 28px;
  font-size: 13px;
  font-weight: 400;
}
.nav-links a {
  color: var(--dim);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--green); }
.nav-links a.active { color: var(--text); }

.nav-cta {
  padding: 10px 20px;
  background: linear-gradient(180deg, var(--green) 0%, #3ab868 100%);
  color: #042712;
  font-weight: 600;
  font-size: 13px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 30px rgba(74, 222, 128, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ─── BUTTONS ─── */
.btn-primary, .btn-ghost {
  padding: 16px 32px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary {
  background: linear-gradient(180deg, var(--green) 0%, #3ab868 100%);
  color: #042712;
  box-shadow: 0 0 30px rgba(74, 222, 128, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(74, 222, 128, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary.amber {
  background: linear-gradient(180deg, var(--amber) 0%, #b8872f 100%);
  color: #1a1208;
  box-shadow: 0 0 30px rgba(212, 160, 65, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary.amber:hover {
  box-shadow: 0 8px 40px rgba(212, 160, 65, 0.5);
}
.btn-ghost {
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  font-size: 13px;
}
.btn-ghost:hover {
  border-color: var(--border-hot);
  background: rgba(74, 222, 128, 0.06);
}
.btn-primary .arrow, .btn-ghost .arrow { transition: transform 0.3s; }
.btn-primary:hover .arrow, .btn-ghost:hover .arrow { transform: translateX(4px); }

/* ─── SECTION TITLES ─── */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  font-weight: 500;
}
.sec-label.green {
  background: rgba(74, 222, 128, 0.06);
  border: 1px solid var(--border-hot);
  color: var(--green);
}
.sec-label.green::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.sec-label.amber {
  background: rgba(212, 160, 65, 0.08);
  border: 1px solid var(--border-amber);
  color: var(--amber);
}
.sec-label.amber::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.sec-title {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 900px;
}
.sec-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.sec-title em.green { color: var(--green); }
.sec-title em.amber { color: var(--amber); }

.sec-lede {
  max-width: 560px;
  font-size: 16px;
  color: var(--dim);
  line-height: 1.75;
  margin-bottom: 60px;
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg-2);
  padding: 80px 24px 32px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.foot-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}
.foot-brand .handle {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.foot-brand .handle .at { color: var(--amber); }
.foot-brand .tagline-sm {
  font-size: 13px;
  color: var(--mute);
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}
.foot-brand .kinetic-foot {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid var(--border-hot);
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 18px;
}
.foot-brand .kinetic-foot svg { width: 12px; height: 12px; }
.foot-brand .tag-line {
  font-size: 14px;
  color: var(--dim);
  max-width: 340px;
  line-height: 1.6;
}
.foot-col h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--mute);
  margin-bottom: 22px;
  font-weight: 500;
}
.foot-col ul { list-style: none; }
.foot-col li {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--dim);
  transition: color 0.2s;
  cursor: pointer;
}
.foot-col li:hover { color: var(--green); }
.foot-bottom {
  max-width: 1280px; margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mute);
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── RESPONSIVE BASE ─── */
@media (max-width: 1000px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  nav { padding: 10px 10px 10px 18px; }
  .logo { font-size: 14px; }
  .foot-grid { grid-template-columns: 1fr; gap: 40px; }
}
