/* Variables & Theming */
:root {
    --primary-color: #0c1f36;
    /* Deep Indigo / Navy */
    --secondary-color: #172a45;
    /* Lighter Navy */
    --gold-accent: #d4af37;
    /* Premium Gold */
    --gold-hover: #b5952f;
    --text-light: #f8f9fa;
    --text-dark: #2d3748;
    --bg-light: #f0f4f8;
    /* Light grayish blue */
    --bg-white: #ffffff;
    --accent-blue: #3182ce;
    --success-green: #38a169;
    --danger-red: #e53e3e;

    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;

    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);

    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* Typography Utilities */
.text-gold {
    color: var(--gold-accent);
}

.highlight {
    color: var(--primary-color);
}

.highlight-gold {
    color: var(--gold-accent);
}

.center {
    text-align: center;
}

.w-100 {
    width: 100%;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--secondary-color);
    box-shadow: 0 8px 15px rgba(12, 31, 54, 0.3);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold-accent);
    color: #000;
}

.btn-gold:hover {
    background: var(--gold-hover);
    box-shadow: 0 8px 15px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

/* Header & Glass Nav */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(12, 31, 54, 0.85);
    /* Dark base for better contrast */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-accent);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--gold-accent);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold-accent);
}

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

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    background: rgba(12, 31, 54, 0.6);
    padding: 15px 25px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: inline-block;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #555;
}

.section-light {
    background-color: var(--bg-light);
}

.section-dark {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.section-dark .section-header p {
    color: #cbd5e0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: var(--text-light);
    overflow: hidden;
    padding-top: 140px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    opacity: 0;
    visibility: hidden;
    transition: none;
    /* Sudden change */
}

.slide.active {
    opacity: 1;
    visibility: visible;
    animation: kenburns 15s linear infinite;
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid var(--gold-accent);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--gold-accent);
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--gold-accent);
    font-style: italic;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.trust-indicators {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
}

.trust-item h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-family: var(--font-main);
    color: var(--gold-accent);
}

.trust-item span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Glass Card Style */
.glass-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

/* PPIU / Legalitas Section */
.ppiu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.ppiu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.badge {
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.badge.verified {
    background-color: rgba(56, 161, 105, 0.1);
    color: var(--success-green);
    border: 1px solid var(--success-green);
}

.badge.hot {
    background-color: rgba(229, 62, 62, 0.1);
    color: var(--danger-red);
}

.ppiu-desc {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    min-height: 45px;
}

.ppiu-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-blue);
    font-weight: 500;
    font-size: 0.95rem;
}

.ppiu-link strong {
    color: var(--primary-color);
}

.ppiu-link:hover {
    text-decoration: underline;
}

/* AI Recommendation Form */
.bimbingan-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.bimbingan-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.bimbingan-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #cbd5e0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.feature-list i {
    color: var(--gold-accent);
    font-size: 1.25rem;
}

.bimbingan-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.form-step {
    animation: fadeIn 0.4s ease;
}

.form-step h3 {
    margin-bottom: 25px;
    font-family: var(--font-main);
    font-size: 1.4rem;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

.option-btn {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.option-btn input {
    margin-right: 15px;
    accent-color: var(--gold-accent);
    transform: scale(1.2);
}

.option-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.option-btn.selected {
    border-color: var(--gold-accent);
    background: rgba(212, 175, 55, 0.1);
}

/* Spinner */
.spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Result Content styling */
.ai-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--gold-accent);
}

.ai-card h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--gold-accent);
}

.ai-card p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* Real-Time Package Quota */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.package-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.pkg-header {
    padding: 30px 25px;
    color: var(--text-light);
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.pkg-header.ramadhan {
    background: linear-gradient(135deg, #0c1f36, #3182ce);
}

.pkg-header.hemat {
    background: linear-gradient(135deg, #2d3748, #4a5568);
}

.tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold-accent);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.tag-blue {
    background: var(--accent-blue);
    color: #fff;
}

.pkg-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    padding-right: 40px;
}

.pkg-header .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-accent);
    font-family: var(--font-main);
    margin-bottom: 5px;
}

.pkg-header .mitra {
    font-size: 0.85rem;
    opacity: 0.8;
}

.pkg-body {
    padding: 25px;
}

.pkg-features {
    margin-bottom: 25px;
}

.pkg-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #4a5568;
}

.pkg-features i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Quota Tracker */
.quota-tracker {
    margin-bottom: 15px;
    padding-top: 20px;
    border-top: 1px dashed #e2e8f0;
}

.quota-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.urgent {
    color: var(--danger-red);
}

.safe {
    color: var(--success-green);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #edf2f7;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--danger-red);
    border-radius: 10px;
    transition: width 1s ease;
}

.safe-fill {
    background: var(--success-green);
}

/* Seat Map Preview */
.seat-map-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-top: 15px;
    background: #f7fafc;
    padding: 10px;
    border-radius: 10px;
    justify-items: center;
}

.seat {
    width: 20px;
    height: 25px;
    background: #cbd5e0;
    border-radius: 4px 4px 8px 8px;
}

.seat.sold {
    background: #e53e3e;
    opacity: 0.5;
}

.pkg-footer {
    padding: 0 25px 25px 25px;
}

/* Video Commerce (FYP) */
.scrolling-video-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-accent) rgba(255, 255, 255, 0.1);
}

.scrolling-video-container::-webkit-scrollbar {
    height: 8px;
}

.scrolling-video-container::-webkit-scrollbar-thumb {
    background: var(--gold-accent);
    border-radius: 10px;
}

.video-card {
    min-width: 300px;
    height: 500px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    transition: var(--transition);
}

.video-card:hover {
    transform: scale(1.02);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    z-index: 2;
}

.live-badge,
.testimonial-badge,
.edu-badge {
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(5px);
}

.live-badge {
    background: rgba(229, 62, 62, 0.8);
}

.testimonial-badge {
    background: rgba(212, 175, 55, 0.8);
    color: #000;
}

.edu-badge {
    background: rgba(49, 130, 206, 0.8);
}

.video-text h4 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.video-text p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.btn-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    color: white;
    font-size: 4rem;
    opacity: 0.8;
    transition: var(--transition);
    cursor: pointer;
}

.video-card:hover .btn-icon {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

/* Footer */
footer {
    background-color: #050d1a;
    color: var(--text-light);
    padding: 80px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand p {
    margin: 20px 0;
    opacity: 0.7;
    max-width: 350px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold-accent);
    color: #000;
}

footer h4 {
    font-family: var(--font-main);
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--gold-accent);
}

footer ul li {
    margin-bottom: 12px;
}

footer ul li a {
    opacity: 0.7;
    transition: var(--transition);
    font-size: 0.95rem;
}

footer ul li a:hover {
    opacity: 1;
    color: var(--gold-accent);
}

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

/* Floating WA Widget */
#wa-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.btn-wa-floating {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.btn-wa-floating:hover {
    transform: scale(1.1);
}

#wa-menu {
    margin-bottom: 15px;
    padding: 20px;
    width: 320px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transform-origin: bottom right;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#wa-menu.hidden {
    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;
}

.wa-header {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 10px;
}

.wa-header h4 {
    color: var(--primary-color);
    font-family: var(--font-main);
    font-size: 1.1rem;
}

.wa-header p {
    font-size: 0.85rem;
    color: #666;
}

.wa-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wa-option-btn {
    text-align: left;
    padding: 12px 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    color: var(--text-dark);
}

.wa-option-btn i {
    color: #25d366;
    font-size: 1.2rem;
}

.wa-option-btn:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: #25d366;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Mobile Navigation Styles */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: 0.4s ease;
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

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

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .bimbingan-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

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

    .wa-menu {
        width: 90%;
        right: 5%;
    }
}

/* Better mobile padding and typography */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-badge {
        font-size: 0.8rem;
    }
}