/* =========================================================
   CSS Custom Properties — Dark / Light Themes
   ========================================================= */
:root,
:root[data-theme="dark"] {
    --bg:           #08060f;
    --bg2:          #110e1e;
    --bg3:          #1b1730;
    --card:         #201c35;
    --card2:        #271f3d;
    --primary:      #ff1f6e;
    --primary-soft: rgba(255,31,110,.15);
    --primary-glow: rgba(255,31,110,.35);
    --secondary:    #9b1fff;
    --sec-soft:     rgba(155,31,255,.15);
    --accent:       #ff7c00;
    --gold:         #ffd700;
    --text:         #f0ecff;
    --text2:        #9990bb;
    --text3:        #5a547a;
    --border:       rgba(255,255,255,.07);
    --border-h:     rgba(255,31,110,.5);
    --nav-bg:       rgba(8,6,15,.92);
    --shadow:       0 8px 32px rgba(0,0,0,.5);
    --shadow-card:  0 4px 24px rgba(0,0,0,.4);
    --glow-primary: 0 0 40px rgba(255,31,110,.3);
    --glow-sec:     0 0 40px rgba(155,31,255,.3);
    --orb1:         #7b2fff;
    --orb2:         #ff2d6b;
    --hero-text:    #ffffff;
    --badge-bg:     rgba(255,31,110,.15);
    --badge-border: rgba(255,31,110,.4);
    --step-line:    rgba(255,31,110,.2);
    --input-bg:     rgba(255,255,255,.05);
    --input-border: rgba(255,255,255,.12);
    --input-focus:  rgba(255,31,110,.5);
    --scrollbar:    #2a2040;
    --scrollbar-t:  #ff1f6e;
}

:root[data-theme="light"] {
    --bg:           #fdfaff;
    --bg2:          #f5f0ff;
    --bg3:          #ece5ff;
    --card:         #ffffff;
    --card2:        #f9f5ff;
    --primary:      #c4115a;
    --primary-soft: rgba(196,17,90,.1);
    --primary-glow: rgba(196,17,90,.2);
    --secondary:    #7b11c4;
    --sec-soft:     rgba(123,17,196,.1);
    --accent:       #c45a00;
    --gold:         #a07000;
    --text:         #1a1230;
    --text2:        #5a4878;
    --text3:        #8a7aaa;
    --border:       rgba(0,0,0,.07);
    --border-h:     rgba(196,17,90,.4);
    --nav-bg:       rgba(253,250,255,.94);
    --shadow:       0 8px 32px rgba(100,50,150,.12);
    --shadow-card:  0 4px 24px rgba(100,50,150,.1);
    --glow-primary: 0 0 30px rgba(196,17,90,.15);
    --glow-sec:     0 0 30px rgba(123,17,196,.12);
    --orb1:         rgba(123,17,196,.12);
    --orb2:         rgba(196,17,90,.1);
    --hero-text:    #1a1230;
    --badge-bg:     rgba(196,17,90,.08);
    --badge-border: rgba(196,17,90,.3);
    --step-line:    rgba(196,17,90,.15);
    --input-bg:     rgba(0,0,0,.03);
    --input-border: rgba(0,0,0,.12);
    --input-focus:  rgba(196,17,90,.4);
    --scrollbar:    #e0d8f8;
    --scrollbar-t:  #c4115a;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--scrollbar); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-t); border-radius: 3px; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', 'Noto Sans Arabic', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background .3s, color .3s;
}

[dir="rtl"] body,
[dir="rtl"] * {
    font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

section { padding: 96px 0; }

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid var(--badge-border);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 16px;
}

.section-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text2);
    max-width: 560px;
    margin: 0 auto;
}

/* =========================================================
   Navigation
   ========================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background .3s, border-color .3s;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--glow-primary);
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    font-size: .875rem;
    font-weight: 500;
    color: var(--text2);
    padding: 7px 12px;
    border-radius: 8px;
    transition: color .2s, background .2s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--text);
    background: var(--primary-soft);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all .2s;
    flex-shrink: 0;
}

.btn-icon:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}

.lang-select {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text2);
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}

.lang-btn:hover {
    border-color: var(--primary);
    color: var(--text);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    min-width: 140px;
    overflow: hidden;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all .2s;
    z-index: 100;
}

[dir="rtl"] .lang-dropdown { right: auto; left: 0; }

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text2);
    cursor: pointer;
    transition: all .2s;
}

.lang-option:hover,
.lang-option.active {
    background: var(--primary-soft);
    color: var(--primary);
}

.lang-flag { font-size: 1.1rem; }

.btn-join {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: .875rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    box-shadow: var(--glow-primary);
    transition: opacity .2s, transform .2s, box-shadow .2s;
    white-space: nowrap;
    text-decoration: none;
}

.btn-join:hover {
    opacity: .9;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px var(--primary-glow);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px 20px;
    border-top: 1px solid var(--border);
    background: var(--nav-bg);
}

.mobile-menu.open { display: flex; }
.mobile-menu a {
    font-size: .95rem;
    font-weight: 500;
    color: var(--text2);
    padding: 10px 12px;
    border-radius: 8px;
    transition: all .2s;
}
.mobile-menu a:hover { background: var(--primary-soft); color: var(--primary); }

.mobile-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 12px 0;
    flex-wrap: wrap;
}

/* =========================================================
   Hero Section
   ========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg);
    padding-top: 68px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(155,31,255,.18), transparent),
                radial-gradient(ellipse 60% 50% at 20% 70%, rgba(255,31,110,.12), transparent);
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: orbFloat 10s ease-in-out infinite;
}

.orb-1 {
    width: 500px; height: 500px;
    background: var(--orb1);
    opacity: .15;
    top: -100px; right: -80px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px; height: 400px;
    background: var(--orb2);
    opacity: .12;
    bottom: -60px; left: -60px;
    animation-delay: 4s;
}

.orb-3 {
    width: 250px; height: 250px;
    background: var(--secondary);
    opacity: .1;
    top: 40%; left: 50%;
    animation-delay: 2s;
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-30px) scale(1.05); }
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content { max-width: 580px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.5); opacity: .6; }
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--hero-text);
    margin-bottom: 24px;
}

.hero-title .highlight {
    display: block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text2);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--primary-glow);
    transition: all .25s;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--primary-glow);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 12px;
    background: transparent;
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
    border: 1.5px solid var(--border-h);
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 36px;
}

.stat { text-align: left; }
[dir="rtl"] .stat { text-align: right; }

.stat-num {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-lbl {
    font-size: .8rem;
    color: var(--text2);
    font-weight: 500;
    margin-top: 3px;
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-wrap {
    position: relative;
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%       { transform: translateY(-20px) rotate(2deg); }
}

.phone-frame {
    width: 260px;
    height: 520px;
    border-radius: 44px;
    background: var(--card);
    border: 2px solid var(--border-h);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow), var(--glow-primary);
}

.phone-screen {
    position: absolute;
    inset: 4px;
    border-radius: 40px;
    background: linear-gradient(160deg, #1a0530 0%, #0a0814 40%, #1a0020 100%);
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 24px;
    background: rgba(0,0,0,.8);
    border-radius: 12px;
    z-index: 10;
}

.phone-live-bar {
    position: absolute;
    top: 48px;
    left: 12px; right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 5;
}

.live-badge {
    background: var(--primary);
    color: #fff;
    font-size: .55rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: .1em;
}

.viewer-count {
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: .6rem;
    padding: 3px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.phone-avatar-area {
    position: absolute;
    top: 80px;
    left: 0; right: 0;
    height: 220px;
    background: linear-gradient(180deg, rgba(155,31,255,.3) 0%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-circle {
    width: 90px; height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 0 40px var(--primary-glow), 0 0 80px var(--glow-sec);
    animation: avatarGlow 3s ease-in-out infinite;
}

@keyframes avatarGlow {
    0%, 100% { box-shadow: 0 0 30px var(--primary-glow), 0 0 60px rgba(155,31,255,.3); }
    50%       { box-shadow: 0 0 60px var(--primary-glow), 0 0 120px rgba(155,31,255,.4); }
}

.gift-floats {
    position: absolute;
    top: 120px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gift-item {
    background: rgba(0,0,0,.6);
    border-radius: 8px;
    padding: 4px 8px;
    font-size: .65rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 4px;
    animation: giftFloat 3s ease-in-out infinite;
}

.gift-item:nth-child(2) { animation-delay: 1s; }
.gift-item:nth-child(3) { animation-delay: 2s; }

@keyframes giftFloat {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50%       { transform: translateX(-5px); opacity: .8; }
}

.phone-chat {
    position: absolute;
    bottom: 60px;
    left: 12px; right: 12px;
}

.chat-msg {
    background: rgba(255,255,255,.08);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: .6rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 5px;
    animation: chatSlide 4s ease-in-out infinite;
}

.chat-msg:nth-child(2) { animation-delay: 1.5s; }

@keyframes chatSlide {
    0%, 100% { opacity: .7; }
    50%       { opacity: 1; }
}

.phone-bottom-bar {
    position: absolute;
    bottom: 12px;
    left: 12px; right: 12px;
    display: flex;
    justify-content: space-around;
}

.phone-icon {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
}

.phone-icon.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.visual-glow {
    position: absolute;
    inset: -20px;
    border-radius: 60px;
    background: radial-gradient(ellipse at center, var(--primary-glow), transparent 70%);
    filter: blur(20px);
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: .4; }
    50%       { opacity: .8; }
}

.float-card {
    position: absolute;
    background: var(--card);
    border: 1px solid var(--border-h);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: .75rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: cardFloat 5s ease-in-out infinite;
}

.float-card.card-a { top: 50px; left: -40px; animation-delay: 0s; }
.float-card.card-b { bottom: 80px; right: -30px; animation-delay: 2.5s; }

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

.card-icon { font-size: 1.2rem; }
.card-stat { font-size: .65rem; color: var(--text2); font-weight: 400; }

/* =========================================================
   Features Section
   ========================================================= */
.features { background: var(--bg2); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}

.feat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.feat-card:hover {
    border-color: var(--border-h);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), var(--glow-primary);
}

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

.feat-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: var(--primary-soft);
    border: 1px solid var(--badge-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: all .3s;
}

.feat-card:nth-child(2) .feat-icon { background: var(--sec-soft); border-color: rgba(155,31,255,.4); }
.feat-card:nth-child(3) .feat-icon { background: rgba(255,124,0,.1); border-color: rgba(255,124,0,.4); }
.feat-card:nth-child(4) .feat-icon { background: rgba(255,215,0,.1); border-color: rgba(255,215,0,.4); }
.feat-card:nth-child(5) .feat-icon { background: rgba(0,200,150,.1); border-color: rgba(0,200,150,.4); }
.feat-card:nth-child(6) .feat-icon { background: rgba(50,150,255,.1); border-color: rgba(50,150,255,.4); }

.feat-card:hover .feat-icon { transform: scale(1.1); }

.feat-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.feat-desc {
    font-size: .9rem;
    color: var(--text2);
    line-height: 1.6;
}

/* =========================================================
   Why Choose Us
   ========================================================= */
.why { background: var(--bg); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    transition: all .3s;
}

.why-card:hover {
    border-color: var(--border-h);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.why-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-soft), var(--sec-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    border: 1px solid var(--border-h);
}

.why-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.why-desc {
    font-size: .875rem;
    color: var(--text2);
    line-height: 1.6;
}

/* =========================================================
   How It Works
   ========================================================= */
.how-it-works { background: var(--bg2); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(16.67% + 32px);
    right: calc(16.67% + 32px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: .3;
}

[dir="rtl"] .steps-grid::before {
    left: calc(16.67% + 32px);
    right: calc(16.67% + 32px);
}

.step {
    text-align: center;
    position: relative;
}

.step-num {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px var(--primary-glow);
    transition: transform .3s;
}

.step:hover .step-num { transform: scale(1.1); }

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.step-desc {
    font-size: .9rem;
    color: var(--text2);
    line-height: 1.7;
    max-width: 260px;
    margin: 0 auto;
}

/* =========================================================
   Earnings Section
   ========================================================= */
.earnings { background: var(--bg); }

.earn-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 32px;
    align-items: start;
}

.earn-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
}

.earn-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
}

.earn-card-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--primary-soft);
    border: 1px solid var(--badge-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.earn-list { display: flex; flex-direction: column; gap: 14px; }

.earn-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg3);
    border-radius: 12px;
    font-size: .9rem;
    color: var(--text2);
    border: 1px solid var(--border);
    transition: all .2s;
}

.earn-item:hover {
    border-color: var(--border-h);
    color: var(--text);
    background: var(--primary-soft);
}

.earn-item-icon { font-size: 1.2rem; }

/* Commission table */
.commission-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
}

.commission-table th,
.commission-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: .9rem;
}

[dir="rtl"] .commission-table th,
[dir="rtl"] .commission-table td { text-align: right; }

.commission-table th {
    font-weight: 700;
    color: var(--text2);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    background: var(--bg3);
}

.commission-table td { color: var(--text); }

.commission-table tr:hover td { background: var(--primary-soft); }

.tier-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 24px;
    border-radius: 6px;
    font-size: .75rem;
    font-weight: 700;
}

.tier-badge.t1 { background: rgba(150,150,150,.2); color: #aaa; }
.tier-badge.t2 { background: rgba(100,200,100,.15); color: #4c8; }
.tier-badge.t3 { background: rgba(100,150,255,.15); color: #68f; }
.tier-badge.t4 { background: rgba(255,200,0,.15); color: #fb0; }
.tier-badge.t5 { background: rgba(255,80,0,.2); color: var(--primary); }

.pct-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary);
}

.bar-track {
    flex: 1;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    transition: width .8s ease;
}

.bonus-list { display: flex; flex-direction: column; gap: 10px; }

.bonus-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .875rem;
    color: var(--text2);
    padding: 10px 14px;
    background: var(--bg3);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.bonus-item::before {
    content: '✦';
    color: var(--gold);
    font-size: .7rem;
    flex-shrink: 0;
}

.bonus-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}

/* =========================================================
   Registration Section
   ========================================================= */
.register {
    background: var(--bg2);
    position: relative;
    overflow: hidden;
}

.register::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: var(--primary);
    opacity: .04;
    filter: blur(60px);
    pointer-events: none;
}

.reg-tabs {
    display: flex;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 6px;
    margin-bottom: 36px;
    max-width: 440px;
}

.reg-tab {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 700;
    color: var(--text2);
    cursor: pointer;
    border: none;
    background: none;
    transition: all .25s;
    text-align: center;
}

.reg-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.reg-tab:not(.active):hover {
    color: var(--text);
    background: var(--primary-soft);
}

.reg-form {
    display: none;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    max-width: 680px;
}

.reg-form.active { display: block; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full { grid-column: 1 / -1; }

.form-label {
    font-size: .825rem;
    font-weight: 600;
    color: var(--text2);
}

.form-label .req { color: var(--primary); margin-left: 2px; }
[dir="rtl"] .form-label .req { margin-left: 0; margin-right: 2px; }

.form-input,
.form-select,
.form-textarea {
    background: var(--input-bg);
    border: 1.5px solid var(--input-border);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: .95rem;
    color: var(--text);
    font-family: inherit;
    transition: all .2s;
    outline: none;
    width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--input-focus);
    background: var(--primary-soft);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text3);
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239990bb' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

[dir="rtl"] .form-select {
    background-position: left 12px center;
    padding-right: 16px;
    padding-left: 40px;
}

.form-select option { background: var(--card); color: var(--text); }

.form-textarea { resize: vertical; min-height: 110px; }

.form-note {
    font-size: .8rem;
    color: var(--text3);
    margin-top: -6px;
    margin-bottom: 10px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--primary-glow);
    transition: all .25s;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    opacity: .9;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.btn-submit .spinner {
    display: none;
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .6s linear infinite;
}

.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .spinner { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   FAQ Section
   ========================================================= */
.faq { background: var(--bg); }

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color .2s;
}

.faq-item.open { border-color: var(--border-h); }

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-size: .975rem;
    font-weight: 600;
    color: var(--text);
    user-select: none;
}

.faq-q:hover { color: var(--primary); }

.faq-arrow {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: var(--primary-soft);
    border: 1px solid var(--badge-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: .75rem;
    transition: transform .3s;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s;
}

.faq-a-inner {
    padding-bottom: 20px;
    font-size: .9rem;
    color: var(--text2);
    line-height: 1.75;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.faq-item.open .faq-a { max-height: 600px; }

/* =========================================================
   Contact Section
   ========================================================= */
.contact { background: var(--bg2); }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all .3s;
}

.contact-card:hover {
    border-color: var(--border-h);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.contact-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.contact-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.contact-desc {
    font-size: .875rem;
    color: var(--text2);
    margin-bottom: 20px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: .875rem;
    font-weight: 700;
    background: var(--primary-soft);
    border: 1px solid var(--badge-border);
    color: var(--primary);
    transition: all .2s;
}

.contact-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-color: transparent;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 56px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-tagline {
    font-size: .9rem;
    color: var(--text2);
    line-height: 1.6;
    max-width: 280px;
    margin-bottom: 20px;
}

.footer-col-title {
    font-size: .85rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 16px;
}

.footer-links-list { display: flex; flex-direction: column; gap: 10px; }
.footer-links-list a {
    font-size: .875rem;
    color: var(--text2);
    transition: color .2s;
}
.footer-links-list a:hover { color: var(--primary); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: .8rem;
    color: var(--text3);
}

.footer-disclaimer {
    font-size: .75rem;
    color: var(--text3);
    max-width: 500px;
    text-align: right;
}

[dir="rtl"] .footer-disclaimer { text-align: left; }

/* =========================================================
   Toast Notifications
   ========================================================= */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

[dir="rtl"] .toast-container { right: auto; left: 24px; }

.toast {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 340px;
    pointer-events: auto;
    animation: toastIn .3s ease forwards;
}

.toast.success { border-left: 3px solid #22c55e; }
.toast.error   { border-left: 3px solid var(--primary); }
.toast.info    { border-left: 3px solid var(--secondary); }

[dir="rtl"] .toast.success { border-left: none; border-right: 3px solid #22c55e; }
[dir="rtl"] .toast.error   { border-left: none; border-right: 3px solid var(--primary); }
[dir="rtl"] .toast.info    { border-left: none; border-right: 3px solid var(--secondary); }

.toast.hide { animation: toastOut .3s ease forwards; }

@keyframes toastIn  { from { opacity:0; transform: translateX(30px); } to { opacity:1; transform: translateX(0); } }
@keyframes toastOut { from { opacity:1; transform: translateX(0); } to { opacity:0; transform: translateX(30px); } }

/* =========================================================
   Invitation Links
   ========================================================= */
.invite-links-wrap { margin-bottom: 32px; }

.invite-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.invite-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    border-radius: 14px;
    border: 1.5px solid;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.invite-btn span { flex: 1; }
.invite-btn small { display: block; font-size: .75rem; font-weight: 400; opacity: .75; }
.invite-arrow { font-size: 1.2rem; flex-shrink: 0; transition: transform .2s; }
.invite-btn:hover .invite-arrow { transform: translateX(4px); }

.invite-btn-host {
    background: var(--primary-soft);
    border-color: var(--border-h);
    color: var(--text);
}
.invite-btn-host:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 24px var(--primary-glow);
    transform: translateY(-2px);
}

.invite-btn-agency {
    background: var(--sec-soft);
    border-color: rgba(155,31,255,.4);
    color: var(--text);
}
.invite-btn-agency:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 24px var(--glow-sec);
    transform: translateY(-2px);
}

.invite-divider {
    text-align: center;
    color: var(--text2);
    font-size: .875rem;
    position: relative;
    margin-bottom: 24px;
}
.invite-divider::before,
.invite-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 100px);
    height: 1px;
    background: var(--border);
}
.invite-divider::before { left: 0; }
.invite-divider::after  { right: 0; }

/* =========================================================
   Scroll Reveal
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .earn-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { display: none; }
    .hero-content { max-width: 100%; }
    .hero-stats { gap: 24px; }
    section { padding: 72px 0; }
    .nav-links { display: none; }
    .btn-join { display: none; }
    .hamburger { display: flex; }
}

@media (max-width: 640px) {
    .features-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 32px; }
    .steps-grid::before { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .reg-form { padding: 24px; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand { grid-column: 1; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-disclaimer { text-align: center; }
    .hero-stats { gap: 16px; flex-wrap: wrap; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn-primary,
    .hero-ctas .btn-outline { justify-content: center; }
    .earn-card { padding: 24px; }
    .commission-table { font-size: .8rem; }
    .commission-table th,
    .commission-table td { padding: 10px 10px; }
}

@media (max-width: 400px) {
    .why-grid { grid-template-columns: 1fr; }
    .reg-tabs { flex-direction: column; }
}
