/* ==============================================
   landing.css – Landing Page Styles
   يعتمد على: base.css, common.css
   ============================================== */

/* Header  */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(11, 18, 32, .62);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(11, 18, 32, .78);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .25);
  border-bottom-color: rgba(255, 255, 255, .10);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: .2px;
  font-size: 1.35rem;
}

/* Constrain any logo image inside the brand link */
.brand img,
.brand .themed-logo {
  height: 36px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-badge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--secondary-gradient);
  border: 1px solid var(--secondary-light);
  box-shadow: 0 10px 22px var(--shadow-secondary);
  color: rgba(255, 255, 255, .92);
}

.brand span small {
  display: block;
  font-weight: 800;
  color: var(--text-muted2);
  font-size: 12px;
  margin-top: -2px;
}

.links {
  display: flex;
  gap: 28px;
  align-items: center;
  color: var(--text-muted);
  font-weight: 800;
  font-size: 14px;
}

.links a {
  position: relative;
  padding: 8px 0;
  opacity: .92;
}

.links a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  right: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-accent);
  transition: width .25s ease;
}

.links a:hover { opacity: 1; color: var(--text-light); }
.links a:hover::after { width: 100%; }

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

.btn {
  border: none;
  cursor: pointer;
  font-weight: 900;
  padding: 13px 18px;
  border-radius: 14px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  font-family: inherit;
  font-size: 14px;
  white-space: nowrap;
  transform: translateY(0);
  box-shadow: var(--shadow-light);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, .26);
}
.btn:active { transform: translateY(-1px); }

.btn-primary {
  background: var(--gradient-accent);
  height: 50px;
  color: #FFFFFF;
  box-shadow: 0 16px 28px var(--shadow-primary);
}
.btn-primary:hover { box-shadow: 0 22px 40px var(--shadow-primary); }

.btn-outline {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-light);
}
.btn-outline:hover { background: var(--hover-bg); border-color: var(--hover-border); }

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .92);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
}
.mobile-menu-btn:hover { background: var(--hover-bg); border-color: var(--hover-border); }

.mobile-menu {
  position: absolute;
  top: 78px;
  right: 0;
  width: min(360px, calc(100vw - 48px));
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.mobile-menu a {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  font-weight: 900;
  color: rgba(234, 240, 255, .92);
}
.mobile-menu a:hover { background: var(--hover-bg); border-color: var(--hover-border); }

/* Sections  */
section { padding: 100px 0; }

.section-soft {
  background: var(--section-gradient);
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  position: relative;
  overflow: hidden;
}

.section-soft::before {
  content: "";
  position: absolute;
  inset: auto auto -240px -240px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--radial-secondary-large);
  pointer-events: none;
}

.section-soft::after {
  content: "";
  position: absolute;
  inset: -240px -240px auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--radial-primary-large);
  pointer-events: none;
}

.section-content { position: relative; z-index: 1; }



/*  Titles / Descriptions (موحدة + في الوسط)  */
.section-title {
  font-size: 36px;
  margin: 0 0 14px;
  font-weight: 950;
  letter-spacing: -.3px;
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 50%;
  transform: translateX(50%);
  width: 62px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 3px;
}

.section-desc {
  margin: 0 auto 34px;
  color: var(--text-muted);
  line-height: 2.0;
  font-weight: 400;
  max-width: 74ch;
  font-size: 17px;
  text-align: center;
}


/*  Features Section Improved  */
.features-section {
    padding: 80px 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

/* بطاقة الميزة */
.feature-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(2px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px 24px;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* تأثير خلفية متحركة عند hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.3);
}

/* الأيقونة */
.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 22px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: var(--primary-accent-bg, rgba(27, 86, 141, 0.2));
    border: 1px solid var(--primary-accent-border, rgba(27, 86, 141, 0.4));
    color: rgba(234, 240, 255, 0.95);
    font-size: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.feature-card:hover .feature-icon {
    transform: scale(1.05) rotate(2deg);
    background: var(--primary-accent-gradient, linear-gradient(135deg, #1b568d, #0e3a5f));
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.4);
}

/* العنوان */
.feature-card h4 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: rgba(234, 240, 255, 0.96);
    letter-spacing: -0.2px;
}

/* النص الوصفي */
.feature-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted, #a0b3d9);
    margin: 0;
    font-weight: 400;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.feature-card:hover p {
    opacity: 1;
}

/* عنوان القسم نفس ما لديك مع إضافة تحسينات بسيطة */
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff, #b0c8ff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.section-desc {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted, #9aaec9);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .features-grid {
        gap: 20px;
    }
    .feature-card {
        padding: 24px 16px;
    }
    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    .feature-card h4 {
        font-size: 1.2rem;
    }
}

/* Steps  */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.step {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--hover-border);
}

.num {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--secondary-gradient-light);
  border: 1px solid var(--secondary-light);
  color: rgba(234, 240, 255, .92);
  font-weight: 950;
  margin: 0 auto 16px;
  font-size: 22px;
  transition: var(--transition);
}

.step:hover .num {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(64, 123, 110, .30), rgba(27, 86, 141, .16));
  border-color: rgba(64, 123, 110, .34);
}

.step h4 {
  margin: 0 0 10px;
  font-weight: 950;
  font-size: 20px;
  color: rgba(234, 240, 255, .94);
  text-align: center;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.95;
  font-weight: 400;
  font-size: 15px;
  text-align: center;
}

/* Tags  */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.tag {
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  font-weight: 950;
  color: rgba(234, 240, 255, .86);
  font-size: 14px;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.tag:hover {
  transform: translateY(-3px);
  background: var(--secondary-bg);
  border-color: var(--secondary-border);
}

/* ===== Final CTA ===== */
.cta-band {
  background: var(--cta-gradient);
  color: var(--text);
  border-radius: 28px;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .12);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -120px -120px auto auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--radial-primary-popular);
  pointer-events: none;
}

.cta-band h3 { margin: 0 0 10px; font-size: 32px; font-weight: 950; }
.cta-band p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.9;
  font-size: 18px;
  max-width: 60ch;
}

.btn-on-dark {
  background: var(--gradient-accent);
  color: #FFFFFF;
  box-shadow: 0 18px 34px var(--shadow-primary);
  font-weight: 950;
  padding: 18px 28px;
  font-size: 16px;
  border-radius: 16px;
  z-index: 2;
}

/* ===== Footer ===== */
footer {
  padding: 40px 0 60px;
  color: var(--text-muted2);
  font-weight: 800;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-links a:hover { color: rgba(27, 86, 141, .95); }

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 950;
  font-size: 20px;
  color: rgba(234, 240, 255, .92);
}

/* Reveal base */
[data-reveal] { opacity: 1; transform: none; }

/* only when JS adds reveal-ready */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  will-change: transform, opacity;
}

/* ===== Pricing Section Modern ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: stretch;
    padding: 40px 0;
}

/* تصميم البطاقة الأساسي */
.price-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* تمييز البطاقة الشعبية (Standard) */
.price-card.popular {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.1);
}

.price-card.popular:hover {
    box-shadow: 0 0 50px rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.6);
}

/* رأس البطاقة والشارة */
.card-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    margin-bottom: 30px;
    overflow: hidden;
    width: 100%;
    gap: 8px;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-soft {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-glow {
    background: rgba(245, 158, 11, 0.15);
    color: #FFB74D;
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.plan-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px 0;
}

.plan-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

/* منطقة السعر */
.price-wrapper {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-wrapper .currency {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    vertical-align: top;
    margin-left: 2px;
}

.price-wrapper .amount {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
}

.price-wrapper .period {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 5px;
    font-weight: 500;
}

.price-note {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 25px;
    font-weight: 400;
}

/* قائمة المميزات */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    text-align: start;
}

[dir="rtl"] .feature-list li {
    flex-direction: row;
    justify-content: flex-start;
}

.check-icon {
    width: 20px;
    height: 20px;
    background: rgba(245, 158, 11, 0.1);
    color: #FFB74D;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 10px;
}

.price-card.popular .check-icon {
    background: rgba(245, 158, 11, 0.2);
    color: #FFC107;
}

/* الأزرار */
.price-actions {
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.price-actions .btn {
    border-radius: 8px;
    padding: 10px 30px;
    width: auto;
    min-width: 140px;
}


.btn-primary {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 124, 0, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-success {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
    cursor: default;
}

.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .price-card.popular {
        order: -1; /* تجعل الباقة المميزة تظهر أولاً في الموبايل */
        border: 1px solid rgba(245, 158, 11, 0.5);
    }
}

/* =========================
   Hero Stack (text فوق + mock تحت)
   ========================= */
.hero-stack {
  display: grid;
  gap: 26px;
  align-items: start;
}

.hero-copy {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.hero-copy .lead { margin-inline: auto; }
.hero-copy .hero-ctas { justify-content: center; }
.hero-copy .micro { justify-content: center; }

.hero-mock {
  width: min(680px, calc(100vw - 48px));
  margin-inline: auto;
  position: relative;
}

@media (min-width: 1100px) {
  .hero-mock { width: min(720px, calc(100vw - 80px)); }
}

.hero-mock::before {
  content: "";
  position: absolute;
  inset: -40px -30px auto -30px;
  height: 220px;
  background: var(--radial-hero-glow);
  filter: blur(10px);
  opacity: .9;
  pointer-events: none;
}

.mock {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  overflow: hidden;
  min-height: unset;
}

.mock .mock-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  pointer-events: none;
}
.hero-mock .mock { min-height: unset; }
@media (max-width: 768px) { .hero-mock .mock { min-height: unset; } }

/* =========================
  Services section (tabs + grid)
========================= */

.services-tabs {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 8px;
}

/* خط تحتي  active tab */
.services-tabs::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.services-tab {
  cursor: pointer;
  outline: none;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 0;
  border-radius: 4px;
  color: rgba(234, 240, 255, 0.6);
  background: transparent;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* ألوان التبويبات */
.services-tab[data-tab="premium"] { color: rgba(255, 255, 255, 0.7); }
.services-tab[data-tab="exclusive"] { color: #D4AF37; }
.services-tab[data-tab="education"] { color: #00CED1; }

.services-tab:hover {
  color: white;
}

.services-tab.is-active {
  color: white;
  font-weight: 800;
}

/* خط تحتي  active tab */
.services-tab.is-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.services-tab:hover.is-active::after {
  width: 100%;
}

/* ===== ملاحظة الخدمات ===== */
.services-note {
  margin: 14px auto 0;
  max-width: 920px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.78);
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ===== لوحات الخدمات ===== */
.services-panels {
  margin-top: 25px;
  position: relative;
}

.services-panel {
  display: none;
  width: 100%;
}

.services-panel.is-active {
  display: block;
}

/* ===== شبكة الخدمات ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 4px;
  justify-content: center;
  justify-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px;
}

@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(auto-fill, minmax(95px, 1fr)); }
}

@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}

@media (max-width: 520px) {
  .services-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
}

/* ===== بطاقات الخدمات — بدون card، فقط أيقونة + اسم ===== */
.service-card {
  width: 100%;
  max-width: 130px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;

  text-decoration: none;
  padding: 10px 6px;
  border-radius: 16px;

  background: transparent;
  border: none;
  box-shadow: none;

  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.service-card::before { display: none; }

.service-card:hover {
  transform: translateY(-4px) scale(1.06);
  opacity: 1;
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow: none;
  transition: transform 0.3s;
  position: relative;
}

.service-icon::before { display: none; }
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 18px;
  transition: transform 0.3s;
}

.service-card:hover .service-icon img {
  transform: scale(1.05);
}

.service-name {
  font-size: 12px;
  font-weight: 700;
  color: rgba(234, 240, 255, 0.90);
  text-align: center;
  line-height: 1.4;
}

/* ===== رسوم متحركة محسّنة ===== */
.services-panel.is-active .service-card {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: cardSlideInSmooth 0.6s ease-out forwards;
}

@keyframes cardSlideInSmooth {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* تأخيرات محسّنة للرسوم المتحركة */
.services-panel.is-active .service-card:nth-child(1)  { animation-delay: 0.1s; }
.services-panel.is-active .service-card:nth-child(2)  { animation-delay: 0.15s; }
.services-panel.is-active .service-card:nth-child(3)  { animation-delay: 0.2s; }
.services-panel.is-active .service-card:nth-child(4)  { animation-delay: 0.25s; }
.services-panel.is-active .service-card:nth-child(5)  { animation-delay: 0.3s; }
.services-panel.is-active .service-card:nth-child(6)  { animation-delay: 0.35s; }
.services-panel.is-active .service-card:nth-child(7)  { animation-delay: 0.4s; }
.services-panel.is-active .service-card:nth-child(8)  { animation-delay: 0.45s; }
.services-panel.is-active .service-card:nth-child(9)  { animation-delay: 0.5s; }
.services-panel.is-active .service-card:nth-child(10) { animation-delay: 0.55s; }


/* احترام تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  .services-panel,
  .services-panel .service-card {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .services-tab {
    transition: none !important;
  }

  .service-card {
    transition: none !important;
  }

  .service-card:hover {
    transform: none !important;
  }
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
  .pricing-grid {
    gap: 24px;
    padding: 30px 0;
  }

  .price-card:first-child,
  .price-card:last-child {
    transform: translateY(12px);
  }

  .price-card.popular {
    transform: translateY(-8px);
    margin-top: -16px;
  }

  .price-card.popular:hover {
    transform: translateY(-16px);
  }
}

@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .mock-body { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .grid-cards-2 { grid-template-columns: 1fr; }
  .h1 { font-size: 42px; }
  .section-title { font-size: 32px; }
  section { padding: 80px 0; }

  .links { display: none; }
  .mobile-menu-btn { display: block; }

  .cta-band {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-row {
    flex-direction: column;
    text-align: center;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 0;
  }

  .price-card:first-child,
  .price-card:last-child,
  .price-card.popular {
    transform: translateY(0);
    margin-top: 0;
  }

  .price-card.popular::after {
    display: none;
  }

  .price-card:hover {
    transform: translateY(-8px);
  }

  .price-card.popular {
    border-width: 1px;
  }

  .price .num {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .h1 { font-size: 36px; }
  .section-title { font-size: 28px; }
  section { padding: 60px 0; }
  .mock { min-height: 380px; }

  .service-card {
    max-width: 110px;
  }

  .price-card {
    padding: 28px;
  }

  .price .num {
    font-size: 38px;
  }

  .price-card .title {
    font-size: 22px;
  }

  .price-actions .btn {
    padding: 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .h1 { font-size: 28px; }
  .section-title { font-size: 24px; }
  .lead { font-size: 15px; }
  section { padding: 50px 0; }

  .kicker { font-size: 13px; padding: 8px 14px; }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .micro { flex-direction: column; gap: 10px; }

  .btn { padding: 12px 16px; font-size: 13px; }
  .btn-on-dark { padding: 14px 20px; font-size: 14px; }

  .cta-band { padding: 32px 20px; border-radius: 20px; }
  .cta-band h3 { font-size: 24px; }
  .cta-band p { font-size: 15px; }

  .trust-row {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .trust-item {
    flex: 0 0 220px;
    scroll-snap-align: start;
  }

  .price-card { padding: 22px 18px; }
  .price .num { font-size: 34px; }
  .feature-list li { font-size: 13px; gap: 10px; }
  .price-card .badge { font-size: 12px; padding: 5px 10px; }

  .services-tab { font-size: 16px; }

  .footer-links { justify-content: center; }
}

@media (max-width: 360px) {
  .h1 { font-size: 24px; letter-spacing: -.3px; }
  .section-title { font-size: 21px; }
  .lead { font-size: 14px; }
  .nav { height: 66px; }
  .btn-on-dark { padding: 12px 16px; font-size: 13px; }
}

/* =============================================
   landing.css — Light Theme Overrides
   ============================================= */

/* الهيدر */
[data-theme="light"] .header {
  background: rgba(244, 246, 251, .80);
  border-bottom-color: rgba(0, 0, 0, .08);
}
[data-theme="light"] .header.scrolled {
  background: rgba(244, 246, 251, .94);
  border-bottom-color: rgba(0, 0, 0, .10);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .08);
}

/* أزرار الناف باثو */
[data-theme="light"] .btn-outline {
  background: rgba(0, 0, 0, .04);
  border-color: rgba(0, 0, 0, .14);
  color: rgba(13, 21, 32, .86);
}
[data-theme="light"] .mobile-menu-btn {
  background: rgba(0, 0, 0, .04);
  border-color: rgba(0, 0, 0, .12);
  color: rgba(13, 21, 32, .86);
}
[data-theme="light"] .mobile-menu {
  background: rgba(244, 246, 251, .96);
  border-color: rgba(0, 0, 0, .10);
}
[data-theme="light"] .mobile-menu a {
  background: rgba(0, 0, 0, .04);
  border-color: rgba(0, 0, 0, .08);
  color: rgba(13, 21, 32, .88);
}

/* شريط الثقة */
[data-theme="light"] .section-soft {
  border-top-color: rgba(0, 0, 0, .07);
  border-bottom-color: rgba(0, 0, 0, .07);
}
[data-theme="light"] .trust {
  background: rgba(0, 0, 0, .04);
  border-top-color: rgba(0, 0, 0, .07);
  border-bottom-color: rgba(0, 0, 0, .07);
}
[data-theme="light"] .trust-item {
  background: rgba(255, 255, 255, .80);
  border-color: rgba(0, 0, 0, .08);
  color: rgba(13, 21, 32, .88);
}

/* البانلات والبطاقات */
[data-theme="light"] .panel {
  background: rgba(255, 255, 255, .80);
  border-color: rgba(0, 0, 0, .09);
}
[data-theme="light"] .panel h3 {
  color: rgba(13, 21, 32, .92);
}
[data-theme="light"] .bullets li {
  color: rgba(13, 21, 32, .80);
}

/* بطاقات الميزات */
[data-theme="light"] .feature-card {
  background: rgba(255, 255, 255, .80);
  border-color: rgba(0, 0, 0, .09);
}
[data-theme="light"] .feature-card::before {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.03), transparent);
}
[data-theme="light"] .feature-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .feature-card h4 {
  color: rgba(13, 21, 32, .92);
}
[data-theme="light"] .feature-card p {
  color: rgba(13, 21, 32, .62);
}

/* أيقونات الكروت */
[data-theme="light"] .feature-icon {
  background: rgba(27, 86, 141, .10);
  border-color: rgba(27, 86, 141, .18);
  color: rgba(27, 86, 141, .90);
}
[data-theme="light"] .feature-card:hover .feature-icon {
  background: rgba(27, 86, 141, .16);
  border-color: rgba(27, 86, 141, .28);
}

/* عناوين ووصف الأقسام */
[data-theme="light"] .section-title {
  color: rgba(13, 21, 32, .92);
  background: none;
  -webkit-text-fill-color: initial;
}
[data-theme="light"] .section-desc {
  color: rgba(13, 21, 32, .62);
}

/* خطوات */
[data-theme="light"] .step {
  background: rgba(255, 255, 255, .80);
  border-color: rgba(0, 0, 0, .09);
}
[data-theme="light"] .step h4 {
  color: rgba(13, 21, 32, .92);
}
[data-theme="light"] .num {
  color: rgba(13, 21, 32, .86);
}

/* التاجز */
[data-theme="light"] .tag {
  background: rgba(255, 255, 255, .80);
  border-color: rgba(0, 0, 0, .09);
  color: rgba(13, 21, 32, .78);
}

/* الكيكر */
[data-theme="light"] .kicker {
  color: rgba(13, 21, 32, .86);
}

/* CTA Band */
[data-theme="light"] .cta-band {
  border-color: rgba(0, 0, 0, .10);
}

/* Mock (الصورة التوضيحية) */
[data-theme="light"] .mock {
  border-color: rgba(0, 0, 0, .10);
}
[data-theme="light"] .mock-top {
  background: rgba(0, 0, 0, .05);
  border-bottom-color: rgba(0, 0, 0, .08);
  color: rgba(13, 21, 32, .86);
}
[data-theme="light"] .mock-main,
[data-theme="light"] .mock-side {
  background: rgba(255, 255, 255, .70);
  border-color: rgba(0, 0, 0, .08);
}
[data-theme="light"] .mock-h {
  color: rgba(13, 21, 32, .90);
}
[data-theme="light"] .card {
  background: rgba(255, 255, 255, .70);
  border-color: rgba(0, 0, 0, .08);
  color: rgba(13, 21, 32, .84);
}
[data-theme="light"] .input {
  background: rgba(0, 0, 0, .05);
  border-color: rgba(0, 0, 0, .10);
}
[data-theme="light"] .usage {
  background: linear-gradient(135deg, rgba(64, 123, 110, .10), rgba(0, 0, 0, .03));
  border-color: rgba(0, 0, 0, .08);
}
[data-theme="light"] .usage .row {
  color: rgba(13, 21, 32, .86);
}

/* الفوتر */
[data-theme="light"] footer {
  background: rgba(0, 0, 0, .04);
  border-top-color: rgba(0, 0, 0, .08);
  color: var(--text-muted2);
}
[data-theme="light"] .footer-brand {
  color: rgba(13, 21, 32, .88);
}

/* Services Section */
[data-theme="light"] .services-tabs::after {
  background: rgba(0, 0, 0, .10);
}
[data-theme="light"] .services-tab {
  color: rgba(13, 21, 32, .55);
}
[data-theme="light"] .services-tab[data-tab="premium"] {
  color: rgba(13, 21, 32, .55);
}
[data-theme="light"] .services-tab.is-active {
  color: rgba(13, 21, 32, .90);
}
[data-theme="light"] .services-tab.is-active::after {
  background: rgba(13, 21, 32, .80);
}
[data-theme="light"] .services-tab:hover {
  color: rgba(13, 21, 32, .85);
}
[data-theme="light"] .services-note {
  background: rgba(0, 0, 0, .04);
  border-color: rgba(0, 0, 0, .12);
  color: rgba(13, 21, 32, .70);
}
[data-theme="light"] .service-card {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
[data-theme="light"] .service-card:hover {
  background: transparent;
  box-shadow: none;
}
[data-theme="light"] .service-icon {
  background: transparent;
}
[data-theme="light"] .service-name {
  color: rgba(13, 21, 32, .88);
}

/* Pricing Cards */
[data-theme="light"] .price-card {
  background: rgba(255, 255, 255, .85);
  border-color: rgba(0, 0, 0, .10);
}
[data-theme="light"] .price-card:hover {
  background: rgba(255, 255, 255, .95);
  border-color: rgba(0, 0, 0, .18);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .10);
}
[data-theme="light"] .plan-title {
  color: rgba(13, 21, 32, .92);
}
[data-theme="light"] .plan-desc {
  color: rgba(13, 21, 32, .60);
}
[data-theme="light"] .price-wrapper {
  border-bottom-color: rgba(0, 0, 0, .08);
}
[data-theme="light"] .price-wrapper .currency {
  color: rgba(13, 21, 32, .65);
}
[data-theme="light"] .price-wrapper .amount {
  color: rgba(13, 21, 32, .92);
}
[data-theme="light"] .price-wrapper .period {
  color: rgba(13, 21, 32, .50);
}
[data-theme="light"] .price-note {
  color: rgba(13, 21, 32, .50);
}
[data-theme="light"] .feature-list li {
  color: rgba(13, 21, 32, .78);
}
[data-theme="light"] .badge-soft {
  background: rgba(0, 0, 0, .08);
  color: rgba(13, 21, 32, .65);
  border-color: rgba(0, 0, 0, .10);
}
[data-theme="light"] .btn-outline {
  border-color: rgba(0, 0, 0, .18);
  color: rgba(13, 21, 32, .82);
}
[data-theme="light"] .btn-outline:hover {
  background: rgba(0, 0, 0, .06);
}


 /* ===== Theme Switcher Component ===== */
.tam-theme-switcher {
    position: relative;
    display: inline-flex;
}

.tam-theme-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
}

.tam-theme-btn:hover {
    background: var(--hover-bg);
    color: var(--text);
    border-color: var(--hover-border);
}

.tam-theme-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 130px;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 6px;
    box-shadow: var(--shadow-soft);
    z-index: 9999;
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 2px;
}

.tam-theme-menu.open {
    display: flex;
}

.tam-theme-menu button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    text-align: right;
}

.tam-theme-menu button:hover {
    background: var(--hover-bg);
    color: var(--text);
}

/* FAQ   */
.faq-item {
    margin-bottom: 32px;
}

.faq-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    cursor: pointer;
    user-select: none;
}

.faq-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.95);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-top: -2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

html[data-theme="dark"] .faq-icon {
    background: #fff;
    color: #000;
    border-color: #000;
}

html[data-theme="light"] .faq-icon {
    background: #000;
    color: #fff;
    border-color: #fff;
}

.faq-title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
    transition: color 0.2s;
    line-height: 1.5;
    padding-top: 8px;
}

.faq-header:hover .faq-title {
    color: var(--text-light);
}

.faq-body-wrap {
    padding-top: 12px;
    padding-left: 60px;
}

html[dir="rtl"] .faq-body-wrap {
    padding-left: 0;
    padding-right: 60px;
}

.faq-body {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
    font-weight: 400;
}

.faq-header .fa-chevron-down {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.faq-header[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

/* landing services style */
.plan-tabs {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 8px;
}
.plan-tabs::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
}
.plan-tab {
  cursor: pointer;
  outline: none;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 0;
  border-radius: 4px;
  color: rgba(234, 240, 255, 0.6);
  background: transparent;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.plan-tab[data-plan="premium"] { color: rgba(255, 255, 255, 0.7); }
.plan-tab[data-plan="exclusive"] { color: #D4AF37; }
.plan-tab[data-plan="education"] { color: #00CED1; }
.plan-tab:hover { color: white; }
.plan-tab.is-active { color: white; font-weight: 800; }
.plan-tab.is-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.plan-tab:hover.is-active::after { width: 100%; }

[data-theme="light"] .plan-tabs::after { background: rgba(0, 0, 0, 0.1); }
[data-theme="light"] .plan-tab { color: rgba(0, 0, 0, 0.5); }
[data-theme="light"] .plan-tab[data-plan="premium"] { color: rgba(0, 0, 0, 0.6); }
[data-theme="light"] .plan-tab.is-active { color: var(--primary); font-weight: 800; }
[data-theme="light"] .plan-tab.is-active::after { background: var(--primary); }
[data-theme="light"] .plan-tab:hover { color: var(--primary); }
@media (max-width: 768px) {
  .plan-tab { font-size: 16px; }
}



/* Who is Tam for? */
#who {
    width: 100%;
    padding: 80px 24px;
}

/* ─── Stage ─── */
.who-stage {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    height: 520px;
}

/* ambient glow that follows cursor across the whole stage */
.who-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 280px at var(--sx,50%) var(--sy,50%),
        rgba(108,99,255,0.06) 0%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
    transition: background 0.1s;
}

/* Each person  */
.who-person {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    cursor: default;
    z-index: 2;
    --spotlight: rgba(108,99,255,0);
}

/* The spotlight cone — pseudo on person */
.who-person::before {
    content: '';
    position: absolute;
    bottom: calc(100% - 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 120px solid var(--cone-color, rgba(108,99,255,0));
    opacity: 0;
    transition: opacity 0.4s ease, border-top-color 0.4s ease;
    pointer-events: none;
    filter: blur(12px);
    z-index: -1;
}
.who-person:hover::before {
    opacity: 1;
    border-top-color: var(--cone-color, rgba(108,99,255,0.25));
}

/* Avatar circle */
.who-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(255,255,255,0.1);
    display: grid;
    place-items: center;
    font-size: 26px;
    color: rgba(234,240,255,0.4);
    position: relative;
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 0 0 0 var(--glow-color, rgba(108,99,255,0));
}

/* ground dot */
.who-avatar::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transition: background 0.4s, box-shadow 0.4s;
}

.who-person:hover .who-avatar {
    background: var(--avatar-bg, rgba(108,99,255,0.2));
    border-color: var(--avatar-border, rgba(108,99,255,0.5));
    color: #fff;
    transform: scale(1.18) translateY(-6px);
    box-shadow:
        0 0 0 8px var(--glow-ring, rgba(108,99,255,0.08)),
        0 20px 40px rgba(0,0,0,0.4),
        0 0 60px var(--glow-color, rgba(108,99,255,0.3));
}
.who-person:hover .who-avatar::after {
    background: var(--glow-color, rgba(108,99,255,0.6));
    box-shadow: 0 0 16px 4px var(--glow-color, rgba(108,99,255,0.3));
}

/* Label below avatar */
.who-label {
    margin-top: 22px;
    text-align: center;
    transition: all 0.3s ease;
}
.who-label h4 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(234,240,255,0.25);
    transition: color 0.4s;
    white-space: nowrap;
}
.who-label p {
    font-size: 0.78rem;
    color: transparent;
    line-height: 1.5;
    max-width: 120px;
    margin: 4px auto 0;
    transition: color 0.4s, transform 0.4s;
    transform: translateY(4px);
}
.who-person:hover .who-label h4 {
    color: var(--label-color, rgba(180,170,255,1));
}
.who-person:hover .who-label p {
    color: rgba(234,240,255,0.55);
    transform: translateY(0);
}

/* ─── Positions (% of 860 × 520) ─── */
/* Row 1: 3 figures */
.who-person-0 { left: 8%;  top: 8%; }
.who-person-1 { left: 38%; top: 2%; }
.who-person-2 { left: 68%; top: 8%; }

/* Row 2: 2 figures, offset */
.who-person-3 { left: 22%; top: 44%; }
.who-person-4 { left: 54%; top: 44%; }

/* Row 3: 1 wide centered, 1 far right */
.who-person-5 { left: 10%; top: 76%; }
.who-person-6 { left: 42%; top: 80%; }
.who-person-7 { left: 74%; top: 74%; }

/* ─── Per-person colors ─── */
.who-person-0 { --cone-color:rgba(108,99,255,0.22); --avatar-bg:rgba(108,99,255,0.18); --avatar-border:rgba(108,99,255,0.45); --glow-color:rgba(108,99,255,0.35); --glow-ring:rgba(108,99,255,0.07); --label-color:#a5a0ff; }
.who-person-1 { --cone-color:rgba(34,211,238,0.2);  --avatar-bg:rgba(34,211,238,0.15); --avatar-border:rgba(34,211,238,0.4);  --glow-color:rgba(34,211,238,0.35);  --glow-ring:rgba(34,211,238,0.07);  --label-color:#67e8f9; }
.who-person-2 { --cone-color:rgba(249,115,22,0.22); --avatar-bg:rgba(249,115,22,0.15); --avatar-border:rgba(249,115,22,0.45); --glow-color:rgba(249,115,22,0.35); --glow-ring:rgba(249,115,22,0.07); --label-color:#fb923c; }
.who-person-3 { --cone-color:rgba(168,85,247,0.22); --avatar-bg:rgba(168,85,247,0.15); --avatar-border:rgba(168,85,247,0.45); --glow-color:rgba(168,85,247,0.35); --glow-ring:rgba(168,85,247,0.07); --label-color:#c084fc; }
.who-person-4 { --cone-color:rgba(16,185,129,0.22); --avatar-bg:rgba(16,185,129,0.15); --avatar-border:rgba(16,185,129,0.45); --glow-color:rgba(16,185,129,0.35); --glow-ring:rgba(16,185,129,0.07); --label-color:#34d399; }
.who-person-5 { --cone-color:rgba(255,101,132,0.22);--avatar-bg:rgba(255,101,132,0.15);--avatar-border:rgba(255,101,132,0.45);--glow-color:rgba(255,101,132,0.35);--glow-ring:rgba(255,101,132,0.07);--label-color:#ff8fab; }
.who-person-6 { --cone-color:rgba(234,179,8,0.2);   --avatar-bg:rgba(234,179,8,0.15);  --avatar-border:rgba(234,179,8,0.4);   --glow-color:rgba(234,179,8,0.3);    --glow-ring:rgba(234,179,8,0.07);   --label-color:#fde047; }
.who-person-7 { --cone-color:rgba(14,165,233,0.22); --avatar-bg:rgba(14,165,233,0.15); --avatar-border:rgba(14,165,233,0.45); --glow-color:rgba(14,165,233,0.35); --glow-ring:rgba(14,165,233,0.07); --label-color:#38bdf8; }

/* ─── Floor line ─── */
.who-floor {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06) 30%, rgba(255,255,255,0.06) 70%, transparent);
}

/* Idle drift animation (subtle) */
@keyframes drift {
    0%,100% { transform: translateY(0px); }
    50%      { transform: translateY(-5px); }
}
.who-person-0 { animation: drift 6s ease-in-out infinite 0.0s; }
.who-person-1 { animation: drift 7s ease-in-out infinite 0.8s; }
.who-person-2 { animation: drift 5.5s ease-in-out infinite 1.4s; }
.who-person-3 { animation: drift 6.5s ease-in-out infinite 0.3s; }
.who-person-4 { animation: drift 7.5s ease-in-out infinite 1.1s; }
.who-person-5 { animation: drift 6s ease-in-out infinite 0.6s; }
.who-person-6 { animation: drift 5s ease-in-out infinite 1.8s; }
.who-person-7 { animation: drift 8s ease-in-out infinite 0.2s; }

.who-person:hover { animation-play-state: paused; }

/* Light mode overrides for Who is Tam for? */
[data-theme="light"] .who-stage::before {
    background: radial-gradient(circle 280px at var(--sx,50%) var(--sy,50%),
        rgba(108,99,255,0.04) 0%,
        transparent 70%);
}
[data-theme="light"] .who-avatar {
    background: rgba(0,0,0,0.03);
    border: 1.5px solid rgba(0,0,0,0.08);
    color: rgba(0,0,0,0.4);
}
[data-theme="light"] .who-person:hover .who-avatar {
    color: rgba(0, 0, 0, 0.85);
}
[data-theme="light"] .who-avatar::after {
    background: rgba(0,0,0,0.15);
}
[data-theme="light"] .who-label h4 {
    color: rgba(0,0,0,0.5);
}
[data-theme="light"] .who-person:hover .who-label p {
    color: rgba(0,0,0,0.65);
}
[data-theme="light"] .who-floor {
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08) 30%, rgba(0,0,0,0.08) 70%, transparent);
}
[data-theme="light"] .who-person-0 { --cone-color:rgba(108,99,255,0.15); --avatar-bg:rgba(108,99,255,0.12); --avatar-border:rgba(108,99,255,0.3); --glow-color:rgba(108,99,255,0.25); --glow-ring:rgba(108,99,255,0.05); --label-color:#6c63ff; }
[data-theme="light"] .who-person-1 { --cone-color:rgba(34,211,238,0.15);  --avatar-bg:rgba(34,211,238,0.12); --avatar-border:rgba(34,211,238,0.3);  --glow-color:rgba(34,211,238,0.25);  --glow-ring:rgba(34,211,238,0.05);  --label-color:#0891b2; }
[data-theme="light"] .who-person-2 { --cone-color:rgba(249,115,22,0.15); --avatar-bg:rgba(249,115,22,0.12); --avatar-border:rgba(249,115,22,0.3); --glow-color:rgba(249,115,22,0.25); --glow-ring:rgba(249,115,22,0.05); --label-color:#ea580c; }
[data-theme="light"] .who-person-3 { --cone-color:rgba(168,85,247,0.15); --avatar-bg:rgba(168,85,247,0.12); --avatar-border:rgba(168,85,247,0.3); --glow-color:rgba(168,85,247,0.25); --glow-ring:rgba(168,85,247,0.05); --label-color:#9333ea; }
[data-theme="light"] .who-person-4 { --cone-color:rgba(16,185,129,0.15); --avatar-bg:rgba(16,185,129,0.12); --avatar-border:rgba(16,185,129,0.3); --glow-color:rgba(16,185,129,0.25); --glow-ring:rgba(16,185,129,0.05); --label-color:#059669; }
[data-theme="light"] .who-person-5 { --cone-color:rgba(255,101,132,0.15);--avatar-bg:rgba(255,101,132,0.12);--avatar-border:rgba(255,101,132,0.3);--glow-color:rgba(255,101,132,0.25);--glow-ring:rgba(255,101,132,0.05);--label-color:#e11d48; }
[data-theme="light"] .who-person-6 { --cone-color:rgba(234,179,8,0.15);   --avatar-bg:rgba(234,179,8,0.12);  --avatar-border:rgba(234,179,8,0.3);   --glow-color:rgba(234,179,8,0.2);    --glow-ring:rgba(234,179,8,0.05);   --label-color:#ca8a04; }
[data-theme="light"] .who-person-7 { --cone-color:rgba(14,165,233,0.15); --avatar-bg:rgba(14,165,233,0.12); --avatar-border:rgba(14,165,233,0.3); --glow-color:rgba(14,165,233,0.25); --glow-ring:rgba(14,165,233,0.05); --label-color:#0284c7; }
/*  Responsive  */
@media (max-width: 768px) {
    .who-stage {
        height: auto;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px 0;
        padding: 16px 0;
    }
    .who-stage::before { display: none; }
    .who-person {
        position: static !important;
        animation: none !important;
    }
    .who-person::before { display: none; }
    .who-label p { display: none; }
    .who-label h4 { color: rgba(234,240,255,0.5); font-size: 0.7rem; }
    .who-person:hover .who-avatar { transform: scale(1.1); }
}
/*  How does Tam work?  */
.how-timeline {
    position: relative;
    max-width: 1000px;
    margin: 100px auto 60px;
    padding: 0 40px;
}
.how-line {
    position: absolute;
    top: 32px; /* Center of the 64px node */
    left: 72px; /* 40px padding + 32px half-node */
    right: 72px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transform: translateY(-50%);
    z-index: 1;
}
[data-theme="light"] .how-line {
    background: rgba(0, 0, 0, 0.08);
}
.how-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--gradient-accent);
    width: 100%;
    border-radius: 4px;
    animation: travel-pulse 3.5s infinite ease-in-out;
    transform-origin: left;
    box-shadow: 0 0 15px var(--primary);
}
html[dir="rtl"] .how-line-progress {
    left: auto;
    right: 0;
    transform-origin: right;
}
@keyframes travel-pulse {
    0% { transform: scaleX(0); opacity: 1; }
    80% { transform: scaleX(1); opacity: 0.8; }
    100% { transform: scaleX(1); opacity: 0; }
}

.how-steps-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.how-step {
    position: relative;
    width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
}

.how-node {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    font-size: 24px;
    font-weight: 900;
    color: rgba(234, 240, 255, 0.9);
    backdrop-filter: blur(8px);
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 3;
}
[data-theme="light"] .how-node {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.1);
    color: var(--primary);
}

.how-step:hover .how-node {
    background: var(--gradient-accent);
    color: white;
    border-color: transparent;
    transform: scale(1.15);
    box-shadow: 0 10px 24px var(--shadow-primary);
}

.how-content {
    position: absolute;
    width: 200px;
    text-align: center;
    transition: var(--transition);
    opacity: 0.85;
    pointer-events: none;
}
.how-step:hover .how-content {
    opacity: 1;
    transform: scale(1.05);
}

/* Alternating Layout */
.how-step:nth-child(odd) .how-content {
    bottom: calc(100% + 15px);
}
.how-step:nth-child(even) .how-content {
    top: calc(100% + 15px);
}

/* Content Hover offsets */
.how-step:nth-child(odd):hover .how-content {
    bottom: calc(100% + 22px);
}
.how-step:nth-child(even):hover .how-content {
    top: calc(100% + 22px);
}

.how-content h4 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 900;
    color: rgba(234, 240, 255, 0.96);
}
[data-theme="light"] .how-content h4 { color: rgba(0, 0, 0, 0.85); }

.how-content p {
    margin: 0;
    font-size: 14px;
    color: rgba(234, 240, 255, 0.65);
    line-height: 1.6;
}
[data-theme="light"] .how-content p { color: rgba(0, 0, 0, 0.6); }

/* Mobile View - Vertical Timeline */
@media (max-width: 991px) {
    .how-timeline {
        margin: 40px auto;
        padding: 0 20px;
    }
    .how-line {
        top: 0;
        bottom: 0;
        height: 100%;
        width: 4px;
        left: 52px; /* 20px padding + 32px (half node) */
        right: auto;
        transform: translateX(-50%);
    }
    html[dir="rtl"] .how-line {
        left: auto;
        right: 52px;
        transform: translateX(50%);
    }
    .how-line-progress {
        width: 100%;
        height: 100%;
        transform-origin: top;
        animation: travel-pulse-vertical 3s infinite ease-in-out;
    }
    @keyframes travel-pulse-vertical {
        0% { transform: scaleY(0); opacity: 1; }
        80% { transform: scaleY(1); opacity: 0.8; }
        100% { transform: scaleY(1); opacity: 0; }
    }

    .how-steps-wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .how-step {
        flex-direction: row;
        width: 100%;
        align-items: center;
    }

    .how-node {
        flex-shrink: 0;
    }

    .how-content,
    .how-step:nth-child(odd) .how-content,
    .how-step:nth-child(even) .how-content {
        position: static;
        width: calc(100% - 80px);
        text-align: left;
        padding-left: 24px;
        opacity: 1; /* Always visible on mobile */
    }
    html[dir="rtl"] .how-content,
    html[dir="rtl"] .how-step:nth-child(odd) .how-content,
    html[dir="rtl"] .how-step:nth-child(even) .how-content {
        text-align: right;
        padding-left: 0;
        padding-right: 24px;
    }

    /* Reset hover offsets for vertical layout */
    .how-step:nth-child(odd):hover .how-content,
    .how-step:nth-child(even):hover .how-content {
        transform: translateX(10px);
    }
    html[dir="rtl"] .how-step:nth-child(odd):hover .how-content,
    html[dir="rtl"] .how-step:nth-child(even):hover .how-content {
        transform: translateX(-10px);
    }
}

/* ===== What can Tam do? — Bento Grid ===== */
.cap-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}

/* Wide card spans 2 columns */
.cap-card--wide {
    grid-column: span 2;
}

/* --- Base Card --- */
.cap-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(16px);
    overflow: hidden;
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.32s cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 0.32s ease;
    cursor: default;
    animation: cap-card-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: var(--cap-delay, 0ms);
}

@keyframes cap-card-in {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

[data-theme="light"] .cap-card {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(0, 0, 0, 0.07);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.cap-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--cap-color) 40%, transparent);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22),
                0 0 0 1px color-mix(in srgb, var(--cap-color) 25%, transparent);
}

[data-theme="light"] .cap-card:hover {
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.10),
                0 0 0 1px color-mix(in srgb, var(--cap-color) 25%, transparent);
}

/* --- Animated Glow Blob --- */
.cap-card__glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 30%,
        color-mix(in srgb, var(--cap-color) 20%, transparent) 0%,
        transparent 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.cap-card:hover .cap-card__glow { opacity: 1; }

/* --- Icon Badge --- */
.cap-card__icon-wrap {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--cap-color) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--cap-color) 30%, transparent);
    display: grid;
    place-items: center;
    font-size: 22px;
    color: var(--cap-color);
    transition: all 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
    flex-shrink: 0;
}

.cap-card:hover .cap-card__icon-wrap {
    background: var(--cap-color);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--cap-color) 35%, transparent);
    transform: scale(1.08) rotate(-4deg);
}

/* Wide card: lay icon + body side by side */
.cap-card--wide {
    flex-direction: row;
    align-items: flex-start;
}

.cap-card--wide .cap-card__body {
    flex: 1;
}

/* --- Text Body --- */
.cap-card__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cap-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    font-family: inherit;
    color: rgba(234, 240, 255, 0.96);
    margin: 0;
    line-height: 1.3;
    transition: color 0.25s ease;
}

[data-theme="light"] .cap-card__title {
    color: rgba(13, 21, 32, 0.9);
}

.cap-card:hover .cap-card__title {
    color: #fff;
}

[data-theme="light"] .cap-card:hover .cap-card__title {
    color: rgba(13, 21, 32, 0.95);
}

.cap-card__desc {
    font-size: 0.875rem;
    font-family: inherit;
    color: rgba(234, 240, 255, 0.52);
    margin: 0;
    line-height: 1.65;
}

[data-theme="light"] .cap-card__desc {
    color: rgba(13, 21, 32, 0.55);
}

/* --- Decorative Pattern (wide cards only) --- */
.cap-card__bg-pattern {
    position: absolute;
    inset-inline-end: -20px;
    top: -20px;
    width: 160px;
    height: 160px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.07;
    transition: opacity 0.3s ease;
}

.cap-card:hover .cap-card__bg-pattern {
    opacity: 0.14;
}

.cap-card__bg-pattern span {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--cap-color);
}

.cap-card__bg-pattern span:nth-child(1) {
    inset: 0;
}

.cap-card__bg-pattern span:nth-child(2) {
    inset: 20px;
}

.cap-card__bg-pattern span:nth-child(3) {
    inset: 40px;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .cap-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cap-card--wide {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .cap-bento-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .cap-card--wide {
        grid-column: span 1;
        flex-direction: column;
    }
    .cap-card {
        padding: 24px;
    }
}


/*  Local Advantage — Designed for MENA  */
.mena-banner {
    position: relative;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 60px 40px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    transition: var(--transition);
}
[data-theme="light"] .mena-banner {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.mena-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(8, 114, 250, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}
[data-theme="light"] .mena-banner::before {
    background: radial-gradient(circle at center, rgba(8, 114, 250, 0.03) 0%, transparent 50%);
}

.mena-banner:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
[data-theme="light"] .mena-banner:hover {
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.mena-section {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 30px;
    transition: var(--transition);
}

.mena-divider {
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
    position: relative;
    z-index: 1;
}
[data-theme="light"] .mena-divider {
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.mena-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    place-items: center;
    font-size: 32px;
    color: var(--primary-light);
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float-icon 4s ease-in-out infinite;
}
[data-theme="light"] .mena-icon-wrapper {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.mena-section:nth-child(3) .mena-icon-wrapper {
    animation-delay: 2s; /* Offset animation for second icon */
}

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

.mena-section:hover .mena-icon-wrapper {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 30px var(--shadow-primary);
    transform: scale(1.1) translateY(-5px);
    animation-play-state: paused;
}

.mena-title {
    font-size: 24px;
    font-weight: 800;
    color: rgba(234, 240, 255, 0.95);
    margin-bottom: 12px;
}
[data-theme="light"] .mena-title {
    color: rgba(0, 0, 0, 0.85);
}

.mena-desc {
    font-size: 16px;
    color: rgba(234, 240, 255, 0.65);
    line-height: 1.6;
    margin: 0;
    max-width: 360px;
}
[data-theme="light"] .mena-desc {
    color: rgba(0, 0, 0, 0.6);
}

@media (max-width: 991px) {
    .mena-banner {
        flex-direction: column;
        padding: 40px 20px;
        gap: 40px;
    }
    .mena-divider {
        width: 80%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    }
    [data-theme="light"] .mena-divider {
        background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
    }
    .mena-section {
        padding: 0;
    }
}

/*  Support / Contact Us  */
.contact-cards-wrapper {
    margin-top: 40px;
}
.contact-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    text-decoration: none;
    transition: var(--transition);
    overflow: hidden;
}
[data-theme="light"] .contact-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, var(--hover-color), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}
html[dir="rtl"] .contact-card::before {
    background: radial-gradient(circle at top left, var(--hover-color), transparent 70%);
}

/* Custom Colors for platforms */
.contact-whatsapp {
    --hover-color: rgba(37, 211, 102, 0.15);
    --icon-color: #25D366;
}
.contact-email {
    --hover-color: rgba(8, 114, 250, 0.15);
    --icon-color: var(--primary);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--icon-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}
[data-theme="light"] .contact-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 32px;
    color: var(--icon-color);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}
[data-theme="light"] .contact-icon-box {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-whatsapp .contact-icon-box {
    animation: pulse-whatsapp 2s infinite;
}
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.contact-card:hover .contact-icon-box {
    background: var(--icon-color);
    color: white;
    border-color: transparent;
    transform: scale(1.1) rotate(-5deg);
    animation-play-state: paused;
}

.contact-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.contact-title {
    font-size: 20px;
    font-weight: 800;
    color: rgba(234, 240, 255, 0.95);
    margin: 0 0 4px;
}
[data-theme="light"] .contact-title {
    color: rgba(0, 0, 0, 0.85);
}

.contact-desc {
    font-size: 16px;
    color: rgba(234, 240, 255, 0.65);
    margin: 0;
}
[data-theme="light"] .contact-desc {
    color: rgba(0, 0, 0, 0.6);
}

.contact-arrow {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
    transition: var(--transition);
    opacity: 0;
    transform: translateX(-10px);
}
html[dir="rtl"] .contact-arrow {
    transform: translateX(10px);
}
html[dir="rtl"] .contact-arrow::before {
    content: "\f060"; /* FontAwesome left arrow for RTL */
}
[data-theme="light"] .contact-arrow {
    color: rgba(0, 0, 0, 0.2);
}

.contact-card:hover .contact-arrow {
    opacity: 1;
    color: var(--icon-color);
    transform: translateX(0);
}

.hero-title {
    font-family: var(--font-display, inherit);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

/* LTR only: Playfair Display for English highlighted words */
html[dir="ltr"] .hero-title .highlighted-text {
    font-family: "Playfair Display", serif !important;
    font-style: italic;
    padding: 0 0.1em;
}

/* RTL: keep MiSansArabic — Playfair has no Arabic glyphs */
html[dir="rtl"] .hero-title .highlighted-text {
    font-family: var(--font-display) !important;
    font-style: normal;
    padding: 0 0.1em;
}

.gradient-text {
    background: linear-gradient(to right, #2182df, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

[dir="rtl"] .gradient-text {
    background: linear-gradient(to left, #2182df, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-cta-btn {
    padding: 1rem 2rem;
    font-size: 1.25rem;
    min-width: 280px;
    transition: transform 0.3s;
}

.hero-cta-btn:hover {
    transform: translateY(-4px);
}

.pulse-dot {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

/* ===== Why Tam Section (Glass Cards — Problem / Solution) ===== */
.why-tam-section {
    padding: 100px 0;
}

/* Section title highlighted words */
.why-highlight {
    color: var(--primary);
    padding: 0 0.1em;
}

/* ---- Glass Card Base ---- */
.why-glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 40px 36px;
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1),
                box-shadow 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1),
                border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Inner glow shimmer */
.why-glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at 50% 0%, currentColor 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* ---- Error (Problem) variant ---- */
.why-glass-card--error {
    border-color: rgba(239, 68, 68, 0.2);
    color: rgba(239, 68, 68, 0.06);
}
.why-glass-card--error:hover {
    transform: translateY(-6px);
    border-color: rgba(239, 68, 68, 0.35);
    box-shadow: 0 20px 50px rgba(239, 68, 68, 0.12);
}
.why-glass-card--error:hover::before { opacity: 1; }

/* ---- Teal (Solution) variant ---- */
.why-glass-card--teal {
    border-color: rgba(20, 184, 166, 0.2);
    color: rgba(20, 184, 166, 0.06);
}
.why-glass-card--teal:hover {
    transform: translateY(-6px);
    border-color: rgba(20, 184, 166, 0.35);
    box-shadow: 0 20px 50px rgba(20, 184, 166, 0.12);
}
.why-glass-card--teal:hover::before { opacity: 1; }

/* ---- Card Header ---- */
.why-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

.why-card-header--error { color: #ef4444; }
.why-card-header--teal  { color: #14b8a6; }

.why-header-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.why-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin: 0;
}

/* ---- List Items ---- */
.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.6;
}

.why-list-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

.why-list-icon--error { color: rgba(239, 68, 68, 0.65); }
.why-list-icon--teal  { color: rgba(20, 184, 166, 0.80); }

/* ---- Light Theme Overrides ---- */
[data-theme="light"] .why-glass-card {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .why-glass-card--error:hover {
    box-shadow: 0 20px 50px rgba(239, 68, 68, 0.10);
}

[data-theme="light"] .why-glass-card--teal:hover {
    box-shadow: 0 20px 50px rgba(20, 184, 166, 0.10);
}

[data-theme="light"] .why-card-title {
    color: rgba(13, 21, 32, 0.92);
}

[data-theme="light"] .why-list-item {
    color: rgba(13, 21, 32, 0.70);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .why-glass-card {
        padding: 28px 22px;
    }
    .why-card-title {
        font-size: 1.25rem;
    }
    .why-list-item {
        font-size: 0.95rem;
    }
    .why-header-icon {
        width: 28px;
        height: 28px;
    }
}

/* Who Wheel — Light Theme */
[data-theme="light"] .who-wheel {
    background: radial-gradient(circle at 40% 40%, #dde8f5 0%, #c8d9ee 60%, #b8cce4 100%);
    box-shadow: 0 0 60px rgba(0, 80, 180, 0.12), inset 0 0 40px rgba(0, 80, 180, 0.07);
    border: 1px solid rgba(0, 80, 180, 0.13);
}

[data-theme="light"] .who-wheel-outer-ring {
    border-color: rgba(0, 80, 180, 0.18);
}

[data-theme="light"] .who-wheel-center {
    box-shadow:
        0 0 0 6px rgba(200, 220, 245, 0.9),
        0 0 30px var(--primary-accent-shadow),
        0 0 60px rgba(200, 220, 245, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .who-ring-icon {
    border-color: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .who-ring-icon:hover {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(0, 80, 180, 0.25);
}

[data-theme="light"] .who-tag {
    background: rgba(0, 80, 180, 0.08);
    color: #1a3a6e;
    border-color: rgba(0, 80, 180, 0.18);
}

[data-theme="light"] .who-tag:hover {
    background: rgba(0, 80, 180, 0.14);
}

[data-theme="light"] .who-heading {
    color: #0d1520;
}

[data-theme="light"] .who-desc {
    color: rgba(13, 21, 32, 0.72);
}

/* ===================================================
   Hero Section — Professional Image Mockup
   =================================================== */

/* ---- Section wrapper ---- */
.hero-section-new {
    background: transparent;
    padding-bottom: 6rem;
}

/* ---- Text area radial glow background ---- */
.hero-text-area {
    position: relative;
    z-index: 2;
    padding-bottom: 3rem;
}

.hero-text-area::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse at center,
        rgba(0, 214, 145, 0.08) 0%,
        rgba(0, 115, 241, 0.05) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: -1;
}

[data-theme="light"] .hero-text-area::before {
    background: radial-gradient(ellipse at center,
        rgba(0, 214, 145, 0.06) 0%,
        rgba(0, 115, 241, 0.04) 40%,
        transparent 70%
    );
}

/* ---- Mockup outer wrapper ---- */
.hero-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---- Perspective image frame ---- */
.hero-img-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 920px;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    transform: perspective(1400px) rotateX(6deg) scale(1);
    transform-origin: center bottom;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    box-shadow:
        0 -8px 0 rgba(255,255,255,0.04),
        0 2px 60px rgba(0, 0, 0, 0.5),
        0 30px 100px rgba(0, 0, 0, 0.4);
    animation: heroImgFloat 7s ease-in-out infinite;
    will-change: transform;
}

.hero-img-frame:hover {
    transform: perspective(1400px) rotateX(2deg) scale(1.005);
}

[data-theme="light"] .hero-img-frame {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow:
        0 2px 60px rgba(0, 0, 0, 0.12),
        0 30px 80px rgba(0, 0, 0, 0.08);
}

/* ---- Top browser bar overlay ---- */
.hero-img-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d691 0%, #0073f1 100%);
    z-index: 4;
}

/* ---- The image ---- */
.hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 13px 13px 0 0;
}

/* ---- Primary color glow beneath image ---- */
.hero-glow {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 140px;
    background: radial-gradient(ellipse at center,
        rgba(0, 214, 145, 0.22) 0%,
        rgba(0, 115, 241, 0.12) 50%,
        transparent 75%
    );
    pointer-events: none;
    filter: blur(40px);
    z-index: 1;
}

[data-theme="light"] .hero-glow {
    background: radial-gradient(ellipse at center,
        rgba(0, 214, 145, 0.14) 0%,
        rgba(0, 115, 241, 0.08) 50%,
        transparent 75%
    );
}

/* ---- Dot grid decorations ---- */
.hero-dot-grid {
    position: absolute;
    top: 5%;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 11px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.7;
}

.hero-dot-grid--left  { left: 0; }
.hero-dot-grid--right { right: 0; }

.hero-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: block;
}

[data-theme="light"] .hero-dot {
    background: rgba(30, 41, 59, 0.18);
}

/* ---- Float animation ---- */
@keyframes heroImgFloat {
    0%, 100% {
        transform: perspective(1400px) rotateX(6deg) translateY(0px);
    }
    50% {
        transform: perspective(1400px) rotateX(6deg) translateY(-10px);
    }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero-dot-grid { gap: 9px; }
}

@media (max-width: 768px) {
    .hero-dot-grid { display: none; }

    .hero-img-frame {
        border-radius: 10px 10px 0 0;
        animation: heroImgFloatMobile 7s ease-in-out infinite;
    }

    @keyframes heroImgFloatMobile {
        0%, 100% { transform: perspective(900px) rotateX(3deg) translateY(0); }
        50%       { transform: perspective(900px) rotateX(3deg) translateY(-6px); }
    }

    .hero-mockup-wrapper {
        padding: 0 1rem;
    }
}
