/* =========================================================================
   Gid Ecosystem Interactive Pricing Engine - Pitch Deck Vibe
   ========================================================================= */

.gid-pitch-pricing-section {
    position: relative;
    padding: 4rem 0 5rem;
    background-color: #0c111a; 
    color: #ffffff;
    overflow: hidden;
    z-index: 10;
}

/* Photographic Ambient Overlay */
.gid-pitch-background-overlay {
    position: absolute;
    inset: 0;
    /* Hero Black (Top) -> Elegant Soft Fade -> Dark Ambient Photo (Middle) -> Pure White (Bottom for FAQ) */
    background-image: 
        linear-gradient(to bottom, 
            rgba(12, 17, 26, 1) 0%, 
            rgba(12, 17, 26, 1) 10%, 
            rgba(12, 17, 26, 0.92) 20%, 
            rgba(12, 17, 26, 0.85) 40%, 
            rgba(12, 17, 26, 0.85) 85%, 
            rgba(255, 255, 255, 1) 100%
        ),
        url('https://images.unsplash.com/photo-1514933651103-005eec06c04b?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: -1;
    pointer-events: none;
}

.gid-pitch-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.gid-pitch-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.gid-pitch-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.gid-pitch-header p {
    font-size: 1.15rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95); /* Brightened */
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Force toggle text to be extremely visible */
.gid-pitch-header .toggle-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Cards Wrapper */
.gid-pitch-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

/* Base Card Styles */
.gid-pitch-card {
    border-radius: 20px;
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: default;
    border: 1px solid rgba(255, 255, 255, 0.05); /* very faint border */
    transform-origin: center;
}

/* Hero Glow Interaction (Hover/Select) */
.gid-pitch-card:hover {
    transform: translateY(-16px) scale(1.03);
    z-index: 10;
}

/* 1. White Card (Employees) */
.gid-pitch-card.card-white {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.gid-pitch-card.card-white:hover {
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.gid-pitch-card.card-white .role-icon-wrapper svg,
.gid-pitch-card.card-white .pitch-feature svg {
    color: #ffffff;
}

/* 2. Orange Card (Managers) */
.gid-pitch-card.card-orange {
    background: rgba(241, 118, 25, 0.08); /* Gid Orange Tint */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(241, 118, 25, 0.2);
}

.gid-pitch-card.card-orange:hover {
    box-shadow: 0 20px 60px rgba(241, 118, 25, 0.25), 0 0 40px rgba(241, 118, 25, 0.15) inset, 0 0 0 1px rgba(241, 118, 25, 0.8);
    background: rgba(241, 118, 25, 0.12);
}

.gid-pitch-card.card-orange .role-icon-wrapper svg,
.gid-pitch-card.card-orange .pitch-feature svg {
    color: #f17619;
}

/* 3. Dark Card (Executives) */
.gid-pitch-card.card-dark {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.gid-pitch-card.card-dark:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.8);
}

.gid-pitch-card.card-dark .role-icon-wrapper svg,
.gid-pitch-card.card-dark .pitch-feature svg {
    color: #94a3b8;
}

/* Card Internals */
.pitch-card-header {
    text-align: left;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.role-icon-wrapper {
    margin-bottom: 0.8rem;
}

.role-icon-wrapper svg {
    width: 38px;
    height: 38px;
    opacity: 0.95;
}

.pitch-card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.3rem;
    color: #ffffff;
    /* Force 2 lines of vertical space minimum */
    min-height: 3rem; 
}

.role-subtitle {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
    /* Force 2 lines of vertical space minimum */
    min-height: 2.5rem; 
}

.pitch-features-list {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}

.pitch-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.pitch-feature svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    opacity: 0.9;
    margin-top: 2px;
}

.pitch-feature span {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e2e8f0;
}

/* Pricing Display */
.pitch-pricing {
    margin-top: auto;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.price-value {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #ffffff;
}

.price-period {
    font-size: 1.1rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Buttons */
.btn-pitch {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-white {
    background: #ffffff;
    color: #0c111a;
}
.btn-white:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-orange {
    background: #f17619;
    color: #ffffff;
}
.btn-orange:hover {
    background: #e86b10;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(241, 118, 25, 0.4);
}

.btn-dark {
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.15);
}
.btn-dark:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .gid-pitch-cards-wrapper {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .gid-pitch-header h2 {
        font-size: 2.5rem;
    }
    
    .gid-pitch-card {
        padding: 2rem;
    }

    .pitch-card-header h3,
    .role-subtitle {
        min-height: auto; /* Remove forced spacing since they stack vertically */
        margin-bottom: 1rem;
    }
    
    .price-value {
        font-size: 3rem;
    }
}
