/* BrainyTech - Process and Features Styles */
/* How it works steps and why choose us sections */

/* How It Works - Horizontal Stepper Design */
.stepsGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    position: relative;
    padding: 40px 0;
}

.stepCard {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Step Number Container */
.stepNumber {
    position: relative;
    font-size: 72px;
    font-weight: 900;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .stepNumber {
    background: linear-gradient(135deg, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stepCard:hover .stepNumber {
    transform: scale(1.15);
}

/* Step Content */
.stepContent {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(30, 58, 138, 0.2);
    border-radius: 12px;
    padding: 24px 16px;
    transition: all 0.3s ease;
    width: 100%;
    min-height: 180px;
}

[data-theme="dark"] .stepContent {
    background: linear-gradient(135deg, rgba(14, 31, 64, 0.85), rgba(7, 15, 32, 0.9));
    border: 1px solid rgba(30, 58, 138, 0.35);
    box-shadow: inset 0 1px 0 rgba(59, 130, 246, 0.12);
}

.stepCard:hover .stepContent {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
}

[data-theme="dark"] .stepCard:hover .stepContent {
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
}

.stepTitle {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .stepTitle {
    background: linear-gradient(135deg, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stepDescription {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

[data-theme="dark"] .stepDescription {
    color: #cbd5e1;
}

/* Why Choose Us */
.whyChooseGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.featuresList {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.featureItem {
    display: flex;
    gap: 16px;
}

.featureIcon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(92, 23, 243, 0.1), rgba(157, 78, 221, 0.1));
    border-radius: 12px;
    color: var(--color-primary);
}

[data-theme="dark"] .featureIcon {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(168, 85, 247, 0.25));
    color: #a78bfa;
}

.featureIcon svg {
    width: 24px;
    height: 24px;
}

.featureText h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
}

[data-theme="dark"] .featureText h4 {
    color: #f1f5f9;
}

.featureText p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin: 0;
}

[data-theme="dark"] .featureText p {
    color: #cbd5e1;
}

.statCardsContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.statCardLarge {
    padding: 32px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-border);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

[data-theme="dark"] .statCardLarge {
    background: rgba(255, 255, 255, 0.03);
}

.statCardLarge:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(92, 23, 243, 0.2);
}

.statCardIcon {
    font-size: 48px;
    margin-bottom: 16px;
}

.statCardValue {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #5C17F3, #9D4EDD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

[data-theme="dark"] .statCardValue {
    background: linear-gradient(135deg, #a78bfa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.statCardLabel {
    font-size: 14px;
    color: var(--color-text-secondary);
    font-weight: 600;
}

[data-theme="dark"] .statCardLabel {
    color: #cbd5e1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .whyChooseGrid {
        gap: 48px;
    }

    .stepsGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stepNumber {
        font-size: 56px;
        margin-bottom: 20px;
    }

    .stepContent {
        padding: 20px;
        min-height: 160px;
    }

    .stepTitle {
        font-size: 18px;
    }
}

@media (max-width: 900px) {
    .statCardsContainer {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .whyChooseGrid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .stepsGrid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 20px 0;
    }

    .stepNumber {
        font-size: 48px;
        margin-bottom: 16px;
    }

    .stepContent {
        padding: 20px;
        min-height: auto;
    }

    .stepTitle {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .stepDescription {
        font-size: 14px;
    }

    .featuresList {
        gap: 20px;
    }

    .statCardLarge {
        padding: 24px;
    }

    .statCardValue {
        font-size: 28px;
    }
}
