/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #2b5995 0%, #1e3a8a 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 40%;
    right: 30%;
    animation-delay: 1s;
}

.shape-5 {
    width: 70px;
    height: 70px;
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 25px;
    animation: slideDown 1s ease-out;
}

.dual-logo-container {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(43, 89, 149, 0.1);
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    height: auto;
    width: auto;
    max-height: 70px;
    max-width: 200px;
    object-fit: contain;
}

.tunchalu-logo {
    max-height: 80px;
    max-width: 250px;
}

.gotech-logo {
    max-height: 70px;
    max-width: 180px;
}

.logo-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
}

.separator-text {
    font-size: 2rem;
    font-weight: 700;
    color: #2b5995;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: pulse 2s ease-in-out infinite;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.migration-notice {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 1200px;
    animation: slideUp 1s ease-out 0.3s both;
}

/* Top Action Section */
.top-action-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #2b5995, #1e3a8a);
    border-radius: 20px;
    color: white;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.future-message {
    margin-bottom: 25px;
}

.future-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.future-title i {
    color: #ffd700;
    animation: pulse 2s ease-in-out infinite;
}

.future-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Migration Notice Top */
.migration-notice-top {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.migration-text {
    text-align: center;
}

.migration-en, .migration-sw {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.migration-sw {
    font-style: italic;
    opacity: 0.9;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Click Buttons - Top Position */
.click-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.click-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #2b5995;
    padding: 18px 35px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    border: 3px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.click-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, #ffed4e, #ffd700);
}

.click-btn i {
    font-size: 1.3rem;
}

/* Content Grid - Horizontal Layout */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.left-content, .right-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Notice Icon */
.notice-icon {
    font-size: 3rem;
    color: #2b5995;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Title */
.title {
    margin-bottom: 25px;
}

.title-main {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2b5995;
    margin-bottom: 8px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.title-sub {
    display: block;
    font-size: 1.3rem;
    font-weight: 500;
    color: #4a5568;
    animation: fadeInUp 1s ease-out 0.9s both;
}

/* Messages */
.message-container {
    margin-bottom: 25px;
    animation: fadeInUp 1s ease-out 1.1s both;
}

.message-en, .message-sw {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #2d3748;
}

.message-sw {
    font-style: italic;
    color: #4a5568;
    font-size: 1rem;
}

/* New URL */
.new-url {
    margin-bottom: 25px;
    animation: fadeInUp 1s ease-out 1.3s both;
}

.url-label {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 8px;
    font-weight: 500;
}

.url-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2b5995, #1e3a8a);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(43, 89, 149, 0.4);
}

/* Expiry Notice - Enhanced Design */
.expiry-notice {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 25px;
    border-radius: 20px;
    animation: fadeInUp 1s ease-out 1.5s both;
    border: 3px solid #fbbf24;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.expiry-icon {
    font-size: 2.5rem;
    color: #fbbf24;
    text-align: center;
    margin-bottom: 15px;
    animation: shake 1s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.expiry-text {
    text-align: center;
}

.warning-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: flash 1.5s ease-in-out infinite;
}

@keyframes flash {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.7; }
}

.expiry-en, .expiry-sw {
    margin-bottom: 8px;
    line-height: 1.4;
    font-size: 1rem;
}

.expiry-sw {
    font-style: italic;
    opacity: 0.9;
}

.date {
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Countdown Timer - Enhanced Design */
.countdown-container {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.countdown-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.countdown-display {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.countdown-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-item span {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fbbf24;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.countdown-item label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 5px;
    opacity: 0.9;
}

/* Contact Info */
.contact-info {
    animation: fadeInUp 1s ease-out 1.7s both;
}

.contact-title {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.contact-numbers {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #059669;
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.3);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(5, 150, 105, 0.5);
    background: #047857;
}

/* Features */
.features {
    animation: fadeInUp 1s ease-out 1.9s both;
}

.features-title {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 20px;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(43, 89, 149, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    background: rgba(43, 89, 149, 0.2);
}

.feature-item i {
    font-size: 1.5rem;
    color: #2b5995;
}

.feature-item span {
    font-weight: 500;
    color: #2d3748;
    text-align: center;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease-out 2.1s both;
}

.footer p {
    margin-bottom: 5px;
}

.footer-note {
    font-style: italic;
    font-size: 0.85rem;
}

/* Popup Modal Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 25px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border: 3px solid #2b5995;
    transform: scale(0.7) translateY(50px);
    transition: all 0.3s ease;
}

.popup-overlay.show .popup-container {
    transform: scale(1) translateY(0);
}

.popup-header {
    background: linear-gradient(135deg, #2b5995, #1e3a8a);
    color: white;
    padding: 20px 25px;
    border-radius: 22px 22px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.popup-logos {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.popup-logo {
    max-height: 50px;
    max-width: 150px;
    height: auto;
    width: auto;
    object-fit: contain;
    background: white;
    padding: 5px 10px;
    border-radius: 8px;
}

.popup-logo-separator {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    animation: pulse 2s ease-in-out infinite;
}

.popup-icon {
    font-size: 2.5rem;
    color: #ffd700;
    animation: shake 1s ease-in-out infinite;
}

.popup-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.popup-content {
    padding: 30px 25px;
}

.popup-title {
    font-size: 1.8rem;
    color: #2b5995;
    margin-bottom: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 700;
}

.popup-title i {
    color: #ffd700;
    animation: pulse 2s ease-in-out infinite;
}

.popup-message {
    margin-bottom: 30px;
}

.migration-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(43, 89, 149, 0.1);
    border-radius: 15px;
    border-left: 4px solid #2b5995;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(43, 89, 149, 0.15);
    transform: translateX(5px);
}

.info-item i {
    font-size: 1.5rem;
    color: #2b5995;
    margin-top: 5px;
    flex-shrink: 0;
}

.info-text {
    flex: 1;
    line-height: 1.6;
}

.info-text strong {
    color: #2b5995;
    font-weight: 700;
}

.info-text small {
    color: #4a5568;
    font-style: italic;
    display: block;
    margin-top: 5px;
}

.popup-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.popup-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    min-width: 200px;
    justify-content: center;
}

.popup-btn-primary {
    background: linear-gradient(135deg, #2b5995, #1e3a8a);
    color: white;
    box-shadow: 0 5px 20px rgba(43, 89, 149, 0.4);
}

.popup-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(43, 89, 149, 0.6);
    background: linear-gradient(135deg, #1e3a8a, #2b5995);
}

.popup-btn-secondary {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    box-shadow: 0 5px 20px rgba(107, 114, 128, 0.4);
}

.popup-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(107, 114, 128, 0.6);
    background: linear-gradient(135deg, #4b5563, #6b7280);
}

/* Popup Responsive Design */
@media (max-width: 768px) {
    .popup-container {
        width: 95%;
        margin: 20px;
    }
    
    .popup-content {
        padding: 20px 15px;
    }
    
    .popup-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .popup-logos {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: center;
    }
    
    .popup-logo {
        max-height: 40px;
        max-width: 120px;
    }
    
    .popup-logo-separator {
        transform: rotate(90deg);
        font-size: 1.2rem;
    }
    
    .popup-close {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    
    .popup-title {
        font-size: 1.4rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .popup-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .popup-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .migration-notice {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .migration-notice {
        padding: 25px 20px;
    }
    
    .future-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .future-subtitle {
        font-size: 1rem;
    }
    
    .click-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .click-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 15px 25px;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1.1rem;
    }
    
    .message-en, .message-sw {
        font-size: 1rem;
    }
    
    .expiry-notice {
        padding: 20px;
    }
    
    .countdown-display {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-numbers {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .dual-logo-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .logo-separator {
        transform: rotate(90deg);
    }
    
    .separator-text {
        font-size: 1.5rem;
    }
    
    .tunchalu-logo {
        max-height: 60px;
        max-width: 200px;
    }
    
    .gotech-logo {
        max-height: 50px;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .future-title {
        font-size: 1.5rem;
    }
    
    .title-main {
        font-size: 1.6rem;
    }
    
    .message-en, .message-sw {
        font-size: 0.95rem;
    }
    
    .click-btn {
        font-size: 1rem;
        padding: 12px 20px;
    }
    
    .countdown-display {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .countdown-item span {
        font-size: 1.5rem;
    }
}