/*
Theme Name:   Yurapos
Description:  Clean Modern Theme - White & Pink Accent
Author:       Yura
Template:     rkv2
Version:      5.2.3
Text Domain:  yurapos
*/

:root {
  --pink: #FF3E9B;
  --pink-light: #FF88BA;
  --pink-dark: #e6369f;
  --teal: #3A8B95;
  --teal-light: #66D0BC;
  --teal-dark: #2f737b;
  --dark: #111827;
  --gray: #6b7280;
  --light: #f9fafb;
  --white: #ffffff;
  --radius: 12px;
}

[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-card: #ffffff;
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --border-color: #e5e7eb;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
}

[data-theme="dark"] {
  --bg-primary: #111827;
  --bg-secondary: #1f2937;
  --bg-card: #1f2937;
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --border-color: #374151;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.dark-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
  padding: 0;
}
.dark-toggle svg {
  width: 18px;
  height: 18px;
}
.dark-toggle:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.dark-toggle:hover svg {
  stroke: var(--teal);
}

[data-theme="dark"] .dark-toggle svg { stroke: #f9fafb; }
[data-theme="dark"] .bell-toggle svg { stroke: #f9fafb; }

[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }

/* Bell Toggle */
.bell-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
  padding: 0;
  position: relative;
}
.bell-toggle svg {
  stroke: currentColor;
}
.bell-toggle:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.bell-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-card);
}
.bell-badge.show {
  display: flex;
}

/* Notification Modal */
.notif-modal {
  position: fixed;
  top: 76px;
  right: 24px;
  width: 380px;
  max-height: 500px;
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  border: 1px solid var(--border-color);
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.notif-modal.active {
  display: flex;
}
.notif-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}
.notif-modal-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.notif-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.notif-close:hover {
  color: var(--text-primary);
}
.notif-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  max-height: 360px;
}
.notif-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 8px;
  background: var(--bg-secondary);
  transition: background 0.2s;
}
.notif-item:hover {
  background: rgba(58,139,149,0.05);
}
.notif-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(58,139,149,0.1);
  color: var(--pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notif-content {
  flex: 1;
  min-width: 0;
}
.notif-content strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.notif-content p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0 0 4px;
  line-height: 1.4;
}
.notif-time {
  font-size: 11px;
  color: var(--text-secondary);
  opacity: 0.7;
}
.notif-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
  font-size: 13px;
}
.notif-modal-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .notif-modal {
    right: 12px;
    left: 12px;
    width: auto;
    top: 76px;
  }
}

/* Dark Mode - Nav */
[data-theme="dark"] .nav { background: rgba(17,24,39,0.0); border-bottom-color: transparent; backdrop-filter: blur(0px); }
[data-theme="dark"] .nav.scrolled { background: rgba(17,24,39,0.88); backdrop-filter: blur(14px); border-bottom-color: var(--border-color); }
[data-theme="dark"] .nav-links a { color: var(--text-primary); }
[data-theme="dark"] .nav-links a:hover { color: var(--teal); }
[data-theme="dark"] .nav-links .sub-menu { background: var(--bg-card); box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
[data-theme="dark"] .nav-links .sub-menu li a { color: var(--text-secondary); }
[data-theme="dark"] .nav-links .sub-menu li a:hover { background: var(--bg-secondary); color: var(--text-primary); }

/* Dark Mode - Body */
[data-theme="dark"] body { background: var(--bg-primary); color: var(--text-primary); }
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6 { color: #ffffff !important; }
[data-theme="dark"] p { color: var(--text-secondary); }

/* Dark Mode - Hero */
[data-theme="dark"] .hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
[data-theme="dark"] .hero h1 { color: #ffffff; }
[data-theme="dark"] .hero p { color: #d1d5db; }
[data-theme="dark"] .hero-categories { background: rgba(15,23,42,0.92); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(8px); }
[data-theme="dark"] .hero-cat-tabs { background: transparent; border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .hero-cat-tab { background: rgba(255,255,255,0.06); color: #d1d5db; border-color: rgba(255,255,255,0.12); }
[data-theme="dark"] .hero-cat-tab:hover, [data-theme="dark"] .hero-cat-tab.active { background: var(--teal); color: #fff; border-color: var(--teal); }
[data-theme="dark"] .hero-cat-content h4 { color: #ffffff; }
[data-theme="dark"] .hero-cat-content p { color: #9ca3af; }
[data-theme="dark"] .hero-cat-info { color: #d1d5db; }

/* Dark Mode - Features */
[data-theme="dark"] .features-card { background: linear-gradient(135deg, #1f2937 0%, #111827 50%, #1f2937 100%); }
[data-theme="dark"] .features-left { background: #1f2937; color: var(--text-primary); }
[data-theme="dark"] .features-kicker { color: var(--pink-light); }
[data-theme="dark"] .features-left h2 { color: #ffffff !important; }
[data-theme="dark"] .features-lead { color: var(--text-secondary); }
[data-theme="dark"] .feature-item { background: var(--bg-card); border-color: var(--border-color); }
[data-theme="dark"] .feature-item-icon { background: rgba(255,62,155,0.15); color: var(--pink); }
[data-theme="dark"] .feature-item-icon.teal { background: rgba(58,139,149,0.15); color: var(--teal); }
[data-theme="dark"] .feature-item h3 { color: var(--text-primary); }
[data-theme="dark"] .feature-item p { color: var(--text-secondary); }
[data-theme="dark"] .features-view-all .btn-outline { border-color: var(--teal); color: var(--teal); }
[data-theme="dark"] .features-view-all .btn-outline:hover { background: var(--teal); color: white; }

/* Dark Mode - Posts */
[data-theme="dark"] .posts-section { background: var(--bg-primary); }
[data-theme="dark"] .posts-card { background: linear-gradient(135deg, #1f2937 0%, #111827 50%, #1f2937 100%); }
[data-theme="dark"] .posts-card-header h2 { color: #ffffff !important; }
[data-theme="dark"] .post-card { background: var(--bg-card); border-color: var(--border-color); }
[data-theme="dark"] .post-card:hover { border-color: var(--teal); }
[data-theme="dark"] .post-card h3 { color: var(--text-primary); }
[data-theme="dark"] .post-card p { color: var(--text-secondary); }
[data-theme="dark"] .post-meta { color: var(--text-secondary); }
[data-theme="dark"] .post-meta span { color: var(--text-secondary); }
[data-theme="dark"] .post-tag { background: rgba(255,62,155,0.15); color: var(--pink); }
[data-theme="dark"] .post-tag.teal { background: rgba(58,139,149,0.15); color: var(--teal); }
[data-theme="dark"] .post-thumb { background: var(--bg-secondary); }
[data-theme="dark"] .post-thumb-placeholder { color: var(--teal); }
[data-theme="dark"] .post-read { color: var(--text-secondary); }
[data-theme="dark"] .post-read:hover { color: var(--teal); }

/* Dark Mode - Support */
[data-theme="dark"] .support-card { background: linear-gradient(135deg, #1f2937 0%, #111827 100%); }
[data-theme="dark"] .support-right { background: var(--bg-card); border-color: var(--border-color); }
[data-theme="dark"] .support-right h2 { color: #ffffff !important; }
[data-theme="dark"] .support-right p { color: var(--text-secondary); }
[data-theme="dark"] .support-badge { background: rgba(58,139,149,0.1); color: var(--teal); border-color: rgba(58,139,149,0.3); }
[data-theme="dark"] .btn-outline { border-color: var(--border-color); color: var(--text-primary); }
[data-theme="dark"] .btn-outline:hover { border-color: var(--teal); color: var(--teal); }

/* Dark Mode - CTA */
[data-theme="dark"] .cta-card { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
[data-theme="dark"] .cta-card h2 { color: #ffffff !important; }
[data-theme="dark"] .cta-card p { color: #d1d5db; }
[data-theme="dark"] .cta-price { color: #ffffff; }
[data-theme="dark"] .cta-price-note { color: #9ca3af; }

/* Dark Mode - Footer */
[data-theme="dark"] .footer { background: var(--bg-primary); border-top-color: var(--border-color); }
[data-theme="dark"] .footer-brand p { color: var(--text-secondary); }
[data-theme="dark"] .footer-col h4 { color: #ffffff !important; }
[data-theme="dark"] .footer-col a { color: var(--text-secondary); }
[data-theme="dark"] .footer-col a:hover { color: var(--teal); }
[data-theme="dark"] .footer-bottom { border-top-color: var(--border-color); }
[data-theme="dark"] .footer-bottom a { color: var(--text-secondary); }

/* Dark Mode - Buttons */
[data-theme="dark"] .btn-ghost { color: var(--text-primary); }
[data-theme="dark"] .btn-ghost:hover { color: var(--teal); background: rgba(58,139,149,0.1); }
[data-theme="dark"] .support-buttons .btn-outline { border-color: var(--teal); color: var(--teal); }
[data-theme="dark"] .support-buttons .btn-outline:hover { background: var(--teal); color: #fff; }

/* Dark Mode - Mobile Menu */
[data-theme="dark"] .mobile-menu { background: var(--bg-primary); }
[data-theme="dark"] .mobile-menu a { color: var(--text-primary); }
[data-theme="dark"] .mobile-menu .btn-outline { border-color: var(--border-color); color: var(--text-primary); }

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

html, body { margin: 0; padding: 0; }

main { margin: 0; padding: 0; }

section:last-of-type { margin-bottom: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(0,0,0,0.06);
  box-shadow: 0 1px 24px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Offset untuk WordPress admin bar */
body.admin-bar .nav {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .nav {
    top: 46px;
  }
}
.logo {
  display: inline-flex;
  align-items: center;
  height: 42px;
}
.logo-img {
  height: 100%;
  width: auto;
  max-width: 100%;
  display: block;
}
@media (max-width: 768px) {
  .logo { height: 36px; }
}
@media (max-width: 480px) {
  .logo { height: 30px; }
}
@media (max-width: 380px) {
  .logo { height: 26px; }
}
.nav-links {
  display: none;
  list-style: none;
  gap: 32px;
  align-items: center;
}
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--dark); }
/* Dropdown */
.nav-links li {
  position: relative;
}
.nav-links li::after {
  content: '';
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-links .menu-item-has-children > a {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.25s ease;
  margin-left: 2px;
}
.nav-links li:hover > .menu-item-has-children > a::after {
  transform: rotate(180deg);
}
.nav-links .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 8px 0;
  list-style: none;
  margin-top: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
}
.nav-links li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-links .sub-menu li a {
  display: block;
  padding: 11px 22px;
  font-size: 0.875rem;
  color: var(--gray);
  transition: all 0.2s ease;
  border-radius: 8px;
  margin: 0 8px;
}
.nav-links .sub-menu li a:hover {
  background: #f9fafb;
  color: var(--dark);
  padding-left: 26px;
}
/* Mobile submenu */
.mobile-menu .sub-menu {
  max-height: 0;
  overflow: hidden;
  padding-left: 6px;
  margin-left: 8px;
  border-left: 2px solid #fce4ef;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.mobile-menu .sub-menu li {
  position: relative;
}
.mobile-menu .sub-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray);
  border-bottom: 1px solid #f3f4f6;
}
.mobile-menu .sub-menu li:last-child a {
  border-bottom: none;
}
.mobile-menu .sub-menu li a::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
}
.mobile-menu .menu-item-has-children > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.25s ease;
}
.mobile-menu .menu-item-has-children.active > a::after {
  transform: rotate(180deg);
}
.mobile-menu .menu-item-has-children.active > .sub-menu {
  max-height: 500px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-desktop { display: none !important; }
@media (min-width: 768px) { .nav-desktop { display: inline-flex !important; } }

.nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.88); }
.nav:not(.scrolled) .nav-links a:hover { color: #ffffff; }
.nav:not(.scrolled) .nav-links .menu-item-has-children > a::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}
.nav:not(.scrolled) .nav-links .sub-menu { background: rgba(255,255,255,0.96); box-shadow: 0 10px 40px rgba(0,0,0,0.12); }
.nav:not(.scrolled) .nav-links .sub-menu li a { color: var(--dark); }
.nav:not(.scrolled) .nav-links .sub-menu li a:hover { background: #f9fafb; color: var(--pink); }
.nav:not(.scrolled) .btn-ghost { color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.35); }
.nav:not(.scrolled) .btn-ghost:hover { color: #ffffff; border-color: #ffffff; }
.nav:not(.scrolled) .btn-primary { background: #ffffff; color: var(--pink); }
.nav:not(.scrolled) .btn-primary:hover { background: #fff0f6; box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.nav:not(.scrolled) .dark-toggle,
.nav:not(.scrolled) .bell-toggle { color: var(--text-primary) !important; border-color: var(--border-color) !important; }
.nav:not(.scrolled) .dark-toggle svg,
.nav:not(.scrolled) .bell-toggle svg { stroke: var(--text-primary) !important; }

.nav.scrolled .nav-links a { color: var(--gray); }
.nav.scrolled .nav-links a:hover { color: var(--dark); }
.nav.scrolled .nav-links .menu-item-has-children > a::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}
.nav.scrolled .nav-links .sub-menu li a { color: var(--gray); }
.nav.scrolled .nav-links .sub-menu li a:hover { background: #f9fafb; color: var(--dark); }
.nav.scrolled .dark-toggle,
.nav.scrolled .bell-toggle { color: var(--gray); border-color: #e5e7eb; }
.nav.scrolled .dark-toggle:hover,
.nav.scrolled .bell-toggle:hover { border-color: var(--teal); color: var(--teal); }
.nav.scrolled .dark-toggle svg,
.nav.scrolled .bell-toggle svg,
.nav.scrolled .mobile-toggle svg { stroke: var(--gray); }
.nav.scrolled .dark-toggle:hover svg,
.nav.scrolled .bell-toggle:hover svg { stroke: var(--teal); }
.nav.scrolled .mobile-toggle { color: var(--gray); background: transparent; }
.nav.scrolled .btn-ghost { color: var(--gray); border-color: #e5e7eb; }
.nav.scrolled .btn-ghost:hover { color: var(--dark); border-color: var(--dark); }
.nav.scrolled .btn-primary { background: var(--pink); color: white; }
.nav.scrolled .btn-primary:hover { background: var(--pink-dark); box-shadow: 0 4px 15px rgba(255,62,155,0.35); }

[data-theme="dark"] .nav.scrolled .nav-links a { color: var(--text-primary); }
[data-theme="dark"] .nav.scrolled .nav-links a:hover { color: var(--teal); }
[data-theme="dark"] .nav.scrolled .nav-links .sub-menu li a { color: var(--text-secondary); }
[data-theme="dark"] .nav.scrolled .nav-links .sub-menu li a:hover { background: var(--bg-secondary); color: var(--text-primary); }
[data-theme="dark"] .nav.scrolled .dark-toggle,
[data-theme="dark"] .nav.scrolled .bell-toggle { color: var(--text-secondary); border-color: var(--border-color); }
[data-theme="dark"] .nav.scrolled .dark-toggle:hover,
[data-theme="dark"] .nav.scrolled .bell-toggle:hover { border-color: var(--teal); color: var(--teal); }
[data-theme="dark"] .nav.scrolled .dark-toggle svg,
[data-theme="dark"] .nav.scrolled .bell-toggle svg,
[data-theme="dark"] .nav.scrolled .mobile-toggle svg { stroke: var(--text-secondary); }
[data-theme="dark"] .nav.scrolled .dark-toggle:hover svg,
[data-theme="dark"] .nav.scrolled .bell-toggle:hover svg { stroke: var(--teal); }
[data-theme="dark"] .nav.scrolled .mobile-toggle { color: var(--text-secondary); }
[data-theme="dark"] .nav.scrolled .btn-ghost { color: var(--text-secondary); border-color: var(--border-color); }
[data-theme="dark"] .nav.scrolled .btn-ghost:hover { color: var(--text-primary); border-color: var(--text-primary); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--pink);
  color: white;
  padding: 10px 24px;
}
.btn-primary:hover { background: var(--pink-dark); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(255,62,155,0.35); }
.btn-teal {
  background: var(--teal);
  color: white;
  padding: 10px 24px;
}
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(58,139,149,0.35); }
.btn-ghost {
  background: transparent;
  color: var(--gray);
  padding: 10px 20px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
}
.btn-ghost:hover { color: var(--dark); border-color: var(--dark); }
.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid #e5e7eb;
  padding: 10px 24px;
}
.support-buttons .btn-outline {
  border-color: var(--teal);
  color: var(--teal);
  border-radius: 50px;
}
.support-buttons .btn-outline:hover {
  background: var(--teal);
  color: white;
}
.btn-outline:hover { border-color: var(--dark); }
.btn-lg { padding: 14px 32px; font-size: 0.9375rem; }
.btn svg, .btn i { width: 18px; height: 18px; }

/* Mobile Toggle */
.mobile-toggle {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  color: white;
  flex-shrink: 0;
}
.mobile-toggle svg {
  width: 24px;
  height: 24px;
}
@media (min-width: 768px) { .mobile-toggle { display: none !important; } }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 116px;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: white;
  padding: 20px;
  padding-top: 16px;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  z-index: 40;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
}
@media (max-width: 782px) {
  .mobile-menu {
    top: 116px;
  }
}
.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-menu a {
  display: block;
  padding: 14px 0;
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid #f3f4f6;
}
.mobile-menu .btn {
  width: 100%;
  justify-content: center;
  border-radius: 50px;
  padding: 14px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.mobile-menu .btn-primary {
  background: var(--pink);
  color: white;
}
.mobile-menu .btn-outline {
  border: 1.5px solid #e5e7eb;
  color: var(--dark);
  background: transparent;
}

/* ========== HERO ========== */
.hero {
  padding: 140px 0 100px;
  background:
    radial-gradient(115% 130% at 0% 0%, rgba(58,139,149,0.95) 0%, rgba(58,139,149,0) 50%),
    radial-gradient(90% 120% at 100% 100%, rgba(255,62,155,0.35) 0%, rgba(255,62,155,0) 55%),
    linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 52%, var(--teal) 100%);
  overflow: hidden;
  position: relative;
  z-index: 1;
  border-radius: 0 0 40px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
}
.hero-left h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.hero-left > p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 100%;
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.hero-left {
  overflow: hidden;
  min-width: 0;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.hero-tag {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: white;
}
.tag-pink { background: var(--pink); }
.tag-teal { background: var(--teal); }
.tag-blue { background: #3b82f6; }
.tag-purple { background: #8b5cf6; }
.tag-orange { background: #f97316; }
.tag-green { background: #22c55e; }
.tag-teal { background: var(--pink-light); }
.tag-yellow { background: #eab308; color: #111; }
.tag-red { background: #ef4444; }
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.btn-white {
  background: white;
  color: var(--pink);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
}
.btn-white:hover {
  background: #e6f7f8;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
}
.btn-outline-white:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}
.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.hero-scroll:hover { color: white; }

/* Hero Right */
.hero-right {
  position: relative;
}
.hero-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
  aspect-ratio: 4/3;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-slide.active {
  opacity: 1;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}
.hero-dot.active {
  background: white;
  border-color: white;
}
.hero-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.hero-image-wrap .hero-image:not([style*="display: none"]) + .hero-image-placeholder {
  display: none;
}

/* Category Tabs */
.hero-categories {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-top: -80px;
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 85%;
  margin-left: auto;
  box-sizing: border-box;
}
.hero-cat-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.hero-cat-tabs::-webkit-scrollbar {
  display: none;
}
.hero-cat-tab {
  padding: 8px 18px;
  border-radius: 50px;
  border: 1.5px solid #e5e7eb;
  background: white;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  font-family: inherit;
}
.hero-cat-tab:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.hero-cat-tab.active {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}
.hero-cat-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.hero-cat-content p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
}

/* Hero Badge */
.hero-badge {
  display: none;
}

/* ========== FEATURES ========== */
.features {
  padding: 32px 0;
  position: relative;
  z-index: 20;
}
@media (min-width: 1024px) {
  .features {
    margin-top: -120px;
  }
}
.features-card {
  background: linear-gradient(135deg, #fff5fa 0%, #e6f7f8 100%);
  border-radius: 32px;
  padding: 18px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.features-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: stretch;
  position: relative;
}
.features-left,
.features-right {
  min-width: 0;
}
.features-left {
  background: #ffffff;
  border-radius: 28px;
  padding: 40px 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}
.features-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--pink);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.features-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
}
.features-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.75px;
  margin: 0;
  line-height: 1.2;
}
.features-left h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.08;
  letter-spacing: -1px;
  max-width: 14ch;
  margin: 0;
}
.features-lead {
  margin: 18px 0 0;
  max-width: 36ch;
  color: var(--gray);
  line-height: 1.7;
  font-size: 1rem;
}
.features-first-card {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  justify-content: center;
}
.features-first-card img {
  width: 100%;
  max-height: 380px;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
  border-radius: 22px 22px 28px 28px;
}
.features-visual-placeholder {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 16 / 11;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff0f6 0%, #e6f7f8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  border: 1px solid rgba(255,62,155,0.12);
  margin: 0 auto;
}
.feature-visual-icon {
  width: 92px;
  height: 92px;
  display: block;
  opacity: 0.35;
}
.features-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 4px;
}
.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #ffffff;
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid rgba(255,62,155,0.07);
  box-shadow: 0 2px 8px rgba(17,24,39,0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-width: 0;
}
.feature-item:hover {
  transform: translateY(-3px);
  border-color: var(--pink-light);
  box-shadow: 0 12px 28px rgba(255,62,155,0.10);
}
.feature-item-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  border-radius: 14px;
  color: white;
  flex-shrink: 0;
}
.feature-item-icon.teal { background: var(--teal); }
.feature-item-icon svg { width: 24px; height: 24px; display: block; }
.feature-item-content h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.3;
  word-break: break-word;
}
.feature-item-content p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.55;
  margin: 0;
  word-break: break-word;
}
.features-image-wrap {
  margin-top: 40px;
  text-align: center;
}
.features-image-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}
@media (min-width: 768px) {
  .features-image-wrap img {
    max-width: 500px;
  }
}
.features-view-all {
  text-align: left;
  margin-top: 18px;
}
.features-view-all .btn-outline {
  border: 2px solid var(--pink);
  color: var(--pink);
  background: transparent;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease;
}
.features-view-all .btn-outline:hover {
  background: var(--teal);
  color: white;
}

.modal-feature-item .feature-item-icon { width: 40px; height: 40px; }

@media (max-width: 1024px) {
  .features-card { padding: 16px; }
  .features-left { padding: 34px 32px 0; }
}
@media (max-width: 767px) {
  .features { padding: 56px 0; }
  .features-card { padding: 16px; border-radius: 24px; }
  .features-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .features-left { padding: 28px 24px 0; }
  .features-left h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); max-width: none; }
  .features-lead { margin: 14px 0 0; max-width: none; }
  .features-first-card { padding-top: 24px; }
  .features-first-card img { max-height: 300px; border-radius: 18px 18px 22px 22px; }
  .features-right { padding-top: 0; }
  .feature-item { padding: 16px; gap: 14px; }
  .feature-item-icon { width: 46px; height: 46px; border-radius: 12px; }
  .feature-item-icon svg { width: 22px; height: 22px; }
  .feature-item-content h3 { font-size: 1rem; }
  .feature-item-content p { font-size: 0.8125rem; }
}

/* ========== MODAL ========== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.active {
  display: flex;
}
.modal-content {
  background: white;
  border-radius: 20px;
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid #e5e7eb;
}
.modal-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}
.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s;
}
.modal-close:hover {
  background: #f3f4f6;
  color: var(--dark);
}
.modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f9fafb;
  padding: 18px 24px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
}

/* ========== POSTS ========== */
.posts-section {
  padding: 24px 0;
  background: transparent;
}
@media (min-width: 1024px) {
  .posts-section {
    margin-top: 8px;
  }
}
.posts-card {
  background: linear-gradient(135deg, #fff0f6 0%, #ffe0ef 50%, #e6f7f8 100%);
  border-radius: 24px;
  padding: 48px;
  overflow: hidden;
}
.posts-card-header {
  text-align: center;
  margin-bottom: 40px;
}
.posts-card-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.75px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.posts-card-header h2 span { color: var(--pink); }
.posts-card-header p {
  font-size: 1rem;
  color: var(--gray);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .posts-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid #f3f4f6;
  transition: all 0.25s;
}
.post-card:hover {
  border-color: #fecdd3;
  box-shadow: 0 8px 30px rgba(255,62,155,0.08);
  transform: translateY(-2px);
}
.post-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f3f4f6;
}
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.post-card:hover .post-thumb img {
  transform: scale(1.05);
}
.post-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
}
.post-thumb-placeholder i { width: 40px; height: 40px; }
.post-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--gray);
}
.post-tag {
  display: inline-block;
  background: #fff0f6;
  color: var(--pink);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.6875rem;
  font-weight: 600;
  width: fit-content;
}
.post-tag.teal { background: #e6f7f8; color: var(--teal); }
.post-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.post-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pink);
  text-decoration: none;
  margin-top: auto;
}
.post-card:hover .post-read {
  gap: 10px;
}

/* ========== SUPPORT ========== */
.support-section {
  padding: 24px 0;
}
@media (min-width: 1024px) {
  .support-section {
    margin-top: 8px;
  }
}
.support-card {
  background: linear-gradient(135deg, #fff0f6 0%, #ffe0ef 50%, #e6f7f8 100%);
  border-radius: 24px;
  overflow: hidden;
}
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 0;
}
@media (min-width: 768px) {
  .support-grid { grid-template-columns: 1fr 1.1fr; }
}
.support-left {
  position: relative;
  min-height: 300px;
}
.support-image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}
.support-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  background: rgba(255,62,155,0.06);
  min-height: 0;
}
.support-image:not([style*="display: none"]) + .support-image-placeholder {
  display: none;
}
.support-right {
  padding: 48px 48px 48px 24px;
}
@media (min-width: 768px) {
  .support-right { padding: 48px; }
}
@media (max-width: 767px) {
  .support-left { min-height: 0; }
  .support-image { height: auto; width: 100%; object-fit: cover; }
  .support-image-placeholder { position: relative; min-height: 220px; }
  .support-right {
    padding: 24px 16px;
    text-align: center;
  }
  .support-right h2 {
    font-size: 1.5rem;
  }
  .support-badge {
    margin-left: auto;
    margin-right: auto;
  }
}
.support-right h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.support-right p {
  font-size: 0.9375rem;
  color: var(--gray);
  margin-bottom: 20px;
}
.support-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(58,139,149,0.1);
  border: 1px solid rgba(58,139,149,0.2);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--pink);
  text-decoration: none;
  margin-bottom: 28px;
  transition: all 0.2s;
}
.support-badge:hover {
  background: rgba(255,62,155,0.15);
}
.support-badge-label {
  font-weight: 700;
}
.support-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-teal {
  background: var(--pink);
  color: white;
  padding: 12px 28px;
}
.btn-teal:hover {
  background: var(--pink-dark);
  transform: translateY(-1px);
}
.btn-outline-teal {
  background: transparent;
  color: var(--pink);
  border: 1.5px solid var(--pink);
  padding: 12px 28px;
}
.btn-outline-teal:hover {
  background: var(--pink);
  color: white;
}

/* ========== SINGLE POST ========== */
.single-post {
  padding: 80px 0 160px;
}
.single-card {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, #fff0f6 0%, #ffe0ef 50%, #e6f7f8 100%);
  border-radius: 24px;
  overflow: hidden;
}
.single-body {
  padding: 48px;
}
.single-thumb {
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 0;
}
.single-thumb img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.single-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--teal);
  font-weight: 600;
  background: rgba(58,139,149,0.1);
  padding: 6px 14px;
  border-radius: 50px;
}
.single-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.75px;
  line-height: 1.2;
  margin-bottom: 32px;
}
.single-content {
  font-size: 1rem;
  color: #374151;
  line-height: 1.8;
}
.single-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e6f7f8;
}
.single-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin: 28px 0 12px;
}
.single-content p {
  margin-bottom: 20px;
}
.single-content a {
  color: var(--pink);
  text-decoration: underline;
}
.single-content a:hover {
  color: var(--pink-dark);
}
.single-content ul,
.single-content ol {
  margin: 0 0 20px 24px;
}
.single-content li {
  margin-bottom: 8px;
}
.single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
}
.single-content blockquote {
  border-left: 3px solid var(--teal);
  padding: 16px 24px;
  margin: 24px 0;
  background: #e6f7f8;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--dark);
}
.single-content code {
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.875rem;
}
.single-content pre {
  background: var(--dark);
  color: #e5e7eb;
  padding: 20px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 24px 0;
}
.single-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Single Post - Responsive */
@media (max-width: 767px) {
  .single-post {
    padding: 56px 0 120px;
  }
  .single-card {
    border-radius: 16px;
  }
  .single-body {
    padding: 24px 20px;
  }
  .single-thumb img {
    height: 220px;
  }
  .single-title {
    font-size: 1.5rem;
  }
  .single-meta {
    gap: 10px;
  }
  .single-meta-item {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
}

@media (max-width: 480px) {
  .single-post {
    padding: 40px 0 100px;
  }
  .single-body {
    padding: 20px 16px;
  }
  .single-thumb img {
    height: 180px;
  }
  .single-title {
    font-size: 1.35rem;
  }
}

/* Single Post - Dark Mode */
[data-theme="dark"] .single-card {
  background: linear-gradient(135deg, #1f2937 0%, #111827 50%, #1f2937 100%);
}
[data-theme="dark"] .single-title {
  color: #ffffff;
}
[data-theme="dark"] .single-content {
  color: #d1d5db;
}
[data-theme="dark"] .single-content h2 {
  color: #ffffff;
  border-bottom-color: #374151;
}
[data-theme="dark"] .single-content h3 {
  color: #ffffff;
}
[data-theme="dark"] .single-content a {
  color: var(--pink-light);
}
[data-theme="dark"] .single-content blockquote {
  background: rgba(58,139,149,0.1);
  color: #e5e7eb;
}
[data-theme="dark"] .single-content code {
  background: #374151;
  color: #e5e7eb;
}
[data-theme="dark"] .single-meta-item {
  background: rgba(58,139,149,0.15);
  color: var(--teal-light);
}

/* ========== BOTTOM GRADIENT WRAPPER ========== */
.bottom-gradient {
  background: transparent;
  position: relative;
}

/* ========== CTA ========== */
.cta {
  padding: 24px 0;
  background: transparent;
  position: relative;
  z-index: 10;
}
.cta-card {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-light) 40%, var(--teal) 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}
.cta-right {
  position: relative;
  overflow: hidden;
}
.cta-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}
.cta-left {
  padding: 60px 48px;
}
.cta-left h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.75px;
  margin-bottom: 16px;
}
.cta-left p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  max-width: 440px;
}
.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cta-links {
  display: flex;
  gap: 24px;
}
.cta-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.cta-links a:hover { opacity: 0.8; }
.cta-right {
  position: relative;
  min-height: 260px;
}
.cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cta-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: rgba(255,255,255,0.08);
}
.cta-image:not([style*="display: none"]) + .cta-image-placeholder {
  display: none;
}
@media (max-width: 1023px) {
  .cta-left { padding: 24px 16px; text-align: center; }
  .cta-right { min-height: 0; }
  .cta-image { height: auto; }
  .cta-image-placeholder { position: relative; min-height: 220px; }
  .cta-buttons { flex-direction: column; width: 100%; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
  .cta-links { justify-content: center; flex-wrap: wrap; }
  .cta-left p { max-width: 100%; margin-left: auto; margin-right: auto; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cta-image { aspect-ratio: 21 / 9; }
}
@media (min-width: 1024px) {
  .cta {
    margin-top: 24px;
  }
  .cta-grid { grid-template-columns: 1fr 1fr; }
  .cta-image { width: 100%; aspect-ratio: 21 / 9; object-fit: contain; object-position: center; }
}

/* ========== FOOTER ========== */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,0.6);
  padding: 140px 0 36px;
  margin-top: -120px;
  position: relative;
  z-index: 1;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--pink-dark), var(--teal));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 32px;
  margin-bottom: 48px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); } }
.footer-brand .logo { height: 32px; }
.footer-brand .logo-img { height: 100%; width: auto; max-width: 100%; display: block; }
.footer-brand p { margin-top: 14px; font-size: 0.9rem; line-height: 1.75; max-width: 320px; }
.footer-col h4 {
  color: white;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 18px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.footer-links a:hover { color: var(--pink); transform: translateX(4px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
}
.footer-bottom a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--pink); }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero {
    padding: 100px 0 80px;
    border-radius: 0 0 24px 0;
    overflow: hidden;
  }
  .hero .container {
    padding: 0 16px;
    box-sizing: border-box;
  }
  .hero-grid {
    gap: 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
  }
  .hero-left {
    padding: 0;
    overflow: hidden;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-left h1 {
    font-size: var(--hero-title-mobile, 2rem);
    margin-bottom: 12px;
    line-height: 1.15;
    max-width: 100%;
    letter-spacing: -0.5px;
  }
  .hero-left > p {
    max-width: 100%;
    font-size: var(--hero-desc-mobile, 0.9rem);
    margin-bottom: 20px;
    line-height: 1.5;
  }
  .hero-tags {
    justify-content: flex-start;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.875rem;
    border-radius: 50px;
    box-sizing: border-box;
  }
  .hero-right {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .hero-categories {
    width: 100%;
    max-width: 92%;
    margin-left: auto;
    margin-top: -72px;
    padding: 10px;
    border-radius: 12px;
    box-sizing: border-box;
    overflow: hidden;
  }
  .hero-image-wrap {
    aspect-ratio: 16/10;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-cat-content {
    text-align: left;
  }
  .hero-cat-content h4 {
    text-align: left;
  }
  .hero-cat-content p {
    text-align: left;
  }
  .hero-cat-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 4px;
  }
  .hero-cat-tabs::-webkit-scrollbar {
    display: none;
  }
  .hero-cat-tab {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.8125rem;
  }
  .features {
    margin-top: -40px;
    padding: 24px 0;
  }
  .features-card {
    padding: 20px 16px;
    border-radius: 14px;
  }
  .features-shell {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .features-left {
    padding: 24px 16px 32px;
    border-radius: 16px;
    min-height: 0;
  }
  .features-kicker {
    margin-bottom: 10px;
  }
  .features-left h2 {
    font-size: 1.5rem;
    max-width: 100%;
  }
  .features-lead {
    font-size: 0.875rem;
    margin: 14px 0 18px;
  }
  .features-first-card img {
    width: 100%;
    max-width: 440px;
  }
  .features-first-card {
    left: 18px;
    right: 18px;
    bottom: 14px;
  }
  .features-right {
    gap: 14px;
  }
  .feature-item {
    padding: 16px;
    gap: 12px;
    border-radius: 16px;
  }
  .feature-item-icon {
    width: 40px;
    height: 40px;
  }
  .feature-item-icon svg { width: 18px; height: 18px; }
  .feature-item-content h3 {
    font-size: 1rem;
  }
  .feature-item-content p {
    font-size: 0.875rem;
  }
  .features-view-all {
    margin-top: 6px;
  }
  .posts-section {
    padding: 32px 0;
  }
  .posts-card {
    padding: 20px 16px;
    border-radius: 14px;
  }
  .posts-card-header {
    margin-bottom: 32px;
  }
  .posts-card-header h2 {
    font-size: 1.5rem;
  }
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .post-card {
    border-radius: 14px;
  }
  .post-body {
    padding: 18px;
  }
  .post-card h3 {
    font-size: 1rem;
  }
  .post-card p {
    font-size: 0.875rem;
  }
  .post-meta {
    font-size: 0.75rem;
  }
  .support-card {
    border-radius: 16px;
  }
  .support-section {
    padding: 32px 0;
  }
  .support-grid {
    grid-template-columns: 1fr;
  }
  .support-left {
    padding: 24px 16px 0;
  }
  .support-right {
    padding: 24px 16px;
  }
  .support-right h2 {
    font-size: 1.5rem;
  }
  .support-badge {
    font-size: 0.75rem;
    padding: 8px 16px;
  }
  .support-buttons {
    flex-direction: column;
    width: 100%;
  }
  .support-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .footer {
    padding: 100px 0 28px;
    margin-top: -80px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .container {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .hero-left h1 {
    font-size: var(--hero-title-mobile, 1.75rem);
  }
  .hero-left p {
    font-size: var(--hero-desc-mobile, 0.9rem);
  }
  .hero-cat-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hero-cat-tabs::-webkit-scrollbar {
    display: none;
  }
  .posts-card {
    padding: 16px 16px;
  }
  .post-body {
    padding: 14px 16px 16px;
  }
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .post-card h3 {
    font-size: 1rem;
  }
  .post-card p {
    font-size: 0.875rem;
    margin-bottom: 14px;
  }
  .post-read {
    font-size: 0.75rem;
  }
  .support-left {
    padding: 24px 16px 0;
  }
  .support-right {
    padding: 16px;
    text-align: center;
  }
  .cta-card {
    padding: 24px 16px;
  }
  .features-card {
    padding: 16px 16px;
  }
  .features-left {
    padding: 16px 16px 24px;
  }
  .features-left h2 {
    font-size: 1.35rem;
  }
  .features-lead {
    font-size: 0.875rem;
    margin: 12px 0 16px;
  }
  .feature-item {
    padding: 16px;
  }
  .feature-item-content h3 {
    font-size: 1rem;
  }
  .feature-item-content p {
    font-size: 0.875rem;
  }
}

/* Small phones < 380px */
@media (max-width: 380px) {
  .container {
    padding: 0 12px;
  }
  .hero {
    padding: 90px 0 60px;
  }
  .hero .container {
    padding: 0 12px;
  }
  .hero-left {
    padding: 0;
    overflow: hidden;
  }
  .hero-left h1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    line-height: 1.2;
  }
  .hero-left > p {
    font-size: 0.8125rem;
    margin-bottom: 14px;
    line-height: 1.4;
  }
  .hero-buttons {
    gap: 8px;
  }
  .btn {
    padding: 10px 14px;
    font-size: 0.8125rem;
  }
  .hero-image-wrap {
    aspect-ratio: 16/9;
    border-radius: 8px;
  }
  .hero-categories {
    margin-top: -30px;
    padding: 8px;
    border-radius: 8px;
  }
  .features {
    margin-top: -40px;
  }
  .hero-cat-tab {
    padding: 5px 10px;
    font-size: 0.7rem;
  }
  .hero-cat-content h4 {
    font-size: 0.8rem;
  }
  .hero-cat-content p {
    font-size: 0.7rem;
    line-height: 1.4;
  }
  .features-card {
    padding: 16px 16px;
    border-radius: 12px;
  }
  .features-shell {
    gap: 14px;
  }
  .features-left {
    padding: 16px 16px 24px;
    border-radius: 14px;
  }
  .features-left h2 {
    font-size: 1.25rem;
  }
  .features-lead {
    font-size: 0.8rem;
    margin: 10px 0 14px;
  }
  .feature-item {
    padding: 14px;
  }
  .feature-item-icon {
    width: 36px;
    height: 36px;
  }
  .feature-item-icon svg { width: 16px; height: 16px; }
  .feature-item-content h3 {
    font-size: 0.9375rem;
  }
  .feature-item-content p {
    font-size: 0.8125rem;
  }
  .post-body {
    padding: 12px 16px 14px;
  }
  .post-card h3 {
    font-size: 0.9375rem;
  }
  .post-card p {
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .features-card {
    padding: 24px 16px;
  }
  .feature-item {
    padding: 16px;
  }
}

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
