/* ==========================================================================
   Queensha Plastik - Under Construction Bright Premium CSS (Light Theme)
   Ultra-Flexible Mobile Responsive Design
   Brand Colors:
   - Queensha Blue: #0052B4 (Royal Deep Blue)
   - Eco Green: #00A859 (Emerald Vibrant Green)
   ========================================================================== */

:root {
    /* Brand Color Palette */
    --brand-blue: #0052B4;
    --brand-blue-light: #1A73E8;
    --brand-blue-glow: rgba(0, 82, 180, 0.15);
    
    --brand-green: #00A859;
    --brand-green-light: #009647;
    --brand-green-glow: rgba(0, 168, 89, 0.15);

    /* Background & Surfaces (Bright / Light Theme) */
    --bg-main: #F4F7FB;
    --bg-surface: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --border-glass: rgba(0, 82, 180, 0.1);
    --border-glass-light: rgba(0, 168, 89, 0.15);

    /* Typography (High Contrast Readability) */
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;

    /* Fonts */
    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 82, 180, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 168, 89, 0.12);
    --shadow-glow-blue: 0 8px 24px rgba(0, 82, 180, 0.25);
    --shadow-glow-green: 0 8px 24px rgba(0, 168, 89, 0.25);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

/* Ambient Soft Bright Glow Orbs */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;
    animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-1 {
    width: clamp(280px, 40vw, 500px);
    height: clamp(280px, 40vw, 500px);
    background: radial-gradient(circle, rgba(0, 82, 180, 0.2) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: clamp(250px, 35vw, 450px);
    height: clamp(250px, 35vw, 450px);
    background: radial-gradient(circle, rgba(0, 168, 89, 0.25) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: -6s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.15) 0%, transparent 70%);
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 30px) scale(1.1); }
}

/* Main Layout Wrapper */
.app-wrapper {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Top Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 82, 180, 0.08);
    gap: 12px;
}

.logo-container {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    padding: 8px 16px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 82, 180, 0.08);
    border: 1px solid rgba(0, 82, 180, 0.1);
    transition: var(--transition);
}

.logo-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 168, 89, 0.18);
}

.brand-logo {
    height: clamp(34px, 6vw, 48px);
    width: auto;
    object-fit: contain;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 168, 89, 0.1);
    border: 1px solid rgba(0, 168, 89, 0.3);
    color: var(--brand-green);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--brand-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-green);
    animation: pulse 1.8s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 168, 89, 0.6); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 168, 89, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 168, 89, 0); }
}

/* Hero Section */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 0 48px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 82, 180, 0.08);
    border: 1px solid rgba(0, 82, 180, 0.2);
    color: var(--brand-blue);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: clamp(0.75rem, 2.5vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    max-width: 100%;
}

.icon-spin {
    animation: spin 8s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 5.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.2;
    max-width: 900px;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
    color: #0F172A;
    word-break: break-word;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Time Summary Banner (30 Hari / 720 Jam) */
.time-summary-banner {
    width: 100%;
    max-width: 820px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 16px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 82, 180, 0.12);
    padding: 16px 24px;
    border-radius: 20px;
    margin-bottom: 36px;
    box-shadow: var(--shadow-md);
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.summary-item i {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    color: var(--brand-green);
    flex-shrink: 0;
}

.summary-item.highlight i {
    color: var(--brand-blue);
}

.summary-value {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 3.5vw, 1.4rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.summary-label {
    font-size: clamp(0.68rem, 2vw, 0.78rem);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.summary-divider {
    width: 1px;
    height: 28px;
    background: rgba(0, 82, 180, 0.12);
    flex-shrink: 0;
}

/* Live Countdown Grid */
.countdown-section {
    width: 100%;
    max-width: 820px;
    margin-bottom: 40px;
}

.section-tag {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    font-weight: 700;
    color: var(--brand-green);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(6px, 2vw, 16px);
    margin-bottom: 16px;
    width: 100%;
}

.timer-card {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    max-width: 160px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 82, 180, 0.15);
    border-radius: 16px;
    padding: clamp(12px, 3vw, 24px) clamp(4px, 1.5vw, 12px);
    box-shadow: 0 10px 30px rgba(0, 82, 180, 0.08);
    transition: var(--transition);
    overflow: hidden;
}

.timer-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-green);
    box-shadow: 0 14px 35px rgba(0, 168, 89, 0.15);
}

.timer-card.highlight-seconds {
    border-color: rgba(0, 82, 180, 0.3);
}

.card-inner {
    position: relative;
    z-index: 2;
}

.timer-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 6vw, 3.5rem);
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1;
    margin-bottom: 4px;
}

.timer-card.highlight-seconds .timer-number {
    color: var(--brand-green);
}

.timer-label {
    font-size: clamp(0.65rem, 2vw, 0.8rem);
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.timer-colon {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--brand-green);
    animation: blink 1s infinite;
    flex-shrink: 0;
}

@keyframes blink {
    50% { opacity: 0.3; }
}

.total-hours-counter {
    font-size: clamp(0.8rem, 2.5vw, 0.95rem);
    color: var(--text-secondary);
    background: #FFFFFF;
    padding: 8px 18px;
    border-radius: 30px;
    display: inline-block;
    border: 1px solid rgba(0, 82, 180, 0.1);
    box-shadow: var(--shadow-sm);
    font-weight: 500;
    max-width: 100%;
}

.total-hours-counter strong {
    color: var(--brand-green);
    font-weight: 700;
}

/* Progress Box */
.progress-box {
    width: 100%;
    max-width: 820px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 82, 180, 0.1);
    border-radius: 20px;
    padding: clamp(16px, 4vw, 24px);
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
}

.progress-track {
    width: 100%;
    height: 10px;
    background: #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-green) 100%);
    border-radius: 10px;
    transition: width 1s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 168, 89, 0.3);
}

.progress-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    text-align: left;
}

.step {
    font-size: clamp(0.72rem, 2vw, 0.8rem);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.step.completed {
    color: var(--brand-green);
    font-weight: 700;
}

.step.active {
    color: var(--brand-blue);
    font-weight: 700;
}

/* Subscription Form */
.subscribe-card {
    width: 100%;
    max-width: 720px;
    background: linear-gradient(135deg, rgba(0, 82, 180, 0.05) 0%, rgba(0, 168, 89, 0.08) 100%);
    border: 1px solid rgba(0, 168, 89, 0.2);
    border-radius: 20px;
    padding: clamp(24px, 5vw, 36px) clamp(16px, 4vw, 28px);
    margin-bottom: 48px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.subscribe-content h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 3.5vw, 1.4rem);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-primary);
}

.subscribe-content p {
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.subscribe-form {
    width: 100%;
}

.input-group {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid rgba(0, 82, 180, 0.2);
    border-radius: 50px;
    padding: 6px 8px 6px 18px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.input-group:focus-within {
    border-color: var(--brand-green);
    box-shadow: 0 0 15px rgba(0, 168, 89, 0.2);
}

.input-icon {
    color: var(--text-muted);
    font-size: 1rem;
    margin-right: 10px;
    flex-shrink: 0;
}

.input-group input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.input-group input::placeholder {
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-green) 0%, #009647 100%);
    color: #FFFFFF;
    box-shadow: var(--shadow-glow-green);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 168, 89, 0.4);
}

.btn-outline {
    background: #FFFFFF;
    border: 1px solid rgba(0, 82, 180, 0.2);
    color: var(--brand-blue);
    box-shadow: var(--shadow-sm);
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-outline:hover {
    background: var(--brand-blue);
    color: #FFFFFF;
    border-color: var(--brand-blue);
}

.form-message {
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    min-height: 24px;
}

.form-message.success {
    color: var(--brand-green);
}

.form-message.error {
    color: #E53E3E;
}

/* Features Grid */
.features-section {
    width: 100%;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 4vw, 1.6rem);
    margin-bottom: 24px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.feature-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 82, 180, 0.1);
    border-radius: 18px;
    padding: 24px 18px;
    text-align: left;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 168, 89, 0.3);
    box-shadow: 0 14px 30px rgba(0, 82, 180, 0.12);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.feature-icon.green {
    background: rgba(0, 168, 89, 0.1);
    color: var(--brand-green);
    border: 1px solid rgba(0, 168, 89, 0.2);
}

.feature-icon.blue {
    background: rgba(0, 82, 180, 0.1);
    color: var(--brand-blue);
    border: 1px solid rgba(0, 82, 180, 0.2);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Footer */
.footer {
    padding: 28px 0;
    border-top: 1px solid rgba(0, 82, 180, 0.08);
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 16px;
}

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

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

/* Modal Window */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 16px;
}

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

.modal-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 82, 180, 0.15);
    border-radius: 20px;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px 20px;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #F1F5F9;
    border: none;
    color: var(--text-secondary);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: #E2E8F0;
    color: var(--text-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-logo {
    height: 40px;
    background: #FFFFFF;
    padding: 4px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 82, 180, 0.1);
    margin-bottom: 12px;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.modal-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #F8FAFC;
    border: 1px solid rgba(0, 82, 180, 0.08);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.contact-option:hover {
    background: #FFFFFF;
    border-color: var(--brand-green);
    box-shadow: 0 6px 20px rgba(0, 168, 89, 0.12);
    transform: translateX(4px);
}

.contact-option .icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-option.wa .icon {
    background: rgba(37, 211, 102, 0.15);
    color: #128C7E;
}

.contact-option.email .icon {
    background: rgba(0, 82, 180, 0.15);
    color: var(--brand-blue);
}

.contact-option.location .icon {
    background: rgba(0, 168, 89, 0.15);
    color: var(--brand-green);
}

.contact-option .info {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 0;
}

.contact-option .info strong {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.contact-option .info span {
    font-size: 0.78rem;
    color: var(--text-muted);
    word-break: break-all;
}

.contact-option .arrow {
    color: var(--text-muted);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: 400px;
    margin: 0 auto;
    background: var(--brand-green);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 168, 89, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: 2000;
    text-align: center;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Breakpoints
   ========================================================================== */

@media (max-width: 640px) {
    .navbar {
        padding: 16px 0;
    }
    
    .status-badge {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
    
    .btn-outline {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .time-summary-banner {
        padding: 12px 14px;
        gap: 8px;
    }

    .summary-item {
        gap: 6px;
    }

    .input-group {
        flex-direction: column;
        border-radius: 20px;
        padding: 12px;
        gap: 10px;
    }

    .input-group input {
        width: 100%;
        text-align: center;
        padding: 4px 0;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
        border-radius: 25px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 400px) {
    .timer-colon {
        display: none;
    }
    
    .countdown-grid {
        gap: 6px;
    }

    .timer-card {
        padding: 10px 2px;
    }

    .time-summary-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .summary-divider {
        width: 100%;
        height: 1px;
    }

    .summary-item {
        justify-content: center;
    }
}
