/* CSS Variables & Reset */
:root {
    --primary-color: #2563EB;
    --primary-glow: rgba(37, 99, 235, 0.4);
    --secondary-color: #F8FAFC;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --bg-white: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(255, 255, 255, 0.2);

    /* Spacing & Radius */
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --spacing-xl: 120px;
    --spacing-xxl: 160px;
    --spacing-lg: 80px;
    --spacing-md: 32px;
    --spacing-sm: 20px;
    --spacing-xs: 12px;

    /* Fonts */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Background Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: blur(80px);
    opacity: 0.4;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: move 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    background: #3b82f6;
    animation-duration: 25s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    background: #60a5fa;
    animation-duration: 30s;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    background: #93c5fd;
    animation-duration: 35s;
    animation-delay: -10s;
}

@keyframes move {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(100px, 150px) scale(1.1);
    }

    66% {
        transform: translate(-100px, 80px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

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

/* Syncing Animation for Rows */
@keyframes highlightPulse {
    0% {
        background-color: rgba(37, 99, 235, 0.2);
    }

    100% {
        background-color: transparent;
    }
}

/* Registration Form Enhancements */
.form-group input {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(15, 23, 42, 0.1);
    padding: 16px 20px;
}

.form-group input:focus {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.05);
}

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

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.05);
}

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

.hidden {
    display: none !important;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: sticky;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 24px;
    color: var(--text-main);
}

.logo-img {
    height: 42px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Modern Countdown */
.countdown-container {
    background: rgba(15, 23, 42, 0.02);
    padding: 30px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(15, 23, 42, 0.05);
    display: inline-block;
}

.countdown-items {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.count-box {
    background: #ffffff;
    width: 90px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.count-box span {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
}

.count-box small {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 4px;
}

/* Hero Section */
.hero {
    padding: var(--spacing-xl) 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }

    50% {
        transform: translateY(-30px) translateX(20px);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
    color: var(--primary-color);
    /* border-radius: 9999px; moved to next line */
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    border: 1px solid rgba(37, 99, 235, 0.3);
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
        transform: scale(1.02);
    }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.05rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--secondary-text);
    margin-bottom: var(--spacing-lg);
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.hero-image {
    display: flex;
    justify-content: flex-end;
    /* Align to the right for better balance */
    align-items: center;
}

.image-wrapper {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1;
    /* Force a professional square-ish look */
    position: relative;
    padding: 10px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.hero-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fill the container completely */
    border-radius: calc(var(--radius-lg) - 5px);
    display: block;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation: floatImage 6s ease-in-out infinite;
}

.hero-image:hover .hero-img-main {
    transform: scale(1.05) translateY(-5px);
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}



/* Info Section */
.info-section {
    padding: var(--spacing-lg) 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    /* Increased gap */
}

.info-card {
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.info-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.info-card h3 {
    font-size: 1rem;
    color: var(--secondary-text);
    margin-bottom: 0.25rem;
}

.info-card p {
    font-weight: 600;
    color: var(--text-color);
}

/* Participants Section - Absolute Geometric Perfection */
.participants-section {
    padding: var(--spacing-xxl) 0;
    background: #ffffff;
}

.participants-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Changed to center for better balance */
    margin-bottom: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
}

.participants-header .section-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.02em;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Standard left alignment for stats */
}

.stat-label {
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}

.stat-divider {
    width: 1px;
    height: 28px;
    background: #e2e8f0;
}

/* Precision Container */
.precision-table-container {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.table-controls-bar {
    display: grid;
    grid-template-columns: 1fr auto 1.2fr;
    /* Symmetric grid */
    align-items: center;
    padding: 16px 24px;
    background: #fafafa;
    border-bottom: 1px solid #f1f5f9;
    gap: 24px;
}

.search-box {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.input-control {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 10px 14px 10px 42px;
    border-radius: 8px;
    font-size: 14px;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
}

.input-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.smart-summary-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.ai-pulse {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-ring 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

#smartSummaryText {
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.select-control {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    color: #475569;
    outline: none;
    cursor: pointer;
}

/* Section Headers */
.text-center {
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 16px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Materi Section */
.materi-section {
    padding: var(--spacing-xxl) 0;
    background: #fcfdfe;
}

.materi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    /* Increased gap */
    margin-top: 60px;
}

.materi-card {
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 40px 32px;
    border-radius: 20px;
    border: 1px solid var(--border-glass);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.materi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
    border-color: #2563eb;
}

.materi-num {
    font-size: 12px;
    font-weight: 800;
    color: #2563eb;
    background: #eff6ff;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 24px;
}

.materi-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
}

.materi-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* Table Design Specification */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    /* Geometry Lock */
}

/* Column Width Specification (Geometric Perfect) */
.col-num {
    width: 70px;
}

.col-id {
    width: 180px;
}

.col-name {
    width: 280px;
}

.col-agency {
    width: auto;
}

.col-status {
    width: 140px;
}

.table th {
    padding: 18px 24px;
    background: #ffffff;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #f1f5f9;
}

.table td {
    padding: 20px 24px;
    border-bottom: 1px solid #f8fafc;
    font-size: 14px;
    color: #334155;
    vertical-align: middle;
    /* Vertical Center Lock */
    white-space: nowrap;
    /* Prevent messy wrapping */
    overflow: hidden;
    text-overflow: ellipsis;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr:hover td {
    background-color: #fcfdfe;
}

/* Badges Minimal */
.status-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.status-lunas {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #d1fae5;
}

.status-pending {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #ffedd5;
    animation: pulseBadge 2s infinite;
}

.status-expired {
    background: #f8fafc;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
    text-decoration: line-through;
}

@keyframes pulseBadge {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.row-unpaid {
    background-color: #fffafb;
}

.empty-state {
    padding: 40px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}




/* Footer */
.footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: #e2e8f0;
    padding: var(--spacing-xl) 0 0;
    position: relative;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: var(--spacing-md);
    color: white;
    font-weight: 600;
}

.footer-column h3 {
    font-size: 1.5rem;
}

.footer-column h4 {
    font-size: 1.1rem;
}

/* Brand Column */
.footer-brand p {
    color: #cbd5e0;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--spacing-sm);
}

.footer-logo-img {
    height: 50px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

.footer-brand .dot {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 32px;
    /* Super expansive spacing */
    margin-top: var(--spacing-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e2e8f0;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Links Column */
.footer-links-col ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-col li {
    margin-bottom: 0.75rem;
}

.footer-links-col a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links-col a::before {
    content: "→";
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links-col a:hover {
    color: var(--primary-color);
    padding-left: 20px;
}

.footer-links-col a:hover::before {
    opacity: 1;
    left: 0;
}

/* Contact Column */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #cbd5e0;
    font-size: 0.95rem;
}

.footer-contact li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary-color);
}

.footer-contact li span {
    line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
    padding: var(--spacing-md) 0;
    text-align: center;
}

.footer-bottom p {
    color: #a0aec0;
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 var(--spacing-sm);
    }

    .nav {
        display: none;
        /* Add JS toggle for mobile menu later if needed, simple for now */
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-pattern {
        height: 250px;
        margin-top: var(--spacing-md);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

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

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

    .footer-contact li {
        justify-content: center;
        text-align: left;
    }
}

/* Countdown Timer */
.countdown-container {
    margin: var(--spacing-md) 0;
    max-width: 400px;
}

.countdown-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary-text);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.countdown-items {
    display: flex;
    gap: var(--spacing-sm);
}

.count-box {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    min-width: 70px;
    border: 1px solid var(--border-color);
}

.count-box span {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.count-box small {
    font-size: 0.625rem;
    color: var(--secondary-text);
    text-transform: uppercase;
    font-weight: 600;
}

/* Registration Section */
.registration-section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.registration-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-glass);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
}

.registration-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.registration-header h2 {
    margin-bottom: 0.5rem;
}

.registration-header p {
    color: var(--secondary-text);
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
}

.form-group input {
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

/* Reveal on Scroll Core */
[data-reveal] {
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="fade-up"] {
    transform: translateY(30px);
}

[data-reveal="fade-right"] {
    transform: translateX(-30px);
}

[data-reveal="fade-left"] {
    transform: translateX(30px);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* Success Overlay */
.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all 0.5s ease;
}

.success-content {
    padding: 40px;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    font-size: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px var(--primary-glow);
    animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-loader {
    width: 100%;
    height: 4px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 2px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.success-loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: var(--primary-color);
    animation: loaderProgress 2s ease-in-out forwards;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes loaderProgress {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .registration-card {
        padding: var(--spacing-md);
    }
}

/* Payment Modal Bridge */
.payment-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(50px);
    backdrop-filter: blur(50px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    border-radius: var(--radius-xl);
    transition: all 0.5s ease;
}

.payment-card {
    width: 100%;
    max-width: 450px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    border: 1px solid var(--border-glass);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.payment-header {
    text-align: center;
    margin-bottom: 30px;
}

.payment-header h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
}

.payment-timer {
    background: #fffbeb;
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid #fde68a;
    display: inline-block;
}

.timer-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: #92400e;
    font-weight: 700;
}

.timer-value {
    font-size: 24px;
    font-weight: 800;
    color: #b45309;
    font-family: monospace;
}

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

.payment-option {
    padding: 14px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: white;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.payment-option.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.payment-detail {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    margin-bottom: 30px;
    text-align: center;
}

.qris-img {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.placeholder-qris {
    filter: grayscale(1) opacity(0.3);
    border: 2px dashed #cbd5e0;
}

.bank-box {
    text-align: left;
}

.bank-name {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 700;
}

.bank-acc {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.bank-owner {
    font-size: 12px;
    color: var(--text-muted);
}

.payment-footer .footer-note {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 16px;
    text-align: center;
    font-style: italic;
}

/* Proof of Payment Upload */
.payment-upload-section {
    margin-bottom: 24px;
    text-align: left;
}

.upload-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upload-area {
    display: block;
    width: 100%;
    height: 120px;
    border: 2px dashed rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.upload-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #94a3b8;
}

.upload-placeholder svg {
    color: var(--primary-color);
}

.upload-placeholder span {
    font-size: 13px;
    font-weight: 600;
}

.proof-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

/* Mega Overhaul: Daftar Sekarang */
.registration-section {
    position: relative;
    overflow: hidden;
}

.registration-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
    animation: pulseGlow 10s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

.mega-card {
    background: rgba(255, 255, 255, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.05),
        inset 0 0 20px rgba(255, 255, 255, 0.5) !important;
    position: relative;
    z-index: 1;
    overflow: visible !important;
}

.mega-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), transparent 40%, transparent 60%, rgba(255, 255, 255, 0.8));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    animation: securePulse 2s infinite;
}

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

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.floating-group {
    position: relative;
    margin-bottom: 30px;
}

.floating-group input {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-group label {
    position: absolute;
    left: 20px;
    top: 18px;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.3s ease;
}

.floating-group input:focus~label,
.floating-group input:not(:placeholder-shown)~label {
    top: -12px;
    left: 14px;
    font-size: 12px;
    font-weight: 800;
    color: var(--primary-color);
    background: white;
    padding: 0 8px;
    border-radius: 4px;
}

.input-glow {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    pointer-events: none;
    box-shadow: 0 0 0 0 var(--primary-glow);
    transition: all 0.4s ease;
}

.floating-group input:focus {
    background: white !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.floating-group input:focus~.input-glow {
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-mega {
    position: relative;
    overflow: hidden;
    padding: 18px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: rotate(45deg);
    animation: btnShine 3s infinite;
}

@keyframes btnShine {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

/* Spectral Glow */
.spectral-glow {
    position: fixed;
    top: 20%;
    right: 10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    animation: spectralBreath 15s infinite alternate;
}

@keyframes spectralBreath {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    100% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

/* Tools Marquee */
.tools-marquee-container {
    background: var(--bg-glass);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: 30px 0;
    overflow: hidden;
    position: relative;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marqueeMove 30s linear infinite;
    gap: 80px;
    align-items: center;
}

.marquee-track span {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-muted);
    opacity: 0.4;
    letter-spacing: 4px;
    transition: all 0.3s ease;
}

.marquee-track span:hover {
    opacity: 1;
    color: var(--primary-color);
}

@keyframes marqueeMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-xxl) 0;
    background: rgba(248, 250, 252, 0.5);
}

.faq-grid {
    max-width: 800px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
}

.faq-question h4 {
    font-size: 18px;
    font-weight: 700;
}

.faq-plus {
    font-size: 24px;
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 32px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-muted);
}

.faq-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color) !important;
}

.faq-card.active .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

/* Mega Mobile Overhaul v2 - Luxury Precision */
@media (max-width: 991px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
        line-height: 1.1;
        margin-bottom: 20px;
        background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .hero p {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 10px;
    }

    .hero-image {
        justify-content: center;
    }

    .image-wrapper {
        max-width: 320px;
    }

    /* Compact Luxury Countdown */
    .countdown-container {
        padding: 20px;
        width: 100%;
        max-width: 340px;
        margin: 30px auto;
        background: var(--bg-glass);
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
    }

    .countdown-title {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .countdown-items {
        gap: 12px;
        justify-content: center;
    }

    .count-box {
        width: 70px;
        height: 75px;
        border-radius: 12px;
    }

    .count-box span {
        font-size: 24px;
    }

    .count-box small {
        font-size: 9px;
    }

    /* Button Realignment */
    .hero-btns {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 40px auto 0;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 18px 20px;
    }

    .btn-secondary {
        background: rgba(255, 255, 255, 0.8);
        color: var(--text-main);
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(15, 23, 42, 0.1);
    }

    .header-container {
        padding: 0 20px;
    }

    .hamburger {
        display: flex;
        z-index: 100001;
        padding: 10px;
        margin-right: -10px;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(40px);
        backdrop-filter: blur(40px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: all 0.6s cubic-bezier(0.85, 0, 0.15, 1);
        z-index: 100000;
        visibility: hidden;
        opacity: 0;
    }

    .nav.active {
        right: 0;
        visibility: visible;
        opacity: 1;
    }

    .nav.active .nav-link,
    .nav.active .btn {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-link,
    .nav .btn {
        font-size: 24px;
        font-weight: 800;
        transform: translateY(30px);
        opacity: 0;
        transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .nav .btn {
        font-size: 18px;
        width: auto;
        min-width: 200px;
    }

    .nav-list li:nth-child(1) .nav-link {
        transition-delay: 0.1s;
    }

    .nav-list li:nth-child(2) .nav-link {
        transition-delay: 0.15s;
    }

    .nav-list li:nth-child(3) .nav-link {
        transition-delay: 0.2s;
    }

    .nav-list li:nth-child(4) .nav-link {
        transition-delay: 0.25s;
    }

    .nav .btn {
        transition-delay: 0.3s;
    }

    .nav-list {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        list-style: none;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    /* Cards - Luxury Stack */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .materi-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mega-card {
        padding: 30px 20px;
    }

    .faq-grid {
        margin-top: 40px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h4 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }

    .registration-section {
        padding: 60px 0;
    }

    .registration-card {
        padding: 40px 15px;
    }

    .table-responsive {
        margin: 0 -15px;
        padding: 0 15px;
    }

    .tools-marquee-container {
        padding: 20px 0;
    }

    .marquee-track span {
        font-size: 18px;
    }
}

.no-scroll {
    overflow: hidden;
}