﻿/* Tensormesh — main.css */

:root {
  --bg: #0a0814;
  --surface: #110d20;
  --surface-alt: #160e28;
  --text: #e8eaf0;
  --text-muted: #8892a4;
  --accent: #8b5cf6;
  --accent-dark: #6d3fd4;
  --border: rgba(139,92,246,0.15);
  --border-muted: rgba(255,255,255,0.06);
  --radius: 12px;
  --gap: 2.5em;
  --sidebar-w: 0px;
  --funding-bar-h: 0px;
  --nav-height: 4.5em;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--bg) !important;
  color: var(--text);
  font-family: 'Inter', 'Exo 2', 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.9;
  overflow-x: hidden;
}

/* Global image rule */
img { max-width: 100%; height: auto; display: block; }
.img-wrap { overflow: hidden; width: 100%; }
.img-wrap img { width: 100%; object-fit: cover; }

/* Typography */
h1 { font-size: 3.6rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.6rem; font-weight: 600; line-height: 1.4; }
h4 { font-size: 1.1rem; font-weight: 600; line-height: 1.5; }
p, li { font-size: 1.1rem; line-height: 1.9; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #a78bfa; }

/* Container */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2em; }

/* Grid */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3em; align-items: center; }

/* ==================== FUNDING BAR ==================== */
#funding-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--accent);
  color: #fff !important;
  width: 100%;
  padding: 0.55em 3em 0.55em 1.5em;
  font-size: 0.82em;
  letter-spacing: 0.04em;
  box-sizing: border-box;
  text-align: center;
  z-index: 10001;
}
#funding-bar a { color: #fff !important; text-decoration: none; display: block; width: 100%; }
#funding-bar a:hover { color: rgba(255,255,255,0.9) !important; }

/* ==================== NAVIGATION ==================== */
#site-nav {
  position: fixed !important;
  top: var(--funding-bar-h, 0px) !important;
  left: 0 !important; right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: rgba(10, 8, 20, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border) !important;
  box-sizing: border-box !important;
  transition: top 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2em;
  display: flex;
  align-items: center;
  min-height: var(--nav-height);
}

.site-logo { flex-shrink: 0; display: flex; align-items: center; }
.site-logo svg { display: block; }

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  gap: 0;
}

.nav-menu li a {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  padding: 0 1.2em;
  color: rgba(255,255,255,0.75) !important;
  font-size: 15px !important;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-menu li a:hover,
.nav-menu li.active a { color: #ffffff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 0.5em;
  background: none; border: none;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px; transition: all 0.3s;
}

/* Page content offset */
.page-content {
  padding-top: calc(var(--nav-height) + var(--funding-bar-h, 0px));
}
.page-content-sub {
  padding-top: var(--nav-height);
}

/* ==================== HERO ==================== */
.hero-section {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: var(--bg);
  background-image: url('../images/hero-main.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0,0,0,0.55) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0,0,0,0.55) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
  pointer-events: none;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}

.hero-section > * { position: relative; z-index: 2; }
.hero-section .container { position: relative; z-index: 2; }

.hero-content { max-width: 680px; }
.hero-content .badge {
  display: inline-block;
  background: rgba(139,92,246,0.2);
  border: 1px solid rgba(139,92,246,0.4);
  color: #a78bfa;
  font-size: 0.82rem;
  padding: 0.35em 1em;
  border-radius: 100px;
  margin-bottom: 1.5em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1 { color: var(--text); margin-bottom: 1rem; }
.hero-content h1 span { color: var(--accent); }
.hero-content p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2rem;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8em 2em;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(139,92,246,0.5);
}
.btn-outline:hover {
  background: rgba(139,92,246,0.1);
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}

/* Hero SVG Placeholder */
.hero-visual {
  position: relative;
  flex-shrink: 0;
}
.hero-visual img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-width: 520px;
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 6em 0;
}
.section-alt {
  background: var(--surface);
}
.section-title {
  text-align: center;
  margin-bottom: 3em;
}
.section-title h2 { margin-bottom: 0.5em; }
.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75em;
}

/* ==================== STATS BAR ==================== */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5em 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
  text-align: center;
}
.stat-item .stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3em;
}
.stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==================== CARDS ==================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius);
  padding: 2em;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover {
  border-color: rgba(139,92,246,0.4);
  transform: translateY(-4px);
}
.card-icon {
  width: 56px; height: 56px;
  margin-bottom: 1.2em;
  display: flex; align-items: center; justify-content: center;
}
.card-icon img { width: 48px; height: 48px; object-fit: contain; }
.card h3 { margin-bottom: 0.6em; font-size: 1.3rem; }
.card p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; }

/* ==================== TWO-COLUMN FEATURE BLOCKS ==================== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4em;
  align-items: center;
  margin-bottom: 6em;
}
.feature-block:last-child { margin-bottom: 0; }
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }

.feature-text .feature-icon-row {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: 1.2em;
}
.feature-text .feature-icon-row img {
  width: 48px; height: 48px; object-fit: contain;
}
.feature-text h3 { font-size: 2rem; margin-bottom: 0.8em; }
.feature-text p { color: var(--text-muted); margin-bottom: 1.2em; }
.feature-text ul { list-style: none; padding: 0; }
.feature-text ul li {
  color: var(--text-muted);
  padding: 0.4em 0;
  padding-left: 1.4em;
  position: relative;
  font-size: 1rem;
}
.feature-text ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.75em;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.feature-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 2em;
}
.feature-visual img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
}

/* ==================== BLOG CARDS ==================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2em;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: rgba(139,92,246,0.4);
  transform: translateY(-4px);
}
.blog-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-alt);
}
.blog-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }
.blog-card-body {
  padding: 1.5em;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.6em;
  display: flex;
  gap: 1em;
  align-items: center;
}
.blog-card-meta .tag {
  background: rgba(139,92,246,0.15);
  color: var(--accent);
  padding: 0.2em 0.7em;
  border-radius: 100px;
  font-size: 0.78rem;
}
.blog-card h3 { font-size: 1.2rem; margin-bottom: 0.5em; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { color: var(--text-muted); font-size: 0.95rem; flex: 1; }
.blog-card-read {
  margin-top: 1.2em;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
}
.blog-card.pinned {
  border-color: rgba(139,92,246,0.5);
  background: rgba(139,92,246,0.05);
}
.pinned-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ==================== ARTICLE PAGE ==================== */
.article-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 4em 0 3em;
}
.article-hero .badge {
  display: inline-block;
  background: rgba(139,92,246,0.2);
  color: var(--accent);
  font-size: 0.82rem;
  padding: 0.3em 0.9em;
  border-radius: 100px;
  margin-bottom: 1em;
}
.article-hero h1 {
  font-size: 2.8rem;
  max-width: 840px;
  margin-bottom: 1em;
}
.article-meta {
  display: flex;
  gap: 2em;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.article-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 2.5em;
}
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 840px; margin: 0 auto; }
.article-body h2 { font-size: 2rem; margin: 2em 0 0.8em; }
.article-body h3 { font-size: 1.5rem; margin: 1.5em 0 0.6em; }
.article-body p { margin-bottom: 1.4em; }
.article-body ul, .article-body ol { padding-left: 1.8em; margin-bottom: 1.4em; }
.article-body li { margin-bottom: 0.5em; }
.article-body strong { color: var(--text); }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 1em 1.5em;
  background: var(--surface);
  border-radius: 0 8px 8px 0;
  margin: 2em 0;
  color: rgba(255,255,255,0.85);
  font-style: italic;
}
.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5em;
}
.back-to-blog:hover { color: #a78bfa; }

/* ==================== TEAM CARDS ==================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2em;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border-muted);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  text-align: center;
  padding-bottom: 2em;
}
.team-card:hover {
  border-color: rgba(139,92,246,0.4);
  transform: translateY(-4px);
}
.team-card-avatar {
  aspect-ratio: 1;
  overflow: hidden;
  max-height: 280px;
}
.team-card-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.team-card-body { padding: 1.5em 1.5em 0; }
.team-card h3 { font-size: 1.3rem; margin-bottom: 0.3em; }
.team-card .title {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8em;
}
.team-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ==================== ABOUT PAGE ==================== */
.about-hero {
  min-height: 480px;
  background-image: url('../images/about-hero.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 5em 0;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(139,92,246,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.about-hero > * { position: relative; z-index: 1; }

.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4em;
  align-items: center;
}
.story-img { overflow: hidden; border-radius: var(--radius); }
.story-img img { width: 100%; object-fit: cover; }

.investors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2em;
}
.investor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em;
  text-align: center;
}
.investor-card .investor-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.4em; }
.investor-card .investor-type {
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==================== CONTACT PAGE ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4em;
}
.contact-info h3 { font-size: 1.8rem; margin-bottom: 1.5em; }
.contact-item {
  display: flex;
  gap: 1em;
  margin-bottom: 1.5em;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(139,92,246,0.15);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--accent);
}
.contact-item-text strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.2em;
}
.contact-item-text span { font-size: 1rem; color: var(--text); }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5em; }
.form-group { margin-bottom: 1.5em; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  padding: 0.8em 1em;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 140px; }

/* ==================== LEGAL PAGES ==================== */
.legal-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 4em 0 3em;
}
.legal-hero h1 { font-size: 2.8rem; }
.legal-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 4em 2em;
}
.legal-body h2 { font-size: 1.8rem; margin: 2.5em 0 0.8em; color: var(--text); }
.legal-body h3 { font-size: 1.3rem; margin: 1.8em 0 0.6em; color: var(--text); }
.legal-body p { color: var(--text-muted); margin-bottom: 1.2em; }
.legal-body ul, .legal-body ol { color: var(--text-muted); padding-left: 1.8em; margin-bottom: 1.2em; }
.legal-body li { margin-bottom: 0.5em; }
.legal-body strong { color: var(--text); }
.legal-body a { color: var(--accent); }
.legal-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 2em;
  padding-bottom: 1.5em;
  border-bottom: 1px solid var(--border);
}

/* ==================== FOOTER ==================== */
#footer {
  width: 100%;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 0;
}
#footer .inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3em 4em;
  gap: 3em;
}
#footer .footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0.8em 0 1.5em;
  max-width: 340px;
}
#footer h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.2em;
}
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.6em; }
.footer-nav a { color: var(--text-muted); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--text); }
#footer .footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.2em 4em;
  border-top: 1px solid var(--border-muted);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==================== COOKIE BANNER ==================== */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10003;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.2em 2em;
}
.cookie-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2em;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; }
.cookie-text strong { font-size: 1rem; color: var(--text); }
.cookie-text p { font-size: 0.88rem; color: var(--text-muted); margin: 0.4em 0 0; line-height: 1.6; }
.cookie-text a { color: var(--accent); }
.cookie-buttons { display: flex; gap: 0.8em; flex-shrink: 0; }
#cookie-decline {
  padding: 0.6em 1.4em; border: 1px solid var(--border);
  background: transparent; color: var(--text-muted);
  border-radius: 6px; cursor: pointer; font-size: 0.88rem;
}
#cookie-accept {
  padding: 0.6em 1.4em; background: var(--accent);
  color: #fff; border: none; border-radius: 6px;
  cursor: pointer; font-size: 0.88rem; font-weight: 600;
}
#cookie-decline:hover { border-color: var(--accent); color: var(--text); }
#cookie-accept:hover { background: var(--accent-dark); }

/* ==================== BLOG LISTING SPECIFIC ==================== */
.blog-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 4em 0 3em;
}
.blog-header h1 { margin-bottom: 0.5em; }
.blog-header p { color: var(--text-muted); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .feature-block { grid-template-columns: 1fr; gap: 2em; }
  .feature-block.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .story-section { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.3rem; }
  body { font-size: 16px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-section { min-height: 480px; }
  #footer .inner { grid-template-columns: 1fr; padding: 2em; gap: 2em; }
  #footer .footer-bottom { padding: 1em 2em; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .article-hero h1 { font-size: 2rem; }
  .legal-hero h1 { font-size: 2rem; }
  .legal-body { padding: 2em 1em; }
  .blog-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open { display: flex; flex-direction: column; position: fixed; top: calc(var(--nav-height) + var(--funding-bar-h, 0px)); left: 0; right: 0; background: var(--bg); padding: 1.5em; gap: 0; border-bottom: 1px solid var(--border); z-index: 9998; }
  .nav-menu.open li a { height: auto; padding: 0.8em 0.5em; border-bottom: 1px solid var(--border-muted); }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
}

/* ==================== BACKGROUND ANIMATION (from template) ==================== */
.bg-shapes {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.08;
  animation: shapeFloat 20s ease-in-out infinite;
}
.shape-1 { width: 400px; height: 400px; background: var(--accent); top: -100px; left: -100px; animation-delay: 0s; }
.shape-2 { width: 300px; height: 300px; background: #6d3fd4; top: 50%; right: -50px; animation-delay: -7s; }
.shape-3 { width: 500px; height: 500px; background: var(--accent); bottom: -100px; left: 30%; animation-delay: -14s; }
.shape-4 { width: 200px; height: 200px; background: #a78bfa; top: 20%; left: 60%; animation-delay: -3s; }
.shape-5 { width: 350px; height: 350px; background: #6d3fd4; top: 70%; left: 10%; animation-delay: -10s; }

@keyframes shapeFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* Glitch effect (for headings) */
.glitch {
  position: relative;
  color: var(--text);
}
.glitch::before {
  content: attr(data-text);
  position: absolute;
  left: 2px; top: 0;
  color: var(--accent);
  opacity: 0.3;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

/* ==================== PLATFORM PAGE ==================== */
.platform-hero {
  min-height: 520px;
  background: var(--bg);
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding: 5em 0;
}
.platform-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(139,92,246,0.2) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.platform-hero > * { position: relative; z-index: 1; }

/* Page section overrides for min-height Tooplate fix */
.section { min-height: unset !important; }
