/* WAZAAP - Custom Styles */
/* Based on maquette v1 - Modern gradient design */

/* ============================================
   CSS VARIABLES / DESIGN SYSTEM
   ============================================ */
:root {
    /* Primary Colors */
    --wazaap-primary: #7C3AED;
    --wazaap-primary-light: #A78BFA;
    --wazaap-primary-dark: #5B21B6;

    /* Secondary Colors */
    --wazaap-secondary: #06B6D4;
    --wazaap-accent: #EC4899;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(135deg, #E0E7FF 0%, #FDE7F3 50%, #DBEAFE 100%);
    --gradient-section-1: linear-gradient(180deg, #F5F3FF 0%, #EDE9FE 100%);
    --gradient-section-2: linear-gradient(135deg, #ECFEFF 0%, #F0FDFA 100%);
    --gradient-cta: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);

    /* Backgrounds */
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-dark: #1E293B;

    /* Text Colors */
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 20px rgba(124, 58, 237, 0.1);
    --shadow-card-hover: 0 10px 40px rgba(124, 58, 237, 0.2);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Spacing */
    --section-padding: 5rem;
}

/* ============================================
   GENERAL STYLES
   ============================================ */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-weight: 600;
    border-radius: var(--radius-full);
    padding: 0.75rem 1.75rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-cta);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    background: var(--gradient-cta);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--wazaap-primary);
    color: var(--wazaap-primary);
}

.btn-outline-primary:hover {
    background: var(--wazaap-primary);
    border-color: var(--wazaap-primary);
    color: white;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--wazaap-primary);
}

.btn-white {
    background: white;
    color: var(--wazaap-primary);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand .brand-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-cta);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    color: white;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--wazaap-primary) !important;
}

.navbar .btn {
    padding: 0.5rem 1.5rem;
}

/* ============================================
   HERO SECTION (Tranche 1)
   ============================================ */
.hero-section {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background: rgba(124, 58, 237, 0.1);
    color: var(--wazaap-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

/* Phone Mockup */
.phone-mockup-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 570px;
    background: linear-gradient(145deg, #2D3748 0%, #1A202C 100%);
    border-radius: 45px;
    padding: 12px;
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.25),
        0 30px 60px -30px rgba(0, 0, 0, 0.3),
        inset 0 -5px 20px rgba(255, 255, 255, 0.05);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: #1A202C;
    border-radius: 0 0 15px 15px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #F8FAFC 0%, #E2E8F0 100%);
    border-radius: 35px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-screen .placeholder-content {
    text-align: center;
    padding: 2rem;
}

.phone-screen .placeholder-content i {
    font-size: 4rem;
    color: var(--wazaap-primary);
    opacity: 0.5;
}

/* Floating badges around phone */
.floating-badge {
    position: absolute;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-size: 0.875rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.floating-badge.badge-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.floating-badge.badge-2 {
    top: 35%;
    right: -15%;
    animation-delay: 0.5s;
}

.floating-badge.badge-3 {
    bottom: 25%;
    right: -10%;
    animation-delay: 1s;
}

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

/* ============================================
   WORKERS SECTION (Tranche 2)
   ============================================ */
#workers {
    background: var(--gradient-section-1);
    padding: var(--section-padding) 0;
    position: relative;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-cta);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.feature-list li i {
    color: var(--wazaap-primary);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    font-size: 1.25rem;
}

.image-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.image-card img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.image-card .placeholder {
    min-height: 350px;
    background: linear-gradient(135deg, #F3E8FF 0%, #E0E7FF 100%);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-card .placeholder i {
    font-size: 5rem;
    color: var(--wazaap-primary);
    opacity: 0.3;
}

/* ============================================
   MANAGERS SECTION (Tranche 3)
   ============================================ */
#managers {
    background: linear-gradient(135deg, #DBEAFE 0%, #E0E7FF 50%, #FECDD3 100%);
    padding: var(--section-padding) 0;
    position: relative;
}

#managers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 20px,
        rgba(255, 255, 255, 0.3) 20px,
        rgba(255, 255, 255, 0.3) 40px
    );
    pointer-events: none;
}

#managers .container {
    position: relative;
    z-index: 1;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--wazaap-primary);
    margin-right: 0.75rem;
}

.stat-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================
   FEATURES SECTION (Tranche 4)
   ============================================ */
#features {
    background: var(--bg-light);
    padding: var(--section-padding) 0;
}

.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-header .lead {
    color: var(--text-muted);
}

/* Rule Cards */
.rule-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.rule-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--wazaap-primary-light);
}

.rule-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem;
}

.rule-icon.start { background: rgba(16, 185, 129, 0.1); color: #10B981; }
.rule-icon.travel { background: rgba(59, 130, 246, 0.1); color: #3B82F6; }
.rule-icon.pause { background: rgba(245, 158, 11, 0.1); color: #F59E0B; }
.rule-icon.end { background: rgba(239, 68, 68, 0.1); color: #EF4444; }

.rule-card h5 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.rule-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Extra Features Grid */
.extra-features {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #E2E8F0;
}

.extra-feature {
    text-align: center;
    padding: 1.5rem;
}

.extra-feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--wazaap-primary);
}

.extra-feature h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.extra-feature p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ============================================
   COMPLIANCE SECTION (Tranche 5)
   ============================================ */
#compliance {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    padding: var(--section-padding) 0;
}

.compliance-header {
    text-align: center;
    margin-bottom: 3rem;
}

.compliance-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    height: 100%;
}

.compliance-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.compliance-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.compliance-icon i {
    font-size: 2rem;
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.compliance-card h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.compliance-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* ============================================
   WHY WAZAAP SECTION (Tranche 6)
   ============================================ */
#why {
    background: var(--gradient-cta);
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

#why::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

#why .container {
    position: relative;
    z-index: 1;
}

#why h2 {
    color: white;
}

#why p {
    color: rgba(255, 255, 255, 0.9);
}

.why-quote {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
}

.why-quote p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.why-values {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.why-value {
    text-align: center;
    color: white;
}

.why-value i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.why-value span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
#contact {
    background: linear-gradient(180deg, #FDF2F8 0%, #FCE7F3 50%, #FBCFE8 100%);
    padding: var(--section-padding) 0;
    position: relative;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/workers-bg.jpg') center center / cover no-repeat;
    opacity: 0.1;
    pointer-events: none;
}

#contact .container {
    position: relative;
    z-index: 1;
}

.contact-form-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-cta);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.form-control {
    border: 2px solid #E2E8F0;
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--wazaap-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* ============================================
   PRICING SECTION
   ============================================ */
#pricing {
    background: var(--bg-light);
    padding: var(--section-padding) 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
}

.pricing-card.featured {
    border: 3px solid var(--wazaap-primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header-card {
    padding: 2rem;
    text-align: center;
}

.pricing-card.featured .pricing-header-card {
    background: var(--gradient-cta);
    color: white;
}

.popular-badge {
    background: #FBBF24;
    color: #1E293B;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.pricing-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.pricing-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.price {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--wazaap-primary);
    line-height: 1;
}

.price-period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.pricing-features li i {
    color: #10B981;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.pricing-footer {
    padding: 0 2rem 2rem;
}

.pricing-footer .btn {
    width: 100%;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

footer h5 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

footer h6 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: white;
}

footer p {
    color: var(--text-light);
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--wazaap-primary-light);
}

footer ul {
    list-style: none;
    padding: 0;
}

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

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    border: none;
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
}

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

    .phone-mockup {
        width: 250px;
        height: 510px;
    }

    .floating-badge {
        display: none;
    }
}

@media (max-width: 991.98px) {
    :root {
        --section-padding: 4rem;
    }

    .hero-section {
        min-height: auto;
        padding: 5rem 0 3rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .phone-mockup-container {
        margin-top: 3rem;
    }

    .why-values {
        gap: 2rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-padding: 3rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .phone-mockup {
        width: 220px;
        height: 450px;
    }

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

    .why-values {
        flex-direction: column;
        gap: 1.5rem;
    }

    .btn-lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

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

    .contact-form-card {
        padding: 1.5rem;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-gradient {
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-cta);
}

.shadow-card {
    box-shadow: var(--shadow-card);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

/* ============================================
   APP SCREENSHOTS GRID (Workers Section)
   ============================================ */
.app-screenshots-grid {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.screenshot-item {
    position: absolute;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transition: all 0.3s ease;
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.screenshot-item.screenshot-main {
    width: 200px;
    height: 420px;
    z-index: 3;
    left: 50%;
    transform: translateX(-50%);
}

.screenshot-item.screenshot-secondary {
    width: 160px;
    height: 340px;
    z-index: 2;
    left: 10%;
    top: 50%;
    transform: translateY(-50%) rotate(-5deg);
    opacity: 0.9;
}

.screenshot-item.screenshot-tertiary {
    width: 160px;
    height: 340px;
    z-index: 1;
    right: 10%;
    top: 50%;
    transform: translateY(-50%) rotate(5deg);
    opacity: 0.9;
}

.screenshot-item:hover {
    transform: translateY(-10px) scale(1.02);
    z-index: 10;
    opacity: 1;
}

.screenshot-item.screenshot-main:hover {
    transform: translateX(-50%) translateY(-10px) scale(1.02);
}

.screenshot-item.screenshot-secondary:hover {
    transform: translateY(-50%) rotate(-5deg) translateY(-10px) scale(1.05);
}

.screenshot-item.screenshot-tertiary:hover {
    transform: translateY(-50%) rotate(5deg) translateY(-10px) scale(1.05);
}

/* ============================================
   DASHBOARD PREVIEW (Managers Section)
   ============================================ */
.dashboard-preview {
    position: relative;
    padding: 20px;
}

.dashboard-window {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transition: all 0.3s ease;
}

.dashboard-window.dashboard-secondary {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 70%;
    z-index: 2;
    transform: rotate(2deg);
}

.dashboard-header {
    background: linear-gradient(90deg, #f1f1f1 0%, #e5e5e5 100%);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #ddd;
}

.dashboard-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dashboard-header .dot.red { background: #ff5f57; }
.dashboard-header .dot.yellow { background: #febc2e; }
.dashboard-header .dot.green { background: #28c840; }

.dashboard-header .dashboard-title {
    margin-left: 10px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.dashboard-content {
    max-height: 300px;
    overflow: hidden;
}

.dashboard-content img {
    width: 100%;
    height: auto;
    display: block;
}

.dashboard-window:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.dashboard-window.dashboard-secondary:hover {
    transform: rotate(2deg) translateY(-5px);
}

/* Responsive adjustments for images */
@media (max-width: 991.98px) {
    .app-screenshots-grid {
        height: 400px;
    }

    .screenshot-item.screenshot-main {
        width: 180px;
        height: 380px;
    }

    .screenshot-item.screenshot-secondary,
    .screenshot-item.screenshot-tertiary {
        width: 140px;
        height: 300px;
    }

    .dashboard-window.dashboard-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: 20px;
        transform: none;
    }

    .dashboard-window.dashboard-secondary:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 767.98px) {
    .app-screenshots-grid {
        height: 350px;
    }

    .screenshot-item.screenshot-main {
        width: 150px;
        height: 320px;
    }

    .screenshot-item.screenshot-secondary,
    .screenshot-item.screenshot-tertiary {
        display: none;
    }

    .dashboard-content {
        max-height: 200px;
    }
}
