/*
 * Apple-style glass design update — Vasilyev Design
 * Modern, clean, minimalist with glassmorphism
 */

/* =============================================
   SERVICE CARDS — glass panels
   ============================================= */

.service-item {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 22px !important;
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 24px 64px rgba(0, 0, 0, 0.3);
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    padding: 36px 28px !important;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(196, 240, 0, 0.28) !important;
    transform: translateY(-5px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 0 0 1px rgba(196, 240, 0, 0.1),
        0 32px 80px rgba(0, 0, 0, 0.4);
}

.service-item .content i {
    font-size: 42px !important;
    color: var(--primary-color);
    margin-bottom: 20px !important;
    display: block;
    opacity: 0.95;
}

.service-item .content h3.service-title,
.service-item .content h4 {
    font-size: 20px !important;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3 !important;
    margin: 10px 0 12px !important;
    color: rgba(255, 255, 255, 0.95);
}

.service-item .content p {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    color: rgba(180, 180, 180, 0.85) !important;
    margin-bottom: 0;
}

.service-list li {
    font-size: 13.5px;
    color: rgba(180, 180, 180, 0.75);
    opacity: 1 !important;
}

/* =============================================
   SECTION TITLES — Apple typography
   ============================================= */

.section-title h2 {
    letter-spacing: -0.04em !important;
    font-weight: 700;
}

.faq-section h2 {
    font-size: 52px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, #ffffff 30%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   FAQ ITEMS — refined glass accordion
   ============================================= */

.faq-item {
    background: rgba(255, 255, 255, 0.035) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 18px !important;
    margin-bottom: 10px !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.faq-question {
    padding: 18px 20px !important;
    font-size: 15.5px !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.9) !important;
}

.faq-question::after {
    right: 18px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    padding: 0 20px 18px 20px !important;
}

/* =============================================
   CALL TO ACTION — glass card
   ============================================= */

.call-to-action-part {
    background: rgba(196, 240, 0, 0.07) !important;
    border: 1px solid rgba(196, 240, 0, 0.18) !important;
    border-radius: 28px !important;
    backdrop-filter: blur(40px) saturate(1.8);
    -webkit-backdrop-filter: blur(40px) saturate(1.8);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 0 100px rgba(196, 240, 0, 0.05),
        0 40px 100px rgba(0, 0, 0, 0.35);
    padding: 64px 80px !important;
}

.call-to-action-part h2 {
    color: #fff !important;
    background: linear-gradient(160deg, #ffffff 20%, rgba(255, 255, 255, 0.65) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.04em !important;
    font-weight: 600 !important;
}

.call-to-action-part p {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 18px !important;
}

/* =============================================
   FIXED HEADER — frosted glass bar
   ============================================= */

.main-header.fixed-header .header-upper {
    background: rgba(5, 5, 5, 0.72) !important;
    backdrop-filter: blur(28px) saturate(1.8) !important;
    -webkit-backdrop-filter: blur(28px) saturate(1.8) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* =============================================
   HERO VIDEO WRAPPER — refined frame
   ============================================= */

.hero-video-wrap {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 50px 120px rgba(0, 0, 0, 0.7),
        0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

/* =============================================
   PORTFOLIO / PORTFOLIO CAPTION — glass overlay
   ============================================= */

.portfolio-box {
    border-radius: 18px !important;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.portfolio-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5) !important;
}

.portfolio-box .portfolio-caption {
    background: rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.portfolio-box .portfolio-category {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 980px;
}

/* =============================================
   BUTTONS — Apple pill style
   ============================================= */

.theme-btn {
    border-radius: 980px !important;
    letter-spacing: -0.01em !important;
    font-weight: 500 !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.theme-btn:hover {
    transform: translateY(-1px);
}

.theme-btn:active {
    transform: translateY(0);
}

/* =============================================
   SHOWREEL / HERO VIDEO CARD
   ============================================= */

.showreel-card {
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    background: rgba(255, 255, 255, 0.025) !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.02),
        0 40px 120px rgba(0, 0, 0, 0.6),
        0 1px 0 rgba(255, 255, 255, 0.05) inset !important;
    border-radius: 28px !important;
}

/* =============================================
   SERVICES AREA — subtle background glow
   ============================================= */

.services-area {
    position: relative;
}

.services-area::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(196, 240, 0, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.services-area .container {
    position: relative;
    z-index: 1;
}

/* =============================================
   LANG SWITCH — refined
   ============================================= */

.lang-switch {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* =============================================
   FOOTER — refined top border
   ============================================= */

.vd-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* =============================================
   MOBILE adjustments
   ============================================= */

@media (max-width: 991px) {
    .call-to-action-part {
        padding: 40px 28px !important;
    }

    .faq-section h2 {
        font-size: 36px;
    }

    .service-item {
        padding: 28px 22px !important;
    }
}
