:root {
  --teal: #1a9daa;
  --teal-dark: #0d6e7a;
  --orange: #f07c1a;
  --orange-light: #f9a94b;
  --dark: #111417;
  --mid: #1e2429;
  --surface: #242b32;
  --text: #e8ecef;
  --muted: #7a8895;
  --border: rgba(255,255,255,0.07);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  height: 72px;
  background: rgba(17, 20, 23, 0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display:flex; align-items:center; text-decoration:none; }
  .nav-logo img { height: 38px; }
.nav-links { display: flex; gap: 0.25rem; align-items: center; }
.nav-links a {
  background: none; border: none; cursor: pointer;
  font-family: 'Syne', sans-serif; font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
  padding: 0.5rem 1.1rem; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text); background: var(--surface);
}
.nav-links a.active { color: var(--orange); }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; height: 18px;
  cursor: pointer;
  background: none; border: none; padding: 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  top: 72px; left: 0; right: 0;
  z-index: 99;
  background: rgba(17, 20, 23, 0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.25rem;
}
.mobile-menu.open {
  max-height: 320px;
  padding: 1rem 1.25rem 1.5rem;
}
.mobile-menu a {
  background: none; border: none; cursor: pointer;
  font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
  padding: 0.85rem 1rem; border-radius: 8px;
  text-align: left; width: 100%;
  transition: color 0.2s, background 0.2s;
  text-decoration: none; display: block;
}
.mobile-menu a:hover, .mobile-menu a.active {
  color: var(--text); background: var(--surface);
}
.mobile-menu a.active { color: var(--orange); }

/* ── PAGES ── */
.page { display: none; padding-top: 72px; min-height: 100vh; }
.page.visible { display: block; }
main { padding-top: 72px; min-height: 100vh; }

/* ── HOME PAGE ── */
.hero {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 7rem 2rem 5rem;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26,157,170,0.12) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 70% 80%, rgba(240,124,26,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.hero-logo { height: 160px; margin-bottom: 1.25rem; animation: fadeUp 0.8s ease both; }
.hero-wordmark {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s ease 0.1s both;
}
.hero-wordmark-infinite { color: #1a9daa; }
.hero-wordmark-creation { color: #f07c1a; }
.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: fadeUp 0.8s 0.1s ease both;
  max-width: 820px;
}
.hero h1 span { color: var(--orange); }
.hero-sub {
  margin-top: 1.25rem;
  font-size: 1.15rem; font-weight: 300; color: var(--muted);
  max-width: 600px; line-height: 1.7;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero-cta {
  margin-top: 2.5rem;
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  animation: fadeUp 0.8s 0.3s ease both;
}
a.btn-primary, a.btn-secondary { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff; border: none; cursor: pointer;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.85rem 2rem; border-radius: 8px;
  box-shadow: 0 4px 24px rgba(240,124,26,0.35);
  transition: transform 0.18s, box-shadow 0.18s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 32px rgba(240,124,26,0.5); }
.btn-secondary {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); cursor: pointer;
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.85rem 2rem; border-radius: 8px;
  transition: background 0.18s, border-color 0.18s;
}
.btn-secondary:hover { background: #2e3740; border-color: rgba(255,255,255,0.15); }

/* DIVIDER */
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  border-radius: 2px;
  margin: 0 auto 2.5rem;
}

/* CONTENT SECTIONS */
.content-wrap { max-width: 900px; margin: 0 auto; padding: 3rem 2rem 6rem; }

.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

/* PILLARS GRID */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}
.pillar-card {
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
  position: relative; overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  opacity: 0; transition: opacity 0.2s;
}
.pillar-card:hover { border-color: rgba(240,124,26,0.3); transform: translateY(-3px); }
.pillar-card:hover::before { opacity: 1; }
.pillar-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.pillar-card h3 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
  margin-bottom: 0.75rem; color: var(--orange-light);
}
.pillar-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }
.pillar-card ul { margin-top: 0.75rem; padding-left: 1.2rem; }
.pillar-card ul li { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

/* TOOL TABLE */
.tool-table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 0.9rem; }
.tool-table th {
  font-family: 'Syne', sans-serif; font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); text-align: left;
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--border);
}
.tool-table td {
  padding: 0.85rem 1rem; border-bottom: 1px solid var(--border);
  color: var(--text); vertical-align: top; line-height: 1.5;
}
.tool-table tr:last-child td { border-bottom: none; }
.tool-table tr:hover td { background: rgba(255,255,255,0.02); }
.tool-table td:first-child { color: var(--teal); font-weight: 500; }

/* LEARNING PATH */
.steps { counter-reset: step; margin: 2rem 0; }
.step {
  display: flex; gap: 1.5rem; margin-bottom: 1.75rem;
  counter-increment: step;
}
.step-num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem;
  color: #fff; margin-top: 2px;
}
.step-body h4 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 1rem; margin-bottom: 0.4rem; color: var(--text);
}
.step-body p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* RESOURCES GRID */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem; margin: 1.75rem 0;
}
.resource-card {
  background: var(--mid); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.resource-card:hover { border-color: rgba(26,157,170,0.4); }
.resource-card h4 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.9rem;
  color: var(--teal); margin-bottom: 0.6rem;
}
.resource-card ul { padding-left: 1.1rem; }
.resource-card ul li { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }
.resource-card ul li a { color: var(--text); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.15); transition: border-color .15s, color .15s; }
.resource-card ul li a:hover { color: var(--teal); border-bottom-color: var(--teal); }

/* CALLOUT */
.callout {
  background: linear-gradient(135deg, rgba(26,157,170,0.12), rgba(240,124,26,0.08));
  border: 1px solid rgba(240,124,26,0.2);
  border-radius: 14px; padding: 2rem 2.25rem;
  margin: 3rem 0;
}
.callout h3 {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.2rem;
  margin-bottom: 0.6rem; color: var(--orange-light);
}
.callout p { font-size: 0.95rem; color: var(--muted); line-height: 1.7; }

/* ── APPS PAGE ── */
.page-hero {
  padding: 5rem 2rem 3rem;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(240,124,26,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .section-label { font-size: 0.8rem; margin-bottom: 0.8rem; }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px; margin: 0 auto; padding: 1rem 2rem 6rem;
}
.app-card {
  background: var(--mid); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform 0.2s, border-color 0.2s;
  position: relative; overflow: hidden;
}
.app-card:hover { transform: translateY(-4px); border-color: rgba(240,124,26,0.3); }
.app-card.app-card-live {
  border-color: rgba(240,124,26,0.35);
  text-decoration: none; color: inherit;
}
.app-card.app-card-live:hover { border-color: var(--orange); box-shadow: 0 8px 32px rgba(240,124,26,0.15); }
.app-card-badge-live {
  background: rgba(26,157,170,0.15) !important;
  border-color: rgba(26,157,170,0.4) !important;
  color: var(--teal) !important;
}
.dot-live { background: var(--orange) !important; }
.app-card-badge {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: rgba(240,124,26,0.15);
  border: 1px solid rgba(240,124,26,0.3);
  border-radius: 20px; padding: 0.25rem 0.75rem;
  font-family: 'Syne', sans-serif; font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--orange-light);
}
.app-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.app-card h3 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.05rem;
}
.app-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; flex: 1; }
.app-card-footer {
  font-size: 0.8rem; color: var(--muted);
  display: flex; align-items: center; gap: 0.5rem;
}
.app-card-footer .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); animation: pulse 2s infinite;
}

/* ── TUTORIALS PAGE ── */
.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1100px; margin: 0 auto; padding: 1rem 2rem 6rem;
}
.tutorial-card {
  background: var(--mid); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
  display: block; text-decoration: none; color: inherit;
}
.tutorial-card:hover { transform: translateY(-4px); border-color: rgba(26,157,170,0.35); }
.tutorial-thumb {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative;
}
.tutorial-thumb-inner { position: relative; z-index: 1; }
.tutorial-body { padding: 1.5rem; }
.tutorial-tag {
  display: inline-block;
  background: rgba(26,157,170,0.15); border: 1px solid rgba(26,157,170,0.3);
  border-radius: 20px; padding: 0.2rem 0.7rem;
  font-family: 'Syne', sans-serif; font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.75rem;
}
.tutorial-body h3 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
  margin-bottom: 0.5rem;
}
.tutorial-body p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.tutorial-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.tutorial-footer span { font-size: 0.8rem; color: var(--muted); }
.coming-badge {
  background: var(--surface); border-radius: 6px;
  padding: 0.3rem 0.7rem;
  font-family: 'Syne', sans-serif; font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
footer img { height: 28px; opacity: 0.6; }
footer p { font-size: 0.8rem; color: var(--muted); }
footer p a { color: inherit; }
.footer-yt { color: var(--muted); opacity: 0.65; display: flex; align-items: center; transition: opacity 0.2s, color 0.2s; }
.footer-yt:hover { opacity: 1; color: #ff0000; }

/* ── YOUTUBE EMBED SECTION ── */
.yt-section { border-top: 1px solid var(--border); }
.yt-inner { max-width: 860px; margin: 0 auto; padding: 4rem 2rem; }
.yt-frame-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; margin-top: 1.5rem; background: var(--mid); }
.yt-frame-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.yt-channel-link { margin-top: 1rem; font-size: 0.9rem; }
.yt-channel-link a { color: var(--teal); text-decoration: none; }
.yt-channel-link a:hover { text-decoration: underline; }

/* ── TUTORIAL DETAIL PAGE ── */
.tdetail-hero {
  position: relative; overflow: hidden;
  padding: 5rem 2rem 3.5rem;
  text-align: center;
}
.tdetail-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(26,157,170,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.tdetail-hero-inner {
  position: relative; max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.btn-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: none; border: 1px solid var(--border);
  border-radius: 7px; padding: 0.45rem 0.9rem;
  font-family: 'Syne', sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  align-self: flex-start; margin-bottom: 0.75rem;
}
.btn-back::before { content: '←'; }
.btn-back:hover { color: var(--teal); border-color: rgba(26,157,170,0.4); }
.tdetail-hero h1 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em; line-height: 1.15;
}
.tdetail-meta { font-size: 0.85rem; color: var(--muted); margin-top: 0.25rem; }

.tdetail-body {
  max-width: 760px; margin: 0 auto;
  padding: 0 2rem 6rem;
  display: flex; flex-direction: column; gap: 3rem;
}
.tdetail-section h2 {
  font-family: 'Syne', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 1.25rem;
}
.tdetail-overview {
  font-size: 1.05rem; line-height: 1.8; color: var(--text);
}
.tdetail-needs {
  display: flex; flex-direction: column; gap: 0.6rem;
  padding-left: 1.25rem;
}
.tdetail-needs li { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

.tdetail-steps { display: flex; flex-direction: column; }
.tdetail-step {
  display: flex; gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.tdetail-step:first-child { padding-top: 0; }
.tdetail-step:last-child { border-bottom: none; padding-bottom: 0; }
.tdetail-step-num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 0.9rem; color: #fff;
}
.tdetail-step-body h4 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
  margin-bottom: 0.4rem;
}
.tdetail-step-body p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

.tdetail-tips {
  display: flex; flex-direction: column; gap: 0.75rem;
  background: var(--mid); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.5rem 1.75rem;
}
.tdetail-tips li {
  font-size: 0.9rem; color: var(--muted); line-height: 1.65;
  padding-left: 1.4rem; position: relative; list-style: none;
}
.tdetail-tips li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--orange); font-weight: 700;
}
.tdetail-tips a, .tdetail-step-body a, .tdetail-overview a, .tdetail-needs a {
  color: var(--teal); text-decoration: none;
  border-bottom: 1px solid rgba(26,157,170,0.35);
  transition: color .15s, border-color .15s;
}
.tdetail-tips a:hover, .tdetail-step-body a:hover, .tdetail-overview a:hover, .tdetail-needs a:hover {
  color: #fff; border-bottom-color: var(--teal);
}

/* ── TUTORIAL CARD BUTTON ── */
.btn-guide {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: none;
  border: 1px solid rgba(26,157,170,0.35);
  border-radius: 7px; padding: 0.5rem 1rem;
  font-family: 'Syne', sans-serif; font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal); cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.btn-guide:hover {
  background: rgba(26,157,170,0.12);
  border-color: var(--teal); color: #fff;
}
.btn-guide::after { content: '→'; }

@media (max-width: 640px) {
  .tdetail-hero { padding: 4rem 1.25rem 2.5rem; }
  .tdetail-body { padding: 0 1.25rem 4rem; }
}


/* ── FILTER BAR ── */
.filter-bar {
  max-width: 1100px; margin: 0 auto;
  padding: 0 2rem 1.5rem;
  display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
}
.filter-search-wrap { position: relative; flex: 1; min-width: 160px; max-width: 260px; }
.filter-search-icon {
  position: absolute; left: 0.7rem; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none; width: 14px; height: 14px;
}
.filter-search {
  width: 100%; background: var(--mid); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; padding: 0.52rem 1.9rem 0.52rem 2rem;
  font-size: 0.86rem; font-family: 'DM Sans', sans-serif; color: var(--text);
  outline: none; transition: border-color 0.2s;
}
.filter-search:focus { border-color: rgba(26,157,170,0.5); }
.filter-search::placeholder { color: var(--muted); }
.filter-search::-webkit-search-cancel-button { display: none; }
.filter-clear {
  position: absolute; right: 0.55rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--muted); font-size: 0.75rem;
  cursor: pointer; padding: 0.2rem; line-height: 1; display: none; transition: color 0.15s;
}
.filter-clear:hover { color: var(--text); }
.filter-clear.vis { display: block; }

.filter-pills { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.filter-pill {
  background: var(--mid); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px;
  padding: 0.35rem 0.95rem; font-size: 0.78rem; font-family: 'DM Sans', sans-serif;
  font-weight: 500; color: var(--muted); cursor: pointer; transition: all 0.18s; white-space: nowrap;
}
.filter-pill:hover { border-color: rgba(26,157,170,0.4); color: var(--text); }
.filter-pill.active { background: var(--teal); border-color: var(--teal); color: #fff; }

.filter-count { font-size: 0.76rem; color: var(--muted); margin-left: auto; white-space: nowrap; }

.filter-empty {
  display: none; grid-column: 1 / -1;
  text-align: center; padding: 4rem 2rem; color: var(--muted);
}
.filter-empty-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.filter-empty p { font-size: 0.88rem; line-height: 1.6; }
.filter-empty strong { color: var(--text); }

@media (max-width: 640px) {
  .filter-bar { padding: 0 1.25rem 1.25rem; }
  .filter-search-wrap { max-width: 100%; min-width: 100%; }
  .filter-count { display: none; }
}

/* ── NEWSLETTER ── */
.newsletter-section {
  background: linear-gradient(160deg, rgba(26,157,170,0.07) 0%, rgba(240,124,26,0.04) 100%);
  border-top: 1px solid rgba(26,157,170,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 5rem 3rem;
}
.newsletter-inner {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
}
.nl-text .section-label { margin-bottom: 0.6rem; }
.nl-text h2 {
  font-family: 'Syne', sans-serif; font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700; color: var(--text); margin-bottom: 0.75rem; line-height: 1.25;
}
.nl-sub { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

.nl-form { display: flex; flex-direction: column; gap: 0.9rem; }
.nl-row { display: flex; gap: 0.6rem; }
.nl-row input[type="email"] {
  flex: 1; background: var(--mid); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 0.75rem 1rem; font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif; color: var(--text); outline: none;
  transition: border-color 0.2s; min-width: 0;
}
.nl-row input[type="email"]:focus { border-color: var(--teal); }
.nl-row input[type="email"]::placeholder { color: var(--muted); }
.nl-btn {
  background: var(--teal); color: #fff; border: none; border-radius: 10px;
  padding: 0.75rem 1.4rem; font-size: 0.92rem; font-family: 'DM Sans', sans-serif;
  font-weight: 500; cursor: pointer; white-space: nowrap; transition: background 0.2s;
  flex-shrink: 0;
}
.nl-btn:hover { background: var(--teal-dark); }
.nl-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.nl-consent-label {
  display: flex; align-items: flex-start; gap: 0.6rem; cursor: pointer;
}
.nl-consent-label input[type="checkbox"] {
  margin-top: 0.18rem; accent-color: var(--teal); flex-shrink: 0;
  width: 15px; height: 15px; cursor: pointer;
}
.nl-consent-label span {
  font-size: 0.78rem; color: var(--muted); line-height: 1.5;
}
.nl-consent-label span a { color: var(--teal); text-underline-offset: 2px; }
.nl-msg { font-size: 0.82rem; padding: 0.6rem 0.9rem; border-radius: 8px; }
.nl-success { background: rgba(76,175,110,0.12); color: #4caf6e; border: 1px solid rgba(76,175,110,0.25); }
.nl-error { background: rgba(224,85,85,0.1); color: #e05555; border: 1px solid rgba(224,85,85,0.25); }
@media (max-width: 680px) {
  .newsletter-section { padding: 3.5rem 1.25rem; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 2rem; }
  .nl-row { flex-direction: column; }
  .nl-btn { width: 100%; }
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 640px) {
  nav { padding: 0 1.25rem; }
  .hero { padding: 5rem 1.25rem 3rem; }
  .content-wrap { padding: 2rem 1.25rem 4rem; }
  .apps-grid, .tutorials-grid { padding: 1rem 1.25rem 4rem; }
  footer { padding: 2rem 1.25rem; }
}
