* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}
body {
    font-family: 'Noto Sans KR', sans-serif;
    background: #070a12;
    color: #f8fafc;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

/* Mobile Container Frame */
.mobile-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: #0b0f19;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    position: relative;
    padding-bottom: 85px; /* Sticky Footer Offset */
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* App Top Bar */
.app-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 25, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.logo-badge {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 0.25rem 0.6rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}
.logo-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: #f8fafc;
}

/* FCM Push Button replacing Admin Link */
.fcm-notif-btn {
    font-size: 0.82rem;
    font-weight: 800;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 0.4rem 0.75rem;
    border-radius: 0.55rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.2);
    transition: all 0.2s ease;
}
.fcm-notif-btn:hover {
    background: rgba(56, 189, 248, 0.25);
    transform: scale(1.03);
}

/* Hero Banner */
.hero-card {
    margin: 1.25rem;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.15) 0%, rgba(59, 130, 246, 0.12) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 1.25rem;
    padding: 1.75rem 1.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-chip {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    margin-bottom: 0.85rem;
}
.hero-h1 {
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1.35;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}
.hero-h1 span {
    color: #34d399;
}
.hero-subtext {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    word-break: keep-all;
}

/* Action Touch Buttons */
.main-touch-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 1rem;
    border-radius: 0.85rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
    transition: transform 0.15s ease;
}
.main-touch-btn:active {
    transform: scale(0.98);
}

/* Mobile Grid Feature Cards */
.section-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 1.5rem 1.25rem 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mobile-feature-list {
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.m-feature-item {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}
.m-feature-icon {
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.m-feature-info h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 0.25rem;
}
.m-feature-info p {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.45;
    word-break: keep-all;
}

/* Mobile Process Steps */
.process-box {
    margin: 1.5rem 1.25rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.25rem;
}
.step-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.step-row:last-child {
    border-bottom: none;
}
.step-num {
    background: #10b981;
    color: #fff;
    font-weight: 900;
    font-size: 0.75rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-txt {
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 600;
}

/* Mobile Footer */
.mobile-footer {
    margin-top: auto;
    padding: 2rem 1.25rem 1.5rem 1.25rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(7, 10, 18, 0.8);
    color: #64748b;
    font-size: 0.78rem;
}
.mobile-footer a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 700;
}

/* Sticky Bottom Dock */
.sticky-bottom-dock {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.75rem 1rem;
    z-index: 999;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.6);
}
.dock-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 0.9rem;
    border-radius: 0.8rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2500;
    align-items: flex-end;
    justify-content: center;
}
.swal2-container,
.swal2-popup,
.swal2-backdrop-show,
.swal2-top,
.swal2-center,
.swal2-bottom {
    z-index: 2147483647 !important;
}
.modal-card {
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    background: #0f172a;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.8);
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.agency-banner-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.3);
    border-radius: 1.1rem;
    padding: 1.1rem;
    margin-bottom: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.18rem 0.55rem;
    border-radius: 0.4rem;
    align-self: flex-start;
}
.banner-co-name {
    font-size: 1.1rem;
    font-weight: 900;
    color: #f8fafc;
}
.banner-slogan {
    font-size: 0.85rem;
    font-weight: 700;
    color: #38bdf8;
}
.banner-region {
    font-size: 0.78rem;
    color: #94a3b8;
}
.banner-action-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    padding: 0.75rem;
    border-radius: 0.65rem;
    text-decoration: none;
    text-align: center;
    display: block;
}

/* Checkbox styling */
.terms-check-group {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.85rem;
    margin-bottom: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.check-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #cbd5e1;
    cursor: pointer;
}
.check-label input {
    accent-color: #10b981;
    width: 1.1rem;
    height: 1.1rem;
}
