/* ===== Suzan Faisal — Home ===== */
@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght@300;400;500;600;700&family=Lalezar&display=swap');

body.sf-home {
  --bg: #FFFFFF; --soft: #F2F7FE; --card: #FFFFFF; --ink: #0B1D45; --muted: #5A6987; --line: rgba(11,29,69,.1);
  --navy: #0B2A6F; --blue: #1E7BEA; --cyan: #39C6F4;
  --grad: linear-gradient(135deg, #0B2A6F, #1E7BEA);
  background: var(--bg) !important; color: var(--ink);
  font-family: 'Readex Pro', sans-serif; overflow-x: hidden; user-select: auto;
  transition: background .4s, color .4s;
}
body.sf-home.dark { --bg: #07122B; --soft: #0C1B3D; --card: #0F2149; --ink: #EAF1FF; --muted: #A3B2D1; --line: rgba(234,241,255,.1); }
body.sf-home::after { display: none; }
body.sf-home, body.sf-home .sf-hero, body.sf-home .sf-notice, body.sf-home .sf-help, body.sf-home .sf-courses { direction: rtl; text-align: right; }
body.sf-home .sf-hero-copy, body.sf-home .sf-hero-copy *, body.sf-home .sf-notice-in, body.sf-home .sf-notice-in *, body.sf-home .sf-help-card, body.sf-home .sf-help-card * { text-align: right !important; direction: rtl; }
body.sf-home .sf-hero h1 { justify-content: flex-start; }
body.sf-home a { color: inherit; text-decoration: none; }
body.sf-home a:hover { color: var(--blue); }
body.sf-home img { max-width: 100%; }
.sf-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; }
.sf-head { text-align: center; margin-bottom: 44px; }
.sf-head h2 { margin: 0; font-family: 'Readex Pro', sans-serif; font-weight: 700; font-size: clamp(34px, 4.4vw, 52px); color: var(--ink); }
.sf-head h2 em { font-style: normal; color: var(--blue); }
.sf-head .bar { width: 110px; height: 5px; border-radius: 5px; margin: 14px auto 0; background: linear-gradient(90deg, var(--cyan), var(--navy)); }
.sf-head p { margin: 16px 0 0; color: var(--muted); }

/* ===== Animations ===== */
@keyframes sfCurtain { 0%,55% { transform: translateY(0); } 100% { transform: translateY(-100%); visibility: hidden; } }
@keyframes sfLogoPop { 0% { opacity: 0; transform: scale(.7); } 30%,60% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.1); } }
@keyframes sfRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes sfWord { from { opacity: 0; transform: translateY(60%) rotate(4deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes sfGrad { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes sfShine { 0% { background-position: 200% 0; } 60%,100% { background-position: -100% 0; } }
@keyframes sfPing { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes sfFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes sfSpin { to { transform: rotate(360deg); } }
@keyframes sfDash { to { stroke-dashoffset: -32; } }
@keyframes sfSparkle { 0%,100% { opacity: 0; transform: scale(.3) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(90deg); } }

.sf-curtain { position: fixed; inset: 0; z-index: 2000; background: var(--grad); display: grid; place-items: center; pointer-events: none; animation: sfCurtain 1.9s cubic-bezier(.7,0,.2,1) forwards; }
.sf-curtain img { width: min(320px, 60vw); animation: sfLogoPop 1.3s ease forwards; }

/* ===== Navbar (يحافظ على IDs اللي main.js بيستخدمها) ===== */
body.sf-home .nav-home { position: sticky !important; top: 0; z-index: 900; padding: 12px 20px 0; }
body.sf-home .nav-content {
  position: relative; top: 0; left: 0; width: 100%; max-width: 1200px; margin: 0 auto; display: block; overflow: hidden;
  padding: 8px 8px 8px 10px; border-radius: 24px; background: var(--card) !important; border: 1px solid var(--line);
  box-shadow: 0 16px 36px -20px rgba(11,42,111,.45) !important; backdrop-filter: none;
}
body.sf-home .nav-content .content { padding: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
body.sf-home .nav-content .content-2 { flex: none; justify-content: flex-start; gap: 12px; }
body.sf-home .logo img { width: auto; height: 46px; display: block; }
body.sf-home .scroll-line { left: auto; right: 0; bottom: 0; height: 3px; border-radius: 0; background: linear-gradient(270deg, #39C6F4, #1E7BEA, #0B2A6F) !important; }
body.sf-home #nav-links-container { display: flex; align-items: center; padding: 5px; border-radius: 18px; background: var(--soft); }
body.sf-home .links { gap: 6px; padding: 0; margin: 0; }
body.sf-home .create-account, body.sf-home .login-button {
  font-family: 'Readex Pro', sans-serif; font-weight: 600; font-size: 14px; height: 44px; padding: 0 16px; border-radius: 14px;
  gap: 6px; width: auto; flex: none; box-shadow: none !important; transition: background .25s, color .25s, filter .25s;
}
body.sf-home .login-button { background: transparent !important; color: var(--ink) !important; border: 0; }
body.sf-home .login-button:hover { background: var(--card) !important; color: var(--blue) !important; }
body.sf-home .create-account { background: var(--grad) !important; color: #fff !important; border: 0; box-shadow: 0 10px 22px -12px rgba(30,123,234,.9) !important; }
body.sf-home .create-account:hover { filter: brightness(1.15); color: #fff !important; }
body.sf-home .links lord-icon { width: 26px !important; height: 26px !important; }
body.sf-home .user-menu { background: var(--grad) !important; border-radius: 14px; }
body.sf-home .user-menu::before { color: #fff; }
body.sf-home .dropdown-content { background: var(--card) !important; border: 1px solid var(--line); border-radius: 18px; top: 58px; box-shadow: 0 20px 40px -20px rgba(11,42,111,.5); }
body.sf-home .dropdown-content a { color: var(--ink); font-family: 'Readex Pro', sans-serif; }
body.sf-home .dropdown-content a:hover { background: var(--soft); color: var(--blue); }
body.sf-home .bars { color: var(--blue); }
@media (max-width: 767px) {
  body.sf-home .logo img { height: 38px; }
  body.sf-home .links.active { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
  body.sf-home .links.active a { width: 100%; justify-content: center; }
}

/* ===== Hero ===== */
.sf-hero { padding: 40px 0 30px; }
.sf-hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 40px; align-items: center; }
.sf-hero-copy { display: flex; flex-direction: column; gap: 22px; animation: sfRise .8s ease 1.4s both; }
.sf-hero h1 { margin: 0; font-family: 'Readex Pro', sans-serif; font-weight: 700; font-size: clamp(40px, 5.2vw, 66px); line-height: 1.3; display: flex; flex-wrap: wrap; column-gap: .28em; color: var(--ink); }
.sf-hero h1 > span { display: inline-block; animation: sfWord .8s cubic-bezier(.2,.8,.2,1) both; }
.sf-hero h1 > .br { flex-basis: 100%; height: 0; }
.sf-hero h1 .grad { background: linear-gradient(90deg, #0B2A6F, #1E7BEA, #39C6F4, #1E7BEA, #0B2A6F); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sfGrad 4s ease-in-out infinite; }
body.dark .sf-hero h1 .grad { background-image: linear-gradient(90deg, #39C6F4, #8FD8FF, #39C6F4); }
.sf-lead { margin: 0; font-size: 18px; line-height: 2; color: var(--muted); max-width: 540px; text-wrap: pretty; }
.sf-lead b { color: var(--blue); }
.sf-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.sf-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; transition: transform .25s, border-color .25s; }
.sf-btn-main { background: var(--grad); color: #fff !important; box-shadow: 0 14px 28px -14px rgba(30,123,234,.9); }
.sf-btn-main:hover { transform: translateY(-3px) scale(1.03); }
.sf-btn-main::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.5) 50%, transparent 65%); background-size: 250% 100%; animation: sfShine 3.2s ease-in-out infinite; }
.sf-btn-main > * { position: relative; }
.sf-btn-line { border: 1.5px solid var(--line); font-weight: 600; }
.sf-btn-line:hover { border-color: var(--blue); }
.sf-btn-line i { color: var(--blue); }
.sf-visual { position: relative; height: clamp(440px, 52vw, 600px); }
.sf-cols { position: absolute; inset: 0 4%; display: flex; align-items: flex-end; gap: 4%; }
.sf-cols span { flex: 1; border-radius: 999px 999px 28px 28px; }
.sf-cols span:nth-child(1) { height: 52%; background: #D9E9FF; }
.sf-cols span:nth-child(2) { height: 78%; background: #39C6F4; }
.sf-cols span:nth-child(3) { height: 96%; background: linear-gradient(180deg, #1E7BEA, #0B2A6F); }
.sf-cols span:nth-child(4) { height: 66%; background: #0B2A6F; }
body.dark .sf-cols span:nth-child(1) { background: #1A3366; }
.sf-visual img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 100%; width: auto; max-width: none; filter: drop-shadow(0 20px 30px rgba(11,42,111,.35)); }

/* ===== Notice ===== */
.sf-notice-wrap { max-width: 1000px; margin: 20px auto 0; padding: 0 20px; }
.sf-notice { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 22px; border-radius: 20px; background: linear-gradient(135deg, #0B2A6F, #1E5FD0); color: #fff; box-shadow: 0 20px 40px -24px rgba(11,42,111,.8); }
.sf-notice::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%); background-size: 250% 100%; animation: sfShine 4s ease-in-out infinite; pointer-events: none; }
.sf-notice-in { position: relative; display: flex; align-items: center; gap: 14px; }
.sf-notice-ic { position: relative; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 18px; color: #39C6F4; flex: none; }
.sf-notice-ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #39C6F4; animation: sfPing 1.8s ease-out infinite; }
.sf-notice b { display: block; font-size: 16px; color: #39C6F4; }
.sf-notice small { font-size: 14px; color: #D6E3FF; }
.sf-notice a { position: relative; display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff; color: #0B2A6F !important; font-weight: 700; font-size: 14px; }

/* ===== How we help ===== */
.sf-help { padding: 100px 0 20px; }
.sf-help-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 56px 40px; }
.sf-help-lines { position: absolute; inset: -10px 0; width: 100%; height: calc(100% + 20px); z-index: 0; pointer-events: none; }
.sf-help-lines path { animation: sfDash 1.2s linear infinite; }
.sf-help-card { position: relative; z-index: 1; padding: 28px 24px 26px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 18px 40px -30px rgba(11,42,111,.5); display: flex; flex-direction: column; gap: 12px; transition: border-color .35s; }
.sf-help-card:hover { border-color: var(--cyan); }
.sf-help-top { display: flex; justify-content: space-between; align-items: center; }
.sf-help-ic { width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 20px; box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--cyan); }
.sf-help-ic i { animation: sfFloat 3s ease-in-out infinite; }
.sf-help-num { font-size: 30px; font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px var(--cyan); }
.sf-help-card h3 { margin: 6px 0 0; font-family: 'Readex Pro', sans-serif; font-size: 19px; font-weight: 700; color: var(--ink); }
.sf-help-card p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--muted); }
@media (max-width: 760px) { .sf-help-lines { display: none; } .sf-help-grid { gap: 18px; } }

/* ===== Stages ===== */
.sf-stages { padding: 100px 0 40px; text-align: right !important; direction: rtl; }
.sf-stages .sf-head { text-align: center; }
.sf-stage-text, .sf-stage-text * { text-align: right !important; direction: rtl; }
.sf-stage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 28px; }
.sf-stage { position: relative; display: block; padding-top: 110px; color: #fff !important; }
.sf-stage-box { position: relative; min-height: 300px; border-radius: 32px; background: var(--grad); box-shadow: 0 30px 50px -30px rgba(11,42,111,.7); }
.sf-stage.alt .sf-stage-box { background: linear-gradient(135deg, #123C93, #2BA6E0); }
.sf-stage-deco { position: absolute; inset: 0; border-radius: 32px; overflow: hidden; }
.sf-stage-deco .dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.16) 1.5px, transparent 1.5px); background-size: 22px 22px; }
.sf-stage-deco .c1 { position: absolute; left: -40px; bottom: -60px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.1); }
.sf-stage-deco .c2 { position: absolute; left: 30px; bottom: 10px; width: 200px; height: 200px; border-radius: 50%; background: rgba(57,198,244,.35); }
.sf-stage-deco .c3 { position: absolute; left: 30px; bottom: 10px; width: 200px; height: 200px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.35); animation: sfSpin 24s linear infinite; }
.sf-stage-deco .num { position: absolute; top: -30px; right: 46%; font-family: 'Lalezar'; font-size: 260px; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.22); animation: sfFloat 6s ease-in-out infinite; }
.sf-stage-img { position: absolute; left: 0; bottom: 0; height: 136%; width: auto; max-width: 56% !important; object-fit: contain; object-position: left bottom; filter: drop-shadow(0 16px 24px rgba(0,0,0,.3)); }
.sf-stage-text { position: relative; z-index: 2; width: 56%; min-height: 300px; padding: 30px 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.sf-stage-text .tag { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: #fff; color: #0B2A6F; font-size: 13px; font-weight: 700; }
.sf-stage-text .ttl { display: flex; flex-direction: column; gap: 10px; font-family: 'Lalezar'; font-size: clamp(34px, 3.8vw, 46px); line-height: 1.5; }
.sf-stage-text .ttl span { display: block; line-height: 1.5; }
.sf-stage-text .ttl span + span { color: #39C6F4; }
.sf-stage-text .sub { font-size: 14px; color: #D6E3FF; line-height: 1.7; }
.sf-stage-text .go { align-self: flex-start; margin-top: 6px; display: flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: #39C6F4; color: #0B1D45; font-weight: 700; font-size: 14px; }
@media (max-width: 640px) and (min-width: 0px) { .sf-stage-text { width: 100%; } }

/* ===== Featured courses (تتعرض من courses.js) ===== */
.sf-courses { padding: 60px 0 100px; }
body.sf-home .sf-courses .row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; margin: 0; }
body.sf-home .sf-courses .row > p { display: none; }
body.sf-home .sf-courses .card-course { width: auto; max-width: none; flex: none; padding: 0; margin: 0; }
body.sf-home .sf-courses .card-course:nth-child(n+7) { display: none; }
body.sf-home .sf-courses .course { height: 100%; display: flex; flex-direction: column; align-items: stretch; padding: 10px; border-radius: 26px; background: var(--card) !important; border: 1px solid var(--line); box-shadow: 0 18px 40px -28px rgba(11,42,111,.5); }
body.sf-home .sf-courses .course-free::after { display: none; }
body.sf-home .sf-courses .course img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; display: block; }
body.sf-home .sf-courses .content-course { padding: 16px 8px 6px; gap: 12px; flex: 1; }
body.sf-home .sf-courses .content-course h4 { margin: 0; padding: 0; font-family: 'Readex Pro', sans-serif; font-weight: 700; font-size: 17px; line-height: 1.6; text-align: right; color: var(--ink) !important; }
body.sf-home .sf-courses .content-course .number-lect { position: static; width: auto; margin: 0; padding: 0; background: none !important; font-family: 'Readex Pro', sans-serif; font-weight: 400; font-size: 13px; line-height: 1.8; text-align: right; justify-content: flex-start; color: var(--muted) !important; }
body.sf-home .sf-courses .data-course { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--soft); }
body.sf-home .sf-courses .data-course .price { background: none !important; padding: 0; margin: 0; font-family: 'Readex Pro', sans-serif; font-size: 13px; font-weight: 600; color: var(--ink) !important; align-items: baseline; }
body.sf-home .sf-courses .data-course .price span { font-weight: 700; font-size: 28px; color: var(--blue) !important; }
body.sf-home .sf-courses .data-course .price-del { background: none !important; padding: 0; margin: 0; font-size: 12px; color: var(--muted) !important; }
body.sf-home .sf-courses .data-course .price-del span { background: none !important; color: var(--muted) !important; text-decoration: line-through; padding: 0; }
body.sf-home .sf-courses .price-free, body.sf-home .sf-courses .you-subscription { background: #39C6F4 !important; color: #0B1D45 !important; border: 0; border-radius: 999px; font-size: 12px; font-weight: 700; padding: 6px 12px; font-family: 'Readex Pro', sans-serif; }
body.sf-home .sf-courses .info-course p { font-family: 'Readex Pro', sans-serif; font-size: 11px; color: var(--muted) !important; display: flex; gap: 6px; align-items: center; justify-content: flex-end; margin-top: 4px; }
body.sf-home .sf-courses .info-course svg { color: var(--blue) !important; }
body.sf-home .sf-courses .course-subscription .check { border: 0; border-radius: 12px; background: var(--grad) !important; color: #fff !important; font-family: 'Readex Pro', sans-serif; font-weight: 700; font-size: 14px; padding: 13px; transition: filter .25s; }
body.sf-home .sf-courses .course-subscription .check:hover { filter: brightness(1.15); }

/* ===== Demo course cards ===== */
.sf-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 34px; padding: 5px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.sf-tabs button { border: 0; cursor: pointer; padding: 10px 20px; border-radius: 999px; font-family: 'Readex Pro', sans-serif; font-weight: 600; font-size: 14px; background: transparent; color: var(--ink); transition: background .25s, color .25s; }
.sf-tabs button.on { background: #0B2A6F; color: #fff; }
.sf-course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.sf-tabs[hidden], .sf-course-grid[hidden], .sf-course[hidden] { display: none !important; }
.sf-course { display: flex; flex-direction: column; border-radius: 26px; background: var(--card); border: 1px solid var(--line); padding: 10px; box-shadow: 0 18px 40px -28px rgba(11,42,111,.5); color: var(--ink) !important; transition: box-shadow .35s; }
.sf-course:hover { box-shadow: 0 30px 50px -26px rgba(11,42,111,.6); }
.sf-course-cover { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--grad); }
.sf-course.alt .sf-course-cover { background: linear-gradient(135deg, #123C93, #2BA6E0); }
.sf-course-cover .dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.16) 1.5px, transparent 1.5px); background-size: 20px 20px; }
.sf-course-cover .c1 { position: absolute; left: -30px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(57,198,244,.35); }
.sf-course-cover img { position: absolute; left: 0; bottom: 0; height: 92%; width: auto; max-width: none; transition: transform .5s; }
.sf-course:hover .sf-course-cover img { transform: scale(1.05); transform-origin: left bottom; }
.sf-course-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.28) 50%, transparent 60%); background-size: 250% 100%; animation: sfShine 3.6s ease-in-out infinite; pointer-events: none; }
.sf-course-cover .txt { position: absolute; top: 14px; right: 16px; bottom: 14px; width: 55%; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; text-align: right; }
.sf-course-cover .tag { padding: 5px 12px; border-radius: 999px; background: #fff; color: #0B2A6F; font-size: 11px; font-weight: 700; }
.sf-course-cover .ttl { display: flex; flex-direction: column; font-family: 'Lalezar'; font-size: 28px; line-height: 1.45; color: #fff; }
.sf-course-cover .ttl span + span { color: #39C6F4; }
.sf-course-body { padding: 16px 8px 6px; display: flex; flex-direction: column; gap: 12px; flex: 1; text-align: right; }
.sf-course-body h3 { margin: 0; font-family: 'Readex Pro', sans-serif; font-size: 17px; font-weight: 700; line-height: 1.6; color: var(--ink); }
.sf-course-body .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.sf-course-body .meta span { display: flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 10px; background: var(--soft); font-size: 12px; color: var(--muted); }
.sf-course-body .meta svg, .sf-course-body .meta i { color: #1E7BEA !important; }
.sf-course-body .buy { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--soft); }
.sf-course-body .pr { display: flex; flex-direction: column; line-height: 1.2; }
.sf-course-body .pr s { font-size: 12px; color: var(--muted); }
.sf-course-body .pr span { font-size: 13px; font-weight: 600; }
.sf-course-body .pr b { font-size: 28px; color: #1E7BEA; }
.sf-course-body .btn { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; }

/* ===== Footer ===== */
.sf-footer { padding: 0 20px 24px; }
.sf-footer-box { position: relative; overflow: hidden; max-width: 1200px; margin: 0 auto; border-radius: 36px; background: linear-gradient(135deg, #0B2A6F, #1E5FD0); color: #fff; }
.sf-footer-box .dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1.5px, transparent 1.5px); background-size: 24px 24px; }
.sf-footer-box .c1 { position: absolute; left: -90px; bottom: -140px; width: 380px; height: 380px; border-radius: 50%; background: rgba(57,198,244,.22); }
.sf-footer-box .c2 { position: absolute; right: -70px; top: -110px; width: 300px; height: 300px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.25); }
.sf-footer-box .st { position: absolute; color: #39C6F4; animation: sfSparkle 2.6s ease-in-out infinite; }
.sf-footer-box .st.s1 { top: 18%; left: 12%; font-size: 16px; }
.sf-footer-box .st.s2 { bottom: 30%; right: 14%; font-size: 12px; color: #fff; animation-delay: 1s; }
.sf-footer-box .fl { position: absolute; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.12); color: #39C6F4; display: grid; place-items: center; font-size: 18px; animation: sfFloat 5s ease-in-out infinite; }
.sf-footer-box .fl.f1 { top: 30%; right: 8%; }
.sf-footer-box .fl.f2 { bottom: 22%; left: 8%; animation-delay: 1s; }
.sf-footer-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: 60px 30px 50px; }
.sf-footer-in > img { width: 200px; height: auto; }
.sf-footer-in h2 { margin: 0; font-family: 'Lalezar'; font-weight: 400; font-size: clamp(38px, 5vw, 64px); line-height: 1.35; color: #fff; }
.sf-footer-in h2 em { font-style: normal; color: #39C6F4; }
.sf-footer-in > p { margin: 0; font-size: 16px; line-height: 1.8; color: #C7D5F2; max-width: 480px; }
.sf-footer-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.sf-footer-btns a { display: flex; align-items: center; gap: 8px; padding: 15px 26px; border-radius: 999px; font-weight: 700; transition: background .25s; }
.sf-footer-btns .b1 { background: #39C6F4; color: #0B1D45 !important; }
.sf-footer-btns .b1:hover { background: #fff; }
.sf-footer-btns .b2 { border: 1.5px solid rgba(255,255,255,.35); color: #fff !important; }
.sf-footer-btns .b2:hover { background: rgba(255,255,255,.1); }
.sf-footer-row { width: 100%; max-width: 760px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.sf-footer-links { display: flex; gap: 18px; font-size: 14px; flex-wrap: wrap; }
.sf-footer-links a { color: #C7D5F2 !important; }
.sf-footer-links a:hover { color: #fff !important; }
.sf-social { display: flex; gap: 10px; }
.sf-social a { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.12); color: #fff !important; display: grid; place-items: center; font-size: 17px; transition: background .25s, color .25s; }
.sf-social a:hover { background: #fff; }
.sf-social a.fb:hover { color: #1877F2 !important; }
.sf-social a.yt:hover { color: #FF0000 !important; }
.sf-social a.tt:hover { color: #0B1D45 !important; }
.sf-social a.ig:hover { color: #E1306C !important; }
.sf-copy { display: flex; justify-content: center; gap: 6px; padding: 18px 0 0; font-size: 13px; color: var(--muted); }
.sf-copy a { color: var(--blue) !important; }
.sf-wa { position: fixed; left: 20px; bottom: 20px; z-index: 950; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff !important; display: grid; place-items: center; font-size: 28px; box-shadow: 0 14px 30px -10px rgba(37,211,102,.8); transition: transform .25s; }
.sf-wa:hover { transform: scale(1.08); }

/* أيقونات Font Awesome (all.min.js بيحوّلها svg وstyle.css بيلوّنها أحمر) */
body.sf-home svg.svg-inline--fa, body.sf-home svg.svg-inline--fa path { color: inherit !important; fill: currentColor !important; outline: none !important; }
.sf-help-ic svg { animation: sfFloat 3s ease-in-out infinite; }
.sf-btn-line svg, .sf-btn-line i { color: var(--blue) !important; }

/* ===== Stages responsive ===== */
@media (max-width: 640px) {
  .sf-stage { padding-top: 0; }
  .sf-stage-box { min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
  .sf-stage-text { width: 100%; min-height: 0; padding: 26px 22px 0; align-items: center; }
  .sf-stage-text, .sf-stage-text * { text-align: center !important; }
  .sf-stage-text .tag, .sf-stage-text .go { align-self: center; }
  .sf-stage-text .ttl { align-items: center; font-size: 34px; }
  .sf-stage-img { position: relative; left: auto; bottom: auto; display: block; margin: 8px auto 0; height: 280px; max-width: 90% !important; object-position: center bottom; }
  .sf-stage-deco .num { right: auto; left: 10px; top: auto; bottom: -40px; font-size: 200px; }
  .sf-stage-deco .c2, .sf-stage-deco .c3 { left: 50%; margin-left: -100px; }
}

/* ===== Reveal + tilt ===== */
.sf-js [data-reveal] { opacity: 0; filter: blur(6px); transform: translateY(50px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1), filter .8s ease; transition-delay: calc(var(--d, 0) * .12s); }
.sf-js [data-reveal="zoom"] { transform: translateY(40px) scale(.92); }
.sf-js [data-reveal="side"] { transform: translateX(60px) rotate(2deg); }
.sf-js [data-reveal="side-alt"] { transform: translateX(-60px) rotate(-2deg); }
.sf-js [data-reveal].in { opacity: 1; filter: none; transform: none; }
.sf-js [data-reveal].ready { transition: transform .25s ease-out; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  body.sf-home *, .sf-curtain { animation: none !important; }
  .sf-curtain { display: none; }
  .sf-js [data-reveal] { opacity: 1; filter: none; transform: none; }
}
