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

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: #1a2540;
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 28px;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 34px;
    object-fit: contain;
}

.btn-nav {
    background: #ff125d;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 26px;
    border-radius: 50px;
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 18, 93, 0.42);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 64px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('assets/hero-bg1.png') center center / cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(160, 235, 252, 0.25) 0%,
        rgba(14, 181, 203, 0.05) 40%,
        rgba(10, 140, 190, 0.35) 100%
    );
    z-index: 1;
}

/* Floating decorations */
.deco {
    position: absolute;
    pointer-events: none;
    z-index: 5;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.2));
}

.deco-bolt-l {
    width: 52px;
    top: 22%;
    left: 6%;
    animation: boltFloat 4s ease-in-out infinite;
}

.deco-bolt-r {
    width: 72px;
    top: 30%;
    right: 6%;
    animation: boltFloat 3.5s ease-in-out infinite reverse;
}

.deco-bell {
    width: 64px;
    bottom: 18%;
    right: 8%;
    animation: bellSwing 3.3s ease-in-out infinite;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 24px 80px;
    max-width: 860px;
    width: 100%;
}

.hero-pill {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    padding: 8px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1a2540;
    margin-bottom: 28px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.hero-title {
    width: 100%;
    max-width: 660px;
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.28));
    animation: titleFloat 3.5s ease-in-out infinite;
    margin-bottom: 22px;
}

.hero-tagline {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a2540;
    line-height: 1.45;
    margin-bottom: 32px;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.6);
}

.btn-hero {
    background: #ff125d;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px 48px;
    border-radius: 50px;
    box-shadow: 0 8px 26px rgba(255, 18, 93, 0.42);
    transition: transform 0.15s, box-shadow 0.15s;
    margin-bottom: 26px;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(255, 18, 93, 0.52);
}

.hero-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.hbadge {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #1a2540;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* =====================================================
   BENEFITS STRIP
   ===================================================== */
.benefits-strip {
    background: #fff;
    border-radius: 28px 28px 0 0;
    margin-top: -28px;
    position: relative;
    z-index: 20;
    padding: 44px 0;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.08);
}

.benefits-grid {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 16px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    flex: 1;
}

.b-icon  { font-size: 2.8rem; line-height: 1; }
.b-label { font-size: 0.84rem; font-weight: 600; color: #1a2540; line-height: 1.4; }

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about {
    background: #fff;
    padding: 80px 0;
    border-top: 1px solid #f0f4f8;
}

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

.chip {
    display: inline-block;
    background: #e6f4ff;
    color: #0076a8;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: 0.2px;
}

.about-left h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #1a2540;
    line-height: 1.2;
    margin-bottom: 18px;
}

.about-left p {
    font-size: 0.95rem;
    color: #5a6a7e;
    line-height: 1.7;
    margin-bottom: 14px;
}

.about-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 32px;
    border-radius: 20px;
    background: #f8fbff;
}

.about-logo-tnt    { height: 34px; object-fit: contain; }
.about-title       { width: 100%; max-width: 320px; }
.about-logo-tiktok { height: 38px; object-fit: contain; }

/* =====================================================
   WHY JOIN + EVENT DETAIL
   ===================================================== */
.why-section {
    background: #f4f8ff;
    padding: 80px 0;
}

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

.why-left h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #1a2540;
    margin-bottom: 30px;
}

.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.95rem;
    color: #3a4e6e;
    line-height: 1.55;
}

.checklist li::before {
    content: '✓';
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: #0eb5cb;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    margin-top: 1px;
}

/* Detail Card */
.detail-card {
    background: linear-gradient(140deg, #12c3db 0%, #0076a8 100%);
    border-radius: 24px;
    padding: 32px 28px 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 52px rgba(14, 181, 203, 0.32);
}

.card-megaphone {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 100px;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.chip-glass {
    display: inline-block;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 22px;
    letter-spacing: 0.2px;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.detail-row img {
    width: 46px;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.18));
}

.d-label {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.d-value {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 2px;
}

.slot-tag {
    display: inline-block;
    background: #ff125d;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 10px 26px;
    border-radius: 30px;
    margin-top: 6px;
    box-shadow: 0 6px 18px rgba(255, 18, 93, 0.4);
}

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-banner {
    background: linear-gradient(135deg, #0eb5cb 0%, #0076a8 100%);
    padding: 60px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    gap: 32px;
}

.cta-deco-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
}

.cta-emoji       { font-size: 2.6rem; line-height: 1; display: block; }
.cta-emoji.small { font-size: 1.8rem; }

.cta-text { flex: 1; }

.cta-text h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 10px;
}

.cta-text .yellow { color: #ffe656; }

.cta-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.55;
}

.cta-action {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.btn-cta {
    background: #ff125d;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 38px;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(255, 18, 93, 0.42);
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 18, 93, 0.52);
}

.cta-notes {
    display: flex;
    gap: 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.cta-bolt {
    flex-shrink: 0;
    width: 68px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.2));
    animation: boltFloat 4s ease-in-out infinite;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: #0d1b2e;
    padding: 56px 0 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr;
    gap: 40px;
}

.footer-logo {
    height: 34px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    display: block;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 220px;
}

.footer-col h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.4;
}

/* =====================================================
   KEYFRAMES
   ===================================================== */
@keyframes titleFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

@keyframes boltFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-14px) rotate(14deg); }
}

@keyframes bellSwing {
    0%, 100% { transform: translateY(0) rotate(5deg); }
    50%       { transform: translateY(-10px) rotate(-5deg); }
}

/* =====================================================
   FLOATING CTA BUTTON (mobile only)
   ===================================================== */
.float-cta {
    display: none; /* hidden on desktop */
}

@media (max-width: 600px) {
    .float-cta {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        max-width: 360px;
        z-index: 999;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .float-cta.hidden {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
        pointer-events: none;
    }

    .float-cta a {
        display: block;
        background: #ff125d;
        color: #fff;
        text-decoration: none;
        font-weight: 700;
        font-size: 1rem;
        padding: 15px 24px;
        border-radius: 50px;
        text-align: center;
        box-shadow: 0 8px 28px rgba(255, 18, 93, 0.52);
    }
}

/* =====================================================
   RESPONSIVE — Tablet (≤960px)
   ===================================================== */
@media (max-width: 960px) {
    .about-grid,
    .why-grid { grid-template-columns: 1fr; gap: 40px; }

    .about-right { max-width: 420px; margin: 0 auto; }

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

    /* CTA: hide decorative side items, center everything */
    .cta-inner { flex-wrap: wrap; justify-content: center; gap: 24px; }
    .cta-text  { text-align: center; flex: 0 0 100%; order: 1; }
    .cta-action { order: 2; }
    .cta-deco-left { display: none; }
    .cta-bolt      { display: none; }

    .hero-title   { max-width: 540px; }
    .hero-tagline { font-size: 1.1rem; }

    .deco-bolt-l { left: 2%; width: 42px; }
    .deco-bolt-r { right: 2%; width: 56px; }
    .deco-bell   { display: none; }
}

/* =====================================================
   RESPONSIVE — Mobile (≤600px)
   ===================================================== */
@media (max-width: 600px) {

    /* --- Navbar: center logo, hide CTA button --- */
    .nav-inner { justify-content: center; padding: 12px 20px; }
    .btn-nav   { display: none; }
    .nav-logo  { height: 30px; }

    /* --- Hero --- */
    .hero-content { padding: 32px 20px 52px; }

    .hero-pill {
        font-size: 0.8rem;
        padding: 7px 16px;
        margin-bottom: 20px;
    }

    .hero-title { max-width: 100%; margin-bottom: 16px; }

    .hero-tagline {
        font-size: 0.97rem;
        margin-bottom: 22px;
    }

    /* Hero button diganti floating button — sembunyikan di mobile */
    .btn-hero { display: none; }

    .hero-badges { gap: 7px; }
    .hbadge      { font-size: 0.73rem; padding: 6px 12px; }

    /* Decos: smaller, tuck into corners */
    .deco-bolt-l { width: 34px; left: 2%; top: 14%; }
    .deco-bolt-r { width: 46px; right: 2%; top: 21%; }
    .deco-bell   { display: none; }

    /* --- Benefits: 3 top row + 2 bottom row centered --- */
    .benefits-strip {
        padding: 28px 0 24px;
        border-radius: 20px 20px 0 0;
        margin-top: -20px;
    }

    .benefits-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 20px 4px;
        padding: 0 10px;
    }

    /* Reset flex from desktop */
    .benefit-item { flex: unset; }

    /* Row 1: 3 items spanning 2 cols each = 6 cols total */
    .benefit-item:nth-child(1) { grid-column: 1 / 3; }
    .benefit-item:nth-child(2) { grid-column: 3 / 5; }
    .benefit-item:nth-child(3) { grid-column: 5 / 7; }

    /* Row 2: 2 items centered — start at col 2 and col 4 */
    .benefit-item:nth-child(4) { grid-column: 2 / 4; }
    .benefit-item:nth-child(5) { grid-column: 4 / 6; }

    .b-icon  { font-size: 2rem; }
    .b-label { font-size: 0.72rem; }

    /* --- About: single column, hide logo panel --- */
    .about { padding: 40px 0 32px; }
    .about-grid { grid-template-columns: 1fr; gap: 0; }
    .about-right { display: none; }
    .about-left h2 { font-size: 1.5rem; }
    .about-left p  { font-size: 0.88rem; }

    /* --- Why Join --- */
    .why-section { padding: 32px 0 40px; }
    .why-grid    { grid-template-columns: 1fr; gap: 28px; }
    .why-left h2 { font-size: 1.5rem; margin-bottom: 18px; }
    .checklist li { font-size: 0.88rem; gap: 12px; }

    /* --- Detail Card --- */
    .detail-card    { padding: 22px 18px 20px; }
    .card-megaphone { width: 78px; right: 12px; top: 14px; }
    .d-value        { font-size: 0.92rem; }
    .slot-tag       { font-size: 0.85rem; padding: 8px 18px; }

    /* --- CTA Banner: icons flank text, button full-width below --- */
    .cta-banner { padding: 36px 0; }

    .cta-inner {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px 8px;
        text-align: left;
    }

    /* Left emoji column */
    .cta-deco-left {
        display: flex;
        flex-direction: column;
        gap: 2px;
        flex-shrink: 0;
        order: 1;
        align-self: center;
    }

    .cta-emoji       { font-size: 1.8rem; }
    .cta-emoji.small { font-size: 1.3rem; }

    /* Center text — grows to fill space between icons */
    .cta-text {
        flex: 1;
        min-width: 0;
        order: 2;
        text-align: left;
        padding: 0 6px;
    }

    .cta-text h2 { font-size: 1.15rem; margin-bottom: 5px; }
    .cta-text p  { font-size: 0.8rem; }

    /* Right bolt */
    .cta-bolt {
        display: block;
        position: static;
        width: 44px;
        order: 3;
        flex-shrink: 0;
        align-self: center;
        animation: none;
    }

    /* Action row: full width below the top row */
    .cta-action {
        flex: 0 0 100%;
        order: 4;
        width: 100%;
        align-items: stretch;
        gap: 10px;
    }

    .btn-cta {
        width: 100%;
        text-align: center;
        font-size: 1rem;
        padding: 14px 24px;
    }

    .cta-notes { justify-content: center; gap: 16px; }

    /* --- Footer: single column --- */
    .footer { padding: 36px 0 24px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-brand p { max-width: 100%; }
    .footer-col h4  { margin-bottom: 10px; }
}

/* =====================================================
   REGISTRATION MODAL
   ===================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

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

.modal-content {
    background: #fff;
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 25px 25px 0 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
}

.modal-content.show {
    transform: translateY(0);
}

.modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid #eaeef4;
    position: relative;
    text-align: center;
    flex-shrink: 0;
}

.modal-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a2540;
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 0.9rem;
    color: #5a6a7e;
}

.btn-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #a0aec0;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-close:hover {
    color: #ff125d;
}

.modal-body {
    padding: 28px;
    overflow-y: auto;
    flex: 1;
}

/* Form Styles */
.form-section {
    margin-bottom: 32px;
}

.section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0eb5cb;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #f0f4f8;
    padding-bottom: 8px;
    display: inline-block;
}

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

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

.required {
    color: #ff125d;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d2dce6;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #1a2540;
    background: #fcfdfe;
    transition: all 0.2s;
}

.input-wrapper input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0eb5cb;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(14, 181, 203, 0.1);
}

.prefix-wrapper {
    display: flex;
}

.prefix-wrapper .prefix {
    background: #f0f4f8;
    border: 1px solid #d2dce6;
    border-right: none;
    border-radius: 12px 0 0 12px;
    padding: 12px 16px;
    font-weight: 600;
    color: #5a6a7e;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.prefix-wrapper input {
    border-radius: 0 12px 12px 0;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group label {
    font-weight: 400;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3a4e6e;
    margin-bottom: 0;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #0eb5cb;
}

.radio-with-input {
    flex-wrap: wrap;
}

.radio-with-input input[type="text"] {
    flex: 1;
    min-width: 180px;
    padding: 8px 12px;
    border: 1px solid #d2dce6;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-left: 8px;
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: #a0aec0;
    margin-top: 6px;
}

.file-upload-wrapper {
    border: 2px dashed #0eb5cb;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    background: rgba(14, 181, 203, 0.03);
    position: relative;
    transition: background 0.2s;
    cursor: pointer;
}

.file-upload-wrapper:hover {
    background: rgba(14, 181, 203, 0.08);
}

.file-upload-wrapper.has-file {
    border-style: solid;
    background: #e6f9fa;
    border-color: #0eb5cb;
}

.upload-icon {
    font-size: 3rem;
    color: #0eb5cb;
    margin-bottom: 10px;
}

.upload-text {
    font-size: 0.9rem;
    color: #5a6a7e;
    line-height: 1.5;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-name-display {
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0eb5cb;
    text-align: center;
}

.form-footer {
    border-top: 1px solid #eaeef4;
    padding-top: 24px;
    text-align: center;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f4f8ff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #3a4e6e;
    margin-bottom: 20px;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #ff125d;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 18px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 18, 93, 0.3);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 18, 93, 0.4);
    background: #f00b52;
}

.btn-submit:disabled {
    background: #ffa8c5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Modal Responsive */
@media (max-width: 600px) {
    .modal-content {
        max-height: 90vh;
        border-radius: 20px 20px 0 0;
    }
    .modal-header {
        padding: 20px;
    }
    .modal-header h3 {
        font-size: 1.25rem;
    }
    .modal-body {
        padding: 20px;
    }
    .btn-submit {
        padding: 16px;
        font-size: 1.05rem;
    }
}

/* =====================================================
   STATUS MODAL (LOADING & SUCCESS)
   ===================================================== */
.status-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.status-overlay.show {
    opacity: 1;
    visibility: visible;
}

.status-box {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.status-overlay.show .status-box {
    transform: scale(1);
}

.status-box.hidden {
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f0f4f8;
    border-top: 5px solid #0eb5cb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success-icon {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 16px;
}

.status-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a2540;
    margin-bottom: 10px;
}

.status-warning {
    font-size: 0.85rem;
    color: #ff125d;
    font-weight: 600;
    background: #fff0f5;
    padding: 10px 14px;
    border-radius: 12px;
    line-height: 1.4;
}

.status-text {
    font-size: 0.9rem;
    color: #5a6a7e;
    line-height: 1.5;
    margin-bottom: 24px;
}

.btn-status-close {
    background: #1a2540;
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.btn-status-close:hover {
    background: #0eb5cb;
    transform: translateY(-2px);
}

/* Cascading Dropdowns */
.cascading-dropdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cascading-dropdown select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d2dce6;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #1a2540;
    background: #fcfdfe;
    transition: all 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6a7e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.cascading-dropdown select:focus {
    outline: none;
    border-color: #0eb5cb;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(14, 181, 203, 0.1);
}

.cascading-dropdown select:disabled {
    background-color: #f0f4f8;
    color: #a0aec0;
    cursor: not-allowed;
    background-image: none;
}

/* WA Confirmation Button */
.btn-wa-confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 24px;
    border-radius: 50px;
    margin-bottom: 12px;
    width: 100%;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.btn-wa-confirm:hover {
    background: #1ebc5c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}
