@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --brand: #0F7A3F;
  --brand-dark: #0A5C2E;
  --brand-darker: #074422;
  --brand-light: #1AA053;
  --brand-soft: #E6F6EC;
  --brand-glow: rgba(15, 122, 63, 0.35);
  --ink: #0B1220;
  --ink-2: #1E293B;
  --muted: #64748B;
  --muted-2: #94A3B8;
  --line: #E2E8F0;
  --line-soft: #F1F5F9;
  --surface: #FFFFFF;
  --bg: #F8FAFC;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 24px 64px rgba(15, 23, 42, 0.16);
  --shadow-brand: 0 12px 40px var(--brand-glow);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.4s;
  --font: 'Cairo', system-ui, -apple-system, sans-serif;
  --header-h: 72px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink-2);
  line-height: 1.65;
  direction: rtl;
  text-align: right;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; border: none; outline: none; background: none; }
button { cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--brand-soft); color: var(--brand-dark); }

h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.25; color: var(--ink); letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-brand { color: var(--brand); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--soft { background: var(--surface); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.6rem; font-weight: 700; font-size: 0.95rem;
  border-radius: var(--radius); white-space: nowrap; border: 1.5px solid transparent;
  position: relative; overflow: hidden;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), background var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  transform: translateX(120%); transition: transform 0.6s var(--ease);
}
.btn:hover::after { transform: translateX(-120%); }
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 50%, var(--brand-dark) 100%);
  color: #fff; box-shadow: var(--shadow-brand), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px var(--brand-glow); }
.btn-secondary {
  background: rgba(255,255,255,0.12); color: #fff;
  border-color: rgba(255,255,255,0.35); backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.22); border-color: #fff; }
.btn-outline {
  background: var(--surface); color: var(--ink-2); border-color: var(--line); box-shadow: var(--shadow-xs);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--line-soft); color: var(--brand); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.28rem 0.75rem; font-size: 0.72rem; font-weight: 700;
  border-radius: var(--radius-full);
}
.badge-free { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); color: #065F46; }
.badge-paid { background: linear-gradient(135deg, #FEF3C7, #FDE68A); color: #92400E; }
.badge-category { background: var(--line-soft); color: var(--muted); }
.badge-success { background: #D1FAE5; color: #065F46; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-danger { background: #FEE2E2; color: #991B1B; }

.card {
  background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.sheet-card {
  background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line);
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s ease;
  position: relative;
}
.sheet-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(15, 122, 63, 0.25);
}
.sheet-card__preview {
  position: relative; aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #F0FDF4 0%, #ECFDF5 40%, #F8FAFC 100%);
  overflow: hidden;
}
.sheet-card__preview img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.sheet-card:hover .sheet-card__preview img { transform: scale(1.06); }
.sheet-card__preview-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--brand);
}
.sheet-card__badge { position: absolute; top: 0.85rem; right: 0.85rem; z-index: 2; }
.sheet-card__body { padding: 1.25rem 1.3rem 1.3rem; display: flex; flex-direction: column; flex: 1; gap: 0.55rem; }
.sheet-card__title {
  font-size: 1.08rem; font-weight: 800; color: var(--ink); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.25s ease;
}
.sheet-card:hover .sheet-card__title { color: var(--brand); }
.sheet-card__desc {
  font-size: 0.875rem; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1;
}
.sheet-card__meta { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; font-size: 0.78rem; color: var(--muted-2); }
.sheet-card__footer {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  margin-top: 0.4rem; padding-top: 0.9rem; border-top: 1px solid var(--line-soft);
}
.sheet-card__price { font-weight: 800; font-size: 1.15rem; color: var(--brand-dark); }
.sheet-card__price--free { color: var(--brand); }

.header {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,0.94); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: 0.65rem; font-weight: 800; font-size: 1.2rem; color: var(--brand-dark); flex-shrink: 0; }
.logo__icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 1.15rem; box-shadow: 0 4px 14px var(--brand-glow);
}
.nav { display: flex; align-items: center; gap: 0.2rem; }
.nav__link {
  padding: 0.5rem 1rem; font-weight: 600; font-size: 0.92rem; color: var(--muted);
  border-radius: var(--radius-sm); transition: all 0.25s var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--brand); background: var(--brand-soft); }
.header__actions { display: flex; align-items: center; gap: 0.75rem; }
.header__search { position: relative; display: none; }
.header__search input {
  width: 220px; padding: 0.55rem 1rem 0.55rem 2.5rem; background: var(--line-soft);
  border-radius: var(--radius-full); border: 1.5px solid transparent; transition: all 0.25s ease; font-size: 0.9rem;
}
.header__search input:focus { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.header__search-icon { position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.mobile-menu-btn { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: var(--radius-sm); color: var(--ink-2); }
.mobile-menu-btn:hover { background: var(--line-soft); }

.hero {
  position: relative; padding: 5.5rem 0 6.5rem; overflow: hidden;
  background: linear-gradient(145deg, #053820 0%, #0A5C2E 35%, #0F7A3F 70%, #1AA053 100%);
  color: #fff;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}
.hero__orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; animation: orbFloat 12s ease-in-out infinite; }
.hero__orb--1 { width: 420px; height: 420px; background: rgba(26, 160, 83, 0.45); top: -10%; left: -5%; }
.hero__orb--2 { width: 320px; height: 320px; background: rgba(255, 255, 255, 0.08); bottom: -15%; right: 5%; animation-delay: -4s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}
.hero__inner { position: relative; z-index: 2; text-align: center; max-width: 780px; margin: 0 auto; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(12px);
  padding: 0.45rem 1.15rem; border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 700; border: 1px solid rgba(255,255,255,0.18); margin-bottom: 1.75rem;
}
.hero h1 { color: #fff; margin-bottom: 1.15rem; text-shadow: 0 2px 40px rgba(0,0,0,0.15); }
.hero p { color: rgba(255,255,255,0.88); font-size: 1.2rem; margin-bottom: 2.25rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero__search { max-width: 560px; margin: 0 auto 2rem; position: relative; }
.hero__search input {
  width: 100%; padding: 1.1rem 1.4rem 1.1rem 3.8rem; border-radius: var(--radius-full);
  background: #fff; color: var(--ink); font-size: 1rem; font-weight: 500;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2); border: 2px solid transparent; transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.hero__search input:focus { border-color: rgba(255,255,255,0.5); box-shadow: 0 20px 50px rgba(0,0,0,0.25), 0 0 0 4px rgba(255,255,255,0.15); }
.hero__search input::placeholder { color: var(--muted-2); }
.hero__search-btn {
  position: absolute; left: 0.45rem; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px var(--brand-glow); transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.hero__search-btn:hover { transform: translateY(-50%) scale(1.08); box-shadow: 0 6px 24px var(--brand-glow); }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero .btn-primary { background: #fff; color: var(--brand-dark); box-shadow: 0 8px 28px rgba(0,0,0,0.15); }
.hero .btn-primary:hover { background: var(--brand-soft); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }

.section__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; gap: 1rem; flex-wrap: wrap; }
.section__title { font-size: 1.55rem; display: flex; align-items: center; gap: 0.7rem; }
.section__title::before { content: ''; width: 5px; height: 1.35em; background: linear-gradient(180deg, var(--brand-light), var(--brand-dark)); border-radius: 4px; }
.section__link { color: var(--brand); font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; gap: 0.35rem; transition: gap 0.25s var(--ease); }
.section__link:hover { gap: 0.55rem; color: var(--brand-dark); }

.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }
.category-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem 1rem; text-align: center; transition: all 0.4s var(--ease-out); cursor: pointer; position: relative; overflow: hidden;
}
.category-card:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-card__icon {
  width: 56px; height: 56px; margin: 0 auto 0.9rem; background: var(--brand-soft); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 1.55rem; color: var(--brand); transition: all 0.4s var(--ease);
}
.category-card:hover .category-card__icon { background: var(--brand); color: #fff; transform: scale(1.08) rotate(-4deg); box-shadow: 0 8px 20px var(--brand-glow); }
.category-card__name { font-weight: 700; font-size: 0.95rem; color: var(--ink); margin-bottom: 0.2rem; }
.category-card__count { font-size: 0.8rem; color: var(--muted-2); }

.sheets-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.6rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.75rem; text-align: center; transition: all 0.4s var(--ease-out);
}
.feature-card:hover { border-color: rgba(15, 122, 63, 0.3); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-card__icon {
  width: 64px; height: 64px; margin: 0 auto 1.25rem;
  background: linear-gradient(145deg, var(--brand-soft), #D1FAE5); border-radius: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem; color: var(--brand); transition: transform 0.4s var(--ease);
}
.feature-card:hover .feature-card__icon { transform: scale(1.1) rotate(6deg); }
.feature-card h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.92rem; }

.footer {
  background: linear-gradient(180deg, #0B1220 0%, #0F172A 100%); color: #94A3B8;
  padding: 4.5rem 0 1.75rem; margin-top: 2rem; position: relative; overflow: hidden;
}
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(15,122,63,0.5), transparent); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer__brand .logo { color: #fff; margin-bottom: 1rem; }
.footer__brand p { color: #64748B; font-size: 0.95rem; line-height: 1.75; max-width: 300px; }
.footer__title { color: #fff; font-size: 0.95rem; font-weight: 800; margin-bottom: 1.2rem; }
.footer__links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__links a { color: #64748B; font-size: 0.9rem; transition: color 0.25s ease, transform 0.25s var(--ease); display: inline-block; }
.footer__links a:hover { color: #4ADE80; transform: translateX(-4px); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.85rem; color: #475569;
}

.filters-bar {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem; margin-bottom: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; box-shadow: var(--shadow-xs);
}
.filter-group { display: flex; flex-direction: column; gap: 0.35rem; }
.filter-group label { font-size: 0.75rem; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.04em; }
.filter-select, .filter-input {
  padding: 0.6rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); min-width: 150px; transition: border-color 0.25s ease, box-shadow 0.25s ease; color: var(--ink-2);
}
.filter-select:focus, .filter-input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); background: #fff; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 0.35rem; margin-top: 2.75rem; }
.pagination__btn {
  min-width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); font-weight: 700; font-size: 0.9rem; color: var(--muted); transition: all 0.25s var(--ease);
}
.pagination__btn:hover { background: var(--brand-soft); color: var(--brand); }
.pagination__btn.active { background: var(--brand); color: #fff; box-shadow: 0 4px 14px var(--brand-glow); }
.pagination__btn:disabled { opacity: 0.35; cursor: not-allowed; }

.empty-state { text-align: center; padding: 4.5rem 1.5rem; color: var(--muted); }
.empty-state__icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: 0.4; }
.empty-state h3 { margin-bottom: 0.5rem; color: var(--ink-2); }
.loading { display: flex; align-items: center; justify-content: center; padding: 3.5rem; }
.spinner { width: 42px; height: 42px; border: 3px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.sheet-detail { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.sheet-detail__gallery { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); }
.sheet-detail__main-img { aspect-ratio: 16 / 10; background: linear-gradient(145deg, #F0FDF4, #F8FAFC); position: relative; }
.sheet-detail__main-img img { width: 100%; height: 100%; object-fit: cover; }
.sheet-detail__info {
  background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: 1.85rem; position: sticky; top: calc(var(--header-h) + 20px); box-shadow: var(--shadow-sm);
}
.sheet-detail__title { font-size: 1.5rem; margin-bottom: 0.75rem; }
.sheet-detail__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.sheet-detail__price-box {
  background: linear-gradient(145deg, var(--brand-soft), #ECFDF5); border-radius: var(--radius);
  padding: 1.35rem; margin-bottom: 1.25rem; text-align: center; border: 1px solid rgba(15, 122, 63, 0.12);
}
.sheet-detail__price { font-size: 2.1rem; font-weight: 900; color: var(--brand-dark); }
.sheet-detail__price-old { font-size: 1rem; color: var(--muted-2); text-decoration: line-through; margin-left: 0.5rem; }
.sheet-detail__specs { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.5rem; font-size: 0.9rem; }
.sheet-detail__spec { display: flex; justify-content: space-between; padding-bottom: 0.55rem; border-bottom: 1px solid var(--line-soft); }
.sheet-detail__spec-label { color: var(--muted); }
.sheet-detail__spec-value { font-weight: 700; color: var(--ink); }
.sheet-detail__actions { display: flex; flex-direction: column; gap: 0.75rem; }
.sheet-content { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 1.85rem; margin-top: 1.5rem; box-shadow: var(--shadow-xs); }
.sheet-content h3 { margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--brand-soft); }
.sheet-content p, .sheet-content ul { margin-bottom: 1rem; line-height: 1.85; }
.sheet-content ul { padding-right: 1.25rem; }
.sheet-content li { position: relative; padding-right: 1.1rem; margin-bottom: 0.4rem; }
.sheet-content li::before { content: '✓'; position: absolute; right: 0; color: var(--brand); font-weight: 800; }

.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 0.4rem; color: var(--ink-2); }
.form-control {
  width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--ink); transition: all 0.25s ease;
}
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); background: #fff; }
.form-control::placeholder { color: var(--muted-2); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-hint { font-size: 0.8rem; color: var(--muted-2); margin-top: 0.3rem; }

.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 268px; background: linear-gradient(180deg, #0B1220 0%, #0F172A 100%); color: #94A3B8; flex-shrink: 0;
  display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; z-index: 50;
}
.admin-sidebar__brand { padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; gap: 0.75rem; }
.admin-sidebar__brand .logo { color: #fff; font-size: 1.1rem; }
.admin-sidebar__nav { flex: 1; padding: 1rem 0.75rem; overflow-y: auto; }
.admin-nav-item {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1rem; border-radius: var(--radius-sm);
  color: #64748B; font-weight: 600; font-size: 0.92rem; transition: all 0.25s var(--ease); margin-bottom: 0.2rem;
}
.admin-nav-item:hover { background: rgba(255,255,255,0.05); color: #fff; }
.admin-nav-item.active { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; box-shadow: 0 4px 16px var(--brand-glow); }
.admin-main { flex: 1; margin-right: 268px; background: var(--bg); min-height: 100vh; }
.admin-header {
  background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
  padding: 1rem 1.75rem; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 40;
}
.admin-content { padding: 1.75rem; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.15rem; margin-bottom: 1.75rem; }
.stat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.35rem;
  display: flex; align-items: flex-start; gap: 1rem; transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-card__icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.stat-card__icon--green { background: var(--brand-soft); color: var(--brand); }
.stat-card__icon--blue { background: #DBEAFE; color: #2563EB; }
.stat-card__icon--yellow { background: #FEF3C7; color: #D97706; }
.stat-card__icon--purple { background: #EDE9FE; color: #7C3AED; }
.stat-card__icon--red { background: #FEE2E2; color: #DC2626; }
.stat-card__value { font-size: 1.7rem; font-weight: 900; color: var(--ink); line-height: 1.15; }
.stat-card__label { font-size: 0.82rem; color: var(--muted); margin-top: 0.15rem; }

.table-wrapper { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xs); }
.table { width: 100%; border-collapse: collapse; }
.table th { background: var(--bg); padding: 0.9rem 1rem; text-align: right; font-weight: 700; font-size: 0.8rem; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 0.95rem 1rem; border-bottom: 1px solid var(--line-soft); font-size: 0.9rem; vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: #F8FAFC; }

.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.25rem; display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.92rem; border: 1px solid transparent; }
.alert-success { background: #ECFDF5; color: #065F46; border-color: #A7F3D0; }
.alert-warning { background: #FFFBEB; color: #92400E; border-color: #FDE68A; }
.alert-danger { background: #FEF2F2; color: #991B1B; border-color: #FECACA; }
.alert-info { background: #EFF6FF; color: #1E40AF; border-color: #BFDBFE; }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.5); backdrop-filter: blur(6px); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; visibility: hidden; transition: all 0.3s var(--ease);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  background: var(--surface); border-radius: var(--radius-xl); width: 100%; max-width: 560px; max-height: 90vh;
  overflow-y: auto; box-shadow: var(--shadow-xl); transform: scale(0.94) translateY(12px); transition: transform 0.35s var(--ease-out);
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); }
.modal__header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.modal__title { font-size: 1.15rem; font-weight: 800; }
.modal__close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); color: var(--muted); }
.modal__close:hover { background: var(--line-soft); color: var(--ink); }
.modal__body { padding: 1.5rem; }
.modal__footer { padding: 1rem 1.5rem; border-top: 1px solid var(--line); display: flex; gap: 0.75rem; justify-content: flex-end; }

.mobile-nav {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.5); backdrop-filter: blur(4px); z-index: 150;
  opacity: 0; visibility: hidden; transition: all 0.3s var(--ease);
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 300px; background: var(--surface); padding: 1.5rem;
  transform: translateX(100%); transition: transform 0.4s var(--ease-out); display: flex; flex-direction: column; gap: 0.4rem; box-shadow: var(--shadow-xl);
}
.mobile-nav.open .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__link { padding: 0.9rem 1rem; border-radius: var(--radius-sm); font-weight: 600; color: var(--ink-2); }
.mobile-nav__link:hover, .mobile-nav__link.active { background: var(--brand-soft); color: var(--brand); }

.demo-banner {
  background: linear-gradient(90deg, #FEF3C7, #FDE68A, #FEF3C7); background-size: 200% 100%;
  animation: shimmer 4s linear infinite; color: #92400E; text-align: center; padding: 0.55rem 1rem; font-size: 0.85rem; font-weight: 700;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; }
.flex { display: flex; } .flex-col { flex-direction: column; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; }
.justify-center { justify-content: center; } .flex-wrap { flex-wrap: wrap; } .flex-1 { flex: 1; }
.hidden { display: none !important; }

@media (max-width: 1024px) {
  .sheet-detail { grid-template-columns: 1fr; }
  .sheet-detail__info { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .admin-sidebar { transform: translateX(100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-right: 0; }
}
@media (max-width: 768px) {
  .hero { padding: 3.5rem 0 4rem; }
  .hero p { font-size: 1.05rem; }
  .nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .sheets-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .filters-bar { flex-direction: column; align-items: stretch; }
  .filter-select, .filter-input { min-width: 100%; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 3.5rem 0; }
}
@media (max-width: 480px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-stats { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* AOS safety: content visible if library fails or is slow */
html:not(.aos-enabled) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

/* Critical: never leave content invisible */
body [data-aos] { opacity: 1 !important; }
.aos-enabled body [data-aos]:not(.aos-animate) {
  /* allow AOS only when library active — soft fade */
  opacity: 0.01 !important;
}
.aos-enabled body [data-aos].aos-animate { opacity: 1 !important; }

/* Final safety: AOS never hides content */
body [data-aos],
body [data-aos].aos-animate,
.aos-enabled body [data-aos],
.aos-enabled body [data-aos]:not(.aos-animate) {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* ========== Dark Mode ========== */
[data-theme="dark"] {
  --ink: #F1F5F9;
  --ink-2: #E2E8F0;
  --muted: #94A3B8;
  --muted-2: #64748B;
  --line: #334155;
  --line-soft: #1E293B;
  --surface: #1E293B;
  --bg: #0F172A;
  --bg-elevated: #1E293B;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
  --brand-soft: rgba(15, 122, 63, 0.2);
}
[data-theme="dark"] .header {
  background: rgba(15, 23, 42, 0.85);
  border-bottom-color: rgba(51, 65, 85, 0.8);
}
[data-theme="dark"] .header.scrolled { background: rgba(15, 23, 42, 0.95); }
[data-theme="dark"] .sheet-card__preview {
  background: linear-gradient(145deg, #0F2A1A 0%, #1E293B 100%);
}
[data-theme="dark"] .btn-outline {
  background: var(--surface); color: var(--ink-2); border-color: var(--line);
}
[data-theme="dark"] .filter-select,
[data-theme="dark"] .filter-input,
[data-theme="dark"] .form-control {
  background: #0F172A; color: var(--ink); border-color: var(--line);
}
[data-theme="dark"] .table th { background: #0F172A; }
[data-theme="dark"] .table tr:hover td { background: #0F172A; }
[data-theme="dark"] .demo-banner {
  background: linear-gradient(90deg, #422006, #78350F, #422006);
  color: #FDE68A;
}

/* Theme toggle */
.theme-toggle {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--muted);
  transition: all 0.25s var(--ease);
  position: relative;
}
.theme-toggle:hover { background: var(--brand-soft); color: var(--brand); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ========== Featured Swiper ========== */
.featured-slider {
  position: relative;
  padding: 0.5rem 0 2.5rem;
}
.featured-slider .swiper {
  overflow: visible;
  padding-bottom: 0.5rem;
}
.featured-slider .swiper-slide {
  height: auto;
  width: 300px;
}
.featured-slider .swiper-pagination {
  bottom: 0 !important;
}
.featured-slider .swiper-pagination-bullet {
  background: var(--muted-2);
  opacity: 0.5;
  width: 8px; height: 8px;
  transition: all 0.3s var(--ease);
}
.featured-slider .swiper-pagination-bullet-active {
  background: var(--brand);
  opacity: 1;
  width: 24px;
  border-radius: 4px;
}
.featured-slider .swiper-button-next,
.featured-slider .swiper-button-prev {
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  color: var(--brand);
  transition: all 0.25s var(--ease);
}
.featured-slider .swiper-button-next:after,
.featured-slider .swiper-button-prev:after {
  font-size: 16px; font-weight: 800;
}
.featured-slider .swiper-button-next:hover,
.featured-slider .swiper-button-prev:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: var(--shadow-brand);
}
.featured-slider .swiper-button-disabled {
  opacity: 0.3;
}

/* Counter animation */
.stat-card__value {
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}

/* ========== Toast notifications ========== */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
  max-width: min(360px, calc(100vw - 2rem));
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
  animation: toastIn 0.4s var(--ease-out);
  transform-origin: bottom left;
}
.toast--out { animation: toastOut 0.35s var(--ease) forwards; }
.toast__icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
}
.toast--success .toast__icon { background: #D1FAE5; color: #065F46; }
.toast--error .toast__icon { background: #FEE2E2; color: #991B1B; }
.toast--info .toast__icon { background: #DBEAFE; color: #1E40AF; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateY(12px) scale(0.95); }
}

/* ========== Skeleton loaders ========== */
.skeleton {
  background: linear-gradient(90deg, var(--line-soft) 25%, var(--line) 50%, var(--line-soft) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.skeleton-card__preview { aspect-ratio: 16/10; }
.skeleton-card__body { padding: 1.2rem; display: flex; flex-direction: column; gap: 0.65rem; }
.skeleton-card__title { height: 1.1rem; width: 75%; }
.skeleton-card__desc { height: 0.85rem; width: 100%; }
.skeleton-card__desc2 { height: 0.85rem; width: 60%; }
.skeleton-card__footer { height: 2.2rem; width: 100%; margin-top: 0.4rem; }

/* ========== Back to top ========== */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-brand);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s var(--ease);
  border: none;
}
.back-to-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 16px 36px var(--brand-glow);
}

/* ========== Favorite button ========== */
.fav-btn {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 3;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-2);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-xs);
}
.fav-btn:hover { color: #E11D48; transform: scale(1.1); }
.fav-btn.is-fav {
  color: #E11D48;
  background: #FFF1F2;
  border-color: #FECDD3;
}
.fav-btn svg { width: 18px; height: 18px; }
[data-theme="dark"] .fav-btn {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--line);
}

/* ========== CTA band ========== */
.cta-band {
  position: relative;
  padding: 4.5rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, #053820 0%, #0F7A3F 55%, #1AA053 100%);
  color: #fff;
}
.cta-band__inner {
  position: relative; z-index: 2;
  text-align: center; max-width: 640px; margin: 0 auto;
}
.cta-band h2 { color: #fff; margin-bottom: 0.85rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; font-size: 1.05rem; }
.cta-band .btn-primary {
  background: #fff; color: var(--brand-dark);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
.cta-band .btn-primary:hover { background: var(--brand-soft); }
.cta-band__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
}

/* ========== Search suggestions ========== */
.search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  right: 0; left: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 50;
  max-height: 280px;
  overflow-y: auto;
  display: none;
}
.search-suggest.open { display: block; animation: toastIn 0.25s var(--ease-out); }
.search-suggest__item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
  border-bottom: 1px solid var(--line-soft);
}
.search-suggest__item:last-child { border-bottom: none; }
.search-suggest__item:hover { background: var(--brand-soft); }
.search-suggest__name { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.search-suggest__meta { font-size: 0.78rem; color: var(--muted); }

/* ========== Nav favorites link badge ========== */
.nav-badge {
  display: inline-flex;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: #E11D48;
  color: #fff;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  align-items: center; justify-content: center;
  margin-right: 0.25rem;
}

/* =========================================================
   GLOBAL PREMIUM LAYER v2 — World-class polish
   ========================================================= */

:root {
  --brand: #0D9F4F;
  --brand-dark: #0A7A3C;
  --brand-darker: #065C2C;
  --brand-light: #14B85A;
  --brand-soft: #E8F8EF;
  --brand-glow: rgba(13, 159, 79, 0.4);
  --mesh-1: #0A5C2E;
  --mesh-2: #0D9F4F;
  --mesh-3: #14B85A;
}

/* Noise grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* Premium header */
.header {
  background: rgba(255,255,255,0.72) !important;
  border-bottom: 1px solid rgba(226,232,240,0.6);
}
.header.scrolled {
  background: rgba(255,255,255,0.92) !important;
  box-shadow: 0 4px 30px rgba(15,23,42,0.06);
}
[data-theme="dark"] .header {
  background: rgba(15,23,42,0.75) !important;
}
[data-theme="dark"] .header.scrolled {
  background: rgba(15,23,42,0.92) !important;
}

/* Cinematic hero redesign */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(20,184,90,0.35) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(10,92,46,0.5) 0%, transparent 45%),
    linear-gradient(160deg, #032816 0%, #0A5C2E 40%, #0D9F4F 75%, #14B85A 100%) !important;
  padding: 6.5rem 0 7.5rem !important;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(255,255,255,0.12), transparent 55%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem) !important;
  letter-spacing: -0.03em;
  line-height: 1.15 !important;
  color: #fff !important;
  text-shadow: 0 2px 40px rgba(0,0,0,0.15);
}
.hero__badge {
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.hero__search input {
  box-shadow: 0 24px 64px rgba(0,0,0,0.28), 0 0 0 1px rgba(255,255,255,0.08) !important;
  padding: 1.2rem 1.5rem 1.2rem 4rem !important;
  font-size: 1.05rem !important;
}
.hero__search-btn {
  width: 52px !important;
  height: 52px !important;
  box-shadow: 0 6px 20px var(--brand-glow) !important;
}

/* Premium sheet cards */
.sheet-card {
  border: 1px solid rgba(226,232,240,0.9) !important;
  box-shadow: 0 2px 12px rgba(15,23,42,0.04), 0 1px 2px rgba(15,23,42,0.03) !important;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.45s ease, border-color 0.3s ease !important;
  will-change: transform;
  transform-style: preserve-3d;
}
.sheet-card:hover {
  box-shadow: 0 20px 50px rgba(15,23,42,0.12), 0 0 0 1px rgba(13,159,79,0.2) !important;
  border-color: rgba(13,159,79,0.25) !important;
}
.sheet-card__preview {
  background: linear-gradient(145deg, #F0FDF4 0%, #ECFDF5 50%, #F8FAFC 100%) !important;
}
.sheet-card__preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,23,42,0.04) 100%);
  pointer-events: none;
}
[data-theme="dark"] .sheet-card {
  border-color: rgba(51,65,85,0.8) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25) !important;
}
[data-theme="dark"] .sheet-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(13,159,79,0.3) !important;
}

/* Category cards premium */
.category-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%) !important;
  border: 1px solid var(--line) !important;
}
.category-card:hover {
  box-shadow: 0 16px 40px rgba(13,159,79,0.12) !important;
}

/* Section polish */
.section {
  padding: 5.5rem 0 !important;
}
.section__title {
  font-size: 1.7rem !important;
  letter-spacing: -0.02em;
}
.section__title::before {
  width: 4px !important;
  border-radius: 4px;
  background: linear-gradient(180deg, #14B85A, #0A5C2E) !important;
  box-shadow: 0 0 12px var(--brand-glow);
}

/* Floating stats strip under hero */
.stats-strip {
  margin-top: -2.5rem;
  position: relative;
  z-index: 5;
  margin-bottom: 1rem;
}
.stats-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 20px 50px rgba(15,23,42,0.08);
}
.stats-strip__item { text-align: center; }
.stats-strip__value {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.stats-strip__label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 0.2rem;
}
[data-theme="dark"] .stats-strip__inner {
  background: var(--surface);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
[data-theme="dark"] .stats-strip__value { color: var(--brand-light); }

@media (max-width: 768px) {
  .stats-strip__inner { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .hero { padding: 4rem 0 5rem !important; }
}

/* Premium CTA */
.cta-band {
  background:
    radial-gradient(ellipse 70% 80% at 10% 50%, rgba(20,184,90,0.3), transparent 50%),
    radial-gradient(ellipse 50% 60% at 90% 30%, rgba(255,255,255,0.08), transparent 40%),
    linear-gradient(135deg, #032816 0%, #0A5C2E 50%, #0D9F4F 100%) !important;
}
.cta-band h2 {
  letter-spacing: -0.03em;
}

/* Footer premium */
.footer {
  background: linear-gradient(180deg, #070D18 0%, #0B1220 100%) !important;
}

/* Shine on primary buttons */
.btn-primary {
  background: linear-gradient(135deg, #14B85A 0%, #0D9F4F 45%, #0A7A3C 100%) !important;
  box-shadow: 0 8px 28px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,0.25) !important;
}
.btn-primary:hover {
  box-shadow: 0 14px 40px var(--brand-glow) !important;
}

/* Swiper arrows premium */
.featured-slider .swiper-button-next,
.featured-slider .swiper-button-prev {
  width: 48px !important;
  height: 48px !important;
  backdrop-filter: blur(8px);
}

/* Smooth card transform reset */
.sheet-card {
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease, border-color 0.3s ease !important;
}

/* Page fade-in */
body { animation: pageIn 0.5s ease-out; }
@keyframes pageIn {
  from { opacity: 0.6; }
  to { opacity: 1; }
}
