:root {
    --primary: #6D28D9;
    --primary-light: #8B5CF6;
    --primary-dark: #4C1D95;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow: 0 0 25px rgba(109, 40, 217, 0.5);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-darker);
    color: var(--text-main);
}

body {
    overflow-x: hidden;
    background: radial-gradient(circle at top center, var(--bg-dark) 0%, var(--bg-darker) 100%);
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.text-center {
    text-align: center;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--primary-light);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.lang-switch {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.3s;
}
.lang-switch:hover {
    background: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    padding: 12rem 0 8rem;
    text-align: center;
    position: relative;
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.15;
    z-index: -1;
    filter: blur(60px);
}

.hero p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(109, 40, 217, 0.6);
}

.btn-secondary {
    background: var(--glass-bg);
    color: #fff;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

/* Hero Mockup Wrapper */
.hero-mockup-wrapper {
    margin-top: 6rem;
    position: relative;
    display: inline-block;
    animation: float 6s ease-in-out infinite;
}

.mockup-frame {
    width: 300px;
    height: 620px;
    border-radius: 35px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 0 10px rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
    background: #000;
    display: block;
    margin: 0 auto;
}

.mockup-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.mockup-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fade 25s infinite;
}

.mockup-slider img:nth-child(1) { animation-delay: 0s; }
.mockup-slider img:nth-child(2) { animation-delay: 5s; }
.mockup-slider img:nth-child(3) { animation-delay: 10s; }
.mockup-slider img:nth-child(4) { animation-delay: 15s; }
.mockup-slider img:nth-child(5) { animation-delay: 20s; }

@keyframes fade {
    0%, 15% { opacity: 1; }
    20%, 100% { opacity: 0; }
}

.floating-badge {
    position: absolute;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.floating-badge i {
    color: var(--primary-light);
    font-size: 1.5rem;
}

.floating-badge.badge-1 {
    top: 20%;
    right: -80px;
    animation: float 5s ease-in-out infinite reverse;
}

.floating-badge.badge-2 {
    bottom: 20%;
    left: -80px;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Features Grid */
.features {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(109, 40, 217, 0.5);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(109, 40, 217, 0.1);
    border-radius: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* How It Works */
.how-it-works {
    padding: 8rem 0;
    position: relative;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    flex-wrap: wrap;
    gap: 2rem;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    z-index: 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    min-width: 200px;
}

.step-icon {
    width: 90px;
    height: 90px;
    background: var(--bg-darker);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    margin: 0 auto 1.5rem;
    box-shadow: var(--glow);
    transition: transform 0.3s ease;
}

.step:hover .step-icon {
    transform: scale(1.1);
    background: var(--primary);
}

/* Why Us Section */
.why-us {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-list {
    list-style: none;
    margin-top: 3rem;
}

.why-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.why-list i {
    font-size: 2rem;
    color: var(--primary-light);
    background: rgba(109, 40, 217, 0.1);
    padding: 1rem;
    border-radius: 16px;
    height: fit-content;
}

.why-list h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.why-image img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    border-radius: 35px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Trust Section */
.trust {
    padding: 8rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
    gap: 2rem;
}

.stat-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 24px;
}

.stat-item h4 {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-light), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

/* Download Section */
.download-section {
    padding: 8rem 0;
    background: radial-gradient(ellipse at center, rgba(109,40,217,0.15) 0%, transparent 70%);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-dark);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.8rem;
    transition: all 0.3s;
    background: var(--glass-bg);
    padding: 0.8rem;
    border-radius: 50%;
    display: flex;
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    color: var(--primary-light);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    color: var(--text-muted);
    font-size: 1rem;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--glow);
    z-index: 99;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid rgba(255,255,255,0.1);
}

.floating-cta:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(109, 40, 217, 0.6);
}

/* Responsive */
@media (max-width: 992px) {
    .why-grid { grid-template-columns: 1fr; }
    .why-image { margin-top: 4rem; }
    h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .steps-container::before { display: none; }
    .stats-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero-mockup-wrapper { margin-top: 4rem; }
    .floating-badge { display: none; }
}
