/* ============================================================
   AFC Competition - Main Stylesheet
   Pallete: Blue (#0a4da4, #0c4a6e), White (#fff), Pink accent (#d9467c)
   ============================================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #0a4da4;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #083a7a;
}

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.25;
    font-weight: 700;
    color: #0f172a;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.section-desc {
    font-size: 1.125rem;
    color: #475569;
    max-width: 680px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header .section-desc {
    margin: 0 auto;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0a4da4;
    margin-bottom: 12px;
    padding-left: 18px;
    position: relative;
}

.section-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 2px;
    background: #d9467c;
    transform: translateY(-50%);
}

.section-eyebrow-light {
    color: #d9467c;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    .section-desc {
        font-size: 1rem;
    }
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s ease;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

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

.navbar-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    object-fit: contain;
    border-radius: 8px;
}

.logo-text {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.375rem;
    font-weight: 800;
    color: #0a4da4;
    letter-spacing: -0.02em;
}

.mobile-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    padding: 4px 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0a4da4;
    transition: width 0.25s ease;
    border-radius: 1px;
}

.nav-link:hover {
    color: #0a4da4;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #0a4da4;
}

.btn-register-nav {
    align-items: center;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #1e293b;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* Mobile Menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: #fff;
    z-index: 1002;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.mobile-close {
    font-size: 1.75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    padding: 4px;
    line-height: 1;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 8px;
    font-size: 1.05rem;
    font-weight: 500;
    color: #1e293b;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover {
    background: #f1f5f9;
    color: #0a4da4;
}

.mobile-menu-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }
    .navbar-actions .btn-register-nav {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .mobile-menu-overlay,
    .mobile-menu {
        display: block;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .nav-list {
        gap: 20px;
    }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.925rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    gap: 8px;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 3px solid #0a4da4;
    outline-offset: 2px;
}

.btn-primary {
    background: #0a4da4;
    color: #fff;
    border-color: #0a4da4;
}

.btn-primary:hover {
    background: #083a7a;
    border-color: #083a7a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 77, 164, 0.25);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-primary:disabled,
.btn-primary.loading {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-outline {
    background: transparent;
    color: #0a4da4;
    border-color: #0a4da4;
}

.btn-outline:hover {
    background: #0a4da4;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 77, 164, 0.15);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-xs {
    padding: 6px 14px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: #f8fafc;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 77, 164, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 77, 164, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 90%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 90%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(10, 77, 164, 0.08);
    border: 1px solid rgba(10, 77, 164, 0.15);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0a4da4;
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: #0f172a;
}

.hero-highlight {
    color: #0a4da4;
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 12px;
    background: rgba(217, 70, 124, 0.16);
    z-index: -1;
    border-radius: 3px;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual / Logo + Geometric Accents */
.hero-visual {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-orbit {
    position: relative;
    width: 340px;
    height: 340px;
}

.hero-orbit::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1.5px dashed rgba(10, 77, 164, 0.35);
    border-radius: 50%;
    animation: orbit-spin 30s linear infinite;
}

.hero-logo-float {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logo-float 5s ease-in-out infinite;
}

.hero-logo-img {
    width: 240px;
    height: 240px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(10, 77, 164, 0.18));
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

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

.hero-shape {
    position: absolute;
    border-radius: 0;
}

.hero-shape-1 {
    top: -30px;
    right: -10px;
    width: 64px;
    height: 64px;
    border: 2.5px solid #0a4da4;
    opacity: 0.5;
    transform: rotate(45deg);
    animation: shape-pulse 4s ease-in-out infinite;
}

.hero-shape-2 {
    bottom: -20px;
    left: -20px;
    width: 90px;
    height: 90px;
    background: #0a4da4;
    opacity: 0.07;
    animation: shape-pulse 5s ease-in-out infinite 0.5s;
}

.hero-shape-3 {
    top: 40%;
    left: -50px;
    width: 44px;
    height: 44px;
    border: 2px solid #d9467c;
    opacity: 0.4;
    transform: rotate(15deg);
    animation: shape-pulse 4.5s ease-in-out infinite 1s;
}

.hero-shape-4 {
    bottom: 18%;
    right: -40px;
    width: 28px;
    height: 28px;
    background: #d9467c;
    opacity: 0.25;
    transform: rotate(45deg);
    animation: shape-pulse 3.5s ease-in-out infinite 1.5s;
}

.hero-shape-5 {
    top: 12%;
    left: 15%;
    width: 90px;
    height: 3px;
    background: #0a4da4;
    opacity: 0.18;
    transform: rotate(-35deg);
}

@keyframes shape-pulse {
    0%, 100% { transform: scale(1) rotate(45deg); opacity: var(--pulse-op, 0.5); }
    50% { transform: scale(1.15) rotate(45deg); opacity: calc(var(--pulse-op, 0.5) * 0.6); }
}

.hero-shape-3,
.hero-shape-4 {
    --pulse-op: 0.4;
}

.hero-shape-2 {
    --pulse-op: 0.07;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-visual {
        height: 420px;
    }
    .hero-orbit {
        width: 280px;
        height: 280px;
    }
    .hero-logo-img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .hero-visual {
        height: 300px;
        order: -1;
    }
    .hero-orbit {
        width: 240px;
        height: 240px;
    }
    .hero-logo-img {
        width: 170px;
        height: 170px;
    }
    .hero-shape-1 {
        top: -10px;
        right: 0;
    }
    .hero-shape-2 {
        bottom: 0;
        left: 0;
    }
    .hero-shape-3 {
        left: -10px;
    }
    .hero-shape-4 {
        right: -10px;
    }
}

/* --- Section --- */
.section {
    padding: 96px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }
}

/* --- About Section --- */
.about-section {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-content .section-title {
    margin-bottom: 20px;
}

.about-content .section-desc {
    margin-bottom: 40px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.about-goals,
.about-benefits {
    margin-bottom: 28px;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: #334155;
    line-height: 1.7;
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: #0a4da4;
    border-radius: 0;
    transform: rotate(45deg);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #0a4da4;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Categories Section --- */
.categories-section {
    background: #f8fafc;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px 24px;
    transition: all 0.25s ease;
}

.category-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.category-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 12px;
    margin-bottom: 20px;
}

.category-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
}

.category-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Flow Section --- */
.flow-section {
    background: #fff;
}

.flow-steps {
    max-width: 720px;
    margin: 0 auto;
}

.flow-step {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #f1f5f9;
}

.flow-step:last-child {
    border-bottom: none;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a4da4;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 10px;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #0f172a;
}

.step-desc {
    font-size: 0.925rem;
    color: #475569;
    line-height: 1.6;
}

/* --- PPDB Section --- */
.ppdb-section {
    background: #fff;
}

.ppdb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 920px;
    margin: 0 auto;
}

.ppdb-card {
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px 28px;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.ppdb-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.ppdb-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.ppdb-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.ppdb-badge-sma {
    background: #0a4da4;
    color: #fff;
}

.ppdb-badge-smp {
    background: #d9467c;
    color: #fff;
}

.ppdb-card-info {
    min-width: 0;
}

.ppdb-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.ppdb-location {
    font-size: 0.85rem;
    color: #64748b;
}

.ppdb-desc {
    font-size: 0.925rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
}

.ppdb-dropdown {
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

.ppdb-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.925rem;
    font-weight: 600;
    color: #0a4da4;
    transition: color 0.2s ease;
}

.ppdb-toggle:hover {
    color: #083a7a;
}

.ppdb-toggle:focus-visible {
    outline: 3px solid #0a4da4;
    outline-offset: 2px;
}

.ppdb-toggle-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.ppdb-dropdown.open .ppdb-toggle-icon {
    transform: rotate(180deg);
}

.ppdb-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.ppdb-dropdown.open .ppdb-dropdown-content {
    max-height: 400px;
    padding-bottom: 8px;
}

.ppdb-list {
    padding: 0;
}

.ppdb-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.6;
}

.ppdb-list li:last-child {
    margin-bottom: 0;
}

.ppdb-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 2px;
    background: #d9467c;
}

.ppdb-cta {
    width: 100%;
    margin-top: 20px;
}

.ppdb-grid .ppdb-card.reveal:nth-child(1) { transition-delay: 0.05s; }
.ppdb-grid .ppdb-card.reveal:nth-child(2) { transition-delay: 0.15s; }

@media (max-width: 768px) {
    .ppdb-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ppdb-card {
        padding: 28px 20px;
    }
}

/* --- CTA Section --- */
.cta-section {
    background: #f8fafc;
    text-align: center;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #0f172a;
}

.cta-desc {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 32px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 1.5rem;
    }
}

/* --- Page Header --- */
.page-header {
    padding: 140px 0 48px;
    background: #f8fafc;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: #0f172a;
}

.page-desc {
    font-size: 1.1rem;
    color: #475569;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-header {
        padding: 110px 0 32px;
    }
    .page-title {
        font-size: 1.75rem;
    }
}

/* --- Info Page --- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.info-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 10px;
    margin-bottom: 16px;
}

.info-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.info-value {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* --- About Detail --- */
.about-detailed {
    margin-bottom: 64px;
}

.about-text {
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.8;
    margin-bottom: 16px;
    max-width: 800px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.mission-item {
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.mission-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0a4da4;
}

.mission-item p {
    font-size: 0.925rem;
    color: #475569;
    line-height: 1.6;
}

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

/* --- FAQ --- */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #0a4da4;
}

.faq-question:focus-visible {
    outline: 3px solid #0a4da4;
    outline-offset: 2px;
}

.faq-arrow {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
}

/* --- Contact --- */
.contact-grid {
    display: flex;
    justify-content: center;
}

.contact-info-card {
    text-align: center;
    padding: 48px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
}

.contact-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 14px;
    margin: 0 auto 20px;
}

.contact-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-role {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 24px;
}

/* --- Form Styles --- */
.form-container {
    max-width: 720px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 40px;
}

.form-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.925rem;
    font-weight: 600;
    color: #1e293b;
}

.required {
    color: #d9467c;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    color: #1e293b;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    border-color: #0a4da4;
    box-shadow: 0 0 0 3px rgba(10, 77, 164, 0.1);
}

.form-input.is-invalid {
    border-color: #ef4444;
}

.form-input.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.helper-text {
    display: block;
    margin-top: 6px;
    font-size: 0.825rem;
    color: #64748b;
}

.error-text {
    display: block;
    margin-top: 6px;
    font-size: 0.825rem;
    color: #ef4444;
    font-weight: 500;
}

/* File Input */
.file-input-wrapper {
    position: relative;
    border: 2px dashed #e2e8f0;
    border-radius: 10px;
    transition: border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
    min-height: 140px;
}

.file-input-wrapper:hover {
    border-color: #0a4da4;
    background: #f8fafc;
}

.file-input-wrapper.is-invalid {
    border-color: #ef4444;
}

.file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

.file-input-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    text-align: center;
    gap: 12px;
    min-height: 140px;
}

.file-input-text {
    font-size: 0.9rem;
    color: #64748b;
}

.file-icon-default {
    opacity: 0.6;
}

/* --- File Preview --- */
.file-preview {
    display: none;
    position: relative;
    padding: 12px;
    min-height: 140px;
}

.file-input-wrapper.has-file .file-input-placeholder {
    display: none;
}

.file-input-wrapper.has-file .file-preview {
    display: block;
}

.file-preview-img {
    display: none;
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.file-preview-doc {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    min-height: 120px;
}

.file-preview-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    word-break: break-all;
}

.file-preview-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    justify-content: center;
}

.file-preview-btn {
    padding: 6px 18px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0a4da4;
    background: rgba(10, 77, 164, 0.08);
    border: 1px solid rgba(10, 77, 164, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-preview-btn:hover {
    background: #0a4da4;
    color: #fff;
}

.file-remove-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #94a3b8;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 10;
}

.file-remove-btn:hover {
    color: #ef4444;
    border-color: #fecaca;
    background: #fef2f2;
}

.file-preview-btn {
    position: relative;
    z-index: 10;
}

/* Checkbox */
.form-checkbox-group {
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #0a4da4;
    cursor: pointer;
}

.checkbox-text {
    font-size: 0.925rem;
    color: #334155;
    line-height: 1.6;
}

.form-submit-section {
    text-align: center;
}

/* Submit button states */
.btn-submit {
    min-width: 240px;
    position: relative;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-loading {
    display: none;
    align-items: center;
    gap: 8px;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline-flex;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* --- Alert --- */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.925rem;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

/* --- Success Section --- */
.success-section {
    padding: 160px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.success-card {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: success-pop 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes success-pop {
    0% { transform: scale(0); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.success-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #0f172a;
}

.success-subtitle {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 36px;
}

.success-code {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 36px;
}

.code-label {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}

.code-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0a4da4;
    letter-spacing: 0.05em;
    font-family: 'Courier New', monospace;
    margin-bottom: 8px;
}

.code-note {
    display: block;
    font-size: 0.825rem;
    color: #94a3b8;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.success-actions .btn {
    min-width: 280px;
}

/* --- Closed Registration --- */
.closed-card {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
    padding: 80px 0;
}

.closed-icon {
    margin-bottom: 24px;
}

.closed-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #0f172a;
}

.closed-desc {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 32px;
}

/* --- Footer --- */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #1e293b;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.logo-text-footer {
    color: #fff;
    font-size: 1.5rem;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #94a3b8;
    max-width: 320px;
}

.footer-heading {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-contact-item {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.footer-wa-link:hover {
    color: #22c55e;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.copyright {
    font-size: 0.85rem;
    color: #475569;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a4da4;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(10, 77, 164, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #083a7a;
    transform: translateY(-2px);
}

.back-to-top:focus-visible {
    outline: 3px solid #0a4da4;
    outline-offset: 2px;
}

/* --- Error Pages --- */
.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.error-container {
    text-align: center;
    max-width: 480px;
}

.error-code {
    display: block;
    font-size: 5rem;
    font-weight: 800;
    color: #0a4da4;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.error-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
}

.error-desc {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* --- Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger reveal for grids */
.categories-grid .category-card.reveal:nth-child(1) { transition-delay: 0.05s; }
.categories-grid .category-card.reveal:nth-child(2) { transition-delay: 0.12s; }
.categories-grid .category-card.reveal:nth-child(3) { transition-delay: 0.19s; }
.categories-grid .category-card.reveal:nth-child(4) { transition-delay: 0.26s; }

.flow-steps .flow-step.reveal:nth-child(1) { transition-delay: 0.05s; }
.flow-steps .flow-step.reveal:nth-child(2) { transition-delay: 0.12s; }
.flow-steps .flow-step.reveal:nth-child(3) { transition-delay: 0.19s; }
.flow-steps .flow-step.reveal:nth-child(4) { transition-delay: 0.26s; }
.flow-steps .flow-step.reveal:nth-child(5) { transition-delay: 0.33s; }

/* Hero entrance */
.hero-badge,
.hero-title,
.hero-subtitle,
.hero-actions {
    opacity: 0;
    transform: translateY(24px);
    animation: hero-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-title { animation-delay: 0.1s; }
.hero-subtitle { animation-delay: 0.22s; }
.hero-actions { animation-delay: 0.34s; }

@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-visual {
    opacity: 0;
    animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.15s;
}

/* --- prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-badge,
    .hero-title,
    .hero-subtitle,
    .hero-actions,
    .hero-visual {
        opacity: 1;
        transform: none;
        animation: none;
    }
    .hero-badge .badge-dot {
        animation: none;
    }
    .hero-orbit::before,
    .hero-logo-float,
    .hero-shape-1,
    .hero-shape-2,
    .hero-shape-3,
    .hero-shape-4 {
        animation: none;
    }
    .btn-primary:hover {
        transform: none;
    }
    .btn-outline:hover {
        transform: none;
    }
    .category-card:hover {
        transform: none;
    }
    .info-card:hover {
        transform: none;
        box-shadow: none;
    }
    .success-icon-wrapper {
        animation: none;
    }
    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }
}

/* --- Responsive Tables --- */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* --- Focus Visible --- */
:focus-visible {
    outline: 3px solid #0a4da4;
    outline-offset: 2px;
}

/* --- Selection --- */
::selection {
    background: rgba(10, 77, 164, 0.15);
    color: #0f172a;
}

/* --- Small Screen Refinements --- */
@media (max-width: 480px) {
    .success-actions .btn {
        min-width: 0;
        width: 100%;
    }
    .step-number {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    .flow-step {
        gap: 16px;
    }
    .stat-number {
        font-size: 2rem;
    }
    .about-stats {
        gap: 12px;
        padding: 12px;
    }
    .stat-card {
        padding: 14px;
    }
    .footer-contact-item {
        word-break: break-word;
    }
}
