:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #eef2ff;
  --dark: #111827;
  --gray-dark: #374151;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --light: #f9fafb;
  --border: #e5e7eb;
  --success: #22c55e;
  --error: #ef4444;
  --warning: #f59e0b;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-mesh: linear-gradient(45deg, #ff6b6b 0%, #feca57 20%, #48dbfb 40%, #6366f1 60%, #a55eea 80%, #ff6b6b 100%);
}

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

body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(99,102,241,0.10) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(168,85,247,0.12) 0%, transparent 45%),
    radial-gradient(circle at 70% 80%, rgba(72,187,120,0.08) 0%, transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(236,72,153,0.08) 0%, transparent 45%),
    radial-gradient(circle at 45% 50%, rgba(59,130,246,0.06) 0%, transparent 50%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, #f9fafb 0%, #f5f3ff 35%, #eff6ff 65%, #fdf2f8 100%);
  background-size: 300% 300%;
  animation: meshShift 20s ease infinite;
}

@keyframes meshShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.mesh-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  z-index: -1;
  pointer-events: none;
  animation: floatBlob 18s ease-in-out infinite;
}
.mesh-blob-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, #8b5cf6, #6366f1);
}
.mesh-blob-2 {
  width: 380px;
  height: 380px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, #f472b6, #fb7185);
  animation-delay: -6s;
}
.mesh-blob-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 50%;
  background: radial-gradient(circle, #38bdf8, #34d399);
  animation-delay: -12s;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 800px; }

/* ================= HEADER ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(229,231,235,0.6);
  box-shadow: 0 1px 20px rgba(99,102,241,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
}
.logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #fff;
  border-radius: 10px;
  font-size: 18px;
}
.logo-dot { color: var(--primary); }
img.logo-icon, .logo-icon.img { background: none; border-radius: 0; object-fit: contain; }
.logo-icon.logo-wordmark { width: auto; height: 30px; }
.footer .logo-icon.logo-wordmark { filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-link {
  color: var(--gray-dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.nav-dropdown { position: relative; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(229,231,235,0.6);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 50;
}
.dropdown-item {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--gray-dark);
  font-size: 0.9rem;
  transition: background 0.2s;
}
.dropdown-item:hover { background: var(--primary-light); color: var(--primary); }
.dd-ico svg { width: 16px; height: 16px; color: var(--primary, #6366f1); }

.nav-right { display: flex; align-items: center; gap: 16px; }
.search-form { display: flex; align-items: center; position: relative; }
.search-input {
  padding: 10px 40px 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  width: 200px;
  color: var(--dark);
  background: #fff;
  transition: all 0.3s;
}
.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
  width: 240px;
}
.search-btn {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  display: flex;
  align-items: center;
}
.search-btn:hover { color: var(--primary); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--dark); }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 2px 10px rgba(99,102,241,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(99,102,241,0.4); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--gray-dark);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.btn-ghost { background: transparent; color: var(--gray-dark); }
.btn-ghost:hover { color: var(--primary); }
.btn-danger { background: var(--error); color: #fff; }
.btn-danger:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }
.btn-xs { padding: 4px 10px; font-size: 0.75rem; border-radius: 6px; }
.btn-full { width: 100%; }

/* ================= HERO ================= */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(238,242,255,0.9), rgba(253,244,255,0.9));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99,102,241,0.15);
  color: var(--primary-dark);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(99,102,241,0.1);
}
.hero-title {
  font-family: 'Sora', 'Playfair Display', serif;
  font-size: 3.2rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 20px;
}
.text-gradient {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 35%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-desc {
  color: var(--gray);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; }

/* ================= CATEGORY BAR ================= */
.categories-bar {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-top: 1px solid rgba(229,231,235,0.5);
  border-bottom: 1px solid rgba(229,231,235,0.5);
  padding: 16px 0;
  position: sticky;
  top: 72px;
  z-index: 50;
}
.cat-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-pill {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-dark);
  background: rgba(249,250,251,0.8);
  border: 1px solid rgba(229,231,235,0.6);
  transition: all 0.2s;
  white-space: nowrap;
}
.cat-pill:hover, .cat-pill.active {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(99,102,241,0.3);
}

/* ================= SECTION ================= */
.section { padding: 60px 0; }
.section-header { margin-bottom: 32px; }
.section-header h2 {
  font-family: 'Sora', 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
}
.section-header p { color: var(--gray); margin-top: 4px; }

/* ================= CARDS ================= */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.articles-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229,231,235,0.6);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(99,102,241,0.15); }
.card-featured {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
}
.card-featured .card-image {
  width: 100%;
  height: 260px;
}
.card-image { height: 220px; overflow: hidden; position: relative; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-image img { transform: scale(1.05); }
.card-featured .card-image { height: 320px; }
.card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef2ff 0%, #fdf4ff 100%);
}
.placeholder-icon { font-size: 4rem; }
.card-body { padding: 20px; }
.card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.card-title { font-size: 1.3rem; line-height: 1.4; margin-bottom: 10px; }
.card-title a { color: var(--dark); transition: color 0.2s; }
.card-title a:hover { color: var(--primary); }
.card-featured .card-title { font-size: 1.8rem; }
@media (min-width: 800px) {
  .card-featured {
    flex-direction: row;
    min-height: 300px;
  }
  .card-featured .card-image {
    width: 50%;
    height: auto;
    min-height: 300px;
    flex-shrink: 0;
  }
  .card-featured .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 44px;
  }
  .card-featured .card-excerpt {
    -webkit-line-clamp: 3;
    max-width: 620px;
  }
}
.card-excerpt {
  color: var(--gray);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray-light);
}

/* ================= PAGINATION ================= */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}
.page-info { color: var(--gray); font-size: 0.9rem; }

/* ================= EMPTY STATE ================= */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-icon { font-size: 4rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.3rem; margin-bottom: 8px; }
.empty-state p { color: var(--gray); }

/* ================= CTA ================= */
.cta-section { padding: 40px 0 80px; }
.cta-card {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 40%, #ec4899 100%);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 60px rgba(99,102,241,0.3);
}
.cta-card h2 { font-family: 'Sora', 'Playfair Display', serif; font-size: 2rem; margin-bottom: 12px; }
.cta-card p { opacity: 0.9; margin-bottom: 30px; }
.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.cta-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
}
.cta-form input:focus { outline: none; }

/* ================= ARTICLE PAGE ================= */
.article-page { background: #fff; }
.article-container { padding-top: 40px; }
.article-header { margin-bottom: 32px; }
.article-category-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.article-title {
  font-family: 'Sora', 'Playfair Display', serif;
  font-size: 2.8rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 16px;
}
.article-excerpt { color: var(--gray); font-size: 1.15rem; margin-bottom: 24px; }
.article-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.article-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.article-author strong { display: block; font-size: 0.9rem; }
.article-author span { font-size: 0.8rem; color: var(--gray); }
.article-stats { color: var(--gray); font-size: 0.9rem; }
.article-featured-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}
.article-featured-image img { width: 100%; height: 400px; object-fit: cover; }

/* ================= PROSE ================= */
.prose {
  font-size: 1.08rem;
  color: var(--gray-dark);
  line-height: 1.9;
}
.prose h1, .prose h2, .prose h3, .prose h4 {
  font-family: 'Sora', 'Playfair Display', serif;
  font-weight: 800;
  color: var(--dark);
  margin: 32px 0 16px;
}
.prose h1 { font-size: 2.2rem; }
.prose h2 { font-size: 1.8rem; }
.prose h3 { font-size: 1.4rem; }
.prose p { margin-bottom: 20px; }
.prose ul, .prose ol { margin: 0 0 20px 24px; }
.prose li { margin-bottom: 8px; }
.prose ul li::marker { color: var(--primary); }
.prose strong { color: var(--dark); }
.prose code {
  background: var(--light);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.9em;
  color: var(--primary-dark);
}
.prose pre {
  background: #1e1e2e;
  color: #e4e4f0;
  padding: 20px 22px;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  margin: 20px 0;
  overflow-x: auto;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.92rem;
  line-height: 1.7;
}
.prose pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: break-word;
  display: block;
}
.prose a { text-decoration: underline; }

/* ================= SHARE ================= */
.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 48px 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-share span { color: var(--gray); font-weight: 500; }
.share-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-dark);
  transition: all 0.2s;
}
.share-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* ================= PAGE HERO ================= */
.page-hero {
  background: var(--gradient);
  color: #fff;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  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' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-family: 'Sora', 'Playfair Display', serif; font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
.page-hero p { opacity: 0.9; font-size: 1.1rem; }

/* ================= CONTACT ================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--primary-light);
  border-radius: 12px;
}
.contact-item h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-item p { color: var(--gray); }
.contact-form {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* ================= FORMS ================= */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--light);
  color: var(--dark);
  transition: all 0.25s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-hint { color: var(--gray-light); font-size: 0.8rem; }

/* ================= VALUES ================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 32px 0;
}
.value-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.value-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.value-card p { color: var(--gray); font-size: 0.95rem; margin: 0; }

/* ================= AUTH ================= */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 24px;
}
.auth-container { width: 100%; max-width: 420px; }
.auth-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-header .nav-logo { justify-content: center; margin-bottom: 24px; }
.auth-header h2 { font-size: 1.4rem; font-weight: 700; }
.auth-footer { text-align: center; margin-top: 24px; }
.auth-footer a { font-size: 0.9rem; color: var(--gray); }
.auth-footer a:hover { color: var(--primary); }

/* ================= 404 ================= */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  padding: 24px;
}
.error-container { text-align: center; }
.error-code {
  font-size: 8rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.error-container h1 { font-family: 'Sora', 'Playfair Display', serif; font-size: 2rem; margin-bottom: 12px; }
.error-container p { color: var(--gray); margin-bottom: 32px; }

/* ================= ALERT ================= */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  font-weight: 500;
}
.alert-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

/* ================= FOOTER ================= */
.footer {
  background: var(--dark);
  color: #9ca3af;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-logo { color: #fff; }
.footer-desc { margin-top: 16px; font-size: 0.9rem; max-width: 300px; }
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-col ul li a { color: #9ca3af; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #6b7280;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 968px) {
  .articles-grid, .articles-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card-featured { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.show { display: flex; }
  .nav-dropdown { width: 100%; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 8px 0 0 16px;
  }
  .mobile-toggle { display: block; }
  .search-form { display: none; }
  .hero { padding: 60px 0 40px; }
  .hero-title { font-size: 2.4rem; }
  .categories-bar { top: 72px; }
}

@media (max-width: 576px) {
  .articles-grid, .articles-grid-3 { grid-template-columns: 1fr; }
  .card-featured { grid-column: span 1; }
  .card-featured .card-image { height: 220px; }
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .cta-form { flex-direction: column; }
  .article-title { font-size: 2rem; }
  .article-featured-image img { height: 250px; }
  .footer-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .article-meta-row { flex-direction: column; gap: 16px; align-items: flex-start; }
}

@media (max-width: 400px) {
  .nav-right .btn { display: none; }
}

/* =========================================================
   V2 ENHANCEMENTS — elegan, dinamis
   ========================================================= */
:root {
  --cat-news: #f43f5e;
  --cat-tech: #3b82f6;
  --cat-biz: #f59e0b;
  --cat-life: #10b981;
  --cat-tut: #8b5cf6;
}

html { scroll-behavior: smooth; }
main { scroll-margin-top: 90px; }
::selection { background: rgba(99,102,241,.2); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #eef0f6; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6366f1, #a855f7);
  border-radius: 10px;
  border: 2px solid #eef0f6;
}
::-webkit-scrollbar-thumb:hover { background: #4f46e5; }

/* Reading progress */
.reading-progress {
  position: fixed;
  top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
  z-index: 1200;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 14px rgba(99,102,241,.55);
  opacity: 0;
  transition: opacity .3s;
}

/* Header scrolled */
.header { transition: box-shadow .3s, background .3s, border-color .3s; }
.header.scrolled {
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 34px rgba(99,102,241,.14);
  border-bottom-color: rgba(229,231,235,.9);
}

/* Dropdown on click (mobile/touch) */
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 900;
  width: 48px; height: 48px;
  border: none; cursor: pointer;
  border-radius: 14px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(99,102,241,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s, box-shadow .3s;
}
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(99,102,241,.55); }

/* Reveal on scroll (only when JS active) */
body.js .reveal,
body.js .reveal-item {
  opacity: 0;
  transform: translateY(30px);
}
.reveal,
.reveal-item {
  transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1);
  will-change: transform, opacity;
}
.reveal.revealed { opacity: 1; transform: none; }
.reveal-item.revealed { opacity: 1; transform: none; }
body.js .reveal.revealed { opacity: 1; transform: none; }
body.js .reveal-item.revealed { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .06s; }
.reveal-d2 { transition-delay: .12s; }
.reveal-d3 { transition-delay: .18s; }
.reveal-d4 { transition-delay: .24s; }
.reveal-d5 { transition-delay: .30s; }

/* Breaking news ticker */
.breaking-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto 26px;
  padding: 7px 10px 7px 7px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(99,102,241,.16);
  border-radius: 50px;
  box-shadow: 0 8px 26px rgba(99,102,241,.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}
.breaking-label {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border-radius: 50px;
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.breaking-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulseDot 1.2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.65); }
}
.breaking-scroll { flex: 1; overflow: hidden; }
.breaking-track {
  display: inline-flex;
  white-space: nowrap;
  animation: breakScroll 22s linear infinite;
}
.breaking-track:hover { animation-play-state: paused; }
.breaking-track span { padding: 0 28px; font-size: .88rem; color: var(--gray-dark); font-weight: 500; }
.breaking-track span:first-child { padding-left: 0; }
.breaking-track a { color: var(--primary); font-weight: 700; }
.breaking-track a:hover { text-decoration: underline; }
@keyframes breakScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin: 34px 0 6px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6366f1, #a855f7 60%, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat span { color: var(--gray); font-size: .82rem; font-weight: 500; letter-spacing: .03em; }

/* Card refinements */
.card { position: relative; }
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(90deg, var(--accent, #6366f1), var(--accent-2, #a855f7));
  z-index: 3;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: height .3s ease;
}
.card:hover::before { height: 5px; }

.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,24,39,0) 50%, rgba(17,24,39,.42) 100%);
  opacity: 0;
  transition: opacity .35s;
}
.card:hover .card-image::after { opacity: 1; }
.card-image { background: #eef0f6; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }

.card-category { transition: transform .2s; }
.card:hover .card-category { transform: translateY(0); }
.card:hover .card-title a { color: var(--primary); }

/* Category accents */
.cat-accent-news,   .c-accent-news   { --accent: var(--cat-news);   --accent-2: #ec4899; }
.cat-accent-tech,   .c-accent-tech   { --accent: var(--cat-tech);   --accent-2: #6366f1; }
.cat-accent-biz,    .c-accent-biz    { --accent: var(--cat-biz);    --accent-2: #f97316; }
.cat-accent-life,   .c-accent-life   { --accent: var(--cat-life);   --accent-2: #22c55e; }
.cat-accent-tut,    .c-accent-tut    { --accent: var(--cat-tut);    --accent-2: #d946ef; }

/* Meta helper chips */
.card-meta { flex-wrap: wrap; }
.card-meta .dot { opacity: .35; }
.read-time, .views-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: var(--gray-light);
}

/* Instagram badge */
.ig-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 50px;
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 55%, #6228d7 100%);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(238,42,123,.35);
  white-space: nowrap;
}
.ig-badge svg { width: 12px; height: 12px; flex-shrink: 0; }

/* Article header meta line-up */
.article-meta-row { gap: 16px; }
.article-source-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.article-read-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--gray);
}

/* Article page: nicer prose + IG embed */
.article-page { position: relative; }
.article-header { animation: fadeInUp .6s ease both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.prose blockquote:not(.instagram-media) {
  border-left: 4px solid var(--primary);
  background: linear-gradient(135deg, #eef2ff, #fdf4ff);
  padding: 16px 22px;
  border-radius: 12px;
  margin: 24px 0;
  color: var(--gray-dark);
}
.prose .instagram-media {
  margin-left: auto !important;
  margin-right: auto !important;
}
.prose img { border-radius: 12px; margin: 24px 0; box-shadow: var(--shadow-md); }
.prose hr { border: none; border-top: 2px dashed var(--border); margin: 32px 0; }

/* Author card */
.author-card {
  display: flex;
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, #f5f3ff, #eef2ff);
  border: 1px solid rgba(99,102,241,.18);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 36px 0;
}
.author-card .avatar { width: 56px; height: 56px; font-size: 1.3rem; flex-shrink: 0; }
.author-card h4 { font-size: 1rem; margin-bottom: 4px; }
.author-card p { color: var(--gray); font-size: .9rem; margin: 0; }

/* Categories bar on category page */
.categories-bar.category-bar-page { margin-top: 0; }

/* Page hero refinement */
.page-hero { padding: 72px 0; }
.page-hero h1 { position: relative; display: inline-block; }
.page-hero h1::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -14px;
  transform: translateX(-50%);
  width: 56px; height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,.85);
}

/* Value cards hover */
.value-card { transition: transform .25s, box-shadow .25s, border-color .25s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(99,102,241,.35); }

/* Contact form cards */
.contact-form { transition: transform .25s, box-shadow .25s; }
.contact-form:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Footer socials */
.footer-socials { display: flex; gap: 12px; margin-top: 18px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #cbd5e1;
  transition: all .25s;
}
.social-btn:hover {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff;
  transform: translateY(-3px);
  border-color: transparent;
}
.footer-newsletter { display: flex; gap: 8px; margin-top: 18px; }
.footer-newsletter input {
  flex: 1;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.07);
  color: #fff;
  font-family: inherit;
  font-size: .85rem;
}
.footer-newsletter input::placeholder { color: #6b7280; }
.footer-newsletter input:focus { outline: none; border-color: #6366f1; }
.footer-newsletter button {
  border: none; cursor: pointer;
  padding: 11px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff; font-weight: 700; font-size: .85rem;
  transition: transform .2s;
}
.footer-newsletter button:hover { transform: translateY(-2px); }

/* Empty state polish */
.empty-state { animation: fadeInUp .6s ease both; }

/* Article grid reveal stagger via inline styles handled in views */

/* utility */
.mb-2 { margin-bottom: 10px; }
.dot { opacity: .35; }
.cat-pill { transition: transform .2s, box-shadow .2s; }
.cat-pill:hover { transform: translateY(-1px); }

/* anchor-wrapped card images */
a.card-image { display: block; cursor: pointer; }
a.card-image img { transition: transform .5s; }
.card:hover a.card-image img { transform: scale(1.05); }

/* =========================================================
   V3 — TOMBOL ELEGAN & DINAMIS
   ========================================================= */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  will-change: transform, box-shadow;
}
.btn > * { position: relative; z-index: 2; }

/* shine sweep */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(255,255,255,0) 25%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 75%);
  transform: skewX(-18deg);
  transition: left .55s cubic-bezier(.22,1,.36,1);
}
.btn:hover::before { left: 130%; }

/* animated gradient on primary */
.btn-primary {
  background: linear-gradient(120deg, #6366f1, #8b5cf6, #a855f7, #6366f1);
  background-size: 300% 300%;
  animation: btnGradient 6s ease infinite;
  box-shadow: 0 4px 18px rgba(99,102,241,.35);
}
@keyframes btnGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 34px rgba(99,102,241,.5);
}
.btn-primary:active { transform: translateY(-1px) scale(.97); }

/* outline button — animated corner glow */
.btn-outline { background: transparent; }
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: linear-gradient(135deg, rgba(238,242,255,.9), rgba(253,244,255,.9));
  box-shadow: 0 8px 24px rgba(99,102,241,.18);
  transform: translateY(-2px);
}
.btn-outline:active { transform: translateY(0) scale(.97); }

.btn-ghost:hover { transform: translateY(-2px); }
.btn-danger {
  background: linear-gradient(120deg, #ef4444, #f43f5e, #ef4444);
  background-size: 250% 250%;
  animation: btnGradient 5s ease infinite;
  box-shadow: 0 4px 16px rgba(239,68,68,.32);
}
.btn-danger:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(239,68,68,.45); }
.btn-danger:active { transform: translateY(-1px) scale(.97); }

.btn-success {
  background: linear-gradient(120deg, #16a34a, #22c55e, #16a34a);
  background-size: 250% 250%;
  animation: btnGradient 5s ease infinite;
  color: #fff;
  box-shadow: 0 4px 16px rgba(34,197,94,.32);
}
.btn-success:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(34,197,94,.45); }
.btn-success:active { transform: translateY(-1px) scale(.97); }

/* ripple ink on click */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,.55);
  animation: btnRipple .6s ease-out forwards;
  pointer-events: none;
  z-index: 1;
}
@keyframes btnRipple {
  to { transform: scale(4); opacity: 0; }
}

/* cat pills — playful */
.cat-pill { transition: transform .2s, box-shadow .25s, background .25s; }
.cat-pill:hover { transform: translateY(-2px) scale(1.04); }
.cat-pill.active { animation: pillPop .35s ease; }
@keyframes pillPop {
  0% { transform: scale(.9); }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* share buttons */
.share-btn { position: relative; overflow: hidden; transition: all .25s; }
.share-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, rgba(255,255,255,0) 25%, rgba(255,255,255,.5) 50%, rgba(255,255,255,0) 75%);
  transform: skewX(-18deg);
  transition: left .5s ease;
  pointer-events: none;
}
.share-btn:hover::before { left: 130%; }
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(99,102,241,.18); }
.share-btn:active { transform: translateY(0) scale(.96); }

/* rounded square variant used in cards/forms */
.btn-rounded { border-radius: 50px; }

/* =========================================================
   V4 — DARK MODE
   ========================================================= */
[data-theme="dark"] {
  --primary: #818cf8;
  --primary-dark: #a5b4fc;
  --primary-light: rgba(99,102,241,0.18);
  --dark: #e6e9f2;
  --gray-dark: #b9c0d0;
  --gray: #8b93a7;
  --gray-light: #5b6478;
  --light: #0b0e1a;
  --border: #262b3d;
  --card-bg: rgba(21,25,41,0.85);
  --sidebar-bg: #12151f;
  color-scheme: dark;
}

[data-theme="dark"] .header { background: rgba(12,15,26,0.7); }
[data-theme="dark"] .header.scrolled { background: rgba(11,14,26,.92); }
[data-theme="dark"] .dropdown-menu { background: rgba(15,18,32,0.92); }
[data-theme="dark"] .categories-bar { background: rgba(15,18,32,0.6); border-bottom-color: #262b3d; }
[data-theme="dark"] .search-input { background: #161a2b; border-color: #262b3d; color: var(--dark); }
[data-theme="dark"] .search-input::placeholder { color: var(--gray-light); }
[data-theme="dark"] .card { background: var(--card-bg); border-color: rgba(94,104,140,0.22); }
[data-theme="dark"] .card:hover { box-shadow: 0 14px 36px rgba(0,0,0,0.55); }
[data-theme="dark"] .card-image { background: #1a1f32; }
[data-theme="dark"] .card-image-placeholder { background: linear-gradient(135deg, #1a2035 0%, #232a45 100%); }
[data-theme="dark"] .article-page { background: transparent; }
[data-theme="dark"] .article-container,
[data-theme="dark"] .article-content { color: var(--gray-dark); }
[data-theme="dark"] .contact-form,
[data-theme="dark"] .auth-card { background: #161a2b; border-color: #262b3d; }
[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea,
[data-theme="dark"] .auth-card input,
[data-theme="dark"] .auth-card textarea { background: #1d2336; border-color: #262b3d; color: var(--dark); }
@media (max-width: 968px) {
  [data-theme="dark"] .nav-links.show { background: #0b0e1a; }
}
[data-theme="dark"] .hero-badge { background: rgba(22,26,42,.75); }
[data-theme="dark"] .hero-stat { border-color: #262b3d; }
[data-theme="dark"] .section-header h2 { color: var(--dark); }
[data-theme="dark"] ::selection { background: rgba(129,140,248,.35); }
[data-theme="dark"] ::-webkit-scrollbar-track { background: #161a2b; }
[data-theme="dark"] .pagination .page-info { color: var(--gray); }
[data-theme="dark"] .alert-error { background: #2b1414; color: #fca5a5; border-color: #5b1f1f; }
[data-theme="dark"] .alert-success { background: #12261a; color: #86efac; border-color: #14532d; }
[data-theme="dark"] .empty-state { color: var(--gray); }
[data-theme="dark"] .breadcrumb, [data-theme="dark"] .article-excerpt { color: var(--gray); }
[data-theme="dark"] .back-to-top { background: #161a2b; color: var(--gray); border-color: #262b3d; }
[data-theme="dark"] .back-to-top:hover { background: var(--gradient); color: #fff; }

/* theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.55);
  color: var(--gray-dark);
  cursor: pointer;
  font-size: 1.1rem;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
[data-theme="dark"] .theme-toggle { background: rgba(22,26,42,0.85); color: var(--gray); }
.theme-toggle:hover { transform: translateY(-2px) rotate(18deg); box-shadow: 0 8px 22px rgba(99,102,241,.25); }
.theme-toggle:active { transform: scale(.92); }

/* =========================================================
   V4B — SHARE BUTTONS MEREK
   ========================================================= */
.article-share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 20px 0; border-top: 1px dashed var(--border); border-bottom: 1px dashed var(--border); margin-top: 8px; }
.share-label { font-weight: 600; color: var(--gray-dark); margin-right: 6px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--primary-light);
  color: var(--gray-dark);
  cursor: pointer;
  font-family: inherit;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.share-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, rgba(255,255,255,0) 25%, rgba(255,255,255,.5) 50%, rgba(255,255,255,0) 75%);
  transform: skewX(-18deg);
  transition: left .5s ease;
  pointer-events: none;
}
.share-btn:hover::before { left: 130%; }
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.share-btn:active { transform: translateY(0) scale(.94); }
.share-x:hover { background: #14171a; color: #fff; border-color: #14171a; }
.share-fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.share-wa:hover { background: #25d366; color: #fff; border-color: #25d366; }
.share-copy:hover { background: var(--gradient); color: #fff; border-color: transparent; }
.share-copy.copied { background: var(--success); color: #fff; border-color: var(--success); }

/* =========================================================
   V4C — BREADCRUMB & HERO VARIASI
   ========================================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 14px;
  color: rgba(255,255,255,.85);
}
.breadcrumb a { color: rgba(255,255,255,.75); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.bc-sep { opacity: .6; }
.text-gradient-light {
  background: linear-gradient(115deg, #ffffff 20%, #fde68a 55%, #ffffff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 14px rgba(255,255,255,.18));
}
[data-theme="dark"] .page-hero .breadcrumb,
[data-theme="dark"] .page-hero p { color: rgba(240,241,245,.9); }
[data-theme="dark"] .breadcrumb a { color: rgba(240,241,245,.8); }

.breadcrumb-left {
  justify-content: flex-start;
  margin-bottom: 6px;
  color: var(--gray);
}
[data-theme="dark"] .breadcrumb-left { color: var(--gray); }
.breadcrumb-left a { color: var(--primary); }
.breadcrumb-left a:hover { color: var(--primary-dark); text-decoration: underline; }
.bc-current { color: var(--gray); max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* =========================================================
   SMKN 1 SANGATTA UTARA — BRAND & JURUSAN
   ========================================================= */
/* Two-line school logo */
.logo-text {
  font-size: 1.05rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
}
.logo-break { display: none; }
.logo-sub { font-size: .72rem; font-weight: 600; color: var(--gray); letter-spacing: .02em; }
.logo-school-img { width: auto !important; height: 44px !important; flex-shrink: 0; border-radius: 0 !important; }
.footer .logo-sub { color: rgba(255,255,255,.65); }
.footer .logo-text { color: #fff; }
.footer .logo-school-img { filter: none !important; }
.school-mark { font-size: 1.4rem; }

/* Wide jurusan dropdown */
.dropdown-menu-wide {
  min-width: 320px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4px;
}
.dropdown-menu-wide .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  line-height: 1.3;
}
.dropdown-menu-wide .dd-ico { flex: 0 0 auto; }
.dropdown-menu-wide .dd-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.dropdown-menu-wide .dd-kode {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.dropdown-menu-wide .dd-nama {
  font-size: 0.76rem;
  color: var(--gray);
  font-weight: 500;
}
@media (max-width: 520px) { .dropdown-menu-wide { grid-template-columns: 1fr; } }

/* Sector-colored page hero */
.major-hero { background: linear-gradient(135deg, var(--major-accent, #6366f1), #0f172a 130%); }
.major-hero-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.major-hero-icon svg { width: 34px; height: 34px; color: #fff; }
.major-hero-tagline { max-width: 560px; margin: 0 auto; font-size: 1.05rem; opacity: .95; }

/* Majors grid + cards */
.majors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.major-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 18px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.major-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--major-accent, #6366f1);
}
.major-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(99,102,241,.16); border-color: var(--major-accent, #6366f1); }
.major-icon {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--major-accent, #6366f1), rgba(99,102,241,.72));
  border-radius: 18px;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--major-accent, #6366f1) 40%, transparent);
  margin-bottom: 4px;
}
.major-icon svg { width: 28px; height: 28px; color: #fff; }
.major-code {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--major-accent, #6366f1);
  background: color-mix(in srgb, var(--major-accent, #6366f1) 12%, transparent);
  padding: 4px 10px;
  border-radius: 50px;
}
.major-name { font-size: 1rem; line-height: 1.35; }
.major-desc { color: var(--gray); font-size: .92rem; flex: 1; max-width: 300px; }
.major-link { color: var(--major-accent, #6366f1); font-weight: 700; font-size: .88rem; }
.major-card:hover .major-link { text-decoration: underline; }

/* Detail page blocks */
.major-block { margin-top: 44px; }
.major-block-title {
  font-size: 1.3rem;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.major-block-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 60px; height: 2px;
  background: var(--major-accent, #6366f1);
}
.major-check-list { list-style: none; margin: 0; padding: 0; }
.major-check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 14px;
  margin-bottom: 8px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: .95rem;
}
.major-check-list .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--major-accent, #6366f1);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  border-radius: 50%;
}
.major-check-list .check-warm { background: #f59e0b; }
.major-nav { margin-top: 52px; }
.major-nav-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
}
.major-nav-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card-bg, #fff);
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-dark);
  transition: all .25s;
}
.major-nav-chip:hover, .major-nav-chip.active {
  border-color: var(--major-accent, #6366f1);
  color: var(--major-accent, #6366f1);
  background: color-mix(in srgb, var(--major-accent, #6366f1) 6%, transparent);
}
.major-nav-chip .chip-icon { display: inline-flex; align-items: center; }
.major-nav-chip .chip-icon svg { width: 17px; height: 17px; color: var(--major-accent, #6366f1); }

/* Contact info cards */
.contact-info { border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 28px; background: var(--card-bg, #fff); }
.contact-item:last-child { border-bottom: none; }
.contact-info a { color: var(--primary); font-weight: 600; }

/* Alerts on contact page */
.alert { padding: 14px 18px; border-radius: 10px; font-size: .95rem; margin-bottom: 28px; }

/* Dark theme refinements */
[data-theme="dark"] .major-card { background: rgba(17,22,36,.75); }
[data-theme="dark"] .major-check-list li { background: rgba(17,22,36,.5); }
[data-theme="dark"] .contact-info { background: rgba(17,22,36,.6); }
[data-theme="dark"] .major-nav-chip { background: rgba(17,22,36,.55); }
[data-theme="dark"] .logo-text { color: var(--dark); }
