/* Matlock — Official Monochrome Iceberg Design System */
:root {
  --bg-primary: #0b0f17;
  --bg-card: #131b2a;
  --bg-card-hover: #172338;
  --bg-secondary: #0f172a;
  --border-color: #1e293b;
  --border-focus: #38bdf8;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-cyan: #38bdf8;
  --accent-blue: #0284c7;
  --accent-red: #f43f5e;
  --accent-green: #10b981;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: Consolas, 'Fira Code', 'Roboto Mono', Monaco, monospace;
  --container-max: 1160px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.85;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(11, 15, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-main);
}

.lang-select {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  outline: none;
}

.lang-select:focus {
  border-color: var(--border-focus);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:hover {
  background-color: #0369a1;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-focus);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.trust-pill {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge-link img {
  height: 52px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-badge-link:hover img {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Statistics Strip */
.stats-strip {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
  margin: 40px 0 80px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 60px 0;
}

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

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Comparison Split Card */
.split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.card-hazard, .card-remedy {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--border-color);
}

.card-hazard {
  border-top: 4px solid var(--accent-red);
}

.card-remedy {
  border-top: 4px solid var(--accent-green);
}

.split-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.split-card-list {
  list-style: none;
}

.split-card-list li {
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}

.card-hazard .split-card-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--accent-red);
  font-weight: bold;
}

.card-remedy .split-card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: bold;
}

/* Supported Stacks Grid */
.stacks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.stack-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 24px;
  transition: transform 0.2s, border-color 0.2s;
}

.stack-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-focus);
}

.stack-name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.stack-detail {
  font-size: 13px;
  color: var(--text-muted);
}

/* Pricing Card */
.pricing-wrap {
  max-width: 540px;
  margin: 0 auto;
}

.pricing-card {
  background: linear-gradient(180deg, #131b2a 0%, #0d131f 100%);
  border: 2px solid var(--accent-blue);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(2, 132, 199, 0.2);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-box {
  margin: 24px 0 16px;
}

.price-amount {
  font-size: 52px;
  font-weight: 800;
  color: var(--text-main);
}

.price-period {
  font-size: 16px;
  color: var(--text-muted);
}

.price-was {
  text-decoration: line-through;
  color: var(--text-dim);
  font-size: 18px;
  margin-left: 8px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 28px 0;
  padding: 0 12px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: "✓";
  color: var(--accent-green);
  font-weight: bold;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 48px 0 32px;
  margin-top: 80px;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-main);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 34px;
  }
  .split-card {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
