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

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --holo-cyan: #00ffff;
    --holo-pink: #ff00ff;
    --holo-purple: #8b00ff;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-light: #ffffff;
    --border-glow: 0 0 32px #ff00ff44;
    --transition: all 0.3s ease;
}

html, body {
    font-family: 'Cairo', 'Tajawal', 'Almarai', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: var(--text-light);
    overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 0, 255, 0.2);
    padding: 1rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    min-width: 150px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: flex-start;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--holo-cyan);
    text-shadow: 0 0 10px var(--holo-cyan);
}

.lang-toggle {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}

.lang-toggle:hover {
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.6);
    transform: scale(1.05);
}

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

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.15) 0%, transparent 70%);
    animation: float 20s infinite;
    top: -100px;
    right: -100px;
}

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

.hero .container {
    text-align: center;
    z-index: 1;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #00ffff 50%, #ff00ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px rgba(102, 126, 234, 0.5); }
    50% { text-shadow: 0 0 30px rgba(0, 255, 255, 0.8); }
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--holo-cyan);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.5);
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.8);
}

/* ===== SECTIONS ===== */
section {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 0, 255, 0.1);
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #ff00ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #00ffff 50%, #ff00ff 100%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 0, 255, 0.6);
    box-shadow: var(--border-glow);
    background: rgba(102, 126, 234, 0.1);
}

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

.service-card h3 {
    font-size: 1.3rem;
    margin-top: 1rem;
}

/* ===== PORTFOLIO ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    transition: var(--transition);
    height: 250px;
    cursor: pointer;
}

.portfolio-card:hover {
    border-color: rgba(255, 0, 255, 0.8);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.8);
    transform: scale(1.05);
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-card:hover img {
    filter: brightness(0.7);
}

.portfolio-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    color: white;
    padding: 2rem 1rem 1rem;
    font-weight: bold;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-title {
    transform: translateY(0);
}

/* ===== WEBSITES ===== */
.websites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.website-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

.website-card:hover {
    border-color: rgba(255, 0, 255, 0.8);
    box-shadow: var(--border-glow);
    transform: translateY(-10px);
}

.website-card h3 {
    color: var(--holo-cyan);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.website-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.visit-btn {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}

.visit-btn:hover {
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.8);
    transform: scale(1.05);
}

/* ===== PLANS ===== */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.plan-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: var(--transition);
    position: relative;
    text-align: center;
}

.plan-card.popular {
    border-color: rgba(255, 0, 255, 0.8);
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.4);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.plan-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--holo-cyan);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--holo-pink);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: right;
}

.features li {
    padding: 0.8rem 0;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.btn-choose {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    width: 100%;
}

.btn-choose:hover {
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.8);
}

/* ===== CONTACT ===== */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: inherit;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--holo-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    background: rgba(0, 255, 255, 0.05);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-submit {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}

.btn-submit:hover {
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.8);
    transform: translateY(-2px);
}

.whatsapp-info {
    text-align: center;
    margin-top: 2rem;
    color: var(--holo-cyan);
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-top: 1px solid rgba(255, 0, 255, 0.2);
    padding: 2rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== FLOATING BUTTONS ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
    animation: pulse 2s infinite;
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(37, 211, 102, 0.9);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 30px rgba(37, 211, 102, 0.6); }
    50% { box-shadow: 0 0 50px rgba(37, 211, 102, 0.9); }
}

.chatbot-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.6);
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
}

.chatbot-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.8);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .portfolio-grid,
    .services-grid,
    .websites-grid,
    .plans-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1rem;
    }
}
