/* ================================================
   epok.css — Base variables & dark theme overrides
   ================================================ */

:root {
  --epok-dark: #0a0a0a;
  --epok-card: #111111;
  --epok-card-hover: #161616;
  --epok-border: #222222;
  --epok-text: #e0e0e0;
  --epok-muted: #888888;

  /* Venture accents */
  --cloud-accent: #00d4ff;
  --cloud-accent-rgb: 0, 212, 255;
  --play-accent: #ff006e;
  --play-accent-rgb: 255, 0, 110;
  --move-accent: #38b000;
  --move-accent-rgb: 56, 176, 0;
}

/* ── Dark theme overrides ── */
[data-md-color-scheme="slate"] {
  --md-default-bg-color: var(--epok-dark);
  --md-default-fg-color: var(--epok-text);
  --md-primary-fg-color: #000000;
  --md-typeset-a-color: var(--cloud-accent);
  --md-code-bg-color: #161616;
}

/* ── Global body ── */
body {
  background-color: var(--epok-dark);
}

/* ── Typography ── */
.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  color: #ffffff;
  font-weight: 700;
}

/* ── Product hero layout ── */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 55vh;
  margin: 2rem 0 4rem;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--epok-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ── Venture badge ── */
.venture-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.venture-badge.cloud {
  background: rgba(0, 212, 255, 0.12);
  color: var(--cloud-accent);
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.venture-badge.play {
  background: rgba(255, 0, 110, 0.12);
  color: var(--play-accent);
  border: 1px solid rgba(255, 0, 110, 0.3);
}

.venture-badge.move {
  background: rgba(56, 176, 0, 0.12);
  color: var(--move-accent);
  border: 1px solid rgba(56, 176, 0, 0.3);
}

/* ── Buttons ── */
.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background: var(--accent, var(--cloud-accent));
  color: #000 !important;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(var(--accent-rgb, 0, 212, 255), 0.35);
  opacity: 0.9;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background: transparent;
  color: var(--epok-text) !important;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--epok-border);
  text-decoration: none !important;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
}

/* ── Stats bar ── */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 2rem 3rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid var(--epok-border);
  margin-top: 4rem;
  flex-wrap: wrap;
}

.stats-bar div {
  text-align: center;
}

.stats-bar strong {
  display: block;
  font-size: 2rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
}

.stats-bar span {
  font-size: 0.85rem;
  color: var(--epok-muted);
  margin-top: 0.25rem;
  display: block;
}

/* ── Feature grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature {
  background: var(--epok-card);
  border: 1px solid var(--epok-border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s, background 0.2s;
}

.feature:hover {
  border-color: #333;
  background: var(--epok-card-hover);
}

.feature .icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.feature h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #fff;
}

.feature p {
  font-size: 0.9rem;
  color: var(--epok-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Code window ── */
.code-window {
  background: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  border: 1px solid #2d2d2d;
}

.window-header {
  background: #2d2d2d;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid #333;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red    { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green  { background: #27c93f; }

.window-header .title {
  margin-left: auto;
  font-size: 0.78rem;
  color: #666;
  font-family: 'Fira Code', monospace;
}

.code-window pre {
  margin: 0 !important;
  padding: 1.5rem !important;
  background: #1e1e1e !important;
  color: #d4d4d4 !important;
  font-family: 'Fira Code', monospace;
  font-size: 0.875rem;
  line-height: 1.7;
  border-radius: 0 !important;
}

/* ── AMI grid / cards ── */
.ami-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.ami-card {
  background: var(--epok-card);
  border: 1px solid var(--epok-border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.25s ease;
}

.ami-card.featured {
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.04);
}

.ami-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.4);
}

.ami-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.ami-header h3 {
  margin: 0;
  font-size: 1rem;
  color: #fff;
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.15);
  color: var(--cloud-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge.popular {
  background: rgba(0, 212, 255, 0.2);
  color: var(--cloud-accent);
}

.ami-card p {
  font-size: 0.875rem;
  color: var(--epok-muted);
  margin: 0 0 1rem;
  line-height: 1.6;
}

.ami-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: #555;
  font-family: monospace;
  margin-bottom: 1.25rem;
}

.btn-launch {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  background: rgba(0, 212, 255, 0.1);
  color: var(--cloud-accent) !important;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  text-decoration: none !important;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.btn-launch:hover {
  background: rgba(0, 212, 255, 0.2);
  transform: translateY(-1px);
}

/* ── Phone frame mockup ── */
.phone-frame {
  width: 260px;
  margin: 0 auto;
  background: #1a1a1a;
  border-radius: 36px;
  border: 3px solid #333;
  padding: 16px 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  position: relative;
}

.phone-frame::before {
  content: '';
  display: block;
  width: 60px;
  height: 8px;
  background: #333;
  border-radius: 4px;
  margin: 0 auto 12px;
}

.screen {
  background: #111;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 9/19;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.phone-content {
  text-align: center;
  color: #fff;
}

.game-preview-label {
  font-size: 0.7rem;
  color: var(--play-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.game-preview-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.game-preview-score {
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 0.5rem;
}

.game-preview-level {
  font-size: 0.75rem;
  color: var(--play-accent);
  margin-top: 0.25rem;
}

/* ── App preview (fitness) ── */
.app-preview {
  max-width: 300px;
  margin: 0 auto;
}

.workout-card {
  background: linear-gradient(135deg, #1a2a1a, #0d1a0d);
  border: 1px solid rgba(56, 176, 0, 0.3);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(56, 176, 0, 0.05);
}

.workout-card .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--move-accent);
  display: block;
  margin-bottom: 0.5rem;
}

.workout-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
}

.progress-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--move-accent);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--move-accent);
  margin: 0 auto 1rem;
  box-shadow: 0 0 20px rgba(56, 176, 0, 0.2);
}

.workout-meta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.75rem;
}

/* ── Trust badges ── */
.trust-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.trust-badges span {
  font-size: 0.8rem;
  color: var(--epok-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--epok-border);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

/* ── Game spotlight ── */
.game-spotlight {
  background: var(--epok-card);
  border: 1px solid var(--epok-border);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
}

.game-spotlight h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 1rem;
}

.game-spotlight ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.game-spotlight ul li {
  padding: 0.4rem 0;
  color: var(--epok-muted);
  font-size: 0.9rem;
}

.game-spotlight .stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.game-spotlight .stats div {
  text-align: center;
}

.game-spotlight .stats strong {
  display: block;
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700;
}

.game-spotlight .stats span {
  font-size: 0.8rem;
  color: var(--epok-muted);
}

/* ── Labs cards ── */
.labs-card .badge {
  margin-top: 0.75rem;
  display: inline-block;
  background: rgba(255,255,255,0.06);
  color: #aaa;
}

/* ── Footer - Cursor-style layout ── */
.md-footer {
  background: var(--epok-card);
  border-top: 1px solid var(--epok-border);
}

.md-footer-custom {
  padding: 3rem 0;
}

.md-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.md-footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
}

.md-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.md-footer-col ul li {
  margin-bottom: 0.6rem;
}

.md-footer-col ul li a {
  color: var(--epok-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.md-footer-col ul li a svg {
  fill: currentColor;
  flex-shrink: 0;
}

.md-footer-col ul li a:hover {
  color: #fff;
}

.md-footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.md-footer-social-links a {
  color: var(--epok-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.md-footer-social-links a:hover {
  color: #fff;
}

.md-footer-social-links svg {
  fill: currentColor;
}

.md-footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--epok-border);
}

.md-footer-copyright {
  color: var(--epok-muted);
  font-size: 0.8rem;
}

/* Hide default Material footer */
.md-footer-nav,
.md-footer-meta {
  display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .md-footer-custom {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .md-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0;
  }
  .md-footer-bottom {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .md-footer-custom {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .md-footer-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .md-footer-bottom {
    padding: 0;
  }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .product-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
  }

  .stats-bar {
    gap: 2rem;
    padding: 1.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .ami-grid {
    grid-template-columns: 1fr;
  }

  .cta-group {
    flex-direction: column;
  }
}

/* ── Contact form ── */
.contact-form {
  max-width: 500px;
  margin: 1.5rem 0;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--epok-text);
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--epok-text);
  background: var(--epok-card);
  border: 1px solid var(--epok-border);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cloud-accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--epok-muted);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  margin-top: 0.5rem;
}
