/* =========================
   SEGMENTS PAGE STYLES
   ========================= */

/* Segment Hero */
.segment-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(22, 163, 74, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(22, 163, 74, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(22, 163, 74, 0.15) 0%, transparent 50%);
}

.segment-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    animation: fadeIn 1s ease;
}

.segment-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(22, 163, 74, 0.2);
    color: var(--primary-light);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.segment-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.segment-hero h1 .highlight {
    color: var(--primary-light);
    position: relative;
}

.segment-hero p {
    font-size: 1.375rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Services CTA */
.services-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.services-cta::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%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.services-cta .cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.services-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.services-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.services-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.indicator i {
    color: var(--primary-light);
    font-size: 1.25rem;
}

/* Pain Points Section */
.pain-points {
    padding: 5rem 0;
    background: var(--white);
}

.pain-points .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pain-points .section-header h2 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.pain-points .section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.pains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pain-card {
    background: var(--secondary);
    padding: 2rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pain-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.pain-icon.problem {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.pain-card h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.pain-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.solution {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(22, 163, 74, 0.05);
    border-radius: calc(var(--radius) - 4px);
    border-left: 3px solid var(--primary);
}

.solution i {
    color: var(--primary);
    font-size: 1.25rem;
}

.solution span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9375rem;
}

/* Solutions Section */
.solutions-section {
    padding: 5rem 0;
    background: var(--secondary);
}

.solutions-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.solution-card.premium {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.premium-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

.solution-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.1), rgba(34, 197, 94, 0.1));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.solution-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.solution-features {
    list-style: none;
    margin-bottom: 2rem;
}

.solution-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.solution-features li i {
    color: var(--primary);
    margin-top: 0.25rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: var(--white);
}

.process-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
}

.process-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-number {
    width: 100px;
    height: 100px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.process-content {
    flex: 1;
    padding: 1.5rem 2rem;
    background: var(--secondary);
    border-radius: var(--radius);
    margin-top: 1rem;
}

.process-content h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.process-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.process-time {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
}

/* Results Section */
.results-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.results-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.results-text h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.results-text p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.result-item {
    display: flex;
    flex-direction: column;
}

.result-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.result-label {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.client-quote {
    padding: 2rem;
    background: var(--white);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.client-quote p {
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.client-quote cite {
    display: block;
    font-style: normal;
}

.client-quote strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.client-quote span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.results-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visual-card {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.visual-card:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-xl);
}

.visual-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.visual-card h4 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.visual-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Segment CTA */
.segment-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.segment-cta::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%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.segment-cta .cta-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.segment-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.segment-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.cta-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-benefits span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

.cta-benefits i {
    color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    .results-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .segment-hero {
        min-height: 70vh;
        padding: 3rem 0;
    }
    
    .segment-hero h1 {
        font-size: 2rem;
    }
    
    .segment-hero p {
        font-size: 1.125rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .pains-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .cta-input {
        width: 100%;
    }
    
    .process-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .process-number {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }
    
    .result-number {
        font-size: 2.5rem;
    }
    
    .cta-benefits {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}