/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* CSS Variables untuk Tema Baru */
:root {
    --bg-light: #f0f4f8;
    --navy-dark: #02002e; /* Warna Navy dari Anda */
    --blue-accent: #0d1b3e; /* Disesuaikan agar gradien tetap terlihat */
    --white: #ffffff;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --header-height: 70px;
}

/* Reset dan Gaya Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-light);
    line-height: 1.6;
}

/* Style untuk Layar Pemuatan */
#loading-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--blue-accent) 100%);
    transition: opacity 0.8s ease-out;
}
.loading-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}
.loading-icon {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 72px;
    color: white;
    opacity: 0;
    transform: scale(0.7) rotate(-15deg);
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.loading-icon.active {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    transition: opacity 0.6s ease-in, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes pulse-text {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}
#loading-text {
    color: #dbeafe;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    animation: pulse-text 2s infinite ease-in-out;
}
#main-content {
    opacity: 0;
    transition: opacity 1s ease-in;
}

/* Header & Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: var(--header-height);
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--blue-accent) 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.3s;
}

.nav-branding {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-size: 1rem;
    color: #dbeafe; /* Light blue */
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: var(--white);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--white);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--blue-accent) 100%);
    color: var(--white);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #dbeafe;
    margin: 0 auto 2.5rem auto;
    max-width: 600px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--white);
    color: var(--navy-dark);
    border: 2px solid var(--white);
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--white);
}

/* Sections General */
.features-section, .packages-section {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 60px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--navy-dark);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Packages Section */
.packages-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 30px;
}

.package-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.package-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 15px;
}

.speed {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.speed span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.price {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 25px;
}
.price span {
    font-size: 0.9rem;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.features-list li i {
    color: #22c55e; /* Green check */
    margin-right: 10px;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background-color: transparent;
    color: var(--navy-dark);
    border: 2px solid var(--navy-dark);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--navy-dark);
    color: var(--white);
}

.package-card.recommended {
    border: 3px solid var(--navy-dark);
    transform: scale(1.05);
    position: relative;
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy-dark);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--blue-accent) 100%);
    padding: 80px 5% 30px;
    color: #dbeafe;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer h4 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-about p {
    margin-bottom: 20px;
}

.social-icons a {
    color: #dbeafe;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s;
}
.social-icons a:hover {
    color: var(--white);
}

.footer-links ul, .footer-contact ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: #dbeafe;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}
.footer-contact i {
    margin-right: 12px;
    margin-top: 5px;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Animasi Fade-in */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

/* Responsif */
@media (max-width: 768px) {
    .section-title { font-size: 2.2rem; }
    
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--navy-dark);
        width: 100%;
        height: calc(100vh - var(--header-height));
        text-align: center;
        transition: 0.3s;
        gap: 0;
    }
    .nav-item { width: 100%; }
    .nav-link { display: block; padding: 1.5rem 0; }
    .nav-link:hover { background-color: rgba(255,255,255,0.05); }
    .nav-menu.active { left: 0; }

    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .footer-container { text-align: center; }
    .footer-contact ul li { justify-content: center; }
}