/* ═══════════════════════════════════════════════════
   AIBeacon — Shared Design System
   ═══════════════════════════════════════════════════ */

:root {
  --primary:      #6C63FF;
  --primary-dark: #4B44CC;
  --accent:       #00D4AA;
  --dark:         #0D0D1A;
  --dark2:        #13132B;
  --card:         #1A1A35;
  --card2:        #20203F;
  --text:         #E8E8F0;
  --muted:        #9090B0;
  --border:       rgba(108,99,255,0.2);
  --grad:         linear-gradient(135deg, #6C63FF, #00D4AA);
  --radius:       14px;
  --radius-sm:    8px;
  --shadow:       0 4px 24px rgba(0,0,0,0.3);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; }
h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.gradient-text { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 560px; margin-bottom: 40px; margin-top: 8px; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(13,13,26,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-size: 1.4rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  color: var(--muted); font-size: 0.88rem; font-weight: 500;
  padding: 6px 12px; border-radius: 6px; transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(108,99,255,0.1); }
.nav-cta {
  background: var(--primary) !important; color: white !important;
  padding: 8px 18px !important; border-radius: 8px !important; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.nav-hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; display: block; }
.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: var(--dark2); border-bottom: 1px solid var(--border);
  padding: 20px; z-index: 199; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text); font-size: 1rem; font-weight: 500;
  padding: 12px 16px; border-radius: 8px; transition: background 0.2s;
}
.mobile-menu a:hover { background: rgba(108,99,255,0.1); }

/* ── HERO ── */
.hero {
  min-height: 88vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 80px 20px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(108,99,255,0.18) 0%, transparent 70%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Ccircle fill='%236C63FF' fill-opacity='0.04' cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(108,99,255,0.12); border: 1px solid var(--border);
  padding: 6px 18px; border-radius: 50px; font-size: 0.82rem;
  color: var(--accent); margin-bottom: 28px; font-weight: 600;
}
.hero h1 { margin-bottom: 20px; max-width: 780px; }
.hero p { font-size: 1.1rem; color: var(--muted); max-width: 520px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-stats { display: flex; gap: 48px; margin-top: 60px; flex-wrap: wrap; justify-content: center; }
.stat-num { font-size: 1.8rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.8rem; color: var(--muted); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 10px; font-weight: 700;
  font-size: 0.95rem; transition: all 0.2s; border: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; transform: translateY(-1px); }
.btn-outline { border: 1px solid var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--primary); background: rgba(108,99,255,0.08); color: var(--text); }
.btn-accent { background: var(--accent); color: var(--dark); }
.btn-accent:hover { opacity: 0.9; color: var(--dark); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; border-radius: 8px; }
.btn-xs { padding: 5px 12px; font-size: 0.78rem; border-radius: 6px; }

/* ── CARDS ── */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.card-accent:hover { border-color: var(--accent); }

/* ── GRID LAYOUTS ── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

/* ── SECTION WRAPPER ── */
.section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.section-full { padding: 80px 20px; }

/* ── BADGES & PILLS ── */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; }
.badge-primary { background: rgba(108,99,255,0.15); color: var(--primary); }
.badge-accent { background: rgba(0,212,170,0.15); color: var(--accent); }
.badge-free { background: rgba(0,212,170,0.15); color: var(--accent); }
.badge-muted { background: var(--card2); color: var(--muted); }

/* Platform badges */
.plt { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; color: white; }
.plt-coursera   { background: #0056D2; }
.plt-udemy      { background: #A435F0; }
.plt-google     { background: #EA4335; }
.plt-deeplearning { background: #00B8D9; }
.plt-hugging    { background: #FF9D00; }
.plt-microsoft  { background: #00A4EF; }
.plt-fast       { background: #009CEE; }
.plt-stanford   { background: #8C1515; }
.plt-youtube    { background: #FF0000; }
.plt-free       { background: #00C853; }

/* ── NEWS CARD ── */
.news-source { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.news-card h3 { color: var(--text); margin-bottom: 10px; }
.news-card p { font-size: 0.87rem; color: var(--muted); margin-bottom: 16px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; color: var(--muted); }
.news-img { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; margin-bottom: 16px; background: var(--card2); }
.news-placeholder { width: 100%; height: 160px; border-radius: 8px; margin-bottom: 16px; background: linear-gradient(135deg, var(--card2), var(--card)); display: flex; align-items: center; justify-content: center; font-size: 2rem; }

/* ── COURSE CARD ── */
.course-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.2s; }
.course-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.course-top { padding: 22px; }
.course-card h3 { margin: 12px 0 8px; }
.course-card p { font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
.course-meta { display: flex; gap: 12px; font-size: 0.78rem; color: var(--muted); flex-wrap: wrap; }
.course-bottom { padding: 14px 22px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; background: var(--card2); }
.course-price { font-weight: 800; font-size: 1.05rem; }

/* ── CERT CARD ── */
.cert-logo { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 4px; }
.cert-info { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.cert-link { font-size: 0.85rem; font-weight: 600; color: var(--accent); margin-top: auto; }

/* ── GUIDE CARD ── */
.guide-num { font-size: 2.2rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 8px; }
.guide-topics { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.guide-topic { background: var(--card2); border: 1px solid var(--border); padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; color: var(--muted); }

/* ── LOADING SKELETON ── */
.skeleton { background: linear-gradient(90deg, var(--card2) 25%, var(--card) 50%, var(--card2) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 6px; }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.skeleton-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.skeleton-line { height: 14px; margin-bottom: 10px; }
.skeleton-line.short { width: 40%; }
.skeleton-line.med { width: 70%; }
.skeleton-line.full { width: 100%; }

/* ── AUTO-REFRESH INDICATOR ── */
.refresh-bar { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--muted); margin-bottom: 24px; }
.refresh-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } }

/* ── FILTER BAR ── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; align-items: center; }
.filter-btn {
  padding: 7px 16px; border-radius: 8px; font-size: 0.83rem; font-weight: 600;
  border: 1px solid var(--border); background: transparent; color: var(--muted);
  cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.search-box {
  flex: 1; min-width: 220px; background: var(--card); border: 1px solid var(--border);
  color: var(--text); padding: 8px 16px; border-radius: 8px; font-size: 0.88rem;
  outline: none; transition: border-color 0.2s;
}
.search-box:focus { border-color: var(--primary); }
.search-box::placeholder { color: var(--muted); }

/* ── PROGRESS ── */
.progress-wrap { background: var(--card2); border-radius: 50px; height: 8px; overflow: hidden; }
.progress-bar { height: 100%; background: var(--grad); border-radius: 50px; transition: width 0.5s ease; }
.progress-label { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }

/* ── QUIZ ── */
.quiz-option {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px;
  cursor: pointer; transition: all 0.2s; font-size: 0.9rem; margin-bottom: 8px;
  background: var(--card2);
}
.quiz-option:hover { border-color: var(--primary); background: rgba(108,99,255,0.08); }
.quiz-option.correct { border-color: var(--accent); background: rgba(0,212,170,0.1); }
.quiz-option.wrong { border-color: #FF5252; background: rgba(255,82,82,0.1); }
.quiz-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; transition: all 0.2s; }
.quiz-option.correct .quiz-dot { background: var(--accent); border-color: var(--accent); }
.quiz-option.wrong .quiz-dot { background: #FF5252; border-color: #FF5252; }
.quiz-feedback { padding: 12px 16px; border-radius: 8px; font-size: 0.88rem; font-weight: 600; margin-top: 8px; }
.quiz-feedback.pass { background: rgba(0,212,170,0.1); color: var(--accent); border: 1px solid rgba(0,212,170,0.3); }
.quiz-feedback.fail { background: rgba(255,82,82,0.1); color: #FF5252; border: 1px solid rgba(255,82,82,0.3); }

/* ── MODULE CARD ── */
.module-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color 0.2s;
}
.module-card.completed { border-color: rgba(0,212,170,0.4); }
.module-header {
  padding: 20px 24px; display: flex; align-items: center; gap: 16px; cursor: pointer;
}
.module-header:hover { background: rgba(108,99,255,0.04); }
.module-num { width: 36px; height: 36px; border-radius: 10px; background: var(--card2); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; color: var(--primary); flex-shrink: 0; }
.module-card.completed .module-num { background: rgba(0,212,170,0.15); color: var(--accent); }
.module-title { font-weight: 700; font-size: 1rem; }
.module-meta { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.module-chevron { margin-left: auto; color: var(--muted); transition: transform 0.3s; font-size: 1.2rem; }
.module-card.open .module-chevron { transform: rotate(180deg); }
.module-body { padding: 0 24px 24px; display: none; }
.module-card.open .module-body { display: block; }
.module-content { font-size: 0.9rem; color: var(--text); line-height: 1.7; margin-bottom: 20px; }
.module-content h4 { color: var(--accent); margin: 16px 0 8px; font-size: 0.85rem; }
.module-content ul { padding-left: 20px; color: var(--muted); }
.module-content li { margin-bottom: 6px; }
.module-resources { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.resource-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 0.8rem; color: var(--muted); transition: all 0.2s; }
.resource-link:hover { border-color: var(--primary); color: var(--primary); }
.module-complete-btn {
  background: var(--card2); border: 1px solid var(--border); color: var(--muted);
  padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 0.88rem;
  cursor: pointer; transition: all 0.2s; width: 100%; text-align: center; margin-top: 16px;
}
.module-complete-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,212,170,0.06); }
.module-complete-btn.done { background: rgba(0,212,170,0.1); border-color: rgba(0,212,170,0.4); color: var(--accent); }

/* ── CONCEPT CARD ── */
.concept-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.2s; cursor: pointer; }
.concept-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.concept-header { padding: 22px; display: flex; align-items: flex-start; gap: 14px; }
.concept-icon { font-size: 2rem; flex-shrink: 0; }
.concept-card h3 { font-size: 1rem; margin-bottom: 4px; }
.concept-card p { font-size: 0.83rem; color: var(--muted); }
.concept-body { padding: 0 22px 22px; display: none; border-top: 1px solid var(--border); }
.concept-card.open .concept-body { display: block; }
.concept-body h4 { margin: 16px 0 8px; color: var(--accent); }
.concept-body p { font-size: 0.87rem; color: var(--muted); line-height: 1.7; margin-bottom: 10px; }
.concept-body ul { padding-left: 18px; }
.concept-body li { font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }

/* ── SOCIAL FEED ── */
.feed-section { background: var(--dark2); border-radius: 24px; padding: 60px 40px; }
.feed-tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.feed-tab {
  padding: 8px 20px; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  border: 1px solid var(--border); cursor: pointer; transition: all 0.2s; color: var(--muted); background: transparent;
}
.feed-tab:hover, .feed-tab.active { background: var(--primary); color: white; border-color: var(--primary); }
.post-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; transition: border-color 0.2s; }
.post-card:hover { border-color: var(--primary); }
.post-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.post-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; font-weight: 700; color: white; flex-shrink: 0; }
.post-author { font-weight: 700; font-size: 0.9rem; }
.post-handle { font-size: 0.78rem; color: var(--muted); }
.post-platform-icon { margin-left: auto; font-size: 1.1rem; }
.post-card p { font-size: 0.87rem; line-height: 1.6; margin-bottom: 12px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.post-tag { color: var(--primary); font-size: 0.8rem; }
.post-footer { display: flex; gap: 16px; font-size: 0.78rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 12px; }
.post-link { font-size: 0.8rem; color: var(--accent); font-weight: 600; display: block; margin-top: 10px; }

/* ── EMBED CONTAINER ── */
.embed-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; min-height: 400px; }
.embed-box iframe { width: 100%; border: none; }

/* ── TOOL CARD ── */
.tool-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: all 0.2s; display: flex; flex-direction: column; gap: 10px; }
.tool-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.tool-icon { font-size: 2rem; }
.tool-card h3 { font-size: 0.97rem; margin: 0; }
.tool-card p { font-size: 0.82rem; color: var(--muted); flex: 1; }
.tool-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tool-tag { background: var(--card2); border: 1px solid var(--border); padding: 2px 8px; border-radius: 5px; font-size: 0.72rem; color: var(--muted); }

/* ── NEWSLETTER ── */
.newsletter-box {
  background: linear-gradient(135deg, rgba(108,99,255,0.12), rgba(0,212,170,0.08));
  border: 1px solid var(--border); border-radius: 24px;
  padding: 60px 40px; text-align: center;
}
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 28px auto 0; flex-wrap: wrap; justify-content: center; }
.newsletter-form input {
  flex: 1; min-width: 200px; background: var(--card); border: 1px solid var(--border);
  color: var(--text); padding: 13px 18px; border-radius: 10px; font-size: 0.92rem;
  outline: none; transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; }

/* ── FOOTER ── */
footer {
  background: var(--dark2); border-top: 1px solid var(--border);
  padding: 60px 40px 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--muted); font-size: 0.86rem; margin: 12px 0 20px; max-width: 260px; line-height: 1.7; }
.footer-col h4 { margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 0.86rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { text-align: center; padding-top: 28px; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--muted); }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  color: var(--muted); transition: all 0.2s;
}
.social-link:hover { border-color: var(--primary); background: rgba(108,99,255,0.1); color: var(--text); }

/* ── VIEW MORE ── */
.view-more { text-align: center; margin-top: 36px; }

/* ── PAGE HEADER ── */
.page-header { padding: 60px 20px 40px; max-width: 1200px; margin: 0 auto; }

/* ── FOCUS VISIBLE (keyboard nav) ── */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── BODY SCROLL LOCK (mobile menu open) ── */
body.menu-open { overflow: hidden; }

/* ── TABLE (certifications) ── */
table { border-collapse: collapse; width: 100%; }
thead th { background: var(--card2); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
tbody tr { transition: background 0.15s; }
tbody tr:hover { background: rgba(108,99,255,0.04); }

/* ── FILTER / VISIBILITY TRANSITIONS ── */
.concept-card, [data-level], [data-category], [data-cert-level] { transition: opacity 0.2s, transform 0.2s; }
.section-label[id^="cat-"] { transition: opacity 0.2s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 60px 20px; min-height: 75vh; }
  .hero-stats { gap: 28px; }
  .section { padding: 60px 20px; }
  .feed-section { padding: 40px 20px; border-radius: 16px; }
  .newsletter-box { padding: 40px 20px; border-radius: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  footer { padding: 40px 20px 24px; }
  .grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .grid-4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .filter-bar { gap: 6px; }
  .page-header { padding: 40px 20px 28px; }
  .cert-info { flex-wrap: wrap; gap: 6px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .search-box { min-width: unset; width: 100%; }
  .feed-tabs { gap: 6px; }
  .feed-tab { font-size: 0.78rem; padding: 6px 12px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.4rem; }
  h2 { font-size: 1.4rem; }
}
