/* ==========================================================================
   Mine Code Craft — studio site
   Dark, modern, single-page. Purple accent (#7c4dff), Quicksand.
   ========================================================================== */
:root {
  --bg: #0d0a17;
  --bg-soft: #141026;
  --card: #1a1430;
  --card-border: #2a2348;
  --accent: #8b5cf6;
  --accent-2: #6d28d9;
  --accent-soft: rgba(139, 92, 246, 0.12);
  --text: #ECE9F5;
  --text-muted: #aaa3c4;
  --text-dim: #7d7799;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
  --font: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }

/* ---- NAV ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 10, 23, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-size: 13px; font-weight: 700; letter-spacing: -1px;
}
.brand-name { font-size: 17px; letter-spacing: 0.2px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 15px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% -10%, rgba(139, 92, 246, 0.22), transparent 70%),
    radial-gradient(40% 60% at 85% 20%, rgba(45, 212, 191, 0.10), transparent 70%);
}
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); padding: 6px 14px; border: 1px solid var(--accent-soft);
  border-radius: 100px; background: var(--accent-soft); margin-bottom: 26px;
}
.hero-title { font-size: clamp(34px, 6vw, 60px); font-weight: 700; line-height: 1.1; letter-spacing: -1px; }
.hero-sub {
  max-width: 620px; margin: 26px auto 0;
  font-size: clamp(16px, 2.2vw, 19px); color: var(--text-muted); font-weight: 400;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; font-family: var(--font);
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s;
  cursor: pointer; border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 10px 28px -10px rgba(139, 92, 246, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(139, 92, 246, 0.7); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--card-border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---- SECTIONS ---- */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-soft); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
.section-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-title { font-size: clamp(26px, 4vw, 38px); font-weight: 700; line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 12px; }

/* ---- PRODUCTS ---- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 44px; }
.product-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 32px; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 24px 50px -24px rgba(139, 92, 246, 0.4); }
.product-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.product-icon {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 28px;
}
.product-icon--moon { background: linear-gradient(135deg, #6d28d9, #2563eb); color: #fff; }
.product-icon--calc { background: linear-gradient(135deg, #0d9488, #2dd4bf); color: #fff; }
.product-head h3 { font-size: 22px; font-weight: 700; }
.product-tag { font-size: 13px; color: var(--text-dim); font-weight: 500; }
.product-desc { color: var(--text-muted); font-size: 15.5px; margin-bottom: 22px; }
.product-desc em { color: var(--text); font-style: italic; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-sm);
  background: var(--accent-soft); border: 1px solid var(--card-border);
  font-size: 14px; font-weight: 600; color: var(--text); transition: all 0.18s;
}
.store-badge:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.store-badge--soon { opacity: 0.55; cursor: default; }
.store-badge--soon:hover { transform: none; border-color: var(--card-border); color: var(--text); }

/* ---- STUDIO ---- */
.studio-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.studio-text p { color: var(--text-muted); font-size: 16px; margin-bottom: 18px; }
.studio-points { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.studio-points li {
  position: relative; padding-left: 30px; color: var(--text-muted); font-size: 15.5px;
}
.studio-points li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 6px; background: var(--accent-soft);
  color: var(--accent); font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.studio-points strong { color: var(--text); }

/* ---- CONTACT ---- */
.contact-block { text-align: center; max-width: 640px; margin: 0 auto; }
.contact-sub { color: var(--text-muted); font-size: 17px; margin-bottom: 32px; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
.footer { border-top: 1px solid var(--card-border); padding: 48px 0 32px; background: var(--bg-soft); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer-inner .brand-mark { margin-right: 8px; vertical-align: middle; }
.footer-note { color: var(--text-dim); font-size: 13.5px; margin-top: 10px; max-width: 320px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 14.5px; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--card-border); color: var(--text-dim); font-size: 13.5px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 820px) {
  .studio-grid { grid-template-columns: 1fr; gap: 24px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 14px; }
  .section { padding: 64px 0; }
  .hero { padding: 80px 0 64px; }
}
@media (max-width: 520px) {
  .brand-name { display: none; }
  .nav-links a:first-child { display: none; }
  .product-card { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 24px; }
}
