/* ==================== Reset & Base ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color System - Modern Elegant Dark */
    --bg-base: #0a0a0f;
    --bg-elevated: #12121a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.12);

    --text-primary: #f5f5f7;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;

    /* Accent Gradients */
    --accent-purple: #a78bfa;
    --accent-violet: #8b5cf6;
    --accent-cyan: #22d3ee;
    --accent-pink: #f472b6;
    --accent-amber: #fbbf24;
    --accent-emerald: #34d399;

    --gradient-primary: linear-gradient(135deg, #a78bfa 0%, #22d3ee 100%);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    --gradient-glow: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.25), transparent 50%);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);

    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* ==================== Background Effects ==================== */
.bg-gradient {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(139, 92, 246, 0.15), transparent),
        radial-gradient(ellipse 60% 50% at 90% 20%, rgba(34, 211, 238, 0.1), transparent),
        radial-gradient(ellipse 60% 50% at 10% 80%, rgba(244, 114, 182, 0.08), transparent);
    pointer-events: none;
    z-index: 0;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 30%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.bg-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #8b5cf6, transparent);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #22d3ee, transparent);
    top: 40%;
    right: -50px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #f472b6, transparent);
    bottom: 0;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ==================== Navbar ==================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.7);
    border-bottom: 1px solid var(--border-subtle);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.logo-mark {
    display: flex;
    align-items: center;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #0a0a0f;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-outline:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-purple);
}

.btn-ghost {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-purple);
}

/* ==================== Hero ==================== */
.hero {
    position: relative;
    z-index: 1;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 820px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
}

.stat {
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 4px;
}

/* ==================== Section Header ==================== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== Countdown ==================== */
.countdown-section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
    text-align: center;
}

.countdown-section .section-tag {
    margin-bottom: 16px;
}

.countdown-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.countdown-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 48px;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.countdown-card {
    min-width: 110px;
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.countdown-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.countdown-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.countdown-value {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
    font-weight: 500;
}

.countdown-separator {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--border-medium);
    line-height: 1;
}

.countdown-cta {
    max-width: 520px;
    margin: 0 auto;
}

.cta-input-wrap {
    display: flex;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 6px;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}

.cta-input-wrap:focus-within {
    border-color: var(--accent-purple);
}

.cta-input-wrap-center {
    max-width: 480px;
    margin: 0 auto 16px;
}

.cta-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 14px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 14px;
}

.cta-input::placeholder {
    color: var(--text-tertiary);
}

.cta-note {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ==================== Products PPOB ==================== */
.products-section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.product-filter {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-medium);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: #0a0a0f;
    border-color: transparent;
    font-weight: 600;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.product-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: all 0.25s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-medium);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.product-card.hidden {
    display: none;
}

.product-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-info {
    flex: 1;
    min-width: 0;
}

.product-info h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.product-info p {
    font-size: 12px;
    color: var(--text-tertiary);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-tag {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-purple);
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.products-footer {
    text-align: center;
    margin-top: 32px;
    padding: 16px;
    color: var(--text-tertiary);
    font-size: 14px;
}

.products-footer p {
    display: inline-block;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px dashed var(--border-medium);
    border-radius: 100px;
}

/* ==================== Features ==================== */
.features-section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-medium);
    transform: translateY(-4px);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-purple { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.icon-cyan { background: rgba(34, 211, 238, 0.15); color: var(--accent-cyan); }
.icon-pink { background: rgba(244, 114, 182, 0.15); color: var(--accent-pink); }
.icon-amber { background: rgba(251, 191, 36, 0.15); color: var(--accent-amber); }
.icon-emerald { background: rgba(52, 211, 153, 0.15); color: var(--accent-emerald); }
.icon-violet { background: rgba(167, 139, 250, 0.15); color: var(--accent-violet); }

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ==================== How It Works ==================== */
.how-section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 24px;
    align-items: start;
}

.step {
    text-align: center;
    padding: 32px 20px;
}

.step-number {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    line-height: 1;
}

.step h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
    margin-top: 56px;
    opacity: 0.4;
}

/* ==================== CTA Section ==================== */
.cta-section {
    position: relative;
    z-index: 1;
    padding: 80px 0 100px;
}

.cta-box {
    position: relative;
    padding: 64px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 60%);
    pointer-events: none;
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.cta-desc {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 540px;
    margin: 0 auto 32px;
}

.cta-trust {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-tertiary);
}

.trust-item svg {
    color: var(--accent-emerald);
}

/* ==================== Footer ==================== */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0 24px;
    background: rgba(10, 10, 15, 0.5);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-tagline {
    color: var(--text-tertiary);
    font-size: 14px;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent-purple);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    max-width: 1200px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 13px;
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all 0.2s;
}

.footer-social a:hover {
    color: var(--accent-purple);
    border-color: var(--accent-purple);
    background: var(--bg-card-hover);
}

/* ==================== Responsive ==================== */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

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

    .steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0 auto;
        background: linear-gradient(180deg, var(--accent-purple), var(--accent-cyan));
    }

    .countdown {
        gap: 8px;
    }

    .countdown-card {
        min-width: 80px;
        padding: 20px 12px;
    }

    .countdown-value {
        font-size: 36px;
    }

    .countdown-separator {
        display: none;
    }
}

@media (max-width: 600px) {
    .nav-cta {
        display: none;
    }

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

    .hero-stats {
        gap: 24px;
    }

    .stat-value {
        font-size: 26px;
    }

    .cta-input-wrap {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }

    .cta-input {
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
    }

    .cta-input-wrap .btn {
        justify-content: center;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
}