/* ============================================
   صفحة هبوط واتساب — Dark Mode عصري
   ============================================ */

:root {
    --bg: #0b0f0c;
    --bg-card: #111814;
    --green: #25D366;
    --green-dark: #1ebe5b;
    --green-glow: rgba(37, 211, 102, 0.35);
    --green-soft: rgba(37, 211, 102, 0.12);
    --white: #ffffff;
    --text: #e8f0ea;
    --text-dim: #9fb3a6;
    --border: rgba(37, 211, 102, 0.22);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Tajawal', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* ---- توهجات الخلفية ---- */
.glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.glow-top {
    width: 420px;
    height: 420px;
    top: -140px;
    right: -120px;
    background: rgba(37, 211, 102, 0.14);
}

.glow-bottom {
    width: 380px;
    height: 380px;
    bottom: -140px;
    left: -120px;
    background: rgba(37, 211, 102, 0.10);
}

/* ---- الحاوية الرئيسية ---- */
.page {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    padding: 48px 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeUp 0.7s ease both;
}

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

/* ---- شريط الحالة ---- */
.status-bar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--green-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 22px;
    margin-bottom: 32px;
}

.status-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 var(--green-glow);
    animation: pulse 1.8s ease-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70%  { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.status-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green);
}

/* ---- العنوان ---- */
.hero {
    margin-bottom: 36px;
}

.hero-title {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
    font-weight: 900;
    line-height: 1.35;
    color: var(--white);
    margin-bottom: 14px;
}

.hero-title .accent {
    color: var(--green);
}

.hero-subtitle {
    font-size: clamp(1rem, 3.5vw, 1.15rem);
    font-weight: 400;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ---- الزر الرئيسي الضخم ---- */
.cta-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    background: linear-gradient(160deg, #2fe374 0%, var(--green) 55%, var(--green-dark) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 22px;
    padding: 26px 24px;
    box-shadow:
        0 10px 40px var(--green-glow),
        0 4px 14px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    animation: breathe 2.6s ease-in-out infinite;
    -webkit-tap-highlight-color: transparent;
}

@keyframes breathe {
    0%, 100% { box-shadow: 0 10px 40px rgba(37, 211, 102, 0.32), 0 4px 14px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.25); }
    50%      { box-shadow: 0 10px 56px rgba(37, 211, 102, 0.55), 0 4px 14px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.25); }
}

.cta-main:hover {
    transform: translateY(-3px) scale(1.015);
}

.cta-main:active {
    transform: scale(0.97);
}

.cta-main-text {
    font-size: clamp(1.35rem, 5.5vw, 1.8rem);
    font-weight: 900;
    letter-spacing: 0.2px;
}

.wa-icon {
    flex-shrink: 0;
    fill: currentColor;
}

.wa-icon-lg {
    width: clamp(38px, 10vw, 52px);
    height: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.wa-icon-sm {
    width: 22px;
    height: auto;
}

/* ---- النص التوضيحي ---- */
.cta-hint {
    margin-top: 18px;
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 380px;
}

/* ---- الشارات ---- */
.badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

.badge-icon {
    font-size: 1rem;
}

.badge-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    flex-shrink: 0;
}

/* ---- الزر الثانوي ---- */
.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
    border-radius: 999px;
    padding: 14px 34px;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.cta-secondary:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}

.cta-secondary:active {
    transform: scale(0.97);
}

/* ---- التذييل ---- */
.footer {
    margin-top: 44px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    width: 100%;
}

.footer p {
    font-size: 0.82rem;
    color: var(--text-dim);
    letter-spacing: 0.3px;
}

/* ---- الشاشات الصغيرة جداً ---- */
@media (max-width: 480px) {
    .badges { gap: 8px; }
    .badge { padding: 8px 13px; font-size: 0.82rem; }
}

@media (max-width: 380px) {
    .page { padding: 36px 16px 24px; }
    .cta-main { padding: 22px 16px; gap: 12px; }
}

/* تقليل الحركة لمن يفضل ذلك */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
