/* ==========================================
   PROFESSIONAL DESIGN SYSTEM — COMPACT
   ========================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; transition: all 0.2s; }
img { max-width: 100%; height: auto; display: block; }

/* ==========================================
   LAYOUT
   ========================================== */
.container { max-width: 1400px; margin: 0 auto; padding: 0 64px; }

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
}
.nav.scrolled { box-shadow: none; }
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.nav-brand { display: flex; align-items: center; gap: 8px; font-size: 1.05em; font-weight: 700; list-style: none; }
.nav-brand::before, .nav-brand::after { display: none; content: ''; }
.nav-brand .dot { width: 7px; height: 7px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 50%; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { padding: 6px 14px; font-size: 0.85em; font-weight: 500; color: #666; border-radius: 6px; }
.nav-links a:hover { color: #1a1a2e; background: #f5f5f7; }
.nav-links a.active { color: #667eea; background: rgba(102,126,234,0.08); }
.nav-cta { padding: 7px 18px !important; background: linear-gradient(135deg, #667eea, #764ba2) !important; color: #fff !important; font-weight: 600 !important; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(102,126,234,0.35) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #1a1a2e; margin: 4px 0; border-radius: 2px; }

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative; padding: 36px 0 28px; margin-top: 56px;
  background: linear-gradient(160deg, #0f0c29, #302b63, #24243e);
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -40%; right: -15%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(102,126,234,0.3), transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: ''; position: absolute; bottom: -25%; left: -8%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(118,75,162,0.25), transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px; font-size: 0.75em; font-weight: 500; color: rgba(255,255,255,0.85);
  margin-bottom: 14px; backdrop-filter: blur(10px);
}
.hero-badge .pulse { width: 7px; height: 7px; background: #4ade80; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.3)} }
.hero h1 { font-size: 2.2em; font-weight: 800; line-height: 1.15; margin-bottom: 10px; letter-spacing: -0.02em; }
.hero h1 .gradient { background: linear-gradient(135deg, #667eea, #a78bfa, #f472b6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero .subtitle { font-size: 0.88em; color: rgba(255,255,255,0.7); max-width: 700px; margin: 0 auto 20px; line-height: 1.4; }
.hero-actions { display: flex; gap: 12px; justify-content: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff; border-radius: 10px; font-size: 0.9em; font-weight: 600;
  border: none; cursor: pointer; transition: all 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(102,126,234,0.4); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; border-radius: 10px; font-size: 0.9em; font-weight: 600; transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

/* ==========================================
   STATS BAR
   ========================================== */
.stats-bar { background: #fff; border-bottom: 1px solid #eee; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 18px 16px; border-right: 1px solid #f0f0f0; }
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: #fafbff; }
.stat-number {
  display: block; font-size: 2em; font-weight: 800;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1.1;
}
.stat-label { display: block; font-size: 0.8em; color: #888; margin-top: 4px; font-weight: 500; }

/* ==========================================
   WHY SECTION
   ========================================== */
.why { background: #f8f9fc; padding: 32px 0; }
.why .section-header { text-align: center; margin-bottom: 20px; }
.why .section-header .overline, .categories .section-header .overline, .faq .section-header .overline {
  display: inline-block; font-size: 0.75em; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: #667eea; margin-bottom: 8px;
}
.why .section-header h2, .categories .section-header h2, .faq .section-header h2 {
  font-size: 1.8em; font-weight: 800; color: #1a1a2e; letter-spacing: -0.02em;
}
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.why-card { background: #fff; border-radius: 14px; padding: 18px 16px; border: 1px solid #eee; transition: all 0.25s; }
.why-card:hover { border-color: #667eea; box-shadow: 0 8px 30px rgba(102,126,234,0.08); transform: translateY(-3px); }
.why-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(102,126,234,0.1), rgba(118,75,162,0.1));
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.3em; margin-bottom: 14px;
}
.why-card h3 { font-size: 1.05em; font-weight: 700; margin-bottom: 6px; color: #1a1a2e; }
.why-card p { color: #666; font-size: 0.88em; line-height: 1.5; }

/* ==========================================
   CATEGORIES SECTION
   ========================================== */
.categories { background: #fff; padding: 32px 0; }
.categories .section-header { text-align: center; margin-bottom: 20px; }
.categories .section-header p { color: #888; font-size: 0.95em; margin-top: 8px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat-card {
  position: relative; background: #fff; border: 1px solid #eee;
  border-radius: 16px; padding: 18px 16px; text-align: center; transition: all 0.3s; overflow: hidden;
  display: block; text-decoration: none; color: inherit; cursor: pointer;
}
.cat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 16px 16px 0 0; }
.cat-card.public::before { background: linear-gradient(90deg, #4ade80, #22c55e); }
.cat-card.testing::before { background: linear-gradient(90deg, #f59e0b, #f97316); }
.cat-card.dev::before { background: linear-gradient(90deg, #667eea, #764ba2); }
.cat-card:hover { border-color: #667eea; box-shadow: 0 12px 40px rgba(102,126,234,0.1); transform: translateY(-4px); }
.cat-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 50px; font-size: 0.72em; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px;
}
.badge-public { background: #dcfce7; color: #16a34a; }
.badge-testing { background: #fef3c7; color: #d97706; }
.badge-dev { background: #ede9fe; color: #7c3aed; }
.cat-card h3 { font-size: 1.15em; font-weight: 700; margin-bottom: 6px; color: #1a1a2e; }
.cat-card p { color: #888; font-size: 0.85em; margin-bottom: 6px; line-height: 1.4; }
.cat-count { font-size: 0.8em; color: #aaa; margin-top: 10px; font-weight: 500; display: block; }

/* ==========================================
   FAQ
   ========================================== */
.faq { background: #f8f9fc; padding: 32px 0; }
.faq .section-header { text-align: center; margin-bottom: 16px; }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid #eee; border-radius: 12px; margin-bottom: 8px; overflow: hidden; transition: all 0.2s; }
.faq-item:hover { border-color: #ddd; }
.faq-item.open { border-color: #667eea; box-shadow: 0 2px 12px rgba(102,126,234,0.06); }
.faq-q {
  width: 100%; padding: 12px 16px; background: none; border: none; text-align: left;
  font-size: 0.95em; font-weight: 600; color: #1a1a2e; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; font-family: inherit;
}
.faq-q:hover { color: #667eea; }
.faq-arrow {
  width: 24px; height: 24px; background: #f5f5f7; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0; font-size: 0.75em; color: #888;
}
.faq-item.open .faq-arrow { background: #667eea; color: #fff; transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 150px; }
.faq-a p { padding: 0 20px 16px; color: #666; font-size: 0.9em; line-height: 1.6; }

/* ==========================================
   NEWSLETTER
   ========================================== */
.newsletter {
  background: linear-gradient(160deg, #0f0c29, #302b63, #24243e);
  color: #fff; text-align: center; padding: 32px 0;
}
.newsletter h2 { font-size: 1.8em; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
.newsletter p { color: rgba(255,255,255,0.65); margin-bottom: 24px; font-size: 0.95em; }
.newsletter-form { display: flex; gap: 10px; justify-content: center; max-width: 420px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; padding: 12px 16px; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 10px;
  font-size: 0.9em; color: #fff; font-family: inherit;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { outline: none; border-color: rgba(255,255,255,0.35); }
.newsletter-form .btn-sub {
  padding: 12px 22px; background: #fff; color: #1a1a2e;
  border: none; border-radius: 10px; font-size: 0.9em; font-weight: 700;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.newsletter-form .btn-sub:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,255,255,0.2); }

/* ==========================================
   HOW IT WORKS
   ========================================== */
.how { background: #fff; padding: 32px 0; }
.how .section-header { text-align: center; margin-bottom: 20px; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-step { text-align: center; padding: 24px 16px; }
.step-num {
  width: 40px; height: 40px; margin: 0 auto 14px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.9em; font-weight: 800;
}
.how-step h3 { font-size: 1em; font-weight: 700; margin-bottom: 6px; color: #1a1a2e; }
.how-step p { color: #666; font-size: 0.85em; line-height: 1.5; }

/* ==========================================
   APP PREVIEWS
   ========================================== */
.previews { background: #f8f9fc; padding: 32px 0; }
.previews .section-header { text-align: center; margin-bottom: 20px; }
.preview-scroll {
  display: flex; gap: 20px; overflow-x: auto; padding-bottom: 12px;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
}
.preview-card {
  flex: 0 0 190px; text-align: center; scroll-snap-align: start;
  text-decoration: none; transition: transform 0.2s;
}
.preview-card:hover { transform: translateY(-4px); }
.preview-card h3 { color: #1a1a2e; }
.preview-card p { color: #888; }
.preview-phone {
  width: 160px; height: 280px; margin: 0 auto 10px;
  border-radius: 20px; overflow: hidden; border: 2px solid #e0e0e0;
  background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.preview-phone img { width: 100%; height: 100%; object-fit: cover; }
.preview-card h3 { font-size: 0.95em; font-weight: 700; margin-bottom: 4px; color: #1a1a2e; }
.preview-card p { color: #888; font-size: 0.8em; }

/* ==========================================
   LIGHTBOX
   ========================================== */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.9); align-items: center; justify-content: center;
  cursor: zoom-out; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; color: #fff; font-size: 2em;
  cursor: pointer; z-index: 10000; line-height: 1;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.15); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 1.5em;
  cursor: pointer; z-index: 10000; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background 0.2s; user-select: none;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }
.lightbox-img {
  max-width: 90vw; max-height: 90vh; border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5); object-fit: contain;
}

/* ==========================================
   TECH STACK
   ========================================== */
.techstack { background: #fff; padding: 32px 0; }
.techstack .section-header { text-align: center; margin-bottom: 20px; }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tech-item {
  text-align: center; padding: 18px 12px;
  background: #f8f9fc; border-radius: 12px; transition: all 0.25s;
}
.tech-item:hover { background: #f0f2ff; transform: translateY(-2px); }
.tech-icon { font-size: 1.8em; margin-bottom: 10px; }
.tech-item h3 { font-size: 0.95em; font-weight: 700; margin-bottom: 4px; color: #1a1a2e; }
.tech-item p { color: #888; font-size: 0.8em; line-height: 1.4; }

/* ==========================================
   FOOTER
   ========================================== */
.footer { background: linear-gradient(160deg, #0f0c29, #302b63, #24243e); color: rgba(255,255,255,0.5); padding: 28px 0 16px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 20px; }
.footer-brand h3 { color: #fff; font-size: 1.05em; font-weight: 700; margin-bottom: 8px; }
.footer-brand p { font-size: 0.85em; line-height: 1.5; }
.footer-col h4 { color: #fff; font-size: 0.82em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 0.85em; padding: 3px 0; color: rgba(255,255,255,0.5); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px;
  display: flex; justify-content: space-between; align-items: center; font-size: 0.8em;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 32px; height: 32px; background: rgba(255,255,255,0.08);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 0.82em; transition: all 0.2s;
}
.footer-social a:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ==========================================
   APP DETAIL PAGE
   ========================================== */
.app-page { margin-top: 56px; padding-top: 12px; padding-bottom: 40px; }
.app-page .back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 8px; color: #888; font-size: 0.85em; font-weight: 500; }
.app-page .back:hover { color: #667eea; }

.app-hero {
  display: flex; align-items: center; gap: 16px; margin-bottom: 12px;
  padding-bottom: 0;
}
.app-hero .icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); flex-shrink: 0; }
.app-hero-info { flex: 1; }
.app-hero-info h2 { font-size: 1.8em; font-weight: 800; margin-bottom: 4px; }
.app-hero-info .tagline { color: #888; font-size: 1em; margin-bottom: 12px; }
.app-hero-info .btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; border-radius: 8px; font-size: 0.9em; font-weight: 600;
  transition: all 0.2s;
}
.app-hero-info .btn-play { background: #1a73e8; color: #fff; }
.app-hero-info .btn-play:hover { background: #1557b0; }
.app-hero-info .btn-early { background: #f59e0b; color: #fff; }
.app-hero-info .btn-early:hover { background: #d97706; }

.app-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }

.app-content { min-width: 0; }
.section { margin-bottom: 10px; padding-bottom: 0; }
.app-content .section h3 {
  font-size: 1.1em;
  font-weight: 700;
  color: #1a1a2e;
  display: block;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
}
.section p { color: #555; line-height: 1.5; font-size: 0.93em; margin-bottom: 8px; }
.section ul { padding-left: 0; list-style: none; margin-top: 0; }
.section li { padding: 4px 0; color: #444; font-size: 0.9em; line-height: 1.4; }
.section li:last-child { border-bottom: none; }
.section li strong { color: #1a1a2e; }

.app-screenshots { position: sticky; top: 72px; text-align: center; }
.app-screenshots h3 { font-size: 1.1em; font-weight: 700; margin-bottom: 14px; color: #1a1a2e; text-align: center; }
.screenshots-wrap { position: relative; overflow: hidden; border-radius: 10px; width: 60%; margin: 0 auto; border: 1px solid #eee; background: #fafafa; }
.screenshots { overflow: hidden; }
.screenshots-track {
  display: flex; transition: transform 0.4s ease-in-out;
}
.screenshots-track img {
  flex: 0 0 100%; width: 100%; height: auto;   max-height: 550px;
  object-fit: contain; border-radius: 10px;
  cursor: pointer; transition: box-shadow 0.2s;
  background: transparent; display: block;
}
.screenshots-track img:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.screenshots-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 100%;
  display: flex; justify-content: space-between; pointer-events: none; padding: 0 4px;
}
.screenshots-nav button {
  pointer-events: all; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: 1px solid #ddd; color: #333;
  font-size: 1em; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.screenshots-nav button:hover { background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

/* ==========================================
   CTA SECTIONS
   ========================================== */
.cta-section { padding: 50px 40px; text-align: center; }
.cta-section h2 { font-size: 1.6em; font-weight: 800; margin-bottom: 8px; }
.cta-section p { color: #888; margin-bottom: 24px; font-size: 0.95em; max-width: 450px; margin-left: auto; margin-right: auto; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 26px; border-radius: 8px; font-size: 0.9em; font-weight: 600; transition: all 0.2s;
}
.cta-btn-primary { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }
.cta-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(102,126,234,0.35); }

/* ==========================================
   PAGE HEADER (Category Pages)
   ========================================== */
.page-header { padding: 16px 0 12px; margin-top: 56px; }
.page-header h2 { font-size: 1.8em; font-weight: 800; letter-spacing: -0.02em; }
.page-header p { color: #888; font-size: 1em; margin-top: 6px; }

/* App Grid */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding: 0 0 28px; }
.app-card { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 18px; transition: all 0.25s; position: relative; display: flex; flex-direction: column; }
.app-card:hover { border-color: #667eea; box-shadow: 0 8px 30px rgba(102,126,234,0.08); transform: translateY(-3px); }
.app-card a.card-link { position: absolute; inset: 0; z-index: 1; }
.app-card .icon, .app-card h3, .app-card p { position: relative; z-index: 0; }
.app-card .icon { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 14px; }
.app-card h3 { font-size: 1.05em; font-weight: 700; margin-bottom: 6px; }
.app-card p { color: #888; font-size: 0.85em; margin-bottom: 14px; line-height: 1.4; flex: 1; }
.app-card .btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 16px; border-radius: 7px; font-size: 0.82em; font-weight: 600; transition: all 0.2s;
  position: relative; z-index: 2;
}
.app-card .btn-play { background: #1a73e8; color: #fff; }
.app-card .btn-play:hover { background: #1557b0; }
.app-card .btn-early { background: #f59e0b; color: #fff; }
.app-card .btn-early:hover { background: #d97706; }
.app-card .btn-outline { background: #fff; color: #667eea; border: 1px solid #667eea; }
.app-card .btn-outline:hover { background: #667eea; color: #fff; }
.app-card .btn-soon { background: #f3f4f6; color: #999; cursor: default; }
.app-card .btn-soon:hover { background: #f3f4f6; transform: none; }

/* ==========================================
   RESPONSIVE — Tablet (max-width: 1024px)
   ========================================== */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 6px 10px; font-size: 0.82em; }
  .hero h1 { font-size: 2.2em; }
  .hero .subtitle { font-size: 0.95em; }
  .why-grid, .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .apps-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ==========================================
   RESPONSIVE — Mobile (max-width: 640px)
   ========================================== */
@media (max-width: 640px) {
  .container { padding: 0 24px; }
  .nav .container { height: 48px; }
  .nav-links {
    display: none; position: absolute; top: 48px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; width: 100%; border-radius: 8px; }
  .nav-toggle { display: block; }
  .hero { padding: 28px 0 24px; margin-top: 48px; }
  .hero h1 { font-size: 1.5em; }
  .hero .subtitle { font-size: 0.9em; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 260px; justify-content: center; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 14px 12px; }
  .stat-number { font-size: 1.6em; }
  .stat-label { font-size: 0.72em; }
  .why, .categories, .faq, .how, .previews, .techstack, .newsletter { padding: 24px 0; }
  .why-card, .how-step, .tech-item { text-align: center; }
  .how-steps { grid-template-columns: 1fr; gap: 12px; max-width: 400px; margin: 0 auto; }
  .preview-scroll { gap: 14px; }
  .preview-card { flex: 0 0 160px; text-align: center; }
  .preview-phone { width: 140px; height: 240px; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .why-grid, .cat-grid { grid-template-columns: 1fr; gap: 10px; max-width: 400px; margin: 0 auto; }
  .apps-grid { grid-template-columns: 1fr; gap: 12px; }
  .app-card { padding: 14px; }
  .app-card .btn { display: flex; justify-content: center; }
  .app-card .btn + .btn { margin-top: 6px; }
  .page-header { padding: 12px 0 8px; margin-top: 48px; text-align: center; }
  .page-header h2 { font-size: 1.4em; }
  .app-page { margin-top: 48px; padding-top: 8px; padding-bottom: 20px; }
  .app-hero { flex-direction: column; text-align: center; gap: 12px; }
  .app-hero .icon { width: 64px; height: 64px; border-radius: 16px; }
  .app-hero-info h2 { font-size: 1.3em; }
  .app-hero-info .btn { display: flex; justify-content: center; }
  .app-body { grid-template-columns: 1fr; gap: 16px; }
  .app-screenshots { position: static; }
  .screenshots-wrap { width: 100%; }
  .screenshots-track img { max-height: 400px; }
  .screenshots-nav button { width: 32px; height: 32px; font-size: 0.9em; }
  .section { text-align: left; margin-bottom: 8px; }
  .app-content .section h3 { font-size: 1.05em; margin: 0 0 6px 0 !important; padding: 0 !important; }
  .section p { font-size: 0.88em; line-height: 1.5; }
  .section li { padding: 3px 0; font-size: 0.85em; }
  .faq-q { font-size: 0.9em; padding: 14px 16px; }
  .faq-a p { padding: 0 16px 14px; font-size: 0.85em; }
  .cta-section { padding: 36px 16px; }
  .cta-section h2 { font-size: 1.3em; }
  .footer { padding: 24px 0 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .lightbox-img { max-width: 95vw; max-height: 85vh; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.2em; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
