/* Transfer Steps Section - Hostinger Style */
/* Clean, Modern, Professional Design */

.transfer-steps-section {
    background: #ffffff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
.transfer-steps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(22, 15, 62, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(249, 189, 6, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.transfer-steps-section .container {
    position: relative;
    z-index: 1;
}

/* Steps Header */
.steps-header {
    text-align: center;
    margin-bottom: 64px;
}

.steps-main-title {
    font-size: 40px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin: 0;
    position: relative;
    display: inline-block;
}

.steps-main-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #160f3e 0%, #f9bd06 100%);
    border-radius: 2px;
}

/* Steps Grid - 2x2 Layout */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Step Card - Clean & Minimal */
.step-card {
    background: #ffffff;
    border: 2px solid #f0f0f5;
    border-radius: 20px;
    padding: 40px 36px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Hover gradient background */
.step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(22, 15, 62, 0.02) 0%,
        rgba(249, 189, 6, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.step-card:hover::before {
    opacity: 1;
}

.step-card:hover {
    border-color: #160f3e;
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(22, 15, 62, 0.08),
        0 0 0 1px rgba(22, 15, 62, 0.05);
}

/* Step Number - Purple Circle */
.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #160f3e 0%, #2a1a5e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    box-shadow:
        0 8px 20px rgba(22, 15, 62, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 12px 28px rgba(22, 15, 62, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Step Content */
.step-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.step-card:hover .step-title {
    color: #160f3e;
}

.step-description {
    font-size: 15px;
    line-height: 1.7;
    color: #6b6b7d;
    margin: 0;
    font-weight: 400;
}

/* Step Icon - Decorative */
.step-icon {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 189, 6, 0.08);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.step-icon i {
    font-size: 28px;
    color: #f9bd06;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    background: rgba(249, 189, 6, 0.15);
    transform: scale(1.1) rotate(-5deg);
}

.step-card:hover .step-icon i {
    color: #160f3e;
    transform: scale(1.1);
}

/* Arrow Connectors between steps (optional) */
.step-card:nth-child(1)::after,
.step-card:nth-child(2)::after {
    content: '';
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid #f0f0f5;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    opacity: 0.5;
    z-index: 10;
}

/* Responsive Design */
@media (max-width: 991px) {
    .transfer-steps-section {
        padding: 80px 0;
    }

    .steps-header {
        margin-bottom: 48px;
    }

    .steps-main-title {
        font-size: 32px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .step-card {
        padding: 32px 28px;
    }

    .step-card:nth-child(1)::after,
    .step-card:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .transfer-steps-section {
        padding: 60px 0;
    }

    .steps-header {
        margin-bottom: 40px;
    }

    .steps-main-title {
        font-size: 26px;
    }

    .steps-main-title::after {
        width: 60px;
        height: 3px;
        bottom: -10px;
    }

    .step-card {
        padding: 28px 24px;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 20px;
    }

    .step-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .step-description {
        font-size: 14px;
    }

    .step-icon {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }

    .step-icon i {
        font-size: 24px;
    }
}

/* Animation on scroll (optional) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-card {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.step-card:nth-child(1) {
    animation-delay: 0.1s;
}

.step-card:nth-child(2) {
    animation-delay: 0.2s;
}

.step-card:nth-child(3) {
    animation-delay: 0.3s;
}

.step-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .transfer-steps-section {
        background: #0f0f1a;
    }

    .step-card {
        background: #1a1a2e;
        border-color: #2a2a3e;
    }

    .step-card:hover {
        border-color: #f9bd06;
    }

    .steps-main-title,
    .step-title {
        color: #ffffff;
    }

    .step-description {
        color: rgba(255, 255, 255, 0.7);
    }
}
