/* GemmaCure Landing Page Styles */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:        #0a0f1a;
  --bg-alt:    #0d1526;
  --border:    rgba(88,166,255,.15);
  --blue:      #58a6ff;
  --purple:    #7c3aed;
  --cyan:      #06b6d4;
  --green:     #10b981;
  --text:      #e2e8f0;
  --muted:     #8b949e;
  --card-bg:   rgba(22,38,62,.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── CONTAINER ──────────────────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,15,26,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 60px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.logo-pill { font-size: 20px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .2s;
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(124,58,237,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(124,58,237,.4); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-nav {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s;
}
.btn-nav:hover { opacity: .85; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-xl { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-badge {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: .75;
  margin-top: 1px;
}

/* ── HAMBURGER / MOBILE MENU ────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--border);
  background: rgba(10,15,26,.96);
}
.mobile-menu a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 0; }
.mobile-menu a:hover { color: var(--text); }
.mobile-menu.open { display: flex; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .btn-nav   { display: none; }
  .hamburger { display: flex; }
}

/* ── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(88,166,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88,166,255,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.glow-blue   { background: rgba(88,166,255,.12); top: -100px; left: -100px; }
.glow-purple { background: rgba(124,58,237,.12); top: 50%; right: -100px; }

.hero .container { position: relative; z-index: 1; }

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(88,166,255,.12);
  border: 1px solid rgba(88,166,255,.25);
  color: var(--blue);
}
.badge-green { background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.25); color: var(--green); }
.badge-orange { background: rgba(251,146,60,.12); border-color: rgba(251,146,60,.25); color: #fb923c; }

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 50%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 18px; color: var(--muted); max-width: 600px; margin-bottom: 28px; }

.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--muted);
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 60px; }

/* ── MOCK SCREENSHOT ────────────────────────────────────────────────────── */
.hero-screenshot { max-width: 780px; }
.screenshot-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0d1526;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.screenshot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #161f30;
  border-bottom: 1px solid var(--border);
}
.screenshot-bar .dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }
.url-bar {
  margin-left: 8px;
  font-size: 12px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
}
.screenshot-body { padding: 0; }
.mock-game { display: flex; min-height: 220px; }
.mock-sidebar {
  width: 180px;
  flex-shrink: 0;
  padding: 16px 12px;
  border-right: 1px solid var(--border);
  background: rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-nav-item {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--muted);
  cursor: default;
}
.mock-nav-item.active {
  background: rgba(88,166,255,.12);
  color: var(--blue);
}
.mock-content { flex: 1; padding: 20px; }
.mock-target-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.mock-protein-viz {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}
.protein-orb {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan), var(--purple));
  animation: pulse 2s ease-in-out infinite;
}
.protein-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(88,166,255,.3);
  animation: spin 4s linear infinite;
}
.r1 { inset: 10px; animation-duration: 4s; }
.r2 { inset: 4px;  animation-duration: 6s; animation-direction: reverse; }
.r3 { inset: 0;    animation-duration: 8s; }
@keyframes pulse { 0%,100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes spin  { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.mock-info { flex: 1; }
.mock-tag { font-size: 12px; color: var(--cyan); margin-bottom: 6px; }
.mock-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.mock-smiles {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  background: rgba(0,0,0,.3);
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  word-break: break-all;
}
.mock-score { display: flex; gap: 8px; flex-wrap: wrap; }
.score-item {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.score-item.good { background: rgba(16,185,129,.15); color: var(--green); }
.score-item.warn { background: rgba(251,146,60,.15); color: #fb923c; }

/* ── SECTIONS ───────────────────────────────────────────────────────────── */
.section     { padding: 80px 0; }
.section-alt { padding: 80px 0; background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.section-sub   { font-size: 16px; color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ── OSS BANNER ─────────────────────────────────────────────────────────── */
.oss-banner { padding: 32px 0; background: rgba(22,38,62,.4); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.oss-inner  { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.oss-text h2 { font-size: 20px; margin-bottom: 6px; }
.oss-text p  { font-size: 14px; color: var(--muted); max-width: 500px; }
.oss-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.oss-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.25);
  color: var(--green);
}

/* ── REQUIREMENT CARDS ──────────────────────────────────────────────────── */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.req-card {
  padding: 28px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: border-color .2s;
}
.req-card:hover { border-color: var(--blue); }
.req-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.req-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.req-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; }
.req-detail  { margin-top: 12px; font-size: 12px; color: var(--blue); font-family: 'JetBrains Mono', monospace; }

/* ── FEATURES GRID ──────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.feature-large { grid-column: span 1; }
.feature-icon { font-size: 32px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; }
.feature-tag { margin-top: 14px; font-size: 11px; color: var(--cyan); font-family: 'JetBrains Mono', monospace; }

@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

/* ── HOW IT WORKS ───────────────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; max-width: 720px; margin: 0 auto; }
.step {
  display: flex;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-number {
  font-size: 48px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(88,166,255,.2);
  flex-shrink: 0;
  width: 72px;
  line-height: 1;
}
.step-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.step-content p  { font-size: 15px; color: var(--muted); }
.step-content code { background: rgba(88,166,255,.1); color: var(--blue); padding: 2px 6px; border-radius: 4px; font-family: 'JetBrains Mono', monospace; font-size: 13px; }

/* ── COMPARISON TABLE ───────────────────────────────────────────────────── */
.comparison-table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
th { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
th.col-bad  { color: #ef4444; }
th.col-good { color: var(--green); }
tr:hover td { background: rgba(88,166,255,.04); }
td:first-child { color: var(--muted); }

/* ── TARGET CATEGORIES ──────────────────────────────────────────────────── */
.target-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.target-cat {
  padding: 24px 20px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  text-align: center;
}
.target-cat-icon { font-size: 32px; margin-bottom: 8px; }
.target-cat-name { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.target-cat-items { font-size: 12px; color: var(--muted); line-height: 1.7; }

/* ── PRIVACY CARDS ──────────────────────────────────────────────────────── */
.privacy-card {
  padding: 28px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  text-align: center;
}
.privacy-icon { font-size: 36px; margin-bottom: 14px; }
.privacy-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.privacy-card p  { font-size: 14px; color: var(--muted); }

/* ── DISCLAIMER ─────────────────────────────────────────────────────────── */
.disclaimer-section { background: rgba(239,68,68,.03); }
.disclaimer-box {
  display: flex;
  gap: 24px;
  padding: 36px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid rgba(239,68,68,.2);
}
.disclaimer-icon { font-size: 36px; flex-shrink: 0; padding-top: 4px; }
.disclaimer-lead { font-size: 15px; margin-bottom: 28px; line-height: 1.7; }
.disclaimer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.disclaimer-item { display: flex; gap: 14px; }
.disclaimer-item-icon { font-size: 22px; flex-shrink: 0; padding-top: 2px; }
.disclaimer-item strong { display: block; margin-bottom: 4px; font-size: 14px; }
.disclaimer-item p { font-size: 13px; color: var(--muted); }
.disclaimer-footer { font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 20px; line-height: 1.7; }

@media (max-width: 680px) {
  .disclaimer-box { flex-direction: column; }
  .disclaimer-grid { grid-template-columns: 1fr; }
}

/* ── DOWNLOAD SECTION ───────────────────────────────────────────────────── */
.download-section { position: relative; overflow: hidden; }
.download-box {
  text-align: center;
  padding: 60px 40px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.download-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 24px; }
.download-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.download-note {
  font-size: 13px;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 20px;
  padding: 14px 18px;
  background: rgba(88,166,255,.06);
  border-radius: 8px;
  border: 1px solid var(--border);
  text-align: left;
}
.download-note code { background: rgba(88,166,255,.1); color: var(--blue); padding: 2px 6px; border-radius: 4px; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.download-alt { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.download-alt a { color: var(--blue); }
.system-reqs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 600px;
  margin: 0 auto;
}
.sys-req {
  flex: 1;
  min-width: 110px;
  padding: 14px 16px;
  border-right: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
}
.sys-req:last-child { border-right: none; }
.sys-req-label { display: block; font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }

/* ── CONTACT ────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info p { font-size: 15px; color: var(--muted); margin-bottom: 24px; }
.contact-links { display: flex; flex-direction: column; gap: 12px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: border-color .2s, color .2s;
}
.contact-link:hover { border-color: var(--blue); color: var(--blue); }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--blue); }
.form-row select option { background: #161f30; }
.form-status { font-size: 14px; min-height: 20px; }
.form-status.ok  { color: var(--green); }
.form-status.err { color: #ef4444; }

@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  background: #060b14;
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; }
.footer-tagline { font-size: 14px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-credits, .footer-disclaimer, .footer-trademark {
  font-size: 12px; color: var(--muted); max-width: 680px; line-height: 1.7;
}
.footer-credits a { color: var(--blue); }
.footer-copy { font-size: 12px; color: rgba(139,148,158,.5); }

/* ── REVEAL ANIMATION ───────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero  { padding: 60px 0 50px; }
  .step  { flex-direction: column; gap: 8px; }
  .step-number { font-size: 32px; width: auto; }
  .mock-sidebar { display: none; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .section { padding: 56px 0; }
  .section-alt { padding: 56px 0; }
  .download-box { padding: 36px 20px; }
}
