/* ── RASEQUIL · PERFORMANCE HUB · DARK TERMINAL STYLE ── */

:root {
  --bg:         #0e0f0f;
  --bg2:        #131414;
  --panel:      #161818;
  --border:     rgba(255,255,255,0.07);
  --border-h:   rgba(255,255,255,0.14);
  --green:      #39ff6e;
  --green-dim:  rgba(57,255,110,0.08);
  --green-glow: rgba(57,255,110,0.15);
  --white:      #e8e8e6;
  --muted:      #6b6e6b;
  --sub:        #3a3c3a;
  --meta:       #1877F2;
  --meta-dim:   rgba(24,119,242,0.08);
  --google:     #4285F4;
  --google-dim: rgba(66,133,244,0.08);
  --gold: #39ff6e;
  --gold-light: #7fffA0;
  --gold-glow: rgba(57,255,110,0.15);
  --gold-dim: rgba(57,255,110,0.08);
}

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

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ── GRAIN OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── AMBIENT (minimal, only a subtle top glow) ── */
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.ambient-orb { position: absolute; border-radius: 50%; filter: blur(160px); }
.ambient-orb-1 {
  width: 600px; height: 300px;
  background: radial-gradient(circle, rgba(57,255,110,0.06), transparent 70%);
  top: -120px; left: 50%; transform: translateX(-50%);
}
.ambient-orb-2 { display: none; }
.ambient-orb-3 { display: none; }

/* ── LAYOUT ── */
.page {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-height: 100vh;
  padding: 60px 24px;
  gap: 0;
}

/* ── HEADER ── */
.header {
  text-align: center; margin-bottom: 56px;
  animation: fadeDown 0.6s ease both;
}

.logo-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 9px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 22px;
}
.logo-eyebrow::before, .logo-eyebrow::after {
  content: ''; width: 32px; height: 1px;
  background: var(--sub);
}

.logo {
  line-height: 1;
  position: relative; display: flex;
  align-items: center; justify-content: center;
  margin: 0;
}

.logo-img {
  height: clamp(20px, 2.5vw, 28px);
  width: auto;
  display: block;
  mix-blend-mode: screen;
}

.tagline {
  margin-top: 20px; font-size: 13px; font-weight: 400;
  color: var(--muted); letter-spacing: 0.5px; line-height: 1.6;
}
.tagline strong { color: var(--white); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ── DIVIDER ── */
.divider {
  display: flex; align-items: center; gap: 14px;
  width: 100%; max-width: 820px; margin-bottom: 28px;
  animation: fadeUp 0.6s 0.15s ease both;
}
.divider-line { flex: 1; height: 1px; background: var(--sub); opacity: 0.5; }
.divider-label {
  font-size: 8px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--sub); white-space: nowrap;
}

/* ── CARDS GRID ── */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%; max-width: 820px;
  animation: fadeUp 0.6s 0.25s ease both;
}

.card {
  position: relative; overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px 28px 28px;
  cursor: pointer;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 0;
  transition: border-color 0.25s, background 0.25s;
}

.card::before {
  content: ''; position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.35s;
  border-radius: inherit; pointer-events: none;
}
.card-meta::before { background: linear-gradient(135deg, rgba(24,119,242,0.06), transparent 60%); }
.card-google::before { background: linear-gradient(135deg, rgba(66,133,244,0.05), transparent 60%); }

.card:hover { border-color: var(--border-h); background: #1a1c1c; }
.card:hover::before { opacity: 1; }

/* subtle top accent line */
.card::after {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  opacity: 0; transition: opacity 0.3s;
}
.card-meta::after { background: linear-gradient(90deg, transparent, rgba(24,119,242,0.5), transparent); }
.card-google::after { background: linear-gradient(90deg, transparent, rgba(66,133,244,0.5), transparent); }
.card:hover::after { opacity: 1; }

/* Card number label */
.card-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px; position: relative; z-index: 1;
  color: var(--muted);
}
.card-meta .card-badge { color: #4a7fd4; }
.card-google .card-badge { color: #5a8de0; }

.card-badge svg { flex-shrink: 0; }

/* Icon — minimal square */
.card-icon {
  width: 40px; height: 40px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; position: relative; z-index: 1;
  flex-shrink: 0;
}
.card-meta .card-icon {
  background: rgba(24,119,242,0.1);
  border: 1px solid rgba(24,119,242,0.2);
}
.card-google .card-icon {
  background: rgba(66,133,244,0.1);
  border: 1px solid rgba(66,133,244,0.2);
}

.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.3px; line-height: 1.15;
  margin-bottom: 10px; position: relative; z-index: 1;
  color: var(--green);
  text-transform: uppercase;
}

.card-desc {
  font-size: 12px; font-weight: 400;
  color: var(--muted); line-height: 1.7;
  margin-bottom: 24px; flex: 1; position: relative; z-index: 1;
}

/* Feature pills — minimal text tags */
.card-features {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin-bottom: 24px; position: relative; z-index: 1;
}
.pill {
  font-size: 9px; font-weight: 600; letter-spacing: 0.5px;
  padding: 3px 8px; border-radius: 2px;
  background: transparent; border: 1px solid var(--sub);
  color: var(--sub); white-space: nowrap;
  text-transform: uppercase;
}

/* CTA row */
.card-cta {
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.cta-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.card:hover .cta-label { color: var(--white); }

.cta-arrow {
  width: 28px; height: 28px; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: all 0.2s;
  flex-shrink: 0;
  border: 1px solid var(--sub);
}
.card:hover .cta-arrow { color: var(--white); border-color: var(--border-h); transform: translateX(3px); }

/* ── FOOTER ── */
.footer {
  margin-top: 44px; text-align: center;
  animation: fadeUp 0.6s 0.4s ease both;
}
.footer-inner {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  flex-wrap: wrap;
}
.footer-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; color: var(--sub); letter-spacing: 0.5px;
  text-transform: uppercase;
}
.footer-item svg { opacity: 0.4; }
.footer-sep { width: 2px; height: 2px; border-radius: 50%; background: var(--sub); opacity: 0.5; }
.footer-copy {
  margin-top: 12px; font-size: 10px; color: var(--sub);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.5px;
}
.footer-copy em { color: var(--green); opacity: 0.8; font-style: normal; }

/* ── ANIMATIONS ── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; max-width: 420px; }
  .header { margin-bottom: 40px; }
  .card { padding: 24px 20px 20px; }
  .card-title { font-size: 18px; }
  .logo { letter-spacing: -2px; }
}
