/* Websiteer - Heart-Stealing Premium RTL Style */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800;900&family=Outfit:wght@300;400;600;800;900&display=swap');

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

:root {
    --bg-dark: #07070b;
    --bg-card: rgba(15, 14, 25, 0.45);
    
    /* Vibrant Color Accents */
    --purple: #8b5cf6;
    --pink: #ec4899;
    --blue: #3b82f6;
    --green: #10b981;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Cairo', 'Segoe UI', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    padding: 2rem 1.5rem;
}

/* Ambient Moving Glowing Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.25;
    animation: orbFloat 25s infinite alternate ease-in-out;
}
.orb-purple {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--purple) 0%, rgba(139, 92, 246, 0) 70%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}
.orb-pink {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--pink) 0%, rgba(236, 72, 153, 0) 70%);
    bottom: 10%;
    right: -100px;
    animation-delay: -5s;
}
.orb-blue {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--blue) 0%, rgba(59, 130, 246, 0) 70%);
    top: 30%;
    right: -150px;
    animation-delay: -10s;
}
.orb-green {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--green) 0%, rgba(16, 185, 129, 0) 70%);
    bottom: -150px;
    left: -50px;
    animation-delay: -15s;
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(80px, 60px) scale(1.1);
    }
    100% {
        transform: translate(-40px, -80px) scale(0.9);
    }
}

/* Navigation Header */
header {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2.5rem;
    background: rgba(20, 18, 33, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 4rem;
    z-index: 10;
    position: relative;
}
header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple), var(--pink), var(--blue), var(--green), transparent);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.header-logo span {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.7rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}
.header-logo svg {
    filter: drop-shadow(0 0 12px var(--purple));
}

.nav-links {
    display: flex;
    gap: 24px;
    direction: rtl;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 0;
}
.nav-links a:hover {
    color: #ffffff;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--pink));
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}

/* Page Container Layout */
.container {
    width: 100%;
    max-width: 1200px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Glassmorphic Landing Cards */
.hero-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 36px;
    padding: 4.5rem 3rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    text-align: center;
    width: 100%;
    margin-bottom: 5rem;
    position: relative;
    overflow: hidden;
    direction: rtl;
}
.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--purple), var(--pink), var(--blue), var(--green));
}

/* Glowing Logo Icon Wrapper */
.logo-wrapper {
    width: 110px;
    height: 110px;
    background: rgba(20, 18, 33, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: float 4s infinite alternate ease-in-out;
}
.logo-wrapper::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(135deg, var(--purple), var(--pink), var(--blue), var(--green));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-12px) rotate(2deg); }
}

/* Headings with Rich Gradient */
.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 10%, #f1f5f9 40%, var(--purple) 70%, var(--pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glowText 4s infinite alternate ease-in-out;
}

@keyframes glowText {
    0% { filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.1)); }
    100% { filter: drop-shadow(0 0 25px rgba(236, 72, 153, 0.3)); }
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--pink);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0.95;
    background: linear-gradient(90deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.25rem;
    color: #e2e8f0;
    line-height: 2;
    max-width: 850px;
    margin: 0 auto 3.5rem;
}

/* Neon Glow Buttons */
.btn-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-neon {
    padding: 16px 40px;
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    outline: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
}
.btn-neon-purple {
    background: linear-gradient(90deg, var(--purple) 0%, var(--pink) 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}
.btn-neon-purple:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(236, 72, 153, 0.6);
}
.btn-neon-blue {
    background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}
.btn-neon-blue:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(16, 185, 129, 0.5);
}

/* Sections Styling */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    text-align: center;
    background: linear-gradient(90deg, #ffffff, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 20%;
    width: 60%;
    height: 3px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--blue), var(--green));
}

/* Features Grid */
.features-section {
    width: 100%;
    margin-bottom: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    width: 100%;
    direction: rtl;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 28px;
    padding: 3rem 2rem;
    text-align: right;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.feature-card:hover {
    transform: translateY(-8px);
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1.5px;
    background: linear-gradient(135deg, transparent 70%, var(--purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: all 0.4s ease;
}
.feature-card:hover::before {
    background: linear-gradient(135deg, var(--blue), var(--pink));
}

/* Feature Accent Icons */
.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.fi-purple {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid var(--purple);
    color: var(--purple);
}
.fi-pink {
    background: rgba(236, 72, 153, 0.15);
    border: 1px solid var(--pink);
    color: var(--pink);
}
.fi-blue {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid var(--blue);
    color: var(--blue);
}
.fi-green {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--green);
    color: var(--green);
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}
.feature-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Usage Steps Timeline */
.usage-section {
    width: 100%;
    margin-bottom: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.steps-container {
    width: 100%;
    max-width: 900px;
    direction: rtl;
    position: relative;
    padding-right: 2rem;
}
.steps-container::before {
    content: '';
    position: absolute;
    right: 8px;
    top: 10px;
    bottom: 10px;
    width: 4px;
    background: linear-gradient(180deg, var(--purple), var(--pink), var(--blue), var(--green));
    border-radius: 10px;
}
.step-item {
    position: relative;
    margin-bottom: 3.5rem;
}
.step-node {
    position: absolute;
    right: -32px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 4px solid var(--purple);
    box-shadow: 0 0 15px var(--purple);
}
.step-node.pink { border-color: var(--pink); box-shadow: 0 0 15px var(--pink); }
.step-node.blue { border-color: var(--blue); box-shadow: 0 0 15px var(--blue); }
.step-node.green { border-color: var(--green); box-shadow: 0 0 15px var(--green); }

.step-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.step-card:hover {
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateX(-4px);
}
.step-num {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.step-num.pink { color: var(--pink); }
.step-num.blue { color: var(--blue); }
.step-num.green { color: var(--green); }

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}
.step-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Static Cards for Login / Success / Legal */
.auth-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 36px;
    padding: 4rem 3rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    width: 100%;
    max-width: 540px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    direction: rtl;
    position: relative;
    overflow: hidden;
}
.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--purple), var(--pink), var(--blue), var(--green));
}
.auth-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.legal-card-layout {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 36px;
    padding: 5rem 4rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(25px);
    width: 100%;
    max-width: 950px;
    direction: rtl;
    text-align: right;
    position: relative;
    overflow: hidden;
}
.legal-card-layout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--purple), var(--pink), var(--blue), var(--green));
}

/* Footer Section */
footer {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 6rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    z-index: 10;
    direction: rtl;
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}
.footer-links a:hover {
    color: var(--purple);
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-card {
        padding: 3rem 1.5rem;
    }
    .btn-grid {
        flex-direction: column;
        width: 100%;
    }
    .btn-neon {
        width: 100%;
        justify-content: center;
    }
    footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .legal-card-layout {
        padding: 3rem 2rem;
    }
}
