/* style.css — Sushiswap | Crypto | Variant I — Emerald Elite */

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --bg:        #070c0e;
  --bg2:       #0c1416;
  --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:   #00e8c4;
  --glow:      rgba(0,201,167,0.35);
  --txt:       #e8f4f1;
  --txt-m:     rgba(232,244,241,0.55);
  --txt-d:     rgba(232,244,241,0.35);
  --radius:    12px;
  --radius-sm: 8px;
  --trans:     .18s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--txt);
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Emerald Elite: geometric clip-path accent shapes in body bg */
body::before {
  content: '';
  position: fixed;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: rgba(0,201,167,0.05);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -100px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: rgba(0,201,167,0.04);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: var(--accent); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--accent2); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
  color: var(--txt);
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--txt-m); line-height: 1.7; }

strong { color: var(--accent); font-weight: 600; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 12px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,201,167,0.25);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--trans);
}

.btn-primary:hover {
  background: var(--accent2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,201,167,0.4);
}

.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--txt);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--trans), background var(--trans), transform var(--trans);
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(0,201,167,0.06);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--trans), border-color var(--trans), backdrop-filter var(--trans);
}

.site-header.scrolled {
  background: rgba(7,12,14,0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--txt);
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-logo::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--txt-m);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--trans), background var(--trans);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--txt);
  background: var(--surface);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

nav .btn-primary {
  margin-left: auto;
  padding: 9px 20px;
  font-size: 0.85rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  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: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(7,12,14,0.97);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  gap: 4px;
  z-index: 99;
}

.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); }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
  z-index: 1;
}

/* Geometric emerald accent shape behind hero */
#hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(0,201,167,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-h), transparent);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,201,167,0.08);
  border: 1px solid rgba(0,201,167,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

.hero-title {
  margin-bottom: 20px;
}

.hero-title strong {
  color: var(--accent);
  display: inline;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--txt-m);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* defi-panel — 4-stat strip */
.defi-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 8px;
}

.dp-item {
  padding: 18px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}

.dp-item:last-child { border-right: none; }

.dp-item:hover { background: var(--surface); }

.dp-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.dp-label {
  font-size: 0.72rem;
  color: var(--txt-d);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ============================================================
   SCORE WIDGET (hero sidebar)
   ============================================================ */
.score-widget {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: sticky;
  top: 88px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 8px 32px rgba(0,200,100,0.12), -3px 0 0 0 var(--accent);
  transition: transform var(--trans), box-shadow var(--trans);
}

.score-widget:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 48px rgba(0,200,100,0.2), -3px 0 0 0 var(--accent);
}

.sw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.sw-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--txt-m);
}

.sw-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(0,201,167,0.12);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(0,201,167,0.2);
}

.sw-score-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.sw-ring {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 82%, rgba(255,255,255,0.06) 0%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
}

.sw-ring::before {
  content: '';
  position: absolute;
  inset: 10px;
  background: var(--bg2);
  border-radius: 50%;
}

.sw-ring-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.sw-score-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--txt);
  line-height: 1;
  display: block;
}

.sw-score-max {
  font-size: 0.72rem;
  color: var(--txt-d);
}

.sw-score-label {
  font-size: 0.8rem;
  color: var(--txt-m);
  font-weight: 500;
}

.sw-metrics {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.sw-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sw-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sw-metric-name {
  font-size: 0.78rem;
  color: var(--txt-m);
  font-weight: 500;
}

.sw-metric-val {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

.sw-bar-track {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.sw-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  transition: width 0.6s ease;
}

.sw-widget-cta {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* ============================================================
   KEY STATS GRID
   ============================================================ */
#key-stats {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.stats-header {
  margin-bottom: 32px;
}

.stats-header h2 { margin-bottom: 8px; }

.key-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.stat-card {
  background: var(--bg2);
  padding: 28px 24px;
  transition: background var(--trans);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s ease;
}

.stat-card:hover { background: var(--surface-h); }
.stat-card:hover::before { transform: scaleY(1); }

.stat-icon {
  font-size: 1.4rem;
  margin-bottom: 12px;
  display: block;
}

.stat-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--txt);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
  display: block;
}

.stat-name {
  font-size: 0.78rem;
  color: var(--txt-d);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.stat-trend {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.stat-trend.down { color: #f87171; }

/* ============================================================
   INTRO / BENTO (ig-grid)
   ============================================================ */
#intro {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ig {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: background var(--trans), border-color var(--trans), transform var(--trans);
  position: relative;
  overflow: hidden;
}

.ig::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 0 0 0 0;
  opacity: 0;
  transition: opacity var(--trans);
}

.ig:hover {
  background: var(--surface-h);
  border-color: var(--border-h);
  transform: scale(1.02);
}

.ig:hover::after { opacity: 1; }

.ig.w2 { grid-column: span 2; }

.ig-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: block;
}

.ig h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--txt);
}

.ig p {
  font-size: 0.88rem;
  color: var(--txt-m);
  line-height: 1.65;
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker-wrap {
  overflow: hidden;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: relative;
  z-index: 1;
}

.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}

.ticker-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg2), transparent);
}

.ticker-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg2), transparent);
}

.ticker {
  display: flex;
  gap: 0;
  animation: ticker-scroll 40s linear infinite;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--txt-m);
  white-space: nowrap;
  border-right: 1px solid var(--border);
}

.ticker-item .t-name { color: var(--txt); }
.ticker-item .t-val { color: var(--accent); }
.ticker-item .t-chg { color: var(--accent); font-size: 0.75rem; }
.ticker-item .t-chg.neg { color: #f87171; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
#features {
  padding: 72px 0;
  position: relative;
  z-index: 1;
}

.features-header {
  text-align: center;
  margin-bottom: 48px;
}

.features-header h2 { margin-bottom: 12px; }
.features-header p { max-width: 560px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: background var(--trans), transform var(--trans), border-color var(--trans), box-shadow var(--trans);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  border-radius: 0 0 0 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-card:hover {
  background: var(--surface-h);
  border-color: rgba(0,201,167,0.2);
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0,200,100,0.12);
}

.feature-card:hover::before { opacity: 1; }

.fc-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--txt);
  font-weight: 700;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--txt-m);
  line-height: 1.65;
}

/* ============================================================
   PROS & CONS
   ============================================================ */
#pros-cons {
  padding: 72px 0;
  position: relative;
  z-index: 1;
}

.pc-header { margin-bottom: 32px; }
.pc-header h2 { margin-bottom: 8px; }

.pc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pc-col {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.pc-col.pros { border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; }
.pc-col.cons { border-left: 3px solid #f87171; border-radius: 0 var(--radius) var(--radius) 0; }

.pc-col-header {
  padding: 18px 24px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.pc-col.pros .pc-col-header { color: var(--accent); }
.pc-col.cons .pc-col-header { color: #f87171; }

.pc-list {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pc-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--txt-m);
}

.pc-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.pros .pc-icon { background: rgba(0,201,167,0.12); color: var(--accent); }
.cons .pc-icon { background: rgba(248,113,113,0.1); color: #f87171; }

/* ============================================================
   VERDICT BOX
   ============================================================ */
#verdict-box {
  padding: 48px 0;
  position: relative;
  z-index: 1;
}

.verdict-inner {
  background: var(--bg2);
  border: 1px solid rgba(0,201,167,0.25);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: 0 8px 40px rgba(0,201,167,0.08);
  transition: transform var(--trans), box-shadow var(--trans);
}

.verdict-inner:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 48px rgba(0,201,167,0.15);
}

.verdict-score {
  text-align: center;
  flex-shrink: 0;
}

.vd-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent