@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; }

:root {
    --navy:        #182b60;
    --navy-mid:    #375a9e;
    --navy-light:  #516ca4;
    --accent:      #d3db46;
    --accent-glow: #c8d200;
    --white:       #ffffff;
    --gray-bg:     #f4f6fb;
    --text-dark:   #0e1e45;
    --text-muted:  #6b7a99;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--white);
    color: var(--text-dark);
    overflow-x: hidden;
}


/* ── Navbar ────────────────────────────────────── */
.lp-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 20, 55, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.4s;
}
.lp-navbar.scrolled {
    background: rgba(24, 43, 96, 0.97);
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.lp-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.lp-brand img { height: 42px; border-radius: 10px; }
.lp-brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}
.lp-brand-tagline {
    font-size: 0.68rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn-lp-login {
    padding: 9px 26px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    font-family: 'Tajawal', sans-serif;
    background: transparent;
}
.btn-lp-login:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.12);
    color: var(--white);
}
.btn-lp-signup {
    padding: 9px 26px;
    border-radius: 50px;
    border: none;
    background: var(--accent);
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s;
    font-family: 'Tajawal', sans-serif;
    box-shadow: 0 4px 16px rgba(211, 219, 70, 0.35);
}
.btn-lp-signup:hover {
    background: #e5ee52;
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(211, 219, 70, 0.45);
}

/* ── Hero ──────────────────────────────────────── */
.lp-hero {
    min-height: 100vh;
    background: linear-gradient(145deg, #0a1c4a 0%, #1a3a7a 35%, #0e285c 65%, #071430 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

/* Animated orbs */
.lp-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: floatOrb 8s ease-in-out infinite;
}
.lp-orb-1 {
    width: 500px; height: 500px;
    background: var(--navy-mid);
    top: -120px; right: -100px;
    animation-delay: 0s;
}
.lp-orb-2 {
    width: 350px; height: 350px;
    background: var(--accent);
    bottom: -80px; left: -60px;
    opacity: 0.18;
    animation-delay: 3s;
}
.lp-orb-3 {
    width: 200px; height: 200px;
    background: #4a90e2;
    top: 40%; left: 30%;
    opacity: 0.15;
    animation-delay: 5s;
}
@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(20px, -30px) scale(1.05); }
}

/* Grid pattern overlay */
.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Padel court line decoration */
.lp-court-deco {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    overflow: hidden;
    pointer-events: none;
}
.lp-court-deco svg { width: 100%; height: 100%; }

.lp-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
}
.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(211, 219, 70, 0.15);
    border: 1px solid rgba(211, 219, 70, 0.35);
    color: var(--accent);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: 1px;
}
.lp-hero-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}
.lp-hero-title span {
    color: var(--accent);
    position: relative;
}
.lp-hero-title span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0; right: 0;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    opacity: 0.5;
}
.lp-hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255,255,255,0.7);
    max-width: 580px;
    margin: 0 auto 44px;
    line-height: 1.75;
    font-weight: 400;
}
.lp-hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-hero-primary {
    padding: 16px 44px;
    border-radius: 50px;
    background: var(--accent);
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(211, 219, 70, 0.4);
    transition: all 0.3s;
    font-family: 'Tajawal', sans-serif;
    border: none;
}
.btn-hero-primary:hover {
    background: #e5ee52;
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(211, 219, 70, 0.5);
}
.btn-hero-secondary {
    padding: 14px 44px;
    border-radius: 50px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.45);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Tajawal', sans-serif;
}
.btn-hero-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    transform: translateY(-3px);
}

/* Scroll indicator */
.lp-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.4);
    font-size: 0.72rem;
    letter-spacing: 2px;
    animation: bounceDown 2s infinite;
}
.lp-scroll-hint i { font-size: 1.1rem; }
@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* Stats strip */
.lp-stats {
    background: var(--navy);
    padding: 36px 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.lp-stat {
    text-align: center;
    padding: 12px 48px;
    position: relative;
}
.lp-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}
[dir="rtl"] .lp-stat:not(:last-child)::after { right: auto; left: 0; }
.lp-stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    display: block;
    line-height: 1;
}
.lp-stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    margin-top: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ── Features ──────────────────────────────────── */
.lp-features {
    padding: 100px 48px;
    background: var(--gray-bg);
}
.lp-section-label {
    display: inline-block;
    color: var(--navy-mid);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.lp-section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.25;
}
.lp-section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.7;
}

.feature-card {
    background: var(--white);
    border-radius: 24px;
    padding: 36px 28px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--navy-mid));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    border-radius: 24px 24px 0 0;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 48px rgba(24, 43, 96, 0.12);
    border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}
.fi-blue   { background: #e8f0fe; color: #2563eb; }
.fi-green  { background: #dcfce7; color: #16a34a; }
.fi-yellow { background: #fef9c3; color: #ca8a04; }
.fi-purple { background: #f3e8ff; color: #9333ea; }

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
}
.feature-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ── How it works ──────────────────────────────── */
.lp-how {
    padding: 100px 48px;
    background: var(--white);
}
.step-line {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.step-item {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding-bottom: 48px;
    position: relative;
}
.step-item:not(:last-child) .step-connector {
    position: absolute;
    top: 56px;
    left: 27px;
    width: 2px;
    bottom: 0;
    background: linear-gradient(to bottom, var(--navy-mid), transparent);
}
[dir="rtl"] .step-item:not(:last-child) .step-connector {
    left: auto; right: 27px;
}
.step-num {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--navy);
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(24, 43, 96, 0.3);
}
.step-num.accent-num {
    background: var(--accent);
    color: var(--navy);
    box-shadow: 0 8px 20px rgba(211, 219, 70, 0.4);
}
.step-body h5 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
    margin-top: 10px;
}
.step-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Visual card */
.lp-visual-card {
    background: linear-gradient(145deg, #1a3a7a, #0a1c4a);
    border-radius: 28px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.lp-visual-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}
.lp-vc-orb {
    position: absolute;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.08;
    filter: blur(60px);
    top: -60px; right: -60px;
}
.lp-vc-icon {
    width: 80px; height: 80px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}
.lp-vc-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}
.lp-vc-sub {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    position: relative;
    z-index: 2;
    margin: 0;
}

/* ── CTA Banner ────────────────────────────────── */
.lp-cta-banner {
    background: linear-gradient(135deg, #182b60 0%, #2a4a9a 50%, #182b60 100%);
    padding: 80px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.lp-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(211,219,70,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(55,90,158,0.3) 0%, transparent 50%);
}
.lp-cta-banner h2 {
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}
.lp-cta-banner p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    max-width: 500px;
    margin: 0 auto 36px;
    position: relative;
    line-height: 1.7;
}
.lp-cta-banner .btn-hero-primary { font-size: 1rem; padding: 14px 40px; }

/* ── Footer ────────────────────────────────────── */
.lp-footer {
    background: #0a1020;
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.lp-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.lp-footer-brand img { height: 36px; border-radius: 8px; }
.lp-footer-brand span { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.lp-footer-copy {
    color: rgba(255,255,255,0.35);
    font-size: 0.8rem;
    text-align: center;
}

/* ── Animations ────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Icon Buttons (lang / dark mode) ──────────── */
.btn-lp-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.3);
    background: transparent;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    font-family: 'Tajawal', sans-serif;
    padding: 0;
}
.btn-lp-icon:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    color: var(--white);
}

/* ── Dark Mode ─────────────────────────────────── */
body.dark-mode {
    background: #0e1525;
    color: #e2e8f0;
}
body.dark-mode .lp-features,
body.dark-mode .lp-how {
    background: #111827;
}
body.dark-mode .feature-card {
    background: #1e2a3a;
    border-color: rgba(255,255,255,0.07);
}
body.dark-mode .feature-card h4 { color: #e2e8f0; }
body.dark-mode .feature-card p  { color: #94a3b8; }
body.dark-mode .feature-card::before {
    background: linear-gradient(90deg, var(--accent), var(--navy-mid));
}
body.dark-mode .lp-section-title { color: #e2e8f0; }
body.dark-mode .lp-section-sub   { color: #94a3b8; }
body.dark-mode .step-body h5 { color: #e2e8f0; }
body.dark-mode .step-body p  { color: #94a3b8; }
body.dark-mode .lp-stats { background: #070e1c; }
body.dark-mode .lp-footer { background: #060c18; }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 768px) {
    .lp-navbar { padding: 14px 20px; }
    .lp-features, .lp-how, .lp-cta-banner { padding: 60px 20px; }
    .lp-stats { padding: 28px 20px; }
    .lp-footer { padding: 28px 20px; flex-direction: column; text-align: center; }
    .lp-stat { padding: 12px 24px; }
    .lp-stat:not(:last-child)::after { display: none; }
    .lp-brand-name { font-size: 1.1rem; }
    .btn-lp-login, .btn-lp-signup { padding: 7px 16px; font-size: 0.82rem; }
}
