/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a26;
  --border: #1e1e2e;
  --text: #e4e4ef;
  --text-dim: #8888a0;
  --text-bright: #ffffff;
  --youmind: #6c5ce7;
  --youmind-bg: rgba(108, 92, 231, 0.08);
  --youmind-border: rgba(108, 92, 231, 0.25);
  --vigent: #00cec9;
  --vigent-bg: rgba(0, 206, 201, 0.08);
  --vigent-border: rgba(0, 206, 201, 0.25);
  --accent: #ff6b6b;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: none; }

/* === Nav === */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo span { color: var(--text-dim); font-weight: 400; }

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-bright); }

/* === Hero === */
.hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.brand-youmind { color: var(--youmind); }
.brand-vigent { color: var(--vigent); }

.vs {
  display: inline-block;
  font-size: 0.5em;
  color: var(--text-dim);
  vertical-align: middle;
  margin: 0 0.3em;
  font-weight: 400;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
}

.hero-sub strong { color: var(--text); }

/* === Sections === */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  text-align: center;
}

/* === Overview Cards === */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.3s;
}

.card:hover { border-color: var(--text-dim); }

.card-youmind { border-top: 3px solid var(--youmind); }
.card-vigent { border-top: 3px solid var(--vigent); }

.card-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  color: var(--text-dim);
}

.card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.card-tagline {
  font-style: italic;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.card-stats {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

.card-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.stat-value {
  font-size: 0.85rem;
  font-weight: 600;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s;
}

.card-youmind .card-link { color: var(--youmind); }
.card-vigent .card-link { color: var(--vigent); }
.card-link:hover { opacity: 0.8; }

/* === Comparison Table === */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.comparison-table thead th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
}

.col-youmind { color: var(--youmind); }
.col-vigent { color: var(--vigent); }

.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover { background: rgba(255, 255, 255, 0.015); }

.dim {
  font-weight: 600;
  color: var(--text-bright);
  white-space: nowrap;
  min-width: 160px;
}

.comparison-table td:nth-child(2) { color: var(--text); }
.comparison-table td:nth-child(3) { color: var(--text); }

/* === Pipelines === */
.pipeline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.pipeline {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.pipeline-youmind { border-left: 3px solid var(--youmind); }
.pipeline-vigent { border-left: 3px solid var(--vigent); }

.pipeline h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.pipeline-steps { display: flex; flex-direction: column; gap: 1.25rem; }

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.pipeline-youmind .step-num {
  background: var(--youmind-bg);
  color: var(--youmind);
  border: 1px solid var(--youmind-border);
}

.pipeline-vigent .step-num {
  background: var(--vigent-bg);
  color: var(--vigent);
  border: 1px solid var(--vigent-border);
}

.step-content strong {
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.2rem;
}

.step-content p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* === Philosophy === */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.phil-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.phil-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.phil-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.phil-card blockquote {
  font-style: italic;
  color: var(--text);
  border-left: 3px solid var(--border);
  padding-left: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.phil-attr {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.phil-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.phil-card strong { color: var(--text); }

/* === Market Map === */
.market-map {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.market-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.market-row:last-of-type { border-bottom: none; }

.market-label {
  width: 200px;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
}

.market-items { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.market-tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
}

.highlight-youmind {
  background: var(--youmind-bg);
  border-color: var(--youmind-border);
  color: var(--youmind);
  font-weight: 600;
}

.highlight-vigent {
  background: var(--vigent-bg);
  border-color: var(--vigent-border);
  color: var(--vigent);
  font-weight: 600;
}

.market-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* === Verdict === */
.verdict-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.verdict-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
}

.verdict-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.verdict-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.verdict-card em { color: var(--text); font-style: italic; }
.verdict-card strong { color: var(--text); }

/* === Choose === */
.section-choose { padding-bottom: 6rem; }

.choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.choose-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.choose-youmind { border-top: 3px solid var(--youmind); }
.choose-vigent { border-top: 3px solid var(--vigent); }

.choose-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.choose-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.choose-card li {
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.choose-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--text-dim);
}

.cta-btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}

.cta-youmind {
  background: var(--youmind);
  color: #fff;
}

.cta-vigent {
  background: var(--vigent);
  color: #000;
}

.cta-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* === Footer === */
footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

footer p {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

footer a { color: var(--text); font-weight: 600; }
footer a:hover { color: var(--vigent); }

.footer-note {
  font-size: 0.7rem;
  color: var(--text-dim);
  opacity: 0.6;
}

/* === Responsive === */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 4rem 1.5rem 3rem; }
  .section { padding: 3rem 1.25rem; }
  .overview-grid,
  .pipeline-grid,
  .philosophy-grid,
  .choose-grid { grid-template-columns: 1fr; }
  .verdict-grid { grid-template-columns: 1fr; }
  .market-row { flex-direction: column; gap: 0.5rem; }
  .market-label { width: auto; }
  .card-stats { grid-template-columns: 1fr 1fr; }
}
