/* 
   PassionSkyTech - How It Works Page Stylesheet
   Author: PassionSkyTech
   Version: 1.0
*/

/* Process Overview Section */
.process-overview-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.process-image {
    position: relative;
    text-align: center;
}

.process-image svg {
    max-width: 100%;
    height: auto;
}

/* Detailed Process Section */
.detailed-process-section {
    padding: 6rem 0;
    background-color: var(--primary-lightest);
}

.process-steps {
    position: relative;
    padding: 2rem 0;
}

.process-step {
    margin-bottom: 4rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step-number {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.process-step-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    position: relative;
    z-index: 1;
}

.process-step-content h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.process-step-content p {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.process-step-image {
    text-align: center;
    margin-top: 1.5rem;
}

.process-step-image svg {
    max-width: 100%;
    height: auto;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 2px;
    background-color: var(--primary-lighter);
}

.process-item {
    position: relative;
    margin-bottom: 5rem;
    display: flex;
    align-items: flex-start;
}

.process-item:last-child {
    margin-bottom: 0;
}

.process-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.process-number {
    width: 4rem;
    height: 4rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.process-content {
    width: calc(50% - 3rem);
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    position: relative;
}

.process-content::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    width: 2rem;
    height: 2px;
    background-color: var(--primary-lighter);
}

.process-item:nth-child(odd) .process-content::before {
    left: 100%;
}

.process-item:nth-child(even) .process-content::before {
    right: 100%;
}

.process-content h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.process-content p {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.process-details {
    background-color: var(--primary-lightest);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.process-details h5 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.process-details ul {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.process-details li {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.process-details li:last-child {
    margin-bottom: 0;
}

/* Advertising Channels Section */
.advertising-channels-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.channel-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.channel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.channel-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

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

.channel-icon {
    width: 5rem;
    height: 5rem;
    background-color: var(--primary-lightest);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.channel-icon i {
    font-size: 2.5rem;
}

.channel-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.channel-card p {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.channel-features {
    background-color: var(--primary-lightest);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.channel-features h5 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.channel-features ul {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.channel-features li {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.channel-features li:last-child {
    margin-bottom: 0;
}

.channel-price {
    font-size: 1.25rem;
    color: var(--gray-800);
    text-align: center;
    font-weight: 500;
}

.channel-price span {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}

/* Technology Section */
.technology-section {
    padding: 6rem 0;
    background-color: var(--primary-lightest);
}

.technology-image {
    position: relative;
    text-align: center;
}

.technology-blob {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.technology-image img {
    position: relative;
    z-index: 1;
    max-width: 80%;
    height: auto;
}

.technology-features {
    margin-top: 2rem;
}

.technology-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.technology-feature:last-child {
    margin-bottom: 0;
}

.technology-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-lightest);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.technology-icon i {
    font-size: 1.5rem;
}

.technology-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.technology-content p {
    color: var(--gray-700);
    margin-bottom: 0;
}

/* Success Stories Section */
.success-stories-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.success-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.success-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.success-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 1.5rem;
}

.success-header h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.success-header .industry {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: 0;
}

.success-body {
    padding: 1.5rem;
}

.success-metrics {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.metric {
    text-align: center;
    flex: 1;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.metric-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.success-quote {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 1rem;
    position: relative;
    padding: 0 1rem;
}

.success-quote::before,
.success-quote::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary-lighter);
}

.success-author {
    text-align: right;
    color: var(--gray-800);
    font-weight: 600;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .process-timeline::before {
        left: 2rem;
    }
    
    .process-item {
        flex-direction: row !important;
    }
    
    .process-number {
        left: 2rem;
        transform: none;
    }
    
    .process-content {
        width: calc(100% - 5rem);
        margin-left: 5rem;
    }
    
    .process-content::before {
        width: 1rem;
        left: -1rem !important;
        right: auto !important;
    }
    
    .channel-card.featured {
        transform: scale(1);
    }
    
    .channel-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 767.98px) {
    .process-overview-section,
    .detailed-process-section,
    .advertising-channels-section,
    .technology-section,
    .success-stories-section {
        padding: 4rem 0;
    }
    
    .process-step-content,
    .process-content,
    .channel-card,
    .success-card {
        padding: 1.5rem;
    }
    
    .process-details,
    .channel-features {
        padding: 1.25rem;
    }
    
    .process-number {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }
    
    .channel-icon {
        width: 4rem;
        height: 4rem;
    }
    
    .channel-icon i {
        font-size: 2rem;
    }
    
    .success-metrics {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 575.98px) {
    .process-overview-section,
    .detailed-process-section,
    .advertising-channels-section,
    .technology-section,
    .success-stories-section {
        padding: 3rem 0;
    }
    
    .process-timeline::before {
        left: 1.5rem;
    }
    
    .process-number {
        left: 1.5rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }
    
    .process-content {
        width: calc(100% - 4rem);
        margin-left: 4rem;
    }
    
    .process-step-content h3,
    .process-content h3,
    .channel-card h3,
    .success-header h3 {
        font-size: 1.35rem;
    }
    
    .technology-feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .technology-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}