/*
Theme Name: همسات التعليم
Theme URI: https://sada-education.com
Author: صدى التعليم
Description: قالب دافئ وأنيق مستوحى من تصميم همسات، متوافق مع إضافة صدى التعليم
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.2
License: GNU General Public License v2 or later
Text Domain: hamasaat-theme
Tags: education, rtl-language, arabic, responsive, warm, elegant
*/

/* ═══════════════════════════════════════════════
   متغيرات التصميم
═══════════════════════════════════════════════ */
:root {
  /* ألوان دافئة من الصورة */
  --c-bg:          #FAF8F5;      /* كريمي فاتح جداً */
  --c-bg2:         #F5F0E8;      /* كريمي أعمق */
  --c-surface:     #FFFFFF;
  --c-gold:        #C9A227;      /* ذهبي */
  --c-gold-light:  #E8D5A0;
  --c-gold-dark:   #A0801A;
  --c-text:        #2D2520;      /* بني داكن */
  --c-text2:       #6B5A4E;      /* بني متوسط */
  --c-text3:       #A0917E;      /* بني فاتح */
  --c-border:      #EAE0D0;
  --c-border2:     #D5C9B5;
  --c-accent:      #8B7355;      /* بني مائل */
  --c-like:        #E8A0A0;      /* وردي للإعجاب */

  --font-ar:   'Tajawal', 'Cairo', 'Noto Sans Arabic', sans-serif;
  --font-head: 'Cairo', 'Tajawal', sans-serif;

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-full: 9999px;

  --sh-sm:  0 2px 8px rgba(45,37,32,.06);
  --sh-md:  0 4px 20px rgba(45,37,32,.09);
  --sh-lg:  0 8px 40px rgba(45,37,32,.12);

  --nav-h: 68px;
  --mob-nav-h: 70px;
}

/* ═══════════════════════════════════════════════
   Reset & Base
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ar);
  background: var(--c-bg);
  color: var(--c-text);
  direction: rtl;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: var(--mob-nav-h); /* مساحة للنافذة السفلية على الجوال */
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-gold-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-gold); }
button { font-family: var(--font-ar); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--font-ar); }

::selection { background: var(--c-gold-light); color: var(--c-text); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg2); }
::-webkit-scrollbar-thumb { background: var(--c-gold-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-gold); }

/* ═══════════════════════════════════════════════
   الخطوط
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Cairo:wght@300;400;600;700;800;900&display=swap');

/* ═══════════════════════════════════════════════
   Header — شريط علوي دافئ
═══════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(250,248,245,.95);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 2px 16px rgba(45,37,32,.06);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* الشعار */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-dark));
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  box-shadow: 0 3px 12px rgba(201,162,39,.35);
}
.site-logo__text {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--c-gold-dark);
  letter-spacing: -0.3px;
}
.site-logo__text em {
  font-style: normal;
  color: var(--c-text);
}

/* القائمة الرئيسية */
.site-nav { display: none; }

@media (min-width: 768px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
  }
  .site-nav li a {
    display: block;
    padding: 8px 14px;
    border-radius: var(--r-full);
    font-size: .9rem;
    font-weight: 600;
    color: var(--c-text2);
    transition: all .2s;
  }
  .site-nav li a:hover,
  .site-nav li.current-menu-item a {
    background: var(--c-bg2);
    color: var(--c-gold-dark);
  }
}

/* أزرار Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: var(--r-full);
  font-size: .88rem;
  font-weight: 700;
  transition: all .22s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: var(--font-ar);
}
.btn-primary {
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-dark));
  color: white;
  box-shadow: 0 4px 14px rgba(201,162,39,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,162,39,.5);
  color: white;
}
.btn-ghost {
  background: var(--c-bg2);
  color: var(--c-text2);
  border: 1px solid var(--c-border);
}
.btn-ghost:hover {
  background: var(--c-border);
  color: var(--c-text);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--c-gold);
  color: var(--c-gold-dark);
}
.btn-outline:hover {
  background: var(--c-gold);
  color: white;
}
.btn-sm { padding: 7px 16px; font-size: .82rem; }
.btn-lg { padding: 13px 32px; font-size: 1rem; }
.btn-full { width: 100%; }

/* Hamburger على الجوال */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: var(--c-bg2);
  border-radius: var(--r-sm);
  padding: 6px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all .25s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 768px) { .menu-toggle { display: none; } }

/* Mobile Menu Drawer */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(250,248,245,.97);
  backdrop-filter: blur(20px);
  z-index: 190;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
}
.mobile-menu a:hover { background: var(--c-bg2); }
.mobile-menu a i { color: var(--c-gold); width: 20px; }

@media (min-width: 768px) { .mobile-menu { display: none !important; } }

/* ═══════════════════════════════════════════════
   Main Content
═══════════════════════════════════════════════ */
.site-main { min-height: 60vh; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.container-xs { max-width: 600px; margin: 0 auto; padding: 0 20px; }

/* ═══════════════════════════════════════════════
   Hero Section
═══════════════════════════════════════════════ */
.hero-section {
  position: relative;
  padding: 70px 20px 80px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--c-bg) 0%, var(--c-bg2) 60%, #EEE5D0 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(201,162,39,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139,115,85,.06) 0%, transparent 45%);
  pointer-events: none;
}

/* نمط الخلفية */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A227' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-section > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,162,39,.12);
  border: 1px solid rgba(201,162,39,.3);
  color: var(--c-gold-dark);
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--c-text);
  margin-bottom: 16px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--c-text2);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--c-border);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--c-gold-dark);
}
.hero-stat span {
  font-size: .82rem;
  color: var(--c-text3);
}

/* ═══════════════════════════════════════════════
   Section Styles
═══════════════════════════════════════════════ */
.section { padding: 64px 20px; }
.section-alt { background: var(--c-bg2); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,162,39,.1);
  color: var(--c-gold-dark);
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 12px;
  border: 1px solid rgba(201,162,39,.2);
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--c-text);
  margin-bottom: 12px;
}
.section-desc {
  font-size: 1rem;
  color: var(--c-text2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════
   همسات Cards (النمط من الصورة)
═══════════════════════════════════════════════ */
.whispers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.whisper-card {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--c-border);
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.whisper-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--c-gold), var(--c-gold-light));
  opacity: 0;
  transition: opacity .2s;
}
.whisper-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--c-gold-light);
}
.whisper-card:hover::before { opacity: 1; }

/* بطاقة مع صورة (النمط الوسطي في الصورة) */
.whisper-card--with-image .whisper-card__image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--r-sm);
  margin-bottom: 14px;
}

.whisper-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.whisper-card__user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.whisper-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-gold-light), var(--c-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--c-gold-dark);
  flex-shrink: 0;
  overflow: hidden;
}
.whisper-avatar img { width: 100%; height: 100%; object-fit: cover; }
.whisper-user-name {
  font-weight: 700;
  font-size: .88rem;
  color: var(--c-text);
}
.whisper-user-sub {
  font-size: .75rem;
  color: var(--c-text3);
}
.whisper-card__category {
  font-size: .75rem;
  font-weight: 700;
  color: var(--c-gold-dark);
  background: rgba(201,162,39,.1);
  padding: 3px 10px;
  border-radius: var(--r-full);
}

.whisper-card__content {
  font-size: .9rem;
  color: var(--c-text2);
  line-height: 1.7;
  margin-bottom: 14px;
}

.whisper-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--c-border);
  font-size: .8rem;
  color: var(--c-text3);
}
.whisper-card__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.whisper-action-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--c-text3);
  font-size: .82rem;
  cursor: pointer;
  transition: color .2s;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-ar);
}
.whisper-action-btn:hover { color: var(--c-gold-dark); }
.whisper-action-btn.liked { color: var(--c-like); }
.whisper-action-btn.liked i { color: var(--c-like); }

/* ═══════════════════════════════════════════════
   Features Cards
═══════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  border: 1px solid var(--c-border);
  box-shadow: var(--sh-sm);
  text-align: center;
  transition: all .25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--c-gold-light);
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(201,162,39,.12), rgba(201,162,39,.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  color: var(--c-gold-dark);
}
.feature-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.feature-desc { font-size: .875rem; color: var(--c-text2); line-height: 1.7; }

/* ═══════════════════════════════════════════════
   CTA Section
═══════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, #2D2520, #4A3A2E);
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,162,39,.15) 0%, transparent 70%);
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
}
.cta-section p { color: rgba(255,255,255,.75); font-size: 1rem; margin-bottom: 28px; }

/* ═══════════════════════════════════════════════
   Footer
═══════════════════════════════════════════════ */
.site-footer {
  background: var(--c-text);
  color: rgba(255,255,255,.75);
  padding: 48px 20px 24px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .site-logo__text { color: var(--c-gold-light); }
.footer-brand .site-logo__icon { opacity: .9; }
.footer-desc { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.7; margin-top: 12px; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .88rem; transition: color .2s; }
.footer-links a:hover { color: var(--c-gold-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

/* ═══════════════════════════════════════════════
   Bottom Navigation (جوال — من الصورة)
═══════════════════════════════════════════════ */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; right: 0; left: 0;
  height: var(--mob-nav-h);
  background: rgba(250,248,245,.96);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-top: 1px solid var(--c-border);
  z-index: 300;
  box-shadow: 0 -4px 20px rgba(45,37,32,.08);
}

@media (max-width: 767px) { .mobile-bottom-nav { display: flex; } }

.mobile-nav-items {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  color: var(--c-text3);
  text-decoration: none;
  font-size: .68rem;
  font-weight: 600;
  transition: all .2s;
  position: relative;
}
.mobile-nav-item i { font-size: 1.2rem; }
.mobile-nav-item.active {
  color: var(--c-gold-dark);
}
.mobile-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0; right: 20%; left: 20%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-dark));
  border-radius: 0 0 3px 3px;
}

/* زر همسة وسطي بارز */
.mobile-nav-center {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav-center-btn {
  position: absolute;
  bottom: 6px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 16px rgba(201,162,39,.5);
  text-decoration: none;
  transition: all .2s;
  z-index: 1;
}
.mobile-nav-center-btn::after {
  content: '';
  position: absolute;
  width: 66px; height: 66px;
  border-radius: 50%;
  border: 8px solid var(--c-bg);
  top: -5px; left: -5px;
}
.mobile-nav-center-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(201,162,39,.6);
}
.mobile-nav-center-label {
  position: absolute;
  bottom: 4px;
  font-size: .62rem;
  font-weight: 700;
  color: var(--c-gold-dark);
  margin-top: 30px;
}

/* ═══════════════════════════════════════════════
   صفحة الشورت كود (الداشبورد)
═══════════════════════════════════════════════ */
.page-template-default .site-main,
.page .site-main {
  background: var(--c-bg);
}

/* تكامل الإضافة مع القالب */
.sada-app,
.sada-auth-wrapper {
  margin: 0;
  font-family: var(--font-ar) !important;
}

/* ═══════════════════════════════════════════════
   Single Post / Page
═══════════════════════════════════════════════ */
.entry-header {
  padding: 40px 20px 24px;
  max-width: 860px;
  margin: 0 auto;
}
.entry-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--c-text);
  line-height: 1.3;
  margin-bottom: 12px;
}
.entry-meta {
  font-size: .82rem;
  color: var(--c-text3);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.entry-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px 60px;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--c-text2);
}
.entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: var(--font-head);
  color: var(--c-text);
  margin: 28px 0 12px;
}
.entry-content p { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { margin: 12px 0 16px 0; padding-right: 20px; }
.entry-content li { margin-bottom: 6px; }

/* ═══════════════════════════════════════════════
   Widgets & Sidebar
═══════════════════════════════════════════════ */
.widget-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-gold-light);
}

/* ═══════════════════════════════════════════════
   Utilities
═══════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-gold { color: var(--c-gold-dark); }
.bg-warm { background: var(--c-bg2); }
.rounded { border-radius: var(--r-md); }
.shadow { box-shadow: var(--sh-md); }

.divider {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: 32px 0;
}

/* كارد عام */
.card {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.card:hover { box-shadow: var(--sh-md); }

/* Badge */
.badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 700;
}
.badge-gold { background: rgba(201,162,39,.12); color: var(--c-gold-dark); border: 1px solid rgba(201,162,39,.25); }
.badge-warm { background: var(--c-bg2); color: var(--c-text2); border: 1px solid var(--c-border); }

/* ═══════════════════════════════════════════════
   Animations
═══════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,39,.4); }
  50%       { box-shadow: 0 0 0 10px rgba(201,162,39,0); }
}
.animate-fade-up { animation: fadeUp .5s ease forwards; }

/* ═══════════════════════════════════════════════
   Responsive
═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .section { padding: 44px 16px; }
  .hero-section { padding: 48px 16px 56px; }
  .hero-stats { gap: 24px; }
  .whispers-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { padding: 12px 24px; }
}

/* Print */
@media print {
  .site-header, .site-footer, .mobile-bottom-nav { display: none; }
  body { background: white; color: black; }
}
