/* ========================================
   THOR Page - Clean stylesheet
   Design: chain-mockups option 4 colors everywhere
   Palette: #1a1d42 (dark bg), #232654 (card), #262974 (brand)
   ======================================== */

:root {
  --thor: #262974;
  --thor-dark: #1a1d42;
  --thor-card: #232654;
  --thor-accent: #6c63ff;
  --thor-accent2: #a78bfa;
  --thor-text: #e2e8f0;
  --thor-muted: #94a3b8;
}

/* ---- Header ---- */
.thor-header,
.thor-header.scrolled {
  background: rgba(26, 29, 66, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: none;
}

.thor-header.scrolled {
  box-shadow: 0 1px 0 rgba(108, 99, 255, 0.1);
}

.thor-header .logo,
.thor-header.scrolled .logo { color: #fff; }
.thor-header .logo span,
.thor-header.scrolled .logo span { color: var(--thor-accent2); }

.thor-header .nav-links a,
.thor-header.scrolled .nav-links a { color: var(--thor-muted); }
.thor-header .nav-links a:hover,
.thor-header .nav-links a.active,
.thor-header.scrolled .nav-links a:hover { color: #fff; }

.thor-header .lang-switch,
.thor-header.scrolled .lang-switch { color: var(--thor-muted); }
.thor-header .lang-switch:hover,
.thor-header.scrolled .lang-switch:hover { color: #fff; background: rgba(255,255,255,0.08); }

.thor-header .btn-primary {
  background: var(--thor-accent);
  color: #fff;
}
.thor-header .btn-primary:hover {
  background: #5a52e0;
  box-shadow: 0 0 20px rgba(108, 99, 255, 0.4);
}

.thor-header .hamburger span,
.thor-header.scrolled .hamburger span { background: #fff; }

/* ---- Buttons ---- */
.thor-btn-white {
  background: #fff;
  color: var(--thor-dark);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.thor-btn-white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.thor-btn-outline {
  background: transparent;
  color: var(--thor-muted);
  border: 2px solid rgba(108, 99, 255, 0.3);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.thor-btn-outline:hover {
  border-color: var(--thor-accent);
  color: #fff;
}

/* ---- Label ---- */
.thor-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--thor-accent2);
  opacity: 0.7;
  margin-bottom: 16px;
}

/* ========================================
   MINI HERO
   ======================================== */
.thor-hero-mini {
  background: linear-gradient(180deg, #0f1129 0%, var(--thor-dark) 100%);
  padding: 160px 0 80px;
  text-align: center;
}

.thor-hero-logo {
  height: clamp(48px, 7vw, 72px);
  width: auto;
  display: block;
  margin: 0 auto 20px;
}

.thor-hero-mini p {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--thor-muted);
  margin-bottom: 28px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   CHAIN CARDS
   ======================================== */
.thor-chain {
  background: linear-gradient(180deg, var(--thor-dark) 0%, #131537 100%);
  padding: 140px 0 80px;
}

.thor-chain-header {
  text-align: center;
  margin-bottom: 48px;
}

.thor-chain-logo {
  height: 56px;
  width: auto;
  margin: 0 auto 24px;
  display: block;
}

.thor-chain-header h2 {
  color: var(--thor-text);
  font-weight: 300;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.thor-chain-header > p {
  color: var(--thor-muted);
  max-width: 500px;
  margin: 0 auto;
  font-size: 0.9rem;
}

.thor-chain-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  gap: 16px;
}

.thor-chain-card {
  width: 270px;
  padding: 36px 28px;
  background: var(--thor-card);
  border-radius: 20px;
  border: 1px solid rgba(108, 99, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  cursor: default;
}

.thor-chain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(135deg, #6c63ff, #a78bfa, #38bdf8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.thor-chain-card:hover::before {
  transform: scaleX(1);
}

.thor-chain-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.step-num {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #6c63ff, #a78bfa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
}

.thor-chain-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--thor-text);
}

.thor-chain-card p {
  font-size: 0.78rem;
  color: var(--thor-muted);
  line-height: 1.6;
}

/* ========================================
   ANALYSIS SECTION
   ======================================== */
.thor-analysis {
  background: linear-gradient(180deg, #131537 0%, #0f1129 100%);
  color: var(--thor-text);
  padding: 100px 0;
}

.thor-analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.thor-analysis h2 {
  color: var(--thor-text);
  margin-bottom: 16px;
}

.thor-analysis p {
  color: var(--thor-muted);
}

.thor-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.thor-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--thor-text);
}

.thor-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(108, 99, 255, 0.15);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%236c63ff' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Mock dashboard */
.thor-mock {
  background: var(--thor-card);
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.3);
  overflow: hidden;
  border: 1px solid rgba(108, 99, 255, 0.15);
}

.thor-mock-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--thor-dark);
  border-bottom: 1px solid rgba(108, 99, 255, 0.1);
}

.thor-mock-logo {
  height: 18px;
  width: auto;
}

.thor-mock-search {
  flex: 1;
  padding: 6px 12px;
  background: rgba(108, 99, 255, 0.08);
  border: 1px solid rgba(108, 99, 255, 0.12);
  border-radius: 6px;
  color: var(--thor-muted);
  font-size: 0.75rem;
}

.thor-mock-body { padding: 20px; }

.thor-mock-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.thor-mock-header strong {
  display: block;
  font-size: 0.95rem;
  color: var(--thor-text);
}

.thor-mock-header small { font-size: 0.7rem; color: var(--thor-muted); }

.thor-mock-score { text-align: right; }

.thor-mock-score-num {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6c63ff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
}

.thor-mock-score small {
  font-size: 0.65rem;
  color: var(--thor-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.thor-mock-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.thor-mock-metric {
  padding: 12px;
  background: rgba(108, 99, 255, 0.06);
  border-radius: 10px;
  text-align: center;
}

.thor-mock-metric strong { display: block; font-size: 1rem; color: var(--thor-text); }
.thor-mock-metric small { font-size: 0.65rem; color: var(--thor-muted); }

.thor-mock-chart {
  height: 80px;
  background: rgba(108, 99, 255, 0.04);
  border-radius: 10px;
  position: relative;
  padding: 10px;
}

.thor-mock-chart small { font-size: 0.65rem; font-weight: 600; color: var(--thor-muted); }

.thor-mock-chart-line {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40'%3E%3Cpath d='M0,30 Q50,35 80,22 T160,18 T240,8 T320,12 T400,3' fill='none' stroke='%236c63ff' stroke-width='2'/%3E%3Cpath d='M0,30 Q50,35 80,22 T160,18 T240,8 T320,12 T400,3 L400,40 L0,40 Z' fill='rgba(108,99,255,0.06)'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
}

.thor-mock-badge {
  margin-top: 14px;
  padding: 5px 10px;
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: 4px;
  font-size: 0.6rem;
  color: var(--thor-muted);
  display: inline-block;
}

/* ========================================
   CTA
   ======================================== */
.thor-cta {
  background: linear-gradient(180deg, #0f1129 0%, var(--thor-dark) 100%);
  text-align: center;
  padding: 100px 0;
}

.thor-cta h2 { color: var(--thor-text); font-weight: 300; font-size: 1.8rem; margin-bottom: 16px; }
.thor-cta p { color: var(--thor-muted); max-width: 500px; margin: 0 auto 36px; }

.thor-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   DARK FOOTER
   ======================================== */
.thor-footer {
  background: #0d0f27;
  border-top: 1px solid rgba(108, 99, 255, 0.08);
  padding: 60px 0 30px;
  color: var(--thor-muted);
}

.thor-footer .logo { color: #fff; display: inline-block; margin-bottom: 12px; font-size: 1.5rem; font-weight: 800; }
.thor-footer .logo span { color: var(--thor-accent2); }

.thor-footer p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  max-width: 300px;
}

.thor-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.thor-footer h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--thor-text);
  margin-bottom: 16px;
}

.thor-footer ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thor-footer ul li,
.thor-footer ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s;
}

.thor-footer ul a:hover { color: var(--thor-accent); }

.thor-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.thor-footer-bottom a { color: rgba(255,255,255,0.3); }
.thor-footer-bottom a:hover { color: var(--thor-accent); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .thor-analysis-grid { grid-template-columns: 1fr; gap: 40px; }
  .thor-chain-card { width: calc(50% - 16px); }
}

@media (max-width: 768px) {
  .thor-hero-mini { padding: 120px 0 60px; }
  .thor-chain-card { width: 100%; max-width: 400px; }
  .thor-mock-metrics { grid-template-columns: 1fr; }
  .thor-cta-buttons { flex-direction: column; align-items: center; }
  .thor-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .thor-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
