/* AI Reviewer Club - Vanilla CSS (converted from React/Tailwind) */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --background: 220 25% 6%;
  --foreground: 210 40% 92%;
  --card: 220 22% 10%;
  --card-foreground: 210 40% 92%;
  --popover: 220 22% 10%;
  --popover-foreground: 210 40% 92%;
  --primary: 170 80% 50%;
  --primary-foreground: 220 25% 6%;
  --secondary: 220 20% 16%;
  --secondary-foreground: 210 40% 85%;
  --muted: 220 18% 14%;
  --muted-foreground: 215 15% 55%;
  --accent: 160 70% 42%;
  --accent-foreground: 220 25% 6%;
  --destructive: 0 72% 55%;
  --border: 220 18% 18%;
  --input: 220 18% 18%;
  --ring: 170 80% 50%;
  --radius: 0.75rem;
  --glow: 170 80% 50%;
  --glow-emerald: 160 70% 42%;
  --surface-elevated: 220 22% 12%;
  --text-dim: 215 12% 45%;
}

* {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

body {
  margin: 0;
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, hsl(170 80% 55%), hsl(160 70% 50%), hsl(190 80% 55%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-text {
  text-shadow: 0 0 20px hsl(170 80% 50% / 0.4), 0 0 40px hsl(170 80% 50% / 0.15);
}

.glass-surface {
  background: hsl(220 22% 10% / 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid hsl(220 18% 20% / 0.5);
}

.glow-border {
  box-shadow: 0 0 15px hsl(170 80% 50% / 0.15), inset 0 0 15px hsl(170 80% 50% / 0.05);
}

/* Ticker animation */
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-ticker {
  animation: ticker-scroll 30s linear infinite;
}

/* Fade up */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fade-up 0.6s ease-out forwards;
}

.hidden {
  display: none !important;
}

/* Float animation for hero icons */
@keyframes float-up {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes float-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(15px); }
}

.hero-float-up {
  animation: float-up 4s ease-in-out infinite;
}

.hero-float-down {
  animation: float-down 5s ease-in-out infinite;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsl(220 22% 10% / 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid hsl(220 18% 20% / 0.5);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding: 0 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.navbar-logo-box {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
}

.navbar-brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.navbar-brand-text .muted {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  margin-left: 0.25rem;
}

.navbar-desktop {
  display: none;
}

@media (min-width: 768px) {
  .navbar-desktop {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
}

.navbar-desktop a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.navbar-desktop a:hover {
  color: hsl(var(--primary));
}

.navbar-mobile-btn {
  display: flex;
  padding: 0.5rem;
  background: none;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
}

@media (min-width: 768px) {
  .navbar-mobile-btn {
    display: none;
  }
}

.navbar-mobile-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.navbar-mobile-menu {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s;
  background: hsl(220 22% 10% / 0.7);
  backdrop-filter: blur(16px);
  border-top: 1px solid hsl(var(--border));
}

.navbar-mobile-menu.is-open {
  max-height: 280px;
  opacity: 1;
}

.navbar-mobile-menu .inner {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.navbar-mobile-menu a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.navbar-mobile-menu a:hover {
  color: hsl(var(--primary));
}

/* ========== MAIN / HERO ========== */
.main-wrap {
  padding-top: 4rem;
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: hsl(220 25% 6% / 0.7);
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsl(220 25% 6% / 0.4), transparent 40%, hsl(220 25% 6%));
}

.hero-float-icon {
  position: absolute;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
  box-shadow: 0 0 15px hsl(170 80% 50% / 0.15);
}

.hero-float-icon.left {
  left: 10%;
  top: 30%;
}

.hero-float-icon.right {
  right: 12%;
  top: 35%;
  width: 3.5rem;
  height: 3.5rem;
  background: hsl(var(--accent) / 0.1);
  border-color: hsl(var(--accent) / 0.2);
}

.hero-float-icon svg {
  width: 2rem;
  height: 2rem;
  color: hsl(var(--primary));
}

.hero-float-icon.right svg {
  color: hsl(var(--accent));
  width: 1.75rem;
  height: 1.75rem;
}

@media (max-width: 1023px) {
  .hero-float-icon {
    display: none;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

@media (min-width: 768px) {
  .hero p {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 10px 15px -3px hsl(var(--primary) / 0.25);
}

.btn-primary:hover {
  background: hsl(var(--primary) / 0.9);
}

.btn-outline {
  background: transparent;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
}

.btn-outline:hover {
  background: hsl(var(--secondary));
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* ========== TICKER ========== */
.ticker-wrap {
  background: hsl(var(--secondary) / 0.5);
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
  overflow: hidden;
  padding: 0.75rem 0;
}

.ticker-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
}

.ticker-item span:first-child {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.ticker-item span:last-child {
  font-size: 0.875rem;
  font-family: ui-monospace, monospace;
  color: hsl(var(--primary));
}

/* ========== SECTIONS ========== */
.section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

.section-head p {
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto;
}

/* ========== AI TOOLS TABLE ========== */
.tools-table-wrap {
  overflow-x: auto;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
}

.tools-table {
  width: 100%;
  border-collapse: collapse;
}

.tools-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
  padding: 1rem 1.5rem;
  background: hsl(var(--secondary) / 0.5);
  border-bottom: 1px solid hsl(var(--border));
}

.tools-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
  font-size: 0.875rem;
}

.tools-table tbody tr:last-child td {
  border-bottom: none;
}

.tools-table tbody tr:hover {
  background: hsl(var(--secondary) / 0.3);
}

.tools-table .rank {
  color: hsl(var(--muted-foreground));
  font-family: ui-monospace, monospace;
}

.tools-table .name {
  font-weight: 600;
  color: hsl(var(--foreground));
}

.tools-table .category {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / 0.2);
}

.tools-table .rating-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.tools-table .rating-stars svg {
  width: 0.875rem;
  height: 0.875rem;
}

.tools-table .rating-stars svg.filled {
  fill: hsl(var(--primary));
  color: hsl(var(--primary));
}

.tools-table .rating-stars svg.empty {
  color: hsl(var(--muted-foreground) / 0.3);
}

.tools-table .rating-num {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-left: 0.25rem;
}

.tools-table .link-btn {
  background: none;
  border: none;
  color: hsl(var(--primary));
  cursor: pointer;
  padding: 0.25rem;
  display: inline-flex;
  transition: color 0.2s;
  text-decoration: none;
}

.tools-table .link-btn:hover {
  color: hsl(var(--primary) / 0.8);
}

.tools-table .link-btn svg {
  width: 1rem;
  height: 1rem;
}

/* ========== TRADING CONTENT (FEATURES GRID) ========== */
.trading-section {
  background: hsl(var(--secondary) / 0.2);
}

.features-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  transition: border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: hsl(var(--primary) / 0.3);
  box-shadow: 0 0 15px hsl(170 80% 50% / 0.15);
}

.feature-card .icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.2s;
}

.feature-card:hover .icon-wrap {
  background: hsl(var(--primary) / 0.2);
}

.feature-card .icon-wrap svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: hsl(var(--foreground));
}

.feature-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin: 0;
}

/* Extended content blocks */
.content-blocks {
  margin-top: 4rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.content-block {
  padding: 2rem;
  border-radius: 0.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  margin-bottom: 1.5rem;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: hsl(var(--foreground));
}

.content-block p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin: 0 0 1rem;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.content-block strong {
  color: hsl(var(--foreground));
}

/* ========== FOOTER ========== */
.footer {
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.5);
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.footer-brand .logo-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-brand .logo-box {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
}

.footer-brand .logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
}

.footer-brand p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin: 0;
}

.footer h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: 0 0 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.footer ul a:hover {
  color: hsl(var(--primary));
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

.footer-bottom .disclaimer {
  color: hsl(var(--text-dim));
}
