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

:root {
  --bg: #0b1220;
  --bg-soft: #121b2e;
  --card: rgba(18, 27, 46, 0.72);
  --text: #eef2ff;
  --muted: #b7c3e0;
  --brand: #6d8dff;
  --brand-2: #53e0c2;
  --accent: #ff7edb;
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 20px 40px rgba(8, 12, 22, 0.45);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Cairo", "Tajawal", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 20%, #172340 0%, var(--bg) 45%, #080d18 100%);
  min-height: 100%;
  scroll-behavior: smooth;
}

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(120deg, rgba(6, 11, 20, 0.88), rgba(18, 27, 46, 0.72));
  border-bottom: 1px solid rgba(109, 141, 255, 0.28);
  box-shadow: 0 10px 28px rgba(4, 8, 16, 0.45);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(109, 141, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 18px;
}

.logo {
  position: relative;
  padding: 10px 16px;
  border: 1px solid rgba(109, 141, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 1.06rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.logo::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(109, 141, 255, 0.4), rgba(83, 224, 194, 0.3));
  filter: blur(10px);
  opacity: 0.55;
  z-index: -1;
}

.logo span {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo:hover {
  transform: translateY(-1px);
  border-color: rgba(109, 141, 255, 0.65);
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  border-color: rgba(109, 141, 255, 0.35);
  background: linear-gradient(120deg, rgba(109, 141, 255, 0.3), rgba(83, 224, 194, 0.22));
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.15;
}

.hero p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.04rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-row--center {
  justify-content: center;
  width: 100%;
}

.btn {
  border: 1px solid var(--border);
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #4fcbf4);
  color: #fff;
  border: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
}

.glass-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 20px;
  animation: floatY 4.5s ease-in-out infinite;
}

.hero-card h3 {
  margin-top: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
}

.stat strong {
  display: block;
  font-size: 1.3rem;
}

.section {
  padding: 24px 0 58px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.course-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.course-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.course-card__media {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  align-self: center;
  margin-bottom: 12px;
}

.course-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.course-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card__body .btn {
  margin-top: auto;
}

#audio-previews .course-card__body {
  gap: 12px;
}

#audio-previews .course-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--card);
}

#audio-previews .audio-card-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

#audio-previews .audio-card-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 30%, rgba(83, 224, 194, 0.35), transparent 48%),
    linear-gradient(135deg, rgba(109, 141, 255, 0.28), rgba(255, 126, 219, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 1.45rem;
}

#audio-previews .audio-card-copy {
  min-width: 0;
}

#audio-previews .course-card h3 {
  margin-bottom: 4px;
}

#audio-previews .audio-card-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

#audio-previews .audio-player-shell {
  position: relative;
  margin-top: auto;
  padding: 10px;
  border: 1px solid rgba(109, 141, 255, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(83, 224, 194, 0.12), transparent 42%),
    linear-gradient(135deg, rgba(109, 141, 255, 0.14), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(3, 8, 18, 0.3);
}

#audio-previews .audio-embed {
  display: block;
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 12, 22, 0.18);
  accent-color: var(--brand-2);
}

#audio-previews audio.audio-embed {
  filter: saturate(1.05);
}

#audio-previews audio.audio-embed::-webkit-media-controls-panel {
  background: linear-gradient(135deg, rgba(11, 18, 32, 0.96), rgba(18, 27, 46, 0.92));
}

#audio-previews audio.audio-embed::-webkit-media-controls-current-time-display,
#audio-previews audio.audio-embed::-webkit-media-controls-time-remaining-display {
  color: var(--text);
}

.blog-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.blog-card__media {
  aspect-ratio: 1 / 1;
  width: 100%;
  flex-shrink: 0;
  background: var(--bg-soft);
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__body .btn {
  margin-top: auto;
}

.course-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 141, 255, 0.65);
}

.course-card h3,
.blog-card h3 {
  margin-top: 6px;
  margin-bottom: 10px;
}

.muted {
  color: var(--muted);
}

.tag {
  font-size: 0.78rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--brand-2);
}

.page-head {
  padding: 54px 0 26px;
}

.page-head h1 {
  margin: 0 0 8px;
}

.detail-page--justify .page-head .muted {
  text-align: justify;
  text-align-last: right;
  line-height: 1.9;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.part-btn {
  min-height: 58px;
  font-size: 0.95rem;
  background: linear-gradient(125deg, rgba(109, 141, 255, 0.16), rgba(83, 224, 194, 0.12));
}

.part-btn:hover {
  background: linear-gradient(125deg, rgba(109, 141, 255, 0.33), rgba(83, 224, 194, 0.2));
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 36px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(109,141,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.footer-inner {
  width: min(1140px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
  line-height: 1;
}

.footer-logo span {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-tagline {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px solid transparent;
  transition: 0.22s ease;
}

.footer-nav a:hover {
  color: #fff;
  border-color: rgba(109,141,255,0.35);
  background: rgba(109,141,255,0.1);
}

.footer-copy {
  text-align: left;
  font-size: 0.78rem;
  color: rgba(183,195,224,0.55);
}

html[dir="rtl"] .footer-copy {
  text-align: right;
}

@media (max-width: 680px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
  }
  .footer-brand { align-items: center; }
  .footer-copy { text-align: center; }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.article-wrap {
  width: min(760px, 94%);
  margin: 0 auto;
}

.social-post {
  padding: 20px;
}

.post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.author-meta strong {
  display: block;
  font-size: 0.98rem;
}

.author-meta span {
  color: var(--muted);
  font-size: 0.85rem;
}

.post-content h2 {
  margin: 0 0 8px;
}

.post-content p {
  color: #e6edff;
  line-height: 1.7;
  text-align: justify;
}

.post-highlight {
  border-right: 3px solid var(--brand-2);
  border-left: none;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  margin: 14px 0;
  text-align: justify;
}

.post-stats {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  margin: 16px 0 10px;
  font-size: 0.92rem;
}

.post-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.action-btn {
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.action-btn:hover {
  color: #fff;
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.comment-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.comment {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 10px 12px;
}

.comment strong {
  display: block;
  margin-bottom: 4px;
}

.contact-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}

.profile-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top left, rgba(83, 224, 194, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--card);
}

.profile-card__media-wrap {
  position: relative;
  padding: 18px 18px 0;
}

.profile-card__media {
  width: 100%;
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(109, 141, 255, 0.14), rgba(83, 224, 194, 0.08)),
    rgba(8, 13, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}

.profile-card__media img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: contain;
  display: block;
}

.profile-card__badge {
  position: absolute;
  right: 30px;
  bottom: -12px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(109, 141, 255, 0.92), rgba(83, 224, 194, 0.82));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(10, 18, 35, 0.35);
}

.profile-card__body {
  padding: 28px 20px 20px;
}

.profile-card__body h3 {
  margin: 6px 0 0;
  line-height: 1.25;
}

.profile-card__body > .muted {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.35;
}

.profile-card__body > .tag {
  display: block;
  line-height: 1.35;
  margin-top: 2px;
}

.profile-card__desc {
  margin: 12px 0 0;
  line-height: 1.7;
}

.profile-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.profile-highlights span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f3f6ff;
  font-size: 0.9rem;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.profile-stat {
  padding: 14px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.profile-stat strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  color: #fff;
}

.profile-stat span {
  color: var(--muted);
  font-size: 0.85rem;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.team-card {
  padding: 16px;
}

.team-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.contact-form {
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(109, 141, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    var(--card);
}

.contact-form__top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 18px;
}

.contact-form__intro,
.contact-details {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.contact-form__intro {
  padding: 22px;
}

.contact-form__intro h3 {
  margin: 10px 0 10px;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.25;
}

.contact-form__intro p {
  margin: 0;
  line-height: 1.75;
}

.contact-details {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.contact-detail {
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(109, 141, 255, 0.12), rgba(83, 224, 194, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-detail strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.96rem;
}

.contact-detail span {
  color: var(--muted);
  line-height: 1.6;
}

.contact-form__body {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 13, 24, 0.34);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 9px;
}

.field span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.field--full {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  outline: none;
  font-family: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

textarea {
  resize: vertical;
  min-height: 150px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(183, 195, 224, 0.7);
}

input:focus,
textarea:focus {
  border-color: rgba(109, 141, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(109, 141, 255, 0.12);
  background: rgba(255, 255, 255, 0.065);
  transform: translateY(-1px);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .course-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-split {
    grid-template-columns: 1fr;
  }

  .contact-form__top {
    grid-template-columns: 1fr;
  }

  .profile-card__media {
    min-height: 360px;
  }

  .profile-stats {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .button-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ── Header & Navigation Responsiveness ── */
@media (max-width: 1080px) {
  .nav-wrap {
    min-height: 72px;
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    border-radius: 20px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(11, 18, 32, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(109, 141, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    
    /* Animation Setup */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
  }

  .site-header.nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    text-align: center;
    padding: 12px;
    border-radius: 12px;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 46px;
  }

  .hero-grid,
  .course-grid,
  .blog-grid,
  .button-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 16px;
  }

  .contact-form__intro,
  .contact-form__body {
    padding: 16px;
  }

  .profile-card__media-wrap {
    padding: 14px 14px 0;
  }

  .profile-card__media {
    min-height: 300px;
    padding: 12px;
  }

  .profile-card__media img {
    max-height: 280px;
  }

  .profile-card__badge {
    right: 24px;
  }

  .profile-stats {
    grid-template-columns: 1fr;
  }
}

/* ── Breaking news ticker ── */
.ticker-wrap {
  background: linear-gradient(90deg, rgba(109,141,255,0.18), rgba(83,224,194,0.12));
  border-bottom: 1px solid rgba(109,141,255,0.28);
  overflow: hidden;
  padding: 10px 0;
  direction: rtl;
}

.ticker-inner {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: tickerScroll 80s linear infinite;
  direction: rtl;
}

.ticker-inner:hover { 
  animation-play-state: paused; 
}
.ticker-item {
  display: flex;
  align-items: center;
  padding: 0 48px;
  font-size: 0.93rem;
  color: var(--text);
  border-right: 2px solid rgba(109,141,255,0.45);
}

.ticker-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand), #4fcbf4);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 10px; /* Space to the left for Arabic layout */
  letter-spacing: 0.5px;
  vertical-align: middle;
}

@keyframes tickerScroll {
  0% { 
    transform: translateX(0); 
  }
  100% { 
    /* Because it's RTL, we move positive 50% to go from Right to Left seamlessly */
    transform: translateX(50%); 
  }
}

      /* ── News hero story ── */
      .news-hero {
        padding: 48px 0 24px;
      }
      .news-hero-card {
        padding: 0;
        overflow: hidden;
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 0;
        min-height: 320px;
      }
      .news-hero-media {
        background: linear-gradient(135deg, rgba(109,141,255,0.22), rgba(83,224,194,0.14)),
                    rgba(8,13,24,0.7);
        display: grid;
        place-items: center;
        min-height: 280px;
        font-size: 5rem;
        border-left: 1px solid var(--border);
      }
      .news-hero-body {
        padding: 32px 28px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 14px;
      }
      .news-hero-body .tag { font-size: 0.8rem; }
      .news-hero-body h2 {
        margin: 0;
        font-size: clamp(1.4rem, 2.4vw, 2rem);
        line-height: 1.3;
      }
      .news-hero-body p { margin: 0; color: var(--muted); line-height: 1.7; }
      .news-meta {
        font-size: 0.83rem;
        color: var(--muted);
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        align-items: center;
      }
      .news-meta .dot { color: rgba(255,255,255,0.25); }

      /* ── News grid ── */
      .news-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
      }
      .news-card {
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        transition: transform 0.25s ease, border-color 0.25s ease;
      }
      .news-card:hover {
        transform: translateY(-4px);
        border-color: rgba(109,141,255,0.65);
      }
      .news-card .tag { font-size: 0.77rem; }
      .news-card h3 {
        margin: 0;
        font-size: 1.05rem;
        line-height: 1.4;
      }
      .news-card p {
        margin: 0;
        color: var(--muted);
        font-size: 0.92rem;
        line-height: 1.65;
        flex: 1;
      }
      .news-card .news-meta { margin-top: 4px; }

      /* ── Sidebar layout ── */
      .news-layout {
        display: grid;
        grid-template-columns: 1fr 320px;
        gap: 20px;
        align-items: start;
      }
      .sidebar-box {
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 14px;
      }
      .sidebar-box h3 {
        margin: 0 0 4px;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
        padding-bottom: 10px;
      }
      .sidebar-item {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
      }
      .sidebar-item:last-child { border-bottom: none; padding-bottom: 0; }
      .sidebar-item .tag { font-size: 0.73rem; }
      .sidebar-item p { margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--muted); }
      .sidebar-item strong { font-size: 0.94rem; }

      /* ── Flash badge on news-hero ── */
      .flash-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: rgba(255,60,60,0.18);
        border: 1px solid rgba(255,80,80,0.4);
        color: #ff6b6b;
        font-size: 0.77rem;
        font-weight: 700;
        padding: 4px 12px;
        border-radius: 999px;
        letter-spacing: 0.4px;
        margin-bottom: 6px;
      }
      .flash-dot {
        width: 7px; height: 7px;
        border-radius: 50%;
        background: #ff4444;
        animation: blink 1.1s ease-in-out infinite;
      }
      @keyframes blink {
        0%,100% { opacity: 1; }
        50%      { opacity: 0.2; }
      }

      @media (max-width: 980px) {
        .news-hero-card { grid-template-columns: 1fr; }
        .news-hero-media { min-height: 180px; }
        .news-layout { grid-template-columns: 1fr; }
        .news-grid { grid-template-columns: 1fr 1fr; }
      }
      @media (max-width: 680px) {
        .news-grid { grid-template-columns: 1fr; }
      }
/* ══════════════════════════════════════════
   ANIMATED BACKGROUND ORBS
══════════════════════════════════════════ */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
  animation: orbDrift 12s ease-in-out infinite;
}

.orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #6d8dff 0%, transparent 70%);
  top: -120px; left: -100px;
  animation-duration: 14s;
}

.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #53e0c2 0%, transparent 70%);
  bottom: 10%; right: -80px;
  animation-duration: 18s;
  animation-delay: -6s;
}

.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #ff7edb 0%, transparent 70%);
  top: 55%; left: 40%;
  animation-duration: 22s;
  animation-delay: -10s;
  opacity: 0.14;
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -40px) scale(1.06); }
  66%       { transform: translate(-20px, 20px) scale(0.96); }
}

/* Particles canvas */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
}

/* ══════════════════════════════════════════
   HERO ENHANCEMENTS
══════════════════════════════════════════ */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(109,141,255,0.12);
  border: 1px solid rgba(109,141,255,0.35);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.83rem;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.4px;
}

.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-2);
  animation: blink 1.6s ease-in-out infinite;
}

.gradient-text {
  background: linear-gradient(120deg, var(--brand), var(--brand-2), var(--accent));
  background-size: 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shiftGradient 4s ease infinite;
}

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

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--brand), #4fcbf4, var(--brand-2));
  z-index: -1;
  filter: blur(14px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.btn-glow:hover::after {
  opacity: 0.65;
}

/* count-up stat numbers */
.stat strong {
  background: linear-gradient(120deg, #fff 60%, var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.55rem;
  font-weight: 900;
}

/* ══════════════════════════════════════════
   PILL SLIDER (tag carousel)
══════════════════════════════════════════ */
.slider-section {
  padding: 0 0 10px;
  overflow: hidden;
}

.slider-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  padding: 14px 0;
}

.slider-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: pillScroll 28s linear infinite;
}

.slider-track:hover {
  animation-play-state: paused;
}

.slider-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(109,141,255,0.3);
  background: rgba(109,141,255,0.08);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  cursor: default;
}

.slider-pill:hover {
  background: rgba(109,141,255,0.2);
  border-color: rgba(109,141,255,0.6);
  transform: translateY(-2px);
}

@keyframes pillScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

/* ══════════════════════════════════════════
   QUOTE SLIDER
══════════════════════════════════════════ */
.quote-slider-section {
  padding: 16px 0 42px;
}

.quote-slider {
  position: relative;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  pointer-events: none;
}

.quote-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.quote-slide blockquote {
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
  max-width: 760px;
}

.quote-slide cite {
  font-size: 0.85rem;
  color: var(--brand-2);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.quote-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}

.qdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, width 0.3s;
  padding: 0;
}

.qdot.active {
  background: var(--brand);
  width: 22px;
  border-radius: 999px;
}

/* ══════════════════════════════════════════
   REVEAL STAGGER via CSS variable
══════════════════════════════════════════ */
.reveal.is-visible {
  transition: opacity 0.7s ease var(--delay, 0ms), transform 0.7s ease var(--delay, 0ms);
}

/* ══════════════════════════════════════════
   CARD SHIMMER on hover
══════════════════════════════════════════ */
.course-card {
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 60%;
  height: 200%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.07) 50%, transparent 60%);
  transform: skewX(-15deg) translateX(-100%);
  transition: transform 0s;
}

.course-card:hover::before {
  transform: skewX(-15deg) translateX(380%);
  transition: transform 0.65s ease;
}

/* ══════════════════════════════════════════
   MOBILE RESPONSIVE (new additions)
══════════════════════════════════════════ */
@media (max-width: 680px) {
  .slider-pill { font-size: 0.82rem; padding: 8px 16px; }
  .quote-slide blockquote { font-size: 1rem; }
  .orb-1, .orb-2, .orb-3 { opacity: 0.14; }
}

/* إلغاء نظام الأعمدة في الـ layout */
.news-layout {
    display: block; /* لم نعد بحاجة لـ grid هنا لأننا حذفنا السايدبار */
}

/* جعل شبكة الأخبار توزع البطاقات بشكل متساوي على كامل العرض */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); /* يوزع البطاقات تلقائياً حسب العرض */
    gap: 24px;
    width: 100%;
}

/* تحسين تجاوب البطاقات على الشاشات الصغيرة */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr; /* عمود واحد في الموبايل */
    }
}

/* ══════════════════════════════════════════
   AI AGENT PAGE — specific styles
══════════════════════════════════════════ */

/* ══ Hero / Search area ══ */
.ai-hero {
  padding: 64px 0 32px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}

.ai-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900; line-height: 1.18; margin-bottom: 14px;
}

.ai-hero p {
  color: var(--muted); font-size: 1.04rem; max-width: 560px;
  margin-bottom: 36px; line-height: 1.7;
}

/* ══ Search bar ══ */
.search-wrap { width: 100%; max-width: 680px; }

.search-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid rgba(109,141,255,.35);
  border-radius: 999px; padding: 14px 20px 14px 14px;
  box-shadow: 0 0 0 0 rgba(109,141,255,0);
  transition: border-color .25s, box-shadow .25s;
}
.search-bar:focus-within {
  border-color: rgba(109,141,255,.7);
  box-shadow: 0 0 0 3px rgba(109,141,255,.18), 0 8px 32px rgba(109,141,255,.12);
}
.search-bar.loading {
  animation: pulseGlow 1.4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 0 3px rgba(109,141,255,.15); }
  50%      { box-shadow: 0 0 0 6px rgba(109,141,255,.38), 0 0 30px rgba(109,141,255,.2); }
}

.search-icon { color: var(--brand); flex-shrink: 0; width: 20px; height: 20px; }

#search-input {
  flex: 1; border: none; outline: none; background: transparent;
  color: var(--text); font-family: "Cairo","Tajawal",sans-serif;
  font-size: 1rem; caret-color: var(--brand); direction: rtl;
}
#search-input::placeholder { color: rgba(183,195,224,.5); }

.clear-btn {
  background: none; border: none; cursor: pointer; padding: 4px;
  color: var(--muted); display: none; border-radius: 50%;
  transition: background .15s; flex-shrink: 0;
}
.clear-btn:hover { background: rgba(255,255,255,.06); }
.clear-btn.visible { display: flex; align-items: center; justify-content: center; }

.divider { width: 1px; height: 22px; background: var(--border); flex-shrink: 0; }

.mic-btn {
  background: none; border: none; cursor: pointer; padding: 4px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform .15s;
}
.mic-btn:hover { transform: scale(1.12); }

.mic-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Spinner */
.spinner {
  display: none; width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,.1);
  border-top-color: var(--brand);
  border-radius: 50%; animation: spin .7s linear infinite; flex-shrink: 0;
}
.spinner.active { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ══ Action buttons ══ */
.btn-group { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; justify-content: center; }

/* ══ Suggestions chips ══ */
.suggestions {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-top: 18px; max-width: 680px;
}
.chip {
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(109,141,255,.28);
  background: rgba(109,141,255,.07);
  color: var(--muted); font-size: .83rem; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
  font-family: "Cairo","Tajawal",sans-serif;
}
.chip:hover {
  background: rgba(109,141,255,.18); border-color: rgba(109,141,255,.55);
  color: var(--text); transform: translateY(-1px);
}

/* ══ Chat section ══ */
#chat-section {
  width: 100%; max-width: 760px; margin: 0 auto;
  padding: 0 0 80px; display: none; flex-direction: column; gap: 0;
}
#chat-section.visible { display: flex; animation: fadeUp .4s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-divider {
  width: 100%; max-width: 760px; margin: 20px auto 28px;
  border: none; border-top: 1px solid var(--border);
  display: none;
}
.chat-divider.visible { display: block; }

/* ══ Message bubbles ══ */
.message {
  display: flex; gap: 14px; padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  animation: fadeUp .3s ease;
}
.message:last-child { border-bottom: none; }

.msg-body { flex: 1; min-width: 0; }

.msg-label {
  font-size: .8rem; font-weight: 700; color: var(--brand);
  margin-bottom: 7px; letter-spacing: .4px;
}
.msg-label.user-label { color: var(--brand-2); }

.msg-content {
  font-size: .97rem; line-height: 1.78; color: var(--text); word-break: break-word;
  text-align: right;
}
.msg-content p { margin-bottom: 10px; }
.msg-content p:last-child { margin-bottom: 0; }
.msg-content strong { font-weight: 700; color: #fff; }
.msg-content em { font-style: italic; color: var(--muted); }
.msg-content code {
  font-family: monospace; background: rgba(109,141,255,.12);
  border: 1px solid rgba(109,141,255,.2); padding: 2px 7px;
  border-radius: 5px; font-size: .88rem; color: var(--brand-2);
}
.msg-content pre {
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px; margin: 10px 0; overflow-x: auto;
}
.msg-content pre code { background: none; border: none; padding: 0; }
.msg-content ul, .msg-content ol { padding-right: 20px; margin: 8px 0; }
.msg-content li { margin-bottom: 5px; }

/* Typing dots */
.typing-indicator { display: flex; gap: 6px; padding: 8px 0; }
.typing-indicator span {
  width: 9px; height: 9px; border-radius: 50%;
  animation: bounce 1.2s ease-in-out infinite; opacity: .7;
}
.typing-indicator span:nth-child(1) { background: var(--brand); }
.typing-indicator span:nth-child(2) { background: var(--brand-2); animation-delay: .2s; }
.typing-indicator span:nth-child(3) { background: var(--accent); animation-delay: .4s; }
@keyframes bounce { 0%,80%,100%{transform:translateY(0);} 40%{transform:translateY(-7px);} }

/* ══ Stats row ══ */
.stats-row {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-top: 40px; width: 100%; max-width: 680px;
}
.stat-chip {
  flex: 1; min-width: 140px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 18px; text-align: center;
}
.stat-chip strong {
  display: block; font-size: 1.45rem; font-weight: 900;
  background: linear-gradient(120deg,#fff 60%,var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-chip span { font-size: .82rem; color: var(--muted); margin-top: 2px; display: block; }

/* ══ Responsive ══ */
@media (max-width: 760px) {
  .stats-row { gap: 10px; }
  .stat-chip { min-width: 100px; }
  .ai-hero { padding: 40px 0 24px; }
}

@media (max-width: 480px) {
  .suggestions .chip { font-size: .78rem; padding: 6px 12px; }
}

      .etsy-video-page {
        overflow-x: hidden;
      }

      .etsy-hero {
        position: relative;
        padding: 64px 0 30px;
      }

      .etsy-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
          linear-gradient(135deg, rgba(255, 126, 219, 0.12), transparent 36%),
          radial-gradient(circle at 78% 18%, rgba(83, 224, 194, 0.14), transparent 28%);
        pointer-events: none;
      }

      .etsy-hero__grid {
        position: relative;
        display: grid;
        grid-template-columns: 1.04fr 0.96fr;
        gap: 26px;
        align-items: center;
      }

      .etsy-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        width: fit-content;
        padding: 7px 15px;
        border-radius: 999px;
        border: 1px solid rgba(83, 224, 194, 0.36);
        background: rgba(83, 224, 194, 0.08);
        color: var(--brand-2);
        font-weight: 800;
        font-size: 0.86rem;
        margin-bottom: 18px;
      }

      .etsy-badge::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--brand-2);
        box-shadow: 0 0 0 0 rgba(83, 224, 194, 0.42);
        animation: etsyPulse 1.8s ease-out infinite;
      }

      .etsy-hero h1 {
        margin: 0 0 16px;
        font-size: clamp(2rem, 4vw, 3.45rem);
        line-height: 1.18;
      }

      .etsy-gradient {
        background: linear-gradient(120deg, #fff, var(--brand-2), var(--accent));
        background-size: 220% 100%;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: etsyGradient 4.5s ease infinite;
      }

      .etsy-lead {
        margin: 0 0 24px;
        color: var(--muted);
        font-size: 1.06rem;
        line-height: 1.95;
        text-align: justify;
      }

      .etsy-hero__actions,
      .etsy-cta__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
      }

      .etsy-video-card {
        position: relative;
        padding: 18px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 24px;
        background:
          linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
          rgba(18, 27, 46, 0.78);
        box-shadow: var(--shadow);
        animation: etsyFloat 5s ease-in-out infinite;
      }

      .etsy-video-frame {
        position: relative;
        aspect-ratio: 9 / 16;
        width: min(100%, 420px);
        margin: 0 auto;
        overflow: hidden;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background:
          linear-gradient(135deg, rgba(109, 141, 255, 0.3), rgba(255, 126, 219, 0.14)),
          radial-gradient(circle at 30% 20%, rgba(83, 224, 194, 0.24), transparent 36%),
          #0b1220;
      }

      .etsy-video-embed {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
        background: #0b1220;
      }

      .etsy-section {
        padding: 34px 0;
      }

      .etsy-section h2,
      .etsy-cta h2 {
        margin: 0 0 14px;
        font-size: clamp(1.45rem, 2.4vw, 2.1rem);
      }

      .etsy-feature-grid,
      .etsy-step-grid {
        display: grid;
        gap: 16px;
      }

      .etsy-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .etsy-step-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }

      .etsy-feature,
      .etsy-step {
        position: relative;
        overflow: hidden;
        padding: 20px;
        border: 1px solid var(--border);
        border-radius: 18px;
        background:
          linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
          var(--card);
        box-shadow: 0 18px 34px rgba(3, 8, 18, 0.22);
        transition: transform 0.25s ease, border-color 0.25s ease;
      }

      .etsy-feature:hover,
      .etsy-step:hover {
        transform: translateY(-5px);
        border-color: rgba(83, 224, 194, 0.55);
      }

      .etsy-feature__icon,
      .etsy-step__num {
        display: grid;
        place-items: center;
        width: 48px;
        height: 48px;
        border-radius: 16px;
        margin-bottom: 14px;
        background: linear-gradient(135deg, rgba(109, 141, 255, 0.34), rgba(83, 224, 194, 0.24));
        color: #fff;
        font-weight: 900;
        font-size: 1.2rem;
      }

      .etsy-feature h3,
      .etsy-step h3 {
        margin: 0 0 8px;
        font-size: 1.05rem;
      }

      .etsy-feature p,
      .etsy-step p {
        margin: 0;
        color: var(--muted);
        line-height: 1.75;
      }

      .etsy-cta {
        padding: 38px 0 8px;
      }

      .etsy-cta__box {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 20px;
        align-items: center;
        padding: 24px;
        border-radius: 24px;
        border: 1px solid rgba(83, 224, 194, 0.28);
        background:
          linear-gradient(135deg, rgba(109, 141, 255, 0.18), rgba(255, 126, 219, 0.08)),
          var(--card);
        box-shadow: var(--shadow);
      }

      .etsy-cta p {
        margin: 0;
        color: var(--muted);
        line-height: 1.8;
      }

      @keyframes etsyPulse {
        to {
          box-shadow: 0 0 0 14px rgba(83, 224, 194, 0);
        }
      }

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

      @keyframes etsyFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
      }

      @media (max-width: 980px) {
        .etsy-hero__grid,
        .etsy-cta__box {
          grid-template-columns: 1fr;
        }

        .etsy-feature-grid,
        .etsy-step-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
      }

      @media (max-width: 680px) {
        .etsy-hero {
          padding-top: 42px;
        }

        .etsy-feature-grid,
        .etsy-step-grid {
          grid-template-columns: 1fr;
        }

        .etsy-video-frame {
          width: min(100%, 360px);
        }

        .etsy-hero__actions,
        .etsy-cta__actions {
          flex-direction: column;
        }

        .etsy-hero__actions .btn,
        .etsy-cta__actions .btn {
          width: 100%;
        }
      }