/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0A1628;
    --navy-light: #0F1F36;
    --navy-dark: #050D1A;
    --blue: #1E90FF;
    --blue-dark: #1565C0;
    --white: #FFFFFF;
    --gray-light: #E8EDF2;
    --gray: #A0AEC0;
    --gray-dark: #4A5568;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--white);
    color: var(--navy);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    background-color: var(--blue);
    color: var(--white);
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 144, 255, 0.4);
}

.btn-center {
    margin: 30px auto 0;
    display: block;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--navy);
    z-index: 1000;
    padding: 16px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: padding 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    font-size: 15px;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--blue);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--blue);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--blue);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: var(--blue-dark);
    box-shadow: 0 4px 16px rgba(30, 144, 255, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #0A1628 0%, #0F2A4A 50%, #0A1628 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(15, 42, 74, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-text {
    color: var(--white);
}

.hero-announcement {
    font-size: 16px;
    color: var(--blue);
    margin-bottom: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-badge {
    display: inline-block;
    background-color: var(--blue);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #FFFFFF 0%, #1E90FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 550px;
}

.hero-form {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 28px;
    border-radius: 12px;
    max-width: 550px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.hero-form input {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 15px;
    transition: all 0.3s ease;
}

.hero-form input::placeholder {
    color: var(--gray);
}

.hero-form input:focus {
    outline: none;
    border-color: var(--blue);
    background-color: rgba(255, 255, 255, 0.15);
}

.hero-form .btn-primary {
    width: 100%;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ===== CAREER ===== */
.career {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray-dark);
    margin-bottom: 50px;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.career-card {
    background-color: var(--gray-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.career-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 22, 40, 0.15);
}

.career-card-top {
    background-color: var(--navy);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0;
}

.career-card-top img {
    width: 80px;
    height: 80px;
}

.career-card-body {
    padding: 30px;
    flex-grow: 1;
}

.career-card-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.career-card-body p {
    font-size: 15px;
    color: var(--gray-dark);
    line-height: 1.7;
}

/* ===== MARQUEE ===== */
.marquee {
    background-color: var(--navy);
    padding: 24px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid var(--blue);
    border-bottom: 1px solid var(--blue);
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    animation: marquee 30s linear infinite;
}

.marquee-track span {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 4px;
    padding: 0 30px;
    display: inline-block;
}

.marquee-track span:nth-child(even) {
    color: var(--blue);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===== BASE COURSE INTRO ===== */
.base-course-intro {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 90px 0;
    text-align: center;
}

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

.base-course-icon {
    margin: 0 auto 30px;
    width: 120px;
    height: 120px;
}

.base-course-content h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.base-course-content p {
    font-size: 18px;
    color: var(--gray-light);
    line-height: 1.8;
}

/* ===== COURSE CONTENT ===== */
.course-content {
    background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy) 100%);
    padding: 80px 0;
}

.course-card {
    background: linear-gradient(145deg, #0F1F36 0%, #0A1628 100%);
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.course-card h2 {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.course-intro-text {
    text-align: center;
    color: var(--gray);
    font-size: 16px;
    margin-bottom: 40px;
}

.course-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.course-column h3 {
    color: var(--blue);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(30, 144, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-column h3 img {
    width: 24px;
    height: 24px;
}

.course-column ul li {
    color: var(--gray-light);
    font-size: 15px;
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.course-column ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-size: 10px;
    top: 12px;
}

.course-bottom {
    border-top: 1px solid rgba(30, 144, 255, 0.2);
    padding-top: 30px;
}

.course-bottom h3 {
    text-align: center;
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.course-bottom-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.course-bottom-item {
    background-color: rgba(30, 144, 255, 0.1);
    border: 1px solid rgba(30, 144, 255, 0.3);
    color: var(--gray-light);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.course-bottom-item:hover {
    background-color: rgba(30, 144, 255, 0.2);
    border-color: var(--blue);
}

/* ===== INVESTORS ===== */
.investors {
    background-color: var(--navy);
    padding: 80px 0;
}

.investors .section-title {
    color: var(--white);
}

.investors .section-subtitle {
    color: var(--gray);
}

.investors-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.investor-card {
    text-align: center;
    transition: all 0.3s ease;
}

.investor-card:hover {
    transform: translateY(-5px);
}

.investor-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 2px solid rgba(30, 144, 255, 0.2);
    transition: border-color 0.3s ease;
}

.investor-card:hover .investor-img {
    border-color: var(--blue);
}

.investor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.investor-name {
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== WHO WE ARE ===== */
.who-we-are {
    background-color: var(--white);
    padding: 80px 0;
}

.who-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.who-logo {
    margin-bottom: 30px;
}

.who-logo img {
    margin: 0 auto;
    height: 50px;
}

.who-content h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
}

.who-content > p {
    font-size: 18px;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 50px;
    text-align: left;
}

.who-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(10, 22, 40, 0.3);
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 15px;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--navy-dark);
    padding: 50px 0 30px;
}

.legal-text {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
}

.copyright {
    text-align: center;
    font-size: 14px;
    color: var(--gray-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--blue);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(30, 144, 255, 0.4);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--blue-dark);
    transform: translateY(-3px);
}

.scroll-top img {
    width: 24px;
    height: 24px;
}

/* ===== POPUP ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 13, 26, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.popup {
    background: linear-gradient(145deg, var(--white) 0%, var(--gray-light) 100%);
    padding: 40px;
    border-radius: 16px;
    max-width: 450px;
    width: 90%;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.popup-overlay.active .popup {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--gray-dark);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: var(--navy);
}

.popup h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.popup-subtitle {
    font-size: 15px;
    color: var(--gray-dark);
    margin-bottom: 24px;
}

.popup form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popup input {
    width: 100%;
    padding: 14px 16px;
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    color: var(--navy);
    font-size: 15px;
    transition: all 0.3s ease;
}

.popup input::placeholder {
    color: var(--gray);
}

.popup input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.popup .btn-primary {
    width: 100%;
    margin-top: 6px;
}

.success-message {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.success-message.active {
    display: block;
}

.success-message p:first-child {
    font-size: 20px;
    font-weight: 700;
    color: #2E7D32;
    margin-bottom: 8px;
}

.redirect-text {
    font-size: 15px;
    color: var(--gray-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 44px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        display: none;
    }

    .investors-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background-color: var(--navy);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 25px;
        gap: 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 40px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

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

    .course-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .course-card {
        padding: 30px 20px;
    }

    .investors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .who-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .who-content > p {
        font-size: 16px;
    }

    .marquee-track span {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .base-course-content h2,
    .course-card h2 {
        font-size: 28px;
    }

    .base-course-content p {
        font-size: 16px;
    }

    .popup {
        padding: 30px 20px;
    }

    .legal-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 30px;
    }

    .hero-badge {
        font-size: 11px;
    }

    .hero-announcement {
        font-size: 14px;
    }

    .investors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 24px;
    }

    .stat-number {
        font-size: 32px;
    }

    .marquee-track span {
        font-size: 18px;
    }

    .scroll-top {
        width: 42px;
        height: 42px;
        bottom: 20px;
        right: 20px;
    }

    .nav-logo img {
        height: 32px;
    }
}
