/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:          #f8f8f4;
  --bg-card:     #ffffff;
  --accent:      #2563eb;
  --accent-light:#eff6ff;
  --accent-border:#bfdbfe;
  --text-primary:#111111;
  --text-secondary:#666666;
  --text-muted:  #888888;
  --text-dim:    #aaaaaa;
  --border:      #e8e8e0;
  --dark-bg:     #111111;
  --green:       #16a34a;
  --amber:       #d97706;
  --shadow-blue: rgba(37, 99, 235, 0.12);
  --font:        -apple-system, 'SF Pro Display', 'Segoe UI', sans-serif;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-pill: 100px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent);
}
.section-rule {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 56px;
}
.section-rule::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 48px;
  background: rgba(248, 248, 244, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-logo {
  font-size: 17px; font-weight: 800; letter-spacing: -0.5px;
  color: var(--text-primary); transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.7; }
.nav-logo .dot { color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 13px; color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-highlight { color: var(--accent) !important; font-weight: 700; }

/* ── Mobile hamburger ── */
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; padding: 4px;
  background: none; border: none; cursor: pointer;
}
.nav-burger span {
  display: block; height: 2px; width: 22px;
  background: var(--text-primary); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile drawer ── */
.nav-drawer {
  display: none;
  position: fixed; inset: 0; z-index: 99;
  background: rgba(248,248,244,0.97);
  backdrop-filter: blur(12px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 36px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.nav-drawer.open {
  opacity: 1; pointer-events: all;
}
.nav-drawer a {
  font-size: 28px; font-weight: 800; letter-spacing: -0.5px;
  color: var(--text-primary); transition: color 0.2s;
}
.nav-drawer a:hover { color: var(--accent); }
.nav-drawer .nav-highlight { color: var(--accent) !important; }
.nav-back {
  font-size: 13px; color: var(--text-muted);
  transition: color 0.2s;
}
.nav-back:hover { color: var(--accent); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatBlob {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%       { transform: translate(-50%, -54%) scale(1.06); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}
.fade-up-1 { opacity: 0; animation: fadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards; }
.fade-up-2 { opacity: 0; animation: fadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards; }
.fade-up-3 { opacity: 0; animation: fadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.31s forwards; }
.fade-up-4 { opacity: 0; animation: fadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.44s forwards; }
.fade-up-5 { opacity: 0; animation: fadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.57s forwards; }
.fade-up-6 { opacity: 0; animation: fadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.70s forwards; }

/* Scroll-reveal — JS adds .visible */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 140px 48px 80px;
  position: relative; overflow: hidden;
}
.hero-blob {
  position: absolute; left: 50%; top: 50%;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(37,99,235,0.09) 0%, transparent 60%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: floatBlob 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-blob-2 {
  position: absolute; left: 65%; top: 25%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, transparent 65%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: floatBlob 11s ease-in-out 2s infinite reverse;
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(56px, 8vw, 110px);
  font-weight: 800; letter-spacing: -4px; line-height: 1.0;
  color: var(--text-primary); margin-bottom: 28px;
}
.hero-title .line { display: block; }
.hero-accent { color: var(--accent); }
.hero-subtitle {
  font-size: 18px; color: var(--text-secondary); max-width: 480px;
  line-height: 1.75; margin: 0 auto 44px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text-primary); color: white;
  padding: 16px 32px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  width: fit-content;
}
.hero-cta:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,99,235,0.35);
}

/* ============================================================
   HERO — FLOATING PROJECT CARDS
   ============================================================ */
.hero-cards {
  position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden;
}
.hero-card-float {
  pointer-events: all;
}
.hero-card-float {
  position: absolute;
  background: white; border-radius: 18px;
  border: 1px solid rgba(37,99,235,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 4px 16px rgba(37,99,235,0.06);
  padding: 18px 20px; width: 200px;
  display: flex; flex-direction: column; gap: 8px;
  animation: floatCard 6s ease-in-out infinite;
  opacity: 0.85;
  text-decoration: none; color: inherit;
  cursor: pointer;
  transition: opacity 0.4s ease;
}
.hero-card-float.fading { opacity: 0 !important; }
.hero-card-float:hover {
  opacity: 1;
  box-shadow: 0 24px 70px rgba(0,0,0,0.13), 0 6px 20px rgba(37,99,235,0.13);
  border-color: rgba(37,99,235,0.3);
}
.hero-card-float:nth-child(1) { left: 4%; top: 22%; animation-delay: 0s; }
.hero-card-float:nth-child(2) { left: 2%; bottom: 22%; animation-delay: -2s; }
.hero-card-float:nth-child(3) { right: 4%; top: 18%; animation-delay: -1s; }
.hero-card-float:nth-child(4) { right: 2%; bottom: 26%; animation-delay: -3s; }
.hero-card-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent-light); display: flex; align-items: center;
  justify-content: center; font-size: 18px; flex-shrink: 0;
}
.hero-card-title { font-size: 12px; font-weight: 700; color: var(--text-primary); }
.hero-card-sub { font-size: 10px; color: var(--text-muted); font-weight: 500; }
.hero-card-bar { height: 4px; background: var(--border); border-radius: 2px; margin-top: 2px; }
.hero-card-bar-fill { height: 100%; border-radius: 2px; background: var(--accent); }
@keyframes floatCard {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-14px) rotate(0.5deg); }
}
.hero-card-float:nth-child(even) {
  animation-name: floatCardRight;
}
@keyframes floatCardRight {
  0%, 100% { transform: translateY(0px) rotate(1deg); }
  50%       { transform: translateY(-10px) rotate(-0.5deg); }
}

/* ============================================================
   ABOUT STRIP
   ============================================================ */
.about-strip {
  background: var(--dark-bg); color: white;
  padding: 80px 48px;
  display: flex; align-items: center; gap: 80px;
}
.about-name {
  font-size: 44px; font-weight: 800; letter-spacing: -1.5px;
  white-space: nowrap; line-height: 1.1; flex-shrink: 0;
}
.about-name span { color: var(--accent); }
.about-body p {
  font-size: 15px; color: #999; line-height: 1.8;
  max-width: 480px; margin-bottom: 24px;
}
.about-contacts {
  display: flex; flex-direction: column; gap: 12px;
}
.about-contact-item {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; color: #ccc;
  transition: color 0.2s;
}
.about-contact-item:hover { color: #fff; }
.about-contact-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: #555; width: 44px; flex-shrink: 0;
}
.about-nav {
  display: flex; flex-direction: column; gap: 14px;
  margin-left: auto; flex-shrink: 0;
}
.about-nav-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: #555; margin-bottom: 4px;
}
.about-nav a {
  font-size: 14px; font-weight: 600; color: #999;
  transition: color 0.2s;
}
.about-nav a:hover { color: #fff; }

/* ============================================================
   IDEAS MODAL
   ============================================================ */
.ideas-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.ideas-overlay.active {
  opacity: 1; pointer-events: all;
}
.ideas-modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%; max-width: 480px;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.3s ease;
  box-shadow: 0 32px 80px rgba(0,0,0,0.18);
}
.ideas-overlay.active .ideas-modal {
  transform: translateY(0);
}
.ideas-close {
  position: absolute; top: 16px; right: 20px;
  font-size: 16px; color: var(--text-muted);
  transition: color 0.2s;
}
.ideas-close:hover { color: var(--text-primary); }
.ideas-modal-eyebrow {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent); margin-bottom: 12px;
}
.ideas-modal-title {
  font-size: 24px; font-weight: 800; letter-spacing: -0.5px;
  line-height: 1.2; margin-bottom: 10px; color: var(--text-primary);
}
.ideas-modal-sub {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: 24px;
}
.ideas-form {
  display: flex; flex-direction: column; gap: 12px;
}
.ideas-input, .ideas-textarea {
  width: 100%; font-family: var(--font); font-size: 14px;
  background: var(--bg-card); color: var(--text-primary);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 14px 16px; outline: none; resize: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ideas-input:focus, .ideas-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}
.ideas-input::placeholder, .ideas-textarea::placeholder { color: var(--text-dim); }
.ideas-submit {
  align-self: flex-start;
  background: var(--text-primary); color: white;
  font-size: 14px; font-weight: 700;
  padding: 14px 28px; border-radius: var(--radius-pill);
  transition: opacity 0.2s;
}
.ideas-submit:hover { opacity: 0.75; }
.ideas-submit:disabled { opacity: 0.45; cursor: not-allowed; }
.ideas-thanks {
  flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 32px; background: var(--accent-light);
  border: 1px solid var(--accent-border); border-radius: var(--radius-lg);
}
.ideas-thanks-icon { font-size: 32px; }
.ideas-thanks-title { font-size: 18px; font-weight: 800; color: var(--text-primary); }
.ideas-thanks-sub { font-size: 14px; color: var(--text-secondary); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 28px 48px;
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-dim);
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline-section {
  padding: 80px 48px 120px;
}
.timeline {
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute; left: 72px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, var(--accent) 0%, var(--border) 100%);
}

.timeline-item {
  display: flex; gap: 0; position: relative;
  scroll-margin-top: 100px;
}

/* Week column */
.week-col {
  width: 72px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center;
  padding-top: 30px; position: relative;
}
.week-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--bg);
  position: absolute; left: 50%; top: 30px;
  transform: translateX(-50%); z-index: 3;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.week-badge {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--accent);
  background: var(--accent-light); border: 1px solid var(--accent-border);
  border-radius: var(--radius-pill); padding: 4px 10px;
  white-space: nowrap; position: relative; z-index: 2;
  margin-top: 24px;
}
.week-badge.featured {
  background: var(--accent); color: white; border-color: var(--accent);
}

/* Project card */
.project-card {
  flex: 1; margin-left: 28px; margin-bottom: 40px;
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 26px 30px;
  display: flex; gap: 20px; align-items: flex-start;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.project-card:hover {
  box-shadow: 0 12px 40px var(--shadow-blue);
  transform: translateY(-3px);
  border-color: var(--accent-border);
}
.project-card.featured {
  border-color: var(--accent-border);
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
}
.project-card:hover .card-icon { background: var(--accent); }
.project-card:hover .card-icon-emoji { filter: brightness(10); }
.project-card:hover .card-arrow { color: var(--accent); transform: translate(3px, -3px); }

.card-icon {
  width: 54px; height: 54px; border-radius: 13px;
  background: var(--accent-light); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s;
}
.card-icon.featured { background: var(--accent); }
.card-icon-emoji {
  font-size: 26px;
  transition: filter 0.25s;
}
.card-body { flex: 1; min-width: 0; }
.card-category {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--accent); margin-bottom: 5px;
}
.card-name {
  font-size: 20px; font-weight: 800; letter-spacing: -0.5px;
  color: var(--text-primary); margin-bottom: 6px;
}
.card-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.55;
  margin-bottom: 14px;
}
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.card-tag {
  font-size: 10px; font-weight: 600; padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-light); color: var(--accent);
}
.card-right {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 12px; flex-shrink: 0;
}
.card-arrow {
  font-size: 20px; color: var(--border);
  transition: color 0.2s, transform 0.2s;
}
.card-votes {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text-muted);
}
.vote-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); animation: pulse 2s infinite; flex-shrink: 0;
}
.vote-num { font-weight: 700; color: var(--text-primary); font-size: 14px; }

/* Coming-soon teaser card */
.coming-card { display: flex; align-items: flex-start; }
.coming-inner {
  flex: 1; margin-left: 28px; margin-bottom: 40px;
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 2px dashed var(--border);
  padding: 22px 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.coming-live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--amber);
}
.coming-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
  animation: pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
.coming-teaser {
  font-size: 16px; font-weight: 700; color: var(--text-secondary);
  transition: opacity 0.3s ease;
}
.coming-week-dot { background: var(--border); }
.coming-week-badge { color: var(--text-dim); border-color: var(--border); background: transparent; }

/* ============================================================
   DETAIL PAGE — HERO BAND
   ============================================================ */
.detail-hero {
  padding: 140px 48px 56px;
  background: linear-gradient(160deg, var(--bg) 0%, var(--accent-light) 100%);
  border-bottom: 1px solid #e0e8ff;
}
.detail-week-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-light); border: 1px solid var(--accent-border);
  border-radius: var(--radius-pill); padding: 5px 14px;
  display: inline-block; margin-bottom: 24px;
}
.detail-header { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 24px; }
.detail-icon {
  width: 72px; height: 72px; border-radius: 18px;
  background: var(--accent); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; box-shadow: 0 8px 24px rgba(37,99,235,0.25);
}
.detail-category {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--accent); margin-bottom: 6px;
}
.detail-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.0; color: var(--text-primary);
}
.detail-tagline {
  font-size: 17px; color: var(--text-secondary);
  line-height: 1.65; max-width: 580px; margin-bottom: 28px;
}
.meta-row { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-label {
  font-size: 9px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-dim);
}
.meta-value { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.meta-value.live          { color: var(--green); }
.meta-value.beta-testing  { color: var(--accent); }
.meta-value.personal-use  { color: var(--amber); }
.meta-value.prototype     { color: var(--text-muted); }
.meta-value.in-progress { color: var(--amber); }
.meta-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.meta-tag {
  font-size: 11px; font-weight: 600; padding: 4px 11px;
  border-radius: var(--radius-pill); background: var(--accent-light); color: var(--accent);
}

/* ============================================================
   DETAIL PAGE — VOTE BAR
   ============================================================ */
.vote-bar {
  display: flex; align-items: center; gap: 24px;
  padding: 22px 48px; background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.vote-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: white;
  border-radius: var(--radius-pill); padding: 13px 26px;
  font-size: 14px; font-weight: 700;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(37,99,235,0.25);
  white-space: nowrap;
}
.vote-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.35); }
.vote-btn:active { transform: scale(0.97); }
.vote-btn.voted { background: var(--green); box-shadow: 0 4px 16px rgba(22,163,74,0.25); }
.vote-count-wrap { display: flex; flex-direction: column; gap: 2px; }
.vote-count { font-size: 30px; font-weight: 800; letter-spacing: -1px; color: var(--text-primary); line-height: 1; }
.vote-live { display: flex; align-items: center; gap: 5px; }
.vote-live-dot-green {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); animation: pulse 2s infinite; flex-shrink: 0;
}
.vote-live-label { font-size: 11px; color: var(--text-dim); }
.vote-context {
  font-size: 12px; color: #999; line-height: 1.65; max-width: 280px;
  border-left: 2px solid #e0e8ff; padding-left: 16px; margin-left: auto;
}
.vote-context strong { color: var(--text-primary); font-weight: 600; }

/* ============================================================
   DETAIL PAGE — MOCKUP FRAME
   ============================================================ */
.mockup-section { padding: 48px 48px 0; }
.mockup-frame {
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 1px solid #e0e8ff; overflow: hidden;
  box-shadow: 0 24px 64px var(--shadow-blue);
}
.mockup-titlebar {
  background: #f0f4ff; border-bottom: 1px solid #e0e8ff;
  padding: 12px 20px; display: flex; align-items: center; gap: 7px;
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-label { font-size: 11px; color: var(--text-dim); margin-left: 8px; }
.mockup-body {
  min-height: 320px; background: #0e1117;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
}
.mockup-body p { font-size: 13px; color: #555; }
.mockup-body small { font-size: 11px; color: var(--accent); }

/* ============================================================
   DETAIL PAGE — CONTENT BLOCKS
   ============================================================ */
.content-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  padding: 40px 48px;
}
.content-block {
  background: var(--bg-card); border-radius: var(--radius-md);
  padding: 28px; border: 1px solid var(--border);
}
.content-block h3 {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--accent); margin-bottom: 14px;
}
.content-block p { font-size: 14px; color: var(--text-secondary); line-height: 1.75; }
.content-block ul { padding-left: 16px; }
.content-block li {
  font-size: 14px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 4px;
}

/* ============================================================
   DETAIL PAGE — SKILLS & STACK
   ============================================================ */
.skills-section { padding: 0 48px 56px; }
.skills-divider {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.skills-divider span {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--text-dim); white-space: nowrap;
}
.skills-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.skills-card {
  background: var(--bg-card); border-radius: var(--radius-md);
  padding: 24px; border: 1px solid var(--border);
}
.skills-card h4 {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-dim); margin-bottom: 14px;
}
.skill-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; padding: 5px 11px;
  border-radius: 7px; margin: 3px;
}
.skill-tag.confident {
  background: var(--accent-light); color: var(--accent); border: 1px solid var(--accent-border);
}
.skill-tag.learning {
  background: #fef9ec; color: var(--amber); border: 1px solid #fde68a;
}
.skill-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.skill-dot.confident { background: var(--accent); }
.skill-dot.learning  { background: var(--amber); }
.skill-legend {
  font-size: 10px; color: var(--text-dim); margin-top: 12px;
  display: flex; gap: 14px; align-items: center;
}
.skill-legend span { display: flex; align-items: center; gap: 5px; }
.complexity-bar { margin-bottom: 14px; }
.complexity-bar:last-child { margin-bottom: 0; }
.complexity-label {
  font-size: 11px; color: var(--text-muted); margin-bottom: 6px;
  display: flex; justify-content: space-between;
}
.complexity-label strong { font-weight: 700; }
.bar-track { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 3px; }
.bar-fill.amber { background: var(--amber); }

/* ============================================================
   DETAIL PAGE — PREV/NEXT
   ============================================================ */
.detail-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 36px 48px; border-top: 1px solid var(--border);
}
.detail-nav-btn { display: flex; flex-direction: column; gap: 4px; }
.detail-nav-btn:hover { opacity: 0.65; }
.detail-nav-direction {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-dim);
}
.detail-nav-name { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.detail-nav-btn.next { text-align: right; }

/* ============================================================
   RESPONSIVE — TABLET (< 900px)
   ============================================================ */
@media (max-width: 900px) {
  .content-grid  { grid-template-columns: 1fr; }
  .skills-grid   { grid-template-columns: 1fr; }
  .about-strip   { flex-direction: column; gap: 32px; }
  .about-nav     { margin-left: 0; }
}

/* ============================================================
   RESPONSIVE — MOBILE (< 768px)
   ============================================================ */
@media (max-width: 768px) {
  .nav          { padding: 16px 20px; }
  .nav-links    { display: none; }
  .nav-burger   { display: flex; }
  .nav-drawer   { display: flex; }

  /* Hero — hide floating cards, centre text */
  .hero         { padding: 100px 20px 60px; text-align: center; }
  .hero-cards   { display: none; }
  .hero-title   { font-size: clamp(40px, 11vw, 64px); letter-spacing: -2px; }
  .hero-subtitle { font-size: 15px; }
  .hero-cta     { margin: 0 auto; }

  /* Timeline */
  .timeline-section { padding: 48px 20px 80px; }
  .timeline::before { display: none; }
  .week-col     { display: none; }
  .project-card { margin-left: 0; padding: 20px 16px; }
  .card-desc    { display: none; }
  .card-name    { font-size: 17px; }

  /* Vote bar — stack vertically */
  .vote-bar     { flex-direction: column; align-items: flex-start; padding: 20px; gap: 16px; }
  .vote-count   { font-size: 24px; }
  .vote-context {
    margin-left: 0; max-width: 100%;
    border-left: none; padding-left: 0;
    border-top: 1px solid var(--border); padding-top: 12px;
  }

  /* Detail pages */
  .detail-hero  { padding: 100px 20px 40px; }
  .detail-week-badge { font-size: 11px; }
  .detail-title { font-size: clamp(32px, 9vw, 48px); }
  .detail-icon  { width: 52px; height: 52px; font-size: 24px; border-radius: 14px; }
  .detail-tagline { font-size: 14px; }
  .meta-row     { flex-wrap: wrap; gap: 12px; }
  .meta-item    { min-width: calc(50% - 6px); }
  .mockup-section { padding: 24px 20px 0; }
  .mockup-titlebar { padding: 10px 14px; }
  .mockup-frame iframe { height: 280px; }
  .content-grid   { padding: 20px; gap: 12px; }
  .content-block  { padding: 20px; }
  .skills-section { padding: 0 20px 40px; }
  .skills-card    { padding: 18px; }
  .detail-nav     { padding: 24px 20px; flex-direction: column; gap: 20px; }
  .detail-nav-btn.next { text-align: left; }

  /* Ideas modal */
  .ideas-modal       { padding: 28px 20px; }
  .ideas-modal-title { font-size: 20px; }

  /* About strip */
  .about-strip  { padding: 56px 20px; flex-direction: column; gap: 40px; }
  .about-name   { font-size: 32px; }
  .about-nav    { margin-left: 0; }

  /* Leaderboard */
  .lb-hero      { padding: 100px 20px 40px; }
  .lb-hero-title { font-size: clamp(28px, 8vw, 40px); }
  .lb-stats     { padding: 0 20px 40px; flex-direction: column; }
  .lb-stat      { padding: 20px; }
  .lb-stat-value { font-size: 28px; }
  .lb-section   { padding: 0 20px 60px; }
  .lb-bar-wrap  { display: none; }
  .lb-row       { padding: 14px 16px; gap: 12px; }
  .lb-name      { font-size: 14px; }

  /* About page */
  .about-page         { padding: 100px 20px 60px; }
  .about-page-title   { font-size: clamp(36px, 10vw, 52px); }
  .about-section p    { font-size: 15px; }

  .footer       { padding: 20px; flex-direction: column; gap: 8px; text-align: center; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (< 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-title    { font-size: clamp(36px, 12vw, 52px); }
  .detail-header { flex-direction: column; }
  .vote-btn      { padding: 12px 18px; font-size: 13px; }
  .card-name     { font-size: 16px; }
  .card-arrow    { display: none; }
  .lb-vote-num   { font-size: 20px; }
  .lb-icon       { width: 40px; height: 40px; font-size: 18px; }
}

/* ============================================================
   IDEAS FAB — shared across all pages
   ============================================================ */
.ideas-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 95;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(37,99,235,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.ideas-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.38);
  color: #fff;
}
@media (max-width: 600px) {
  .ideas-fab span { display: none; }
  .ideas-fab { padding: 14px; font-size: 18px; }
}
