﻿:root {
    --bg: #030712;
    --primary: #6366f1;
    --accent: #a5b4fc;
    --text: #f9fafb;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', 'Heebo', sans-serif;
    overflow-x: hidden;
}

/* Background Glow Effect */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% -20%, #1e1b4b 0%, transparent 50%);
    z-index: -1;
}

.nav-cta {
    position: relative;
    padding: 12px 28px;
    background: rgba(99, 102, 241, 0.1); /* רקע שקוף חלקית */
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

/* הנקודה הפועמת בצד */
.dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s infinite;
}

/* אפקט הריחוף */
.nav-cta:hover {
    background: var(--primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
    transform: translateY(-2px) scale(1.05);
}

    .nav-cta:hover .dot {
        background-color: white;
        box-shadow: 0 0 10px white;
    }

.nav-cta:active {
    transform: translateY(0) scale(0.98);
}

/* אנימציית הפעימה לנקודה */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(165, 180, 252, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(165, 180, 252, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(165, 180, 252, 0);
    }
}





.logo {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
}

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

.hero {
    padding: 100px 10%;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.btn-primary {
    padding: 18px 40px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border: none;
    border-radius: 15px;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

    .btn-primary:hover {
        transform: perspective(1px) scale(1.05);
        box-shadow: 0 15px 30px rgba(99, 102, 241, 0.5);
        filter: brightness(1.1);
    }

.badge {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    margin-bottom: 20px;
}

    h1 span {
        background: linear-gradient(to right, var(--primary), var(--accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        display: inline-block;
        animation: pulse 2s infinite;
    }

.hero p {
    font-size: 1.2rem;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Glass Cards */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    position: relative; /* נחוץ עבור אפקט הברק */
    overflow: hidden; /* דואג שהברק לא יצא מהגבולות */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* תנועה חלקה וקפיצית */
    cursor: pointer;
}

    /* אפקט הברק (The Shine) */
    .glass-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: -150%; /* מתחיל מחוץ לכרטיס */
        width: 50%;
        height: 100%;
        background: linear-gradient( to right, transparent, rgba(255, 255, 255, 0.1), transparent );
        transform: skewX(-25deg); /* זווית לברק */
        transition: 1.5s;
    }

    /* מצב Hover - תנועה, הגדלה וברק */
    .glass-card:hover {
        transform: translateY(-5px) scale(1.03); /* עולה ב-5 פיקסלים וגדל ב-3% */
        border-color: rgba(255, 255, 255, 0.3); /* הגבול נהיה בהיר יותר */
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 15px rgba(99, 102, 241, 0.1); /* צל עמוק עם הילה כחולה */
    }

        /* הפעלת הברק בריחוף */
        .glass-card:hover::before {
            left: 150%; /* הברק חוצה את כל הכרטיס לצד השני */
        }


.portfolio {
    padding: 80px 10%;
}

    .portfolio .grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 20px;
    }

.featured {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.1), transparent);
}

/* Form */
.form-container {
    max-width: 600px;
    margin: 0 auto;
}

input, textarea {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: 12px;
    color: white;
    margin-bottom: 15px;
}

button {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: none;
    background: var(--primary);
    color: white;
    font-weight: bold;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .portfolio .grid {
        grid-template-columns: 1fr;
    }
}
/* הגדרת האנימציה */
@keyframes pearlGlow {
    0% {
        transform: scale(1);
        text-shadow: 0 0 5px rgba(99, 102, 241, 0.2);
    }

    50% {
        transform: scale(1.1); /* הגדלה עדינה */
        text-shadow: 0 0 20px rgba(165, 180, 252, 0.8), 0 0 30px rgba(99, 102, 241, 0.4);
        color: #fff; /* המילה תזהר מעט בלבן בשיא האנימציה */
    }

    100% {
        transform: scale(1);
        text-shadow: 0 0 5px rgba(99, 102, 241, 0.2);
    }
}

/* חיבור האנימציה למילה */
.pulse-word {
    display: inline-block !important; /* קריטי כדי שהגדלה תעבוד */
    color: var(--primary);
    font-weight: bold;
    animation: pearlGlow 3s ease-in-out infinite; /* 3 שניות - תנועה איטית ויוקרתית */
    transition: 0.3s;
}
/* הגדרות הסל והאובליי */
#cart-icon {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #2563eb;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

#cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    padding: 2px 7px;
    border-radius: 50%;
    font-size: 0.8rem;
}

 

.cart-modal {
    width: 90%;
    max-width: 450px;
    padding: 30px;
}



/* אנימציית קפיצה לעגלה */
.bump {
    animation: cartBump 0.3s ease-out;
}

@keyframes cartBump {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}
/* עיצוב קונטיינר המוצרים */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 80px 10%;
    background: transparent;
}

/* עיצוב המלבן העומד */
.product-card {
    display: flex;
    flex-direction: column;
    height: 480px; /* גובה מלבני עומד */
    padding: 40px 30px;
    justify-content: space-between;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .product-card:hover {
        transform: translateY(-10px) scale(1.02);
        border-color: #6366f1; /* צבע ה-primary שלך */
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

.product-title {
    font-size: 1.8rem;
    color: #a5b4fc; /* צבע ה-accent שלך */
}

.decorator {
    width: 40px;
    height: 3px;
    background: #6366f1;
    margin: 15px auto;
}

.product-description {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 1rem;
}

.product-price {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

/* הדגשה למוצר המרכזי */
.product-card.featured {
    border: 2px solid #6366f1;
    background: rgba(99, 102, 241, 0.05);
}

/* התאמה לניידים */
@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
    }
}
/* שכבת הרקע הכהה */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
}

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* החלון החדש והרחב של VertexPearl */
.wide-cart {
    width: 90%;
    max-width: 700px;
    padding: 40px;
    background: rgba(15, 23, 42, 0.8) !important;
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.overlay.active .wide-cart {
    transform: scale(1) translateY(0);
}

/* כותרת ולוגו בתוך הסל */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.cart-logo {
    font-size: 1.4rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}

    .cart-logo span {
        color: var(--primary);
    }

.close-btn {
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
}

    .close-btn:hover {
        color: white;
        transform: rotate(90deg);
    }

/* רשימת המוצרים */
#cart-items-list {
    max-height: 350px;
    overflow-y: auto;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 10px;
    border-radius: 12px;
    border: 1px solid transparent;
}

    .cart-item-row:hover {
        border-color: rgba(99, 102, 241, 0.3);
        background: rgba(99, 102, 241, 0.05);
    }

/* סכום סופי וכפתור */
.cart-footer {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.total-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.total-price-tag {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    text-shadow: 0 0 15px rgba(165, 180, 252, 0.3);
}

.checkout-btn-premium {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, var(--primary), #4f46e5);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    transition: 0.3s;
}

    .checkout-btn-premium:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(79, 70, 229, 0.5);
    }
