/* تصميم الصفحة التعريفية لـ LoopTec Card (مشترك بين العربي والإنجليزي) */
:root {
    --navy-950: #040c1a;
    --navy-900: #061226;
    --navy-800: #0a1f3d;
    --navy-700: #0c2a4e;
    --blue: #1572c4;
    --glow: #4cc3f0;
    --ice: #e6f5fd;
    --text: #dbe8f5;
    --muted: #8ea6c2;
    --line: rgba(76, 195, 240, 0.18);
    --card: rgba(12, 42, 78, 0.55);
    --wa: #25d366;
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Cairo', Tahoma, sans-serif;
    background: var(--navy-950);
    color: var(--text);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* شريط علوي */
.topbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(4, 12, 26, 0.82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand span { font-weight: 900; font-size: 19px; color: #fff; letter-spacing: 0.3px; }
.brand span b { color: var(--glow); font-weight: 900; }
.nav-links { display: flex; gap: 22px; font-size: 14px; font-weight: 700; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: #fff; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.lang {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line);
    color: var(--ice); text-decoration: none; font-size: 13.5px; font-weight: 800;
    transition: border-color .2s;
}
.lang:hover { border-color: var(--glow); }

/* الصفحة الإنجليزية: خط Inter (اللاتيني) */
html[lang="en"] body { font-family: 'Inter', 'Cairo', system-ui, sans-serif; line-height: 1.65; }
html[lang="en"] .hero h1 { line-height: 1.15; letter-spacing: -1px; }
html[lang="en"] .sec-head h2, html[lang="en"] .offer h2 { letter-spacing: -0.5px; line-height: 1.25; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 24px; border-radius: 14px;
    font-family: inherit; font-weight: 800; font-size: 16px;
    text-decoration: none; cursor: pointer; border: none;
    transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #052e16; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.28); }
.btn-ghost { background: transparent; color: var(--ice); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--glow); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 12px; }
.wa-ico { width: 20px; height: 20px; flex-shrink: 0; }

/* الواجهة */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(800px 420px at 85% -10%, rgba(76, 195, 240, 0.20), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, rgba(21, 114, 196, 0.22), transparent 60%),
        linear-gradient(180deg, var(--navy-900), var(--navy-950));
    padding: 70px 0 80px;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.pill {
    display: inline-block; padding: 6px 14px; border-radius: 999px;
    background: rgba(76, 195, 240, 0.12); border: 1px solid var(--line);
    color: var(--glow); font-size: 13px; font-weight: 800; margin-bottom: 16px;
}
.hero h1 { margin: 0 0 16px; font-size: clamp(32px, 5vw, 52px); line-height: 1.35; font-weight: 900; color: #fff; }
.hero h1 em { font-style: normal; color: var(--glow); }
.hero p.lead { margin: 0 0 28px; font-size: 18px; color: var(--muted); max-width: 560px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.hero-note b { color: var(--ice); }

/* شكل الجوال (فخم: إطار تيتانيوم، شاشة غامقة، بطاقة بلمسات ذهبية) */
:root { --gold: #e3c27a; --gold-2: #b98f3e; }
.stage { position: relative; width: 300px; margin: 0 auto; text-align: start; }
.stage::before {
    content: ""; position: absolute; inset: 40px -30px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(76, 195, 240, 0.35), transparent);
    filter: blur(30px); z-index: 0;
}
.phone {
    position: relative; z-index: 1;
    width: 300px; padding: 11px; border-radius: 52px;
    background: linear-gradient(145deg, #3a4458 0%, #141b28 35%, #2b3446 65%, #0d131d 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.18),
        inset 0 0 0 3px #05080e,
        0 40px 90px rgba(0, 0, 0, 0.6),
        0 0 70px rgba(76, 195, 240, 0.18);
    animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.screen {
    position: relative; overflow: hidden;
    border-radius: 42px; padding: 12px 14px 18px; min-height: 560px;
    background:
        radial-gradient(300px 220px at 80% 0%, rgba(76, 195, 240, 0.18), transparent 70%),
        linear-gradient(180deg, #0a1426 0%, #050a14 100%);
    color: #e6f5fd;
}
.island { width: 92px; height: 26px; border-radius: 20px; background: #000; margin: 0 auto 8px; }
.statusbar { display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; color: #cfe3f5; padding: 0 8px 8px; direction: ltr; }

.push {
    display: flex; gap: 9px; align-items: center;
    background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: 18px; padding: 9px 11px; margin-bottom: 14px;
    animation: drop .8s .6s ease-out both;
}
@keyframes drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.push img { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; }
.push .t { font-size: 11px; font-weight: 800; color: #fff; line-height: 1.5; }
.push .t small { float: inline-end; font-weight: 600; color: #8ea6c2; }
.push .b { font-size: 10.5px; color: #b8cde3; line-height: 1.5; }

.lcard {
    position: relative; overflow: hidden;
    border-radius: 22px; padding: 16px 16px 14px;
    background:
        radial-gradient(220px 140px at 0% 0%, rgba(227, 194, 122, 0.22), transparent 70%),
        linear-gradient(135deg, #1a2742 0%, #0c1426 55%, #13284a 100%);
    border: 1px solid rgba(227, 194, 122, 0.35);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.lcard::after {
    content: ""; position: absolute; top: -60%; left: -40%; width: 60%; height: 220%;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.10) 50%, transparent 70%);
    transform: rotate(8deg); animation: sheen 5s ease-in-out infinite;
}
@keyframes sheen { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.lcard-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.brandmark { min-width: 0; }
.brandmark { display: flex; align-items: center; gap: 8px; }
.mono {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 15px; color: #1a1205;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    box-shadow: 0 0 0 2px rgba(227, 194, 122, 0.25);
}
.brandmark b { display: block; white-space: nowrap; font-size: 12px; letter-spacing: 1.2px; color: #fff; direction: ltr; text-align: left; }
[dir="rtl"] .brandmark b { text-align: right; }
.brandmark small { display: block; font-size: 9.5px; color: var(--gold); font-weight: 700; }
.tier {
    font-size: 9.5px; font-weight: 800; color: #1a1205; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
}
.lcard-mid { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 10px; }
.ring { position: relative; width: 86px; height: 86px; flex-shrink: 0; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.ring .val b { font-size: 26px; font-weight: 900; color: #fff; }
.ring .val span { font-size: 9.5px; color: #8ea6c2; margin-top: 3px; font-weight: 700; }
.member { text-align: start; }
.member small { display: block; font-size: 9.5px; color: #8ea6c2; font-weight: 700; }
.member b { display: block; font-size: 14px; color: #fff; font-weight: 800; margin-bottom: 6px; }
.member .id { font-size: 10.5px; color: var(--gold); font-weight: 800; direction: ltr; text-align: left; letter-spacing: 1px; }
[dir="rtl"] .member .id { text-align: right; }
.reward {
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px; padding: 8px 10px; font-size: 10.5px; font-weight: 700; color: #cfe3f5;
}
.reward .bar { flex: 1; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.reward .bar i { display: block; width: 70%; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); }

.qr-wrap {
    margin: 16px auto 0; width: 132px; padding: 10px; border-radius: 18px; background: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(227, 194, 122, 0.18);
}
.qr-wrap svg { display: block; width: 100%; height: auto; }
.qr-hint { text-align: center; font-size: 10px; color: #8ea6c2; margin-top: 8px; font-weight: 700; }

.chip {
    position: absolute; z-index: 2; display: flex; align-items: center; gap: 6px;
    padding: 8px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 800; color: #fff;
    background: rgba(10, 31, 61, 0.82); border: 1px solid rgba(76, 195, 240, 0.45);
    backdrop-filter: blur(8px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4), 0 0 18px rgba(76, 195, 240, 0.22);
    animation: float 5s ease-in-out infinite;
}
.chip.c1 { top: 120px; right: -58px; }
.chip.c2 { bottom: 120px; left: -64px; animation-delay: -2.5s; border-color: rgba(227, 194, 122, 0.55); }
.chip.c3 { top: 300px; right: -70px; animation-delay: -1.2s; }

/* الأقسام */
section { padding: 80px 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.sec-head .pill { margin-bottom: 12px; }
.sec-head h2 { margin: 0 0 10px; font-size: clamp(26px, 3.6vw, 36px); font-weight: 900; color: #fff; line-height: 1.4; }
.sec-head p { margin: 0; color: var(--muted); font-size: 16px; }
.alt { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
    position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 22px 22px;
}
.step .num {
    width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--blue), var(--glow)); color: #fff; font-weight: 900; font-size: 18px; margin-bottom: 14px;
}
.step h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: #fff; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
    transition: border-color .2s, transform .2s;
}
.feat:hover { border-color: rgba(76, 195, 240, 0.5); transform: translateY(-3px); }
.feat .ico { font-size: 28px; margin-bottom: 10px; }
.feat h3 { margin: 0 0 4px; font-size: 16.5px; font-weight: 800; color: #fff; }
.feat p { margin: 0; color: var(--muted); font-size: 14px; }

.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.who div {
    text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px 12px; font-weight: 800; color: #fff;
}
.who div span { display: block; font-size: 34px; margin-bottom: 6px; }
.who div small { display: block; color: var(--muted); font-weight: 600; font-size: 12.5px; }

.offer {
    max-width: 820px; margin: 0 auto; text-align: center;
    background:
        radial-gradient(500px 220px at 50% 0%, rgba(76, 195, 240, 0.22), transparent 70%),
        linear-gradient(160deg, var(--navy-800), var(--navy-900));
    border: 1px solid rgba(76, 195, 240, 0.35); border-radius: 26px; padding: 44px 28px;
    box-shadow: 0 0 60px rgba(76, 195, 240, 0.10);
}
.offer h2 { margin: 0 0 8px; font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; color: #fff; }
.offer p { margin: 0 auto 24px; color: var(--muted); max-width: 560px; }
.offer ul { list-style: none; padding: 0; margin: 0 auto 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-weight: 700; color: var(--ice); }
.offer ul li::before { content: "✓ "; color: var(--glow); font-weight: 900; }

.faq { max-width: 820px; margin: 0 auto; }
.faq details {
    background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 10px;
}
.faq summary {
    cursor: pointer; list-style: none; padding: 14px 0; font-weight: 800; color: #fff; font-size: 16px;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--glow); font-size: 22px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }

footer { border-top: 1px solid var(--line); padding: 34px 0 90px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer a { text-decoration: none; color: var(--ice); font-weight: 700; }

/* زر واتساب ثابت على الجوال */
.wa-float {
    position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 60; display: none;
}
.wa-float .btn { width: 100%; }

/* عناصر الشبكة ما تتمدد أعرض من عمودها */
.hero .wrap > *, .steps > *, .features > *, .who > * { min-width: 0; }
.pill { max-width: 100%; }

@media (max-width: 900px) {
    .hero .wrap { grid-template-columns: minmax(0, 1fr); text-align: center; }
    .hero p.lead { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .steps, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-links { display: none; }
}
@media (max-width: 600px) {
    .hero { padding: 44px 0 56px; }
    section { padding: 56px 0; }
    .steps, .features { grid-template-columns: minmax(0, 1fr); }
    .wrap { padding: 0 16px; }
    .hero-ctas .btn { width: 100%; }
    .hero p.lead { font-size: 16px; }
    .offer { padding: 34px 18px; }
    .topbar .btn-sm { display: none; }
    .wa-float { display: block; }
    .stage, .phone { width: 280px; }
    .brandmark b { font-size: 11px; letter-spacing: 0.8px; }
    .tier { padding: 3px 7px; }
    .chip { display: none; }
}
@media (max-width: 1060px) and (min-width: 601px) {
    .chip.c3 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .feat { transition: none; }
    .phone, .chip, .push, .lcard::after { animation: none; }
}
