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

/* Veloxa Website Styles */

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

:root {
    --primary-blue: #7C3AED;
    --primary-dark: #6D28D9;
    --dark-navy: #080B16;
    --secondary-blue: #111827;
    --neon-cyan: #06B6D4;
    --neon-cyan-dark: #0891B2;
    --white: #FFFFFF;
    --light-gray: #F1F5F9;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-navy);
    color: var(--white);
    line-height: 1.6;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(124, 58, 237, 0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.logo img {
    width: 50px;
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

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

.cta-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--neon-cyan));
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    color: var(--white) !important;
    font-weight: bold;
    transition: all 0.3s;
}

.cta-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--neon-cyan-dark));
    transform: translateY(-2px);
    box-shadow: 0 5px 22px rgba(124, 58, 237, 0.45);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: var(--dark-navy);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -150px;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.10) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--neon-cyan) 100%);
    color: var(--white);
    box-shadow: 0 5px 25px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--neon-cyan-dark) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(124, 58, 237, 0.55);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.trust-badges {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.badge-icon {
    color: var(--neon-cyan);
    font-size: 1.2rem;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    animation: float 3s ease-in-out infinite;
}

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

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--dark-navy);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--white);
    position: relative;
    padding-bottom: 1.2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--neon-cyan));
    border-radius: 2px;
}

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

.feature-card {
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(124, 58, 237, 0.14);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 15px 45px rgba(124, 58, 237, 0.28), 0 0 0 1px rgba(124, 58, 237, 0.18);
    background: rgba(17, 24, 39, 0.92);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Comparison Section */
.comparison {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--dark-navy) 100%);
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.comparison-label {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
}

.comparison-label.old {
    background: rgba(255, 0, 0, 0.2);
}

.comparison-label.new {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(6, 182, 212, 0.15));
    color: #A78BFA;
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    font-size: 1.1rem;
}

.comparison-list.negative li {
    background: rgba(255, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.comparison-list.positive li {
    background: rgba(124, 58, 237, 0.1);
    color: var(--white);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.07) 0%, var(--dark-navy) 70%);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-mascot {
    width: 200px;
    margin-bottom: 2rem;
    animation: bounce 2s infinite;
}

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

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

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn-telegram {
    background: #0088cc;
    color: var(--white);
}

.btn-telegram:hover {
    background: #006699;
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1ea952;
    transform: translateY(-3px);
}

.btn .icon {
    margin-left: 0.5rem;
}

.cta-note {
    color: var(--primary-blue);
    font-weight: bold;
}

/* Footer */
footer {
    background: rgba(10, 14, 26, 0.95);
    padding: 3rem 0 1rem;
    border-top: 2px solid rgba(124, 58, 237, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-section h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Hamburger button — hidden on desktop */
.mobile-menu-btn {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        grid-template-columns: 1fr;
    }

    /* ---------- Mobile navbar ---------- */

    /* Push theme-toggle (and everything after it) to the left side in RTL */
    .theme-toggle {
        margin-inline-start: auto;
    }

    /* Hamburger: inline-flex so it stays on the same line as theme-toggle */
    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        line-height: 1;
        color: var(--white);
        background: rgba(124, 58, 237, 0.15);
        border: 1px solid rgba(124, 58, 237, 0.4);
        border-radius: 8px;
        cursor: pointer;
        padding: 0;
        flex-shrink: 0;
    }

    .mobile-menu-btn.open {
        background: rgba(124, 58, 237, 0.35);
    }

    /* Dropdown: absolute so it never pushes navbar content around */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 14, 26, 0.98);
        border-bottom: 2px solid rgba(124, 58, 237, 0.3);
        padding: 0.5rem 1.5rem 1rem;
        z-index: 999;
        gap: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 0.85rem 0.25rem;
        border-bottom: 1px solid rgba(124, 58, 237, 0.12);
        width: 100%;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links .cta-btn {
        margin-top: 0.5rem;
        text-align: center;
        border-bottom: none;
    }

    /* ----------------------------------- */

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ============================================
   Theme Toggle Button
   ============================================ */
.theme-toggle {
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.28);
    color: var(--white);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: rgba(124, 58, 237, 0.28);
    transform: rotate(18deg) scale(1.08);
}

/* ============================================
   Light Theme
   ============================================ */
[data-theme="light"] {
    --dark-navy: #F5F3FF;
    --secondary-blue: #EDE9FE;
}

[data-theme="light"] body {
    color: #1E1B4B;
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .nav-links a {
    color: #1E1B4B;
}

[data-theme="light"] .section-title {
    color: #1E1B4B;
}

[data-theme="light"] .hero-subtitle,
[data-theme="light"] .badge {
    color: rgba(30, 27, 75, 0.72);
}

[data-theme="light"] .feature-card {
    background: rgba(255, 255, 255, 0.82);
}

[data-theme="light"] .feature-card:hover {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 15px 45px rgba(124, 58, 237, 0.16), 0 0 0 1px rgba(124, 58, 237, 0.14);
}

[data-theme="light"] .feature-card p {
    color: rgba(30, 27, 75, 0.72);
}

[data-theme="light"] .comparison-item {
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .comparison-list.negative li {
    background: rgba(239, 68, 68, 0.07);
    color: rgba(30, 27, 75, 0.8);
}

[data-theme="light"] .comparison-list.positive li {
    background: rgba(124, 58, 237, 0.08);
    color: #1E1B4B;
}

[data-theme="light"] .cta-content p {
    color: rgba(30, 27, 75, 0.72);
}

[data-theme="light"] .btn-secondary {
    color: var(--primary-blue);
}

[data-theme="light"] .btn-secondary:hover {
    color: #FFFFFF;
}

[data-theme="light"] footer {
    background: rgba(237, 233, 254, 0.95);
}

[data-theme="light"] .footer-section p {
    color: rgba(30, 27, 75, 0.7);
}

[data-theme="light"] .footer-section a {
    color: rgba(30, 27, 75, 0.62);
}

[data-theme="light"] .footer-section a:hover {
    color: var(--primary-blue);
}

[data-theme="light"] .footer-bottom {
    color: rgba(30, 27, 75, 0.42);
    border-top-color: rgba(124, 58, 237, 0.12);
}

[data-theme="light"] .theme-toggle {
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.2);
    color: #1E1B4B;
}

/* Download page — light theme */
[data-theme="light"] .download-header h1,
[data-theme="light"] .install-guide h2,
[data-theme="light"] .support-content h2 {
    color: #1E1B4B;
}

[data-theme="light"] .download-header p,
[data-theme="light"] .platform-header p,
[data-theme="light"] .download-card p,
[data-theme="light"] .support-content p {
    color: rgba(30, 27, 75, 0.72);
}

[data-theme="light"] .download-card {
    background: rgba(255, 255, 255, 0.82);
}

[data-theme="light"] .download-card:hover {
    background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .file-size {
    color: rgba(30, 27, 75, 0.52);
}

[data-theme="light"] .install-note {
    background: rgba(6, 182, 212, 0.08);
    color: #0891B2;
}

[data-theme="light"] .devices-list {
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .devices-list ul {
    color: rgba(30, 27, 75, 0.78);
}

[data-theme="light"] .guide-tab {
    background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .guide-tab ol {
    color: rgba(30, 27, 75, 0.88);
}

[data-theme="light"] .download-btn.secondary {
    color: var(--primary-blue);
}

[data-theme="light"] .download-btn.secondary:hover {
    color: #FFFFFF;
}

/* Disabled button */
.btn-disabled {
    opacity: 0.38;
    pointer-events: none;
    filter: grayscale(60%);
    cursor: not-allowed;
}
