/* ============================================
   Apple-Style Premium Sections
   עוטף דיגיטל - World-Class Design System
   ============================================ */

:root {
    --apple-dark: #1d1d1f;
    --apple-text-gray: #86868b;
    --brand-purple: #5D3EBF;
    --brand-purple-light: #a855f7;
    --brand-gold: #f59e0b;
    --brand-gold-dark: #d97706;
}

/* ============================================
   PREMIUM SECTION BASE
   ============================================ */

.premium-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.premium-section .section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.premium-section .section-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-section .section-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 24px;
    max-width: 900px;
}

/* Overlay variations */
.premium-section .overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.premium-section .overlay-gradient-purple {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(93, 62, 191, 0.7) 0%,
            rgba(30, 20, 60, 0.85) 100%);
    z-index: 1;
}

.premium-section .overlay-gradient-gold {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(245, 158, 11, 0.15) 100%);
    z-index: 1;
}

/* ============================================
   PREMIUM TYPOGRAPHY
   ============================================ */

.premium-eyebrow {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.premium-eyebrow.gold {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.2));
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.premium-eyebrow.purple {
    background: linear-gradient(135deg, rgba(93, 62, 191, 0.2), rgba(168, 85, 247, 0.2));
    color: #c4b5fd;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.premium-headline {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.premium-headline.text-white {
    color: white;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.premium-headline .highlight-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-headline .highlight-purple {
    background: linear-gradient(135deg, #c4b5fd 0%, #a855f7 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-headline .highlight-glow {
    text-shadow: 0 0 40px rgba(245, 158, 11, 0.5);
}

.premium-subline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   PREMIUM BUTTONS
   ============================================ */

.premium-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.premium-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.premium-btn:hover::before {
    transform: translateX(100%);
}

.premium-btn.btn-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    color: #1a1a1a;
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.4),
        0 0 60px rgba(245, 158, 11, 0.2);
}

.premium-btn.btn-gold:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px rgba(245, 158, 11, 0.5),
        0 0 80px rgba(245, 158, 11, 0.3);
}

.premium-btn.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
}

.premium-btn.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.premium-btn.btn-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #5D3EBF 50%, #4c1d95 100%);
    color: white;
    box-shadow: 0 10px 40px rgba(93, 62, 191, 0.4);
}

.premium-btn.btn-purple:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px rgba(93, 62, 191, 0.5);
}

/* Button group */
.premium-btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   SCROLL ANIMATIONS - PREMIUM
   ============================================ */

.reveal-fade {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.reveal-blur {
    opacity: 0;
    filter: blur(20px);
    transition: opacity 1s ease, filter 1s ease;
}

.reveal-blur.visible {
    opacity: 1;
    filter: blur(0);
}

/* Stagger delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* ============================================
   FLOATING ELEMENTS ANIMATION
   ============================================ */

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes float-slower {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(-2deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.float-animation {
    animation: float-slow 8s ease-in-out infinite;
}

.float-animation-alt {
    animation: float-slower 10s ease-in-out infinite;
}

/* ============================================
   STATS/FEATURES GRID
   ============================================ */

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

.premium-stat {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.premium-stat:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.3);
}

.premium-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.premium-stat .stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   ICON FEATURES
   ============================================ */

.premium-features {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.premium-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 200px;
}

.premium-feature .feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fbbf24;
    transition: all 0.4s ease;
}

.premium-feature:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.3);
}

.premium-feature .feature-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    line-height: 1.5;
}

/* ============================================
   PROJECTS - PREMIUM CARDS
   ============================================ */

.premium-projects-wrapper {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1100px;
    width: 100%;
    padding: 0 24px;
}

.premium-project-card {
    flex: 1;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border-color: rgba(245, 158, 11, 0.3);
}

.premium-project-card .project-image {
    height: 220px;
    overflow: hidden;
}

.premium-project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.premium-project-card:hover .project-image img {
    transform: scale(1.08);
}

.premium-project-card .project-info {
    padding: 1.5rem;
}

.premium-project-card .project-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.premium-project-card .project-category {
    font-size: 0.9rem;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* ============================================
   CONTACT FORM - PREMIUM
   ============================================ */

.premium-contact-form {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 60px;
    padding: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 100px rgba(245, 158, 11, 0.2);
    max-width: 500px;
    width: 100%;
    margin: 2.5rem auto 0;
    overflow: hidden;
}

.premium-contact-form input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.15rem;
    padding: 1rem 1.5rem;
    outline: none;
    color: #1a1a1a;
    direction: ltr;
    text-align: center;
}

.premium-contact-form input::placeholder {
    color: #9ca3af;
}

.premium-contact-form button {
    background: linear-gradient(135deg, #5D3EBF 0%, #7c3aed 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s ease;
    white-space: nowrap;
}

.premium-contact-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(93, 62, 191, 0.4);
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */

.section-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    z-index: 1;
    pointer-events: none;
}

.section-fade-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, transparent, rgba(0, 0, 0, 0.5));
    z-index: 1;
    pointer-events: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .premium-section {
        min-height: auto;
    }

    .premium-section .section-content {
        padding: 60px 20px;
    }

    .premium-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .premium-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .premium-features {
        gap: 2rem;
    }

    .premium-projects-wrapper {
        flex-direction: column;
    }

    .premium-contact-form {
        flex-direction: column;
        border-radius: 24px;
        padding: 1.5rem;
    }

    .premium-contact-form input {
        width: 100%;
        text-align: center;
    }

    .premium-contact-form button {
        width: 100%;
        justify-content: center;
    }

    .premium-btn {
        width: 100%;
        justify-content: center;
    }

    .premium-btn-group {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
}

/* ============================================
   GLASSMORPHISM UTILITIES
   ============================================ */

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(30px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   TRUST BADGES
   ============================================ */

.premium-trust-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.trust-badge i {
    color: #22c55e;
}