/* LOKABASE PRISTINE & SHARP DESIGN SYSTEM */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0EA5E9;
    --primary-sharp: #0284C7;
    --primary-soft: rgba(14, 165, 233, 0.1);
    --bg-pristine: #FCFDFF;
    --text-deep: #0F172A;
    --text-dim: #64748B;
    --white: #FFFFFF;
    --glass-white: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(14, 165, 233, 0.1);
    --shadow-sharp: 0 4px 6px -1px rgba(0, 171, 236, 0.05), 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 25px 50px -12px rgba(14, 165, 233, 0.12);
    --border-sharp: 1px solid rgba(14, 165, 233, 0.15);
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --radius-lg: 24px;
    --radius-xl: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg-pristine);
    color: var(--text-deep);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Setup */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    filter: saturate(1.1) contrast(1.05);
    transform: scale(1.05);
    transition: var(--transition);
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.05) 0%, transparent 40%),
        linear-gradient(to bottom, rgba(252, 253, 255, 0.2), var(--bg-pristine) 90%);
}

.background-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary-soft) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

/* Typography Enhancements */
h1, h2, h3, .font-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.02em;
}

/* Header Sharp Styles */
header {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 4rem;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    height: 70px;
    background: rgba(252, 253, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: var(--border-sharp);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-deep);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1px;
}

.logo-icon {
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 8px;
    transform: rotate(45deg);
    position: relative;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
}

.logo span { color: var(--primary); }

.menu-btn {
    width: 44px;
    height: 44px;
    background: var(--white);
    border: var(--border-sharp);
    box-shadow: var(--shadow-sharp);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.menu-btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.1);
}

.menu-line {
    width: 18px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-btn:hover .menu-line:nth-child(1) { width: 12px; transform: translateX(3px); }
.menu-btn:hover .menu-line:nth-child(2) { width: 22px; }

/* Main Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 100px;
}

.tagline {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(15px);
    animation: slideUpFade 0.8s forwards 0.2s;
}

.hero-title {
    font-size: clamp(2.2rem, 7vw, 4.5rem);
    font-weight: 800;
    color: var(--text-deep);
    line-height: 1.05;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: slideUpFade 0.8s forwards 0.4s;
}

.hero-title span {
    color: var(--primary);
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(14, 165, 233, 0.1);
    z-index: -1;
    border-radius: 2px;
}

/* Countdown Refined (Luminescent Style Clear) */
.countdown-wrapper {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    opacity: 0;
    animation: slideUpFade 0.8s forwards 0.6s;
}

.countdown-box {
    background: var(--glass-white);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    padding: 2rem;
    border-radius: var(--radius-lg);
    min-width: 140px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sharp);
}

.countdown-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: var(--white);
}

.number {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-deep);
    display: block;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.2rem;
}

/* Luminescent Progress Bar Style */
.progress-container {
    width: 100%;
    max-width: 500px;
    margin-bottom: 4rem;
    opacity: 0;
    animation: slideUpFade 0.8s forwards 0.7s;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-deep);
}

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

.progress-bar-bg {
    height: 6px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 10px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-sharp));
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
}

.label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 2px;
}

/* Submission Sharp Form */
.sub-wrapper {
    width: 100%;
    max-width: 600px;
    padding: 8px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(14, 165, 233, 0.15);
    display: flex;
    border: var(--border-sharp);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideUpFade 0.8s forwards 0.8s;
}

.sub-wrapper input {
    flex: 1;
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    outline: none;
    font-weight: 500;
    color: var(--text-deep);
}

.sub-wrapper button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 3rem;
    border-radius: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.3);
}

.sub-wrapper button:hover {
    background: var(--primary-sharp);
    transform: scale(0.98);
}

.waitlist-text {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-weight: 500;
    opacity: 0;
    animation: fadeIn 1s forwards 1.2s;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    padding: 10rem 4rem 5rem;
    width: 100%;
}

.feature-item {
    background: var(--white);
    padding: 3.5rem 2.5rem;
    border-radius: 32px;
    border: var(--border-sharp);
    box-shadow: var(--shadow-sharp);
    text-align: left;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 60px -20px rgba(0, 0, 0, 0.08);
}

.icon-box {
    width: 64px;
    height: 64px;
    background: rgba(14, 165, 233, 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.icon-box svg { fill: var(--primary); width: 32px; }

.feature-item h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-deep); }
.feature-item p { color: var(--text-dim); line-height: 1.8; }

/* Custom SweetAlert Override */
.loka-swal-popup {
    border-radius: 32px !important;
    border: var(--border-sharp) !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.loka-swal-title {
    color: var(--text-deep) !important;
    font-weight: 800 !important;
    font-size: 1.8rem !important;
}

.loka-swal-confirm {
    background: var(--primary) !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    padding: 12px 30px !important;
}

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

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

/* Luminescent Footer Styles */
.footer-luminescent {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 3rem 4rem;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

.footer-left {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 32px;
    height: 32px;
    background: var(--glass-white);
    border: var(--glass-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.footer-right {
    text-align: right;
    color: var(--text-dim);
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 1px;
}

.footer-links {
    margin-top: 5px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    header {
        padding: 0 1.5rem;
        height: 70px;
        background: rgba(252, 253, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: var(--border-sharp);
    }
    
    .logo { font-size: 1.2rem; }
    .logo-icon { width: 26px; height: 26px; }

    main {
        padding: 80px 1.5rem 40px;
    }

    .tagline {
        font-size: 0.65rem;
        letter-spacing: 4px;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }

    .countdown-wrapper {
        gap: 0.75rem;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        max-width: 350px;
        margin-bottom: 2.5rem;
    }

    .countdown-box {
        min-width: unset;
        padding: 1.25rem 1rem;
        border-radius: 18px;
    }

    .number {
        font-size: 2rem;
    }

    .label {
        font-size: 0.6rem;
    }

    .progress-container {
        margin-bottom: 2.5rem;
        max-width: 100%;
        padding: 0 10px;
    }

    .sub-wrapper {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        border: none;
        gap: 12px;
        padding: 0;
        margin-bottom: 2rem;
    }

    .sub-wrapper input {
        width: 100%;
        background: var(--white);
        border: var(--border-sharp);
        border-radius: 16px;
        padding: 1rem;
        text-align: center;
    }

    .sub-wrapper button {
        width: 100%;
        padding: 1rem;
        border-radius: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        padding: 4rem 0 2rem;
        gap: 1.5rem;
    }

    .feature-item {
        padding: 2rem;
        border-radius: 24px;
    }

    .footer-luminescent {
        position: relative;
        flex-direction: column-reverse;
        align-items: center;
        gap: 24px;
        padding: 3rem 1.5rem;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .countdown-box {
        padding: 1rem 0.5rem;
    }
    
    .number {
        font-size: 1.6rem;
    }
}
