/* Reset and base styles - Updated background to light gray */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #f5f5f5 !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 800px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 25px 30px;
    text-align: center;
    border-bottom: 3px solid #3b82f6;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    margin: 0;
}

/* Main content */
.main-content {
    padding: 40px 30px;
}

.content-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.icon-wrapper {
    margin-bottom: 40px;
}

.migration-notice {
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px;
    max-width: 400px;
    margin: 0 auto;
}

.migration-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-weight: 600;
    font-size: 1.1rem;
}

.old-text {
    color: #ef4444;
    text-decoration: line-through;
    opacity: 0.7;
}

.arrow-text {
    font-size: 1.5rem;
    color: #3b82f6;
    font-weight: bold;
}

.new-text {
    color: #10b981;
    font-weight: 700;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 30px;
    font-weight: 500;
}

.message {
    background: #f9fafb;
    border-left: 4px solid #3b82f6;
    padding: 20px;
    margin-bottom: 40px;
    border-radius: 8px;
    text-align: left;
}

.message p {
    font-size: 1.1rem;
    color: #374151;
    margin: 0;
}

/* Action cards */
.actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.action-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 35px 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.action-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.2);
    transform: translateY(-5px);
}

.action-card:hover::before {
    transform: scaleX(1);
}

.action-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.action-card p {
    color: #6b7280;
    margin-bottom: auto;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.action-card .btn {
    margin-top: 20px;
    align-self: flex-start;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: none;
    outline: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 8px 16px 0 rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 12px 24px 0 rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 8px 16px 0 rgba(59, 130, 246, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 12px 24px 0 rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* Footer info */
.footer-info {
    border-top: 1px solid #e5e7eb;
    padding-top: 30px;
    color: #6b7280;
}

.footer-info p {
    margin-bottom: 10px;
}

.contact-email a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.contact-email a:hover {
    text-decoration: underline;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.modal-body p {
    margin-bottom: 20px;
    color: #6b7280;
}

.email-link {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
    margin: 10px 0 30px;
    padding: 10px 20px;
    background: #eff6ff;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.email-link:hover {
    background: #dbeafe;
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        border-radius: 16px;
    }
    
    .header {
        padding: 20px 15px;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .main-content {
        padding: 30px 20px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .migration-text {
        flex-direction: column;
        gap: 15px;
    }
    
    .arrow-text {
        transform: rotate(90deg);
        font-size: 1.2rem;
    }
    
    .actions {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .action-card {
        padding: 25px 20px;
    }
    
    .action-card h3 {
        font-size: 1.2rem;
    }
    
    .status-badge {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 0.85rem;
    }
    
    .migration-text {
        gap: 10px;
        font-size: 1rem;
    }
    
    .arrow-text {
        font-size: 1.2rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .action-card {
        border-width: 3px;
    }
    
    .btn-secondary {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}