/* style.css — Sushiswap Crypto Review | Variant N: Organic Earth */

/* ═══════════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES
═══════════════════════════════════════════════════════ */
:root {
  --bg:        #0d0b08;
  --bg2:       #141109;
  --surface:   rgba(255,255,255,0.04);
  --surface-h: rgba(255,255,255,0.07);
  --border:    rgba(255,255,255,0.08);
  --border-h:  rgba(255,255,255,0.18);
  --accent:    #00c9a7;
  --accent2:   #4eeecf;
  --glow:      rgba(0,201,167,0.35);
  --txt:       #eef2ee;
  --txt-m:     rgba(238,242,238,0.55);
  --txt-d:     rgba(238,242,238,0.35);
  --radius:    16px;
  --radius-sm: 10px;
  --trans:     .22s ease;

  /* Organic earth palette */
  --earth1:    rgba(40,30,20,0.6);
  --earth2:    rgba(30,25,15,0.8);
  --earth-border: rgba(120,90,60,0.25);
  --warm-glow: rgba(60,40,20,0.4);
  --organic-r: 16px;
}

/* ═══════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--txt);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(60,40,20,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(0,120,80,0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Organic blob decorations */
body::before {
  content: '';
  position: fixed;
  top: -120px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0,201,167,0.06) 0%, transparent 70%);
  border-radius: 67% 33% 58% 42% / 44% 62% 38% 56%;
  pointer-events: none;
  z-index: 0;
  animation: organicBlob1 12s ease-in-out infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  bottom: -100px;
  right: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(60,40,20,0.25) 0%, transparent 70%);
  border-radius: 44% 56% 38% 62% / 58% 33% 67% 42%;
  pointer-events: none;
  z-index: 0;
  animation: organicBlob2 10s ease-in-out infinite alternate;
}

@keyframes organicBlob1 {
  0%   { transform: translate(0,0) scale(1); border-radius: 67% 33% 58% 42% / 44% 62% 38% 56%; }
  100% { transform: translate(30px, 20px) scale(1.1); border-radius: 44% 56% 38% 62% / 67% 33% 58% 42%; }
}

@keyframes organicBlob2 {
  0%   { transform: translate(0,0) scale(1); border-radius: 44% 56% 38% 62% / 58% 33% 67% 42%; }
  100% { transform: translate(-20px, -30px) scale(1.08); border-radius: 62% 38% 55% 45% / 40% 65% 35% 60%; }
}

@keyframes organicBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes warmPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(60,40,20,0.4), 0 0 0 0 var(--glow); }
  50%       { box-shadow: 0 8px 32px rgba(60,40,20,0.4), 0 0 0 8px rgba(0,201,167,0.0); }
}

@keyframes shimmerBorder {
  0%   { opacity: 0.6; }
  50%  { opacity: 1; }
  100% { opacity: 0.6; }
}

/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--txt);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { color: var(--txt-m); margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--trans);
}
a:hover { color: var(--accent2); }

strong { color: var(--txt); font-weight: 700; }
em     { color: var(--accent2); font-style: normal; }

ul, ol { padding-left: 1.4em; color: var(--txt-m); }
li { margin-bottom: 0.4em; }

/* ═══════════════════════════════════════════════════════
   UTILITY CLASSES
═══════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  margin-bottom: 40px;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0d0b08;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(60,40,20,0.4);
  animation: warmPulse 3.5s ease-in-out infinite;
}

.btn-primary:hover {
  background: var(--accent2);
  color: #0d0b08;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 40px var(--glow);
  animation: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--txt);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 50px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color var(--trans), color var(--trans), background var(--trans);
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,201,167,0.06);
}

/* ═══════════════════════════════════════════════════════
   SITE HEADER
═══════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,11,8,0.6);
  border-bottom: 1px solid transparent;
  transition: background var(--trans), border-color var(--trans), backdrop-filter var(--trans);
}

.site-header.scrolled {
  background: rgba(13,11,8,0.85);
  border-bottom-color: var(--border);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--txt);
  text-decoration: none;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo span {
  color: var(--accent);
}

.nav-logo::before {
  content: '';
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 50% 30% 50% 30%;
  display: block;
  flex-shrink: 0;
  animation: organicBob 4s ease-in-out infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.nav-links a {
  color: var(--txt-m);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--trans);
}

.nav-links a:hover { color: var(--txt); }

nav .btn-primary {
  margin-left: auto;
  padding: 10px 22px;
  font-size: 0.88rem;
  animation: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--txt);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}

/* Nav open state */
.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(13,11,8,0.97);
  backdrop-filter: blur(20px);
  padding: 20px 20px 28px;
  border-bottom: 1px solid var(--border);
  gap: 4px;
  margin: 0;
}

.nav-open .nav-links a {
  padding: 10px 0;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--txt);
}

.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .hamburger span:nth-child(2) { opacity: 0; }
.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════
   TICKER STRIP
═══════════════════════════════════════════════════════ */
.ticker-wrap {
  overflow: hidden;
  background: var(--bg2);
  border-bottom: 1px solid var(--earth-border);
  padding: 9px 0;
  position: relative;
  z-index: 1;
}

.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg2), transparent);
}

.ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg2), transparent);
}

.ticker {
  display: flex;
  gap: 0;
  animation: ticker-scroll 32s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 28px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--txt-m);
  border-right: 1px solid var(--border);
}

.ticker-item .t-symbol { color: var(--txt); }

.ticker-item .t-up   { color: #4ade80; }
.ticker-item .t-down { color: #f87171; }

/* ═══════════════════════════════════════════════════════
   HERO + SCORE WIDGET
═══════════════════════════════════════════════════════ */
#hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0,201,167,0.08) 0%, transparent 65%);
  border-radius: 60% 40% 65% 35% / 45% 55% 45% 55%;
  pointer-events: none;
  animation: organicBob 8s ease-in-out infinite;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.hero-content {
  animation: fadeInUp 0.6s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--earth1);
  border: 1px solid var(--earth-border);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

.hero-title {
  margin-bottom: 16px;
}

.hero-title strong {
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--txt-m);
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--txt-d);
}

.hero-meta-item svg,
.hero-meta-item .icon {
  color: var(--accent);
  font-size: 1em;
}

/* ─── Score Widget ─── */
.score-widget {
  background: rgba(40,30,20,0.6);
  border: 1px solid var(--earth-border);
  border-radius: var(--organic-r);
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(60,40,20,0.4);
  animation: fadeInUp 0.6s 0.15s ease both;
  backdrop-filter: blur(10px);
}

.score-widget::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0,201,167,0.1) 0%, transparent 70%);
  border-radius: 60% 40% 55% 45%;
  pointer-events: none;
}

.sw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.sw-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--txt-d);
}

.sw-verified {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0,201,167,0.1);
  border-radius: 50px;
  padding: 4px 10px;
}

.sw-score-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.sw-ring-wrap {
  position: relative;
  width: 120px;
  height: 120px;
}

.sw-ring-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 8;
}

.sw-ring-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 42;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 1.2s ease;
}

.sw-ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sw-score-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--txt);
  line-height: 1;
}

.sw-score-max {
  font-size: 0.7rem;
  color: var(--txt-d);
}

.sw-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.sw-bar-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sw-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
}

.sw-bar-name { color: var(--txt-m); }
.sw-bar-val  { color: var(--txt); font-weight: 600; }

.sw-bar-track {
  height: 5px;
  background: var(--border);
  border-radius: 50px;
  overflow: hidden;
}

.sw-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 50px;
  transition: width 1s ease;
}

.sw-cta {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* ─── DeFi Panel / Key Stats Strip ─── */
.defi-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(40,30,20,0.6);
  border: 1px solid var(--earth-border);
  border-radius: var(--organic-r);
  overflow: hidden;
  margin-top: 0;
}

.dp-item {
  padding: 18px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background var(--trans);
}

.dp-item:last-child { border-right: none; }

.dp-item:hover {
  background: var(--surface-h);
}

.dp-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--txt);
  line-height: 1;
  margin-bottom: 4px;
  display: block;
}

.dp-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--txt-d);
}

/* ═══════════════════════════════════════════════════════
   KEY STATS GRID
═══════════════════════════════════════════════════════ */
#key-stats {
  padding: 60px 0;
}

.stats-section-title {
  margin-bottom: 28px;
}

.key-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-card {
  background: rgba(40,30,20,0.6);
  border: 1px solid var(--earth-border);
  border-radius: var(--organic-r);
  padding: 22px 20px;
  box-shadow: 0 8px 32px rgba(60,40,20,0.4);
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--trans);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(60,40,20,0.5), 0 0 20px rgba(0,201,167,0.08);
  background: rgba(50,38,24,0.7);
}

.stat-card:hover::before { opacity: 1; }

.stat-card-icon {
  width: 38px;
  height: 38px;
  background: rgba(0,201,167,0.1);
  border-radius: 50% 30% 50% 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
  animation: organicBob 5s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.stat-card-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--txt);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card-value.accent { color: var(--accent); }

.stat-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--txt-d);
  margin-bottom: 8px;
}

.stat-card-desc {
  font-size: 0.82rem;
  color: var(--txt-m);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   INTRO / BENTO GRID
═══════════════════════════════════════════════════════ */
#intro {
  padding: 20px 0 60px;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ig {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--organic-r);
  padding: 24px;
  transition: background var(--trans), border-color var(--trans), transform var(--trans);
  box-shadow: 0 8px 32px rgba(60,40,20,0.2);
}

.ig:hover {
  background: var(--surface-h);
  border-color: var(--border-h);
  transform: translateY(-3px);
}

.ig.w2 {
  grid-column: span 2;
}

.ig-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
  animation: organicBob 4.5s ease-in-out infinite;
}

.ig h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.ig p {
  font-size: 0.85rem;
  color: var(--txt-m);
}

/* ═══════════════════════════════════════════════════════
   FEATURES SECTION
═══════════════════════════════════════════════════════ */
#features {
  padding: 60px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: rgba(40,30,20,0.6);
  border: 1px solid var(--earth-border);
  border-radius: var(--organic-r);
  padding: 26px 22px;
  box-shadow: 0 8px 32px rgba(60,40,20,0.4);
  transition: transform var(--trans), box-shadow var(--trans);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 16px 48px rgba(60,40,20,0.5), 0 0 24px rgba(0,201,167,0.1);
}

.feature-card-emoji {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
  animation: organicBob 5s ease-in-out infinite;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.83rem;
  color: var(--txt-m);
  line-height: 1.6;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   PROS / CONS
═══════════════════════════════════════════════════════ */
#pros-cons {
  padding: 60px 0;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pros-box,
.cons-box {