* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #000;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Popup Styles - FIXED */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.popup-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    position: relative;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
    line-height: 1;
}

.close-popup:hover {
    color: #FF2231;
    transform: rotate(90deg);
}

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

.logo-transition {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.fst-logo, .pst-logo {
    text-align: center;
}

.fst-logo img, .pst-logo img {
    width: 120px;
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

.arrow {
    font-size: 2rem;
    color: #2A289C;
    animation: moveArrow 2s ease-in-out infinite;
}

.popup-content h2 {
    color: #2A289C;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.popup-content h1.new-brand {
    color: #FF2231;
    margin: 20px 0;
    font-size: 2rem;
    font-weight: bold;
}

.acquisition-text {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.continuation {
    color: #666;
    font-style: italic;
    margin-bottom: 25px;
}

.redirect-btn {
    display: inline-block;
    background: #FF2231;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.redirect-btn:hover {
    background: #e61e2d;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 34, 49, 0.3);
}

/* Header */
header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section > img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-section h1 {
    color: #2A289C;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.acquisition-badge {
    background: #FF2231;
    color: white;
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pioneer-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

/* Acquisition Banner */
.acquisition-banner {
    background: linear-gradient(90deg, #2A289C, #FF2231);
    color: white;
    padding: 12px 0;
    text-align: center;
    animation: gradientShift 5s ease-in-out infinite;
}

.acquisition-banner p {
    margin: 0;
    font-size: 1.05rem;
}

.acquisition-banner a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.acquisition-banner a:hover {
    color: white;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2A289C 0%, #1a1a6e 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.admission-badge {
    display: inline-block;
    background: #FF2231;
    padding: 12px 30px;
    border-radius: 30px;
    margin-bottom: 30px;
    font-weight: 600;
    animation: bounce 2s infinite;
    font-size: 1.1rem;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 25px;
    opacity: 0.95;
}

.legacy-notice {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 30px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 30px;
}

.legacy-notice p {
    margin: 0;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 45px;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: #FF2231;
    color: white;
}

.btn-secondary {
    background: white;
    color: #2A289C;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.stats-section h2 {
    text-align: center;
    color: #2A289C;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.stats-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.15rem;
}

.stats-intro strong {
    color: #FF2231;
    font-size: 1.3rem;
}

.stats-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.stat-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.main-stat {
    border: 3px solid #2A289C;
}

.stat-breakdown {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.people-icons {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.person-icon {
    opacity: 1;
    transition: opacity 0.3s;
}

.person-icon.fade {
    opacity: 0.3;
}

.person-icon.highlight {
    color: #FF2231;
}

.stat-card h3 {
    color: #2A289C;
    font-size: 2rem;
    margin: 10px 0;
}

.stat-card p {
    color: #666;
    font-size: 1.05rem;
}

.problem-statement {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
    padding: 35px;
    background: white;
    border-left: 5px solid #FF2231;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.problem-statement strong {
    color: #FF2231;
}

.solution-text {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
    color: #2A289C;
    font-weight: 600;
}

/* Phases Section */
.phases-section {
    padding: 80px 0;
    background: #2A289C;
    color: white;
}

.phases-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.phases-subtitle {
    text-align: center;
    opacity: 0.9;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.phases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.phase-card {
    background: white;
    color: #000;
    padding: 45px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #FF2231, #2A289C);
}

.phase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.phase-icon {
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

.phase-card h3 {
    color: #2A289C;
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.phase-duration {
    color: #666;
    font-size: 0.95rem;
}

.phase-card h4 {
    color: #FF2231;
    font-size: 1.4rem;
    margin: 15px 0;
    letter-spacing: 2px;
}

.phase-card p {
    color: #333;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Building Section */
.building-section {
    padding: 80px 0;
    background: white;
}

.building-section h2 {
    text-align: center;
    color: #2A289C;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.building-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.building-number {
    font-size: 6rem;
    color: #FF2231;
    font-weight: bold;
    animation: countUp 2s ease-out;
}

.building-text h3 {
    color: #2A289C;
    font-size: 2rem;
    margin-bottom: 10px;
}

.building-text p {
    color: #666;
    font-size: 1.15rem;
    max-width: 400px;
}

/* Legacy Section */
.legacy-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2A289C, #1a1a6e);
    color: white;
}

.legacy-content {
    text-align: center;
}

.legacy-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.timeline {
    max-width: 600px;
    margin: 0 auto 50px;
}

.timeline-item {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-dot.acquired {
    background: #FFD700;
}

.timeline-dot.new {
    background: #FF2231;
}

.timeline-arrow {
    font-size: 2rem;
    margin: 10px 0;
    animation: bounceArrow 2s infinite;
}

.timeline-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.timeline-item p {
    opacity: 0.9;
    font-size: 1.05rem;
}

.legacy-btn {
    display: inline-block;
    background: #FF2231;
    color: white;
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.15rem;
    transition: all 0.3s;
}

.legacy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #e61e2d;
}

/* Footer */
footer {
    background: #000;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo-item {
    text-align: center;
}

.footer-logo-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 8px;
    background: white;
    padding: 10px;
    border-radius: 8px;
}

.footer-logo-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-arrow {
    font-size: 1.5rem;
    color: #FF2231;
}

.footer-text {
    margin-bottom: 10px;
    opacity: 0.9;
    font-size: 1.05rem;
}

footer strong {
    color: #FF2231;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes moveArrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

@keyframes bounceArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .stat-breakdown {
        flex-direction: column;
    }

    .building-content {
        flex-direction: column;
        text-align: center;
    }

    .building-number {
        font-size: 4rem;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .logo-section h1 {
        font-size: 1.2rem;
    }

    .footer-logos {
        flex-direction: column;
    }

    .footer-arrow {
        transform: rotate(90deg);
    }

    .timeline-dot {
        display: none;
    }

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

    .logo-transition {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .fst-logo img, .pst-logo img {
        width: 80px;
    }

    .footer-logo-item img {
        width: 60px;
        height: 60px;
    }
}