/* ============================================================
   CreativePass — Design System
   Dark-first. Apple-inspired. YC-minimal.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #080808;
  --bg-2:     #0f0f0f;
  --bg-3:     #161616;
  --bg-4:     #1e1e1e;
  --bg-5:     #262626;
  --border:   rgba(255,255,255,0.07);
  --border-2: rgba(255,255,255,0.12);
  --text:     #ffffff;
  --text-2:   #a0a0a0;
  --text-3:   #606060;
  --orange:   #FF6B35;
  --orange-a: rgba(255,107,53,0.1);
  --orange-b: rgba(255,107,53,0.2);
  --orange-c: rgba(255,107,53,0.4);
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius:   16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "Fira Code", ui-monospace, monospace;
  --max-w: 1200px;
  --nav-h: 68px;
  --transition: 200ms cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--text-2); }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.accent { color: var(--orange); }

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

section { padding: 120px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 18px; height: 1px;
  background: var(--orange);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 40px;
  background: rgba(8,8,8,0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}
nav.scrolled {
  background: rgba(8,8,8,0.96);
  border-color: var(--border-2);
}
.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
}
.nav-logo img {
  width: 30px; height: 30px;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  outline: none;
  white-space: nowrap;
}
.btn-ghost {
  color: var(--text-2);
  background: transparent;
  border: 1px solid var(--border-2);
}
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover { background: #ff8052; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,107,53,0.35); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.25); }
.btn-large { font-size: 15px; padding: 14px 28px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links, .nav-right .btn-ghost { display: none; }
  .nav-hamburger { display: flex; }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  z-index: 998;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.mobile-menu a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.mobile-menu .btn-primary { margin-top: 10px; justify-content: center; }

/* ── HERO ── */
.hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,107,53,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
  padding: 8px 16px;
  background: var(--orange-a);
  border: 1px solid var(--orange-b);
  border-radius: 50px;
}
.hero h1 {
  max-width: 900px;
  margin: 0 auto 24px;
  background: linear-gradient(180deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-badge {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.hero-screens {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: -40px;
}
.hero-phone {
  width: 220px;
  border-radius: 28px;
  border: 1px solid var(--border-2);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.hero-phone:hover { transform: translateY(-8px) scale(1.02); }
.hero-phone.main {
  width: 260px;
  z-index: 2;
  margin: 0 -30px;
  transform: translateY(0);
}
.hero-phone.side {
  opacity: 0.7;
  filter: blur(0.5px);
}
.hero-phone.side:first-child { transform: rotate(-6deg) translateY(20px); }
.hero-phone.side:last-child  { transform: rotate(6deg)  translateY(20px); }

/* ── STATS BAR ── */
.stats-bar {
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--border);
}
.stat-item {
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

/* ── FEATURE GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-card {
  background: var(--bg-2);
  padding: 36px 32px;
  transition: background var(--transition);
}
.feature-card:hover { background: var(--bg-3); }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--orange-a);
  border: 1px solid var(--orange-b);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
}
.feature-card h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .features-grid { grid-template-columns: 1fr; } }

/* ── SPLIT SECTION ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse { direction: ltr; }
}
.split-text h2 { margin-bottom: 20px; }
.split-text p { color: var(--text-2); margin-bottom: 16px; font-size: 1.05rem; line-height: 1.75; }
.split-text .btn { margin-top: 8px; }
.split-media img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

/* ── COMPARISON TABLE ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-table th,
.compare-table td {
  padding: 18px 24px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.compare-table th { font-size: 13px; font-weight: 600; color: var(--text); background: var(--bg-3); }
.compare-table th:first-child,
.compare-table td:first-child { text-align: left; font-weight: 500; color: var(--text); width: 220px; }
.compare-table th.highlight,
.compare-table td.highlight { color: var(--orange); background: rgba(255,107,53,0.05); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: var(--bg-2); }
.check { color: var(--orange); font-size: 16px; }
.cross { color: var(--text-3); font-size: 16px; }
.compare-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  overflow-x: auto;
}

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.price-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}
.price-card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.price-card.featured {
  border-color: var(--orange-c);
  background: var(--bg-3);
}
.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 0 0 10px 10px;
}
.price-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.price-amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 4px;
}
.price-amount sup { font-size: 1.2rem; vertical-align: top; margin-top: 8px; }
.price-period { font-size: 13px; color: var(--text-3); margin-bottom: 24px; }
.price-divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.price-features li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}
.price-card .btn { width: 100%; justify-content: center; margin-top: 28px; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--border-2); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  user-select: none;
}
.faq-q::marker, .faq-q::-webkit-details-marker { display: none; }
.faq-chevron {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--bg-4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
  font-size: 12px;
  color: var(--text-2);
}
details[open] .faq-chevron { transform: rotate(180deg); background: var(--orange-a); color: var(--orange); }
.faq-a {
  padding: 0 28px 24px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ── BLOG ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.blog-card-img {
  height: 180px;
  background: var(--bg-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
  position: relative;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-img .placeholder-icon {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-4), var(--bg-5));
}
.blog-card-body { padding: 22px 22px 28px; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.blog-card h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
  flex: 1;
}
.blog-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-3);
}
.blog-card-meta span::after { content: '·'; margin-left: 12px; }
.blog-card-meta span:last-child::after { content: ''; }

.blog-featured {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 40px;
  transition: border-color var(--transition);
}
.blog-featured:hover { border-color: var(--border-2); }
.blog-featured-img {
  min-height: 320px;
  background: var(--bg-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.blog-featured-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured-body .blog-tag { margin-bottom: 16px; }
.blog-featured-body h2 { font-size: 1.8rem; margin-bottom: 16px; }
.blog-featured-body p { font-size: 1rem; line-height: 1.75; margin-bottom: 24px; }
@media (max-width: 768px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 200px; }
  .blog-featured-body { padding: 28px; }
}

/* ── BLOG POST ── */
.post-header { padding: calc(var(--nav-h) + 60px) 0 60px; }
.post-header h1 { max-width: 800px; margin: 0 auto; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.post-header .post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 800px;
  margin: 20px auto 0;
  font-size: 13px;
  color: var(--text-3);
}
.post-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-2);
}
.post-body h2 { color: var(--text); font-size: 1.5rem; margin: 48px 0 16px; }
.post-body h3 { color: var(--text); font-size: 1.2rem; margin: 36px 0 12px; }
.post-body p { margin-bottom: 20px; }
.post-body ul, .post-body ol { margin: 20px 0 20px 24px; }
.post-body li { margin-bottom: 8px; }
.post-body strong { color: var(--text); }
.post-body blockquote {
  border-left: 3px solid var(--orange);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--orange-a);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text);
}
.post-ai-wrap {
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
  margin: 48px 0;
}
.post-ai-wrap .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.post-ai-wrap p { color: var(--text); font-size: 1.05rem; font-style: italic; margin: 0; }

/* ── LIBRARY ── */
.library-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1024px) { .library-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .library-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .library-grid { grid-template-columns: 1fr; } }

.library-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
  text-decoration: none;
  display: block;
}
.library-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-2);
  background: var(--bg-3);
}
.library-card-icon {
  font-size: 28px;
  margin-bottom: 16px;
}
.library-card h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.library-card p { font-size: 13px; color: var(--text-3); line-height: 1.5; }
.library-cat-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.library-cat-tag.film { background: rgba(255,107,53,0.12); color: var(--orange); }
.library-cat-tag.design { background: rgba(100,150,255,0.12); color: #6496ff; }

/* ── CTA SECTION ── */
.cta-section {
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(255,107,53,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 20px; }
.cta-section p { font-size: 1.1rem; color: var(--text-2); max-width: 500px; margin: 0 auto 40px; }
.cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand p { font-size: 14px; color: var(--text-3); margin-top: 12px; max-width: 260px; line-height: 1.65; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.footer-logo img { width: 28px; height: 28px; border-radius: 7px; }
.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--text-2);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-3);
}
.footer-bottom a { color: var(--text-3); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--text); }

/* ── SEARCH ── */
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 50px;
  padding: 12px 20px;
  max-width: 480px;
  margin: 0 auto 56px;
  transition: border-color var(--transition);
}
.search-bar:focus-within { border-color: var(--orange-c); }
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text);
  font-family: var(--font);
}
.search-bar input::placeholder { color: var(--text-3); }
.search-icon { color: var(--text-3); font-size: 16px; }

/* ── TAGS / FILTERS ── */
.tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.tag-btn {
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 50px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  transition: all var(--transition);
  font-family: var(--font);
}
.tag-btn:hover, .tag-btn.active {
  background: var(--orange-a);
  border-color: var(--orange-b);
  color: var(--orange);
}

/* ── PAGE HEADER ── */
.page-header {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  text-align: center;
}
.page-header h1 { margin-bottom: 16px; }
.page-header p { font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--text-3); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--text-3); }

/* ── PAGINATION ── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
}
.page-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-2);
  transition: all var(--transition);
  font-family: var(--font);
}
.page-btn:hover, .page-btn.active {
  background: var(--orange-a);
  border-color: var(--orange-b);
  color: var(--orange);
}
#results-count { text-align: center; color: var(--text-3); font-size: 13px; margin-bottom: 24px; }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); }

/* ── UTILITY ── */
.text-center { text-align: center; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.mt-64 { margin-top: 64px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s cubic-bezier(0.4,0,0.2,1) both; }
.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }

/* ── APPLE-STORE BUTTON ── */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text);
  color: var(--bg);
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
}
.app-store-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,255,255,0.15); }
.app-store-btn .store-icon { font-size: 22px; }
.app-store-btn .store-text { display: flex; flex-direction: column; line-height: 1.2; }
.app-store-btn .store-sub { font-size: 10px; font-weight: 400; opacity: 0.7; letter-spacing: 0.04em; }

/* ── NOTIFICATION BANNER ── */
.top-banner {
  background: var(--orange);
  text-align: center;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.01em;
}
.top-banner a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ── RELATED POSTS ── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-3);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state p { font-size: 15px; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-5); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ── SELECTION ── */
::selection { background: var(--orange-b); color: var(--text); }
