/* Sales & Marketing Teams Page - Complete Override Styles */

/* Important overrides to ensure our styles take precedence */
.sales-marketing-page {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.6 !important;
    color: #1d0c46 !important;
    background: #ffffff !important;
}

/* Override any conflicting container styles */
.sales-marketing-page .container {
    max-width: 1800px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
}

/* Override any conflicting main content styles */
.sales-marketing-page .main-content {
    margin: 0 !important;
    padding: 0 !important;
}

.sales-marketing-page * {
    box-sizing: border-box;
}

/* Hero Section */
.sales-marketing-page .marketing-hero {
    background: linear-gradient(135deg, #ffffff 0%, #DDE2EE 50%, #ffffff 100%) !important;
    padding: 120px 0 80px !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
}

.marketing-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.marketing-hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
}

.marketing-hero .hero-text {
    text-align: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.marketing-hero .hero-text h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #1d0c46;
    text-align: center;
}

.marketing-hero .hero-text .hero-subheadline {
    font-size: 1.25rem;
    color: #6b5b7a;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Hero Visual - Removed */

/* Content Sections */
.sales-marketing-page .marketer-challenge,
.sales-marketing-page .cryptique-solution,
.sales-marketing-page .game-changing-features {
    padding: 100px 0 !important;
    margin: 0 !important;
}

.sales-marketing-page .marketer-challenge {
    background: #ffffff !important;
}

.sales-marketing-page .game-changing-features {
    background: #DDE2EE !important;
}

.sales-marketing-page .cryptique-solution {
    background: #ffffff !important;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    overflow: hidden;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 24px;
    color: #1d0c46;
    line-height: 1.3;
    letter-spacing: -0.01em;
    word-wrap: break-word;
    hyphens: auto;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b5b7a;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
}

/* Challenge Cards */
.challenge-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.challenge-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(29, 12, 70, 0.1);
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(29, 12, 70, 0.15);
}

.challenge-icon {
    width: 60px;
    height: 60px;
    background: #1d0c46;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.challenge-icon i {
    font-size: 24px;
    color: white;
}

.challenge-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1d0c46;
}

.challenge-card p {
    color: #6b5b7a;
    line-height: 1.6;
    font-size: 1rem;
}

/* Solution Benefits */
.solution-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(29, 12, 70, 0.1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(29, 12, 70, 0.15);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: #1d0c46;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.benefit-icon i {
    font-size: 24px;
    color: white;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1d0c46;
}

.benefit-card p {
    color: #6b5b7a;
    line-height: 1.6;
    font-size: 1rem;
}

/* Features Grid */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.feature-item:nth-child(even) {
    direction: rtl;
}

.feature-item:nth-child(even) > * {
    direction: ltr;
}

.feature-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1d0c46;
    line-height: 1.3;
}

.feature-content p {
    color: #6b5b7a;
    line-height: 1.6;
    font-size: 1.125rem;
}

/* Dashboard Preview */
.dashboard-preview {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 350px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(29, 12, 70, 0.1);
}

.dashboard-widget {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(29, 12, 70, 0.08);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.widget-title {
    font-size: 14px;
    font-weight: 600;
    color: #1d0c46;
    line-height: 1.3;
    flex: 1;
    margin-right: 12px;
}

.widget-period {
    font-size: 12px;
    color: #6b5b7a;
    flex-shrink: 0;
    text-align: right;
}

.widget-stats {
    display: flex;
    justify-content: space-between;
    flex-shrink: 0;
    margin-top: auto;
    gap: 16px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 12px !important;
    font-weight: 600;
    color: #1d0c46;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    color: #6b5b7a;
    text-align: center;
}

.widget-chart {
    height: 60px;
    position: relative;
    margin-bottom: 16px;
    flex: 1;
}

.roi-bar {
    width: 100%;
    height: 24px;
    background: rgba(29, 12, 70, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.roi-fill {
    height: 100%;
    background: linear-gradient(90deg, #1d0c46, #8B5CF6);
    border-radius: 12px;
    transition: width 1s ease-out;
}

.roi-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.roi-value {
    font-size: 16px;
    font-weight: 600;
    color: #1d0c46;
}

.roi-label {
    font-size: 11px;
    color: #6b5b7a;
}

/* Segmentation Builder */
.segmentation-builder {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(29, 12, 70, 0.1);
    max-width: 400px;
}

.builder-header {
    margin-bottom: 20px;
}

.builder-header h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1d0c46;
    margin: 0 0 8px 0;
}

.segment-name {
    font-size: 16px;
    font-weight: 600;
    color: #1d0c46;
    background: rgba(29, 12, 70, 0.1);
    padding: 8px 12px;
    border-radius: 12px;
    text-align: center;
}

.builder-pills {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pill-label {
    font-size: 12px;
    font-weight: 500;
    color: #6b5b7a;
    min-width: 60px;
}

.pill {
    background: rgba(29, 12, 70, 0.1);
    color: #6b5b7a;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pill.active {
    background: #1d0c46;
    color: #ffffff;
}

.segment-result {
    text-align: center;
    padding: 12px;
    background: rgba(29, 12, 70, 0.05);
    border-radius: 12px;
}

.result-count {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #1d0c46;
    margin-bottom: 4px;
}

.result-label {
    font-size: 12px;
    color: #6b5b7a;
}

/* Funnel Visualization */
.funnel-visualization {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 450px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(29, 12, 70, 0.1);
}

.funnel-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.stage-content {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(29, 12, 70, 0.1);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 4px 12px rgba(29, 12, 70, 0.08);
    min-height: 60px;
    margin: 0 auto;
}

/* Progressive width reduction for funnel effect */
.funnel-stage.stage-1 .stage-content {
    width: 100%;
}

.funnel-stage.stage-2 .stage-content {
    width: 85%;
}

.funnel-stage.stage-3 .stage-content {
    width: 70%;
}

.funnel-stage.stage-4 .stage-content {
    width: 55%;
}

.stage-content i {
    font-size: 18px;
    color: #1d0c46;
    width: 20px;
    text-align: center;
}

.stage-content span {
    font-size: 14px;
    font-weight: 600;
    color: #1d0c46;
    flex: 1;
}

.stage-count {
    font-size: 13px;
    font-weight: 600;
    color: #1d0c46;
    background: rgba(29, 12, 70, 0.1);
    padding: 6px 12px;
    border-radius: 16px;
    white-space: nowrap;
}

/* Arrow and conversion rate styles removed */

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: #DDE2EE;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 24px;
    color: #1d0c46;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.125rem;
    color: #6b5b7a;
    line-height: 1.6;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: #1d0c46;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(29, 12, 70, 0.3);
}

.cta-button:hover {
    background: #2d1c56;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 12, 70, 0.4);
}

/* Animations - Removed unused hero visual animations */

/* Responsive Design */
@media (max-width: 1024px) {
    .marketing-hero .hero-content {
        gap: 40px;
    }
    
    .marketing-hero .hero-text h1 {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .challenge-cards,
    .solution-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .feature-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-item:nth-child(even) {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .marketing-hero {
        padding: 60px 0 40px;
        min-height: auto;
    }
    
    .marketing-hero .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .marketing-hero .hero-text .hero-subheadline {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .marketer-challenge,
    .cryptique-solution,
    .game-changing-features {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .challenge-cards,
    .solution-benefits {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .challenge-card,
    .benefit-card {
        padding: 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .marketing-hero .container,
    .section-header,
    .challenge-cards,
    .solution-benefits,
    .features-grid,
    .cta-content {
        padding: 0 16px;
    }
    
    .marketing-hero .hero-text h1 {
        font-size: 2rem;
    }
    
    .marketing-hero .hero-text .hero-subheadline {
        font-size: 1rem;
    }
    
    .hero-visual {
        height: 350px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    .challenge-card,
    .benefit-card {
        padding: 16px;
    }
    
    .feature-content h3 {
        font-size: 1.5rem;
    }
    
    .feature-content p {
        font-size: 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}