/* ========================================
   FREE MIGRATION SECTION STYLES
   ======================================== */
.migration-section {
    background: #ffffff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.migration-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(26, 184, 201, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.migration-section .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Header */
.migration-header {
    text-align: center;
    margin-bottom: 60px;
}

.migration-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(26, 184, 201, 0.15) 0%, rgba(26, 184, 201, 0.05) 100%);
    color: var(--nc-blue, #1654E0);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(26, 184, 201, 0.25);
    animation: fadeInDown 0.6s ease-out;
}

.migration-badge svg {
    width: 18px;
    height: 18px;
}

.migration-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--nc-navy, #001538);
    margin-bottom: 16px;
    font-family: 'Pinar-VF', sans-serif;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.migration-title span {
    background: linear-gradient(135deg, var(--nc-teal, #1AB8C9) 0%, var(--nc-blue, #1654E0) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.migration-desc {
    font-size: 17px;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Speed Results Grid */
.speed-results-wrapper {
    background: #f8fafc;
    border-radius: 28px;
    padding: 48px;
    margin-bottom: 48px;
    border: 1px solid #e5e7eb;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.speed-results-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--nc-navy, #001538);
    margin-bottom: 12px;
    font-family: 'Pinar-VF', sans-serif;
}

.speed-results-subtitle {
    text-align: center;
    font-size: 15px;
    color: #64748b;
    margin-bottom: 40px;
}

.speed-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Speed Card */
.speed-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 21, 56, 0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.speed-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 21, 56, 0.08);
    border-color: rgba(26, 184, 201, 0.3);
}

.speed-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--nc-navy, #001538);
    margin-bottom: 24px;
    line-height: 1.5;
}

.speed-card-title span {
    color: var(--nc-teal, #1AB8C9);
    font-weight: 700;
}

/* Circular Progress */
.circular-progress {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 16px;
}

.circular-progress svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circular-progress .progress-bg {
    fill: none;
    stroke: #f1f5f9;
    stroke-width: 10;
}

.circular-progress .progress-bar {
    fill: none;
    stroke: url(#greenGradient);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 377;
    stroke-dashoffset: 377;
    transition: stroke-dashoffset 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.circular-progress .progress-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-percent {
    font-size: 32px;
    font-weight: 800;
    color: var(--nc-navy, #001538);
    line-height: 1;
    display: block;
    direction: ltr;
}

.progress-label {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
    display: block;
}

/* Migration Features */
.migration-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.migration-feature {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out both;
}

.migration-feature:nth-child(1) { animation-delay: 0.4s; }
.migration-feature:nth-child(2) { animation-delay: 0.5s; }
.migration-feature:nth-child(3) { animation-delay: 0.6s; }

.migration-feature:hover {
    border-color: rgba(26, 184, 201, 0.3);
    box-shadow: 0 8px 30px rgba(0, 21, 56, 0.06);
}

.migration-feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(26, 184, 201, 0.12) 0%, rgba(26, 184, 201, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.migration-feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--nc-blue, #1654E0);
}

.migration-feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--nc-navy, #001538);
    margin-bottom: 10px;
    font-family: 'Pinar-VF', sans-serif;
}

.migration-feature-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* Migration CTA */
.migration-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--nc-navy, #001538) 0%, var(--nc-navy-deep, #00102A) 100%);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out 0.7s both;
}

.migration-cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(26, 184, 201, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.migration-cta::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(26, 184, 201, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.migration-cta-content {
    position: relative;
    z-index: 1;
}

.migration-cta-icon {
    width: 72px;
    height: 72px;
    background: rgba(26, 184, 201, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 1px solid rgba(26, 184, 201, 0.25);
}

.migration-cta-icon svg {
    width: 36px;
    height: 36px;
    color: var(--nc-teal, #1AB8C9);
}

.migration-cta-title {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    font-family: 'Pinar-VF', sans-serif;
}

.migration-cta-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.migration-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.migration-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--nc-teal, #1AB8C9);
    color: var(--nc-navy, #001538);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.migration-btn-primary:hover {
  background: var(--nc-blue, #1654E0);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(26, 73, 201, 0.4);
  }

.migration-btn-primary svg {
    width: 20px;
    height: 20px;
}

.migration-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.migration-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.migration-btn-secondary svg {
    width: 20px;
    height: 20px;
}

/* Trust Badges */
.migration-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--nc-teal, #1AB8C9);
}

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

    .speed-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .migration-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .migration-title {
        font-size: 2rem;
    }

    .speed-results-wrapper {
        padding: 32px;
    }
}

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

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

    .migration-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .migration-desc {
        font-size: 15px;
    }

    .speed-results-wrapper {
        padding: 24px 16px;
        border-radius: 20px;
    }

    .speed-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .speed-card {
        padding: 20px 12px;
        border-radius: 16px;
    }

    .speed-card-title {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .circular-progress {
        width: 100px;
        height: 100px;
    }

    .progress-percent {
        font-size: 22px;
    }

    .progress-label {
        font-size: 10px;
    }

    .migration-feature {
        padding: 24px;
    }

    .migration-cta {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .migration-cta-title {
        font-size: 20px;
    }

    .migration-cta-buttons {
        flex-direction: column;
    }

    .migration-btn-primary,
    .migration-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .migration-trust {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .migration-section {
        padding: 50px 0;
    }

    .migration-section .container {
        padding: 0 16px;
    }

    .migration-badge {
        font-size: 12px;
        padding: 8px 16px;
    }

    .migration-title {
        font-size: 1.4rem;
    }

    .circular-progress {
        width: 90px;
        height: 90px;
    }

    .progress-percent {
        font-size: 20px;
    }
}
