/* ==========================================================================
   APP SYSTEM FRAME WORKSET & RESET
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary-cyan: #00bcd4;
    --dark-cyan: #008ba3;
    --app-bg: #f5f7fa;
    --card-bg: #ffffff;
    --text-dark: #1e272c;
    --text-muted: #607d8b;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--app-bg);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

.app-container {
    width: 100%;
    height: 100vh;
    background-color: var(--app-bg);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Header */
.app-header {
    background-color: var(--white);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eef2f5;
    z-index: 10;
}

.logo { font-size: 20px; font-weight: 700; color: var(--text-dark); }
.logo span { color: var(--primary-cyan); }
.live-status { font-size: 11px; font-weight: 600; color: #4caf50; background: rgba(76,175,80,0.1); padding: 4px 10px; border-radius: 20px; }

/* Scrollable Container */
.app-main-content {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    padding-bottom: 100px;
    scroll-behavior: smooth;
}
.app-main-content::-webkit-scrollbar { display: none; }

/* Components */
.hero-card {
    background: linear-gradient(135deg, var(--white) 0%, rgba(0,188,212,0.03) 100%);
    padding: 24px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0,188,212,0.05);
    margin-bottom: 12px;
}
.hero-card h1 { font-size: 26px; font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
.hero-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.text-cyan { color: var(--primary-cyan); }

/* Radar Action Call Button System */
.call-btn-wrapper { position: relative; display: inline-block; margin: 5px 0; width: 100%; }
.btn { display: block; width: 100%; padding: 14px; font-weight: 600; font-size: 16px; text-decoration: none; border-radius: 12px; text-align: center; }
.btn-primary { background-color: var(--primary-cyan); color: var(--white); border: none; box-shadow: 0 4px 12px rgba(0,188,212,0.25); }
.custom-pulse-btn { position: relative; z-index: 2; animation: alertWiggle 4s infinite ease-in-out; }
.radar-ripple {
    position: absolute; top:0; left:0; width:100%; height:100%; background-color: var(--primary-cyan);
    border-radius: 12px; z-index:1; opacity: 0.4; animation: radarExpansion 2.5s infinite cubic-bezier(0.25, 0, 0, 1);
}
@keyframes radarExpansion { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.08, 1.2); opacity: 0; } }
@keyframes alertWiggle { 0%, 90%, 100% { transform: rotate(0deg); } 93% { transform: rotate(-1.5deg); } 96% { transform: rotate(1.5deg); } }

.emergency-badge { font-size: 11px; font-weight: 600; color: var(--dark-cyan); margin-top: 10px; }
.trust-strip { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 18px; }
.trust-item { flex:1; background: var(--white); padding: 10px 4px; border-radius: 10px; font-size: 11px; font-weight: 600; text-align: center; color: var(--text-muted); box-shadow: 0 2px 6px rgba(0,0,0,0.01); }

.app-section { margin-bottom: 20px; }
.app-section-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; padding-left: 4px; }

/* Accordion */
.accordion-wrapper { display: flex; flex-direction: column; gap: 10px; }
.accordion-item { background-color: var(--white); border-radius: 14px; border: 1px solid #eef2f5; overflow: hidden; transition: all 0.3s ease; }
.accordion-header { width: 100%; display: flex; align-items: center; background: none; border: none; padding: 12px 16px; text-align: left; cursor: pointer; }
.accordion-icon { width: 30px; height: 30px; background-color: rgba(0,188,212,0.08); color: var(--primary-cyan); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; margin-right: 14px; flex-shrink: 0; }
.accordion-title { font-size: 15px; font-weight: 600; color: var(--text-dark); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; padding: 0 16px 0 60px; }
.accordion-item.open { padding-bottom: 14px; border-color: rgba(0,188,212,0.2); box-shadow: 0 4px 12px rgba(0,188,212,0.04); }
.accordion-bullet-list { list-style: none; }
.accordion-bullet-list li { position: relative; color: var(--text-muted); font-size: 13.5px; line-height: 1.5; margin-bottom: 8px; padding-left: 16px; }
.accordion-bullet-list li::before { content: "➔"; position: absolute; left: 0; color: var(--primary-cyan); font-size: 11px; }

/* Rate Tables */
.table-container { margin: 8px 0 14px 0; border: 1px solid #edf2f7; border-radius: 8px; overflow: hidden; }
.rate-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.rate-table th { background-color: #f7fafc; color: var(--text-muted); font-weight: 600; padding: 8px 12px; text-align: left; }
.rate-table td { padding: 8px 12px; border-bottom: 1px solid #edf2f7; color: var(--text-dark); }
.rate-table tr:last-child td { border-bottom: none; }
.rate-table td.price { font-weight: 600; text-align: right; color: #000; }

.faq-block h4 { font-size: 14px; color: var(--text-dark); margin: 12px 0 4px 0; font-weight: 600; }
.faq-block p { color: var(--text-muted); font-size: 13.5px; margin-bottom: 10px; line-height: 1.4; }

/* Cards Grid */
.app-cards-grid { display: flex; flex-direction: column; gap: 10px; }
.service-app-card { background: var(--white); padding: 16px; border-radius: 14px; border: 1px solid #eef2f5; }
.service-app-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.service-app-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.4; }

.tech-dark-bg { background-color: #1a2226; padding: 20px 16px; border-radius: 16px; color: var(--white); text-align: center; }
.tech-dark-bg h3 { font-size: 15px; margin-bottom: 12px; opacity: 0.9; }
.hub-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hub-pills span { background: rgba(255,255,255,0.06); padding: 6px 14px; border-radius: 30px; font-size: 13px; font-weight: 500; }
.app-footer { padding: 25px 0 10px 0; text-align: center; font-size: 11px; color: #90a4ae; }

/* ==========================================================================
   FLOATING WHITE PILL BAR FORMATTING RULES (Reference: 1000193902.jpg Layout)
   ========================================================================== */
.app-nav-wrapper {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background-color: transparent;
    padding: 0 16px 16px 16px;
    z-index: 1000;
}
.app-bottom-nav {
    position: relative; width: 100%; height: 64px;
    background-color: var(--white); border-radius: 20px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 10px; box-shadow: 0 8px 24px rgba(38, 50, 56, 0.08);
}
.nav-item {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
    flex: 1; height: 100%; text-decoration: none; z-index: 10;
    background: none; border: none; outline: none; font-family: inherit; cursor: pointer;
}
.nav-item .nav-icon { font-size: 18px; margin-bottom: 2px; transition: transform 0.2s ease; opacity: 0.45; }
.nav-item .nav-label { font-size: 9.5px; font-weight: 600; color: var(--text-muted); transition: color 0.2s ease; }

/* Elevated Center Bubble */
.center-action-bubble {
    position: relative; top: -16px; flex: 0 0 54px; height: 54px;
    background-color: var(--primary-cyan); border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 188, 212, 0.35);
    display: flex; align-items: center; justify-content: center;
    transform: scale(1); transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.center-action-bubble:active { transform: scale(0.92); }
.nav-icon-center { font-size: 20px; color: var(--white); display: block; line-height: 1; }

.nav-item.active .nav-icon { opacity: 1; transform: scale(1.08); }
.nav-item.active .nav-label { color: var(--primary-cyan); }

/* Selection Indicator Dot */
.nav-indicator-dot {
    position: absolute; bottom: 6px; width: 5px; height: 5px;
    background-color: var(--primary-cyan); border-radius: 50%;
    transform: translateX(-50%); transition: left 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease;
    pointer-events: none; opacity: 0;
}

@media(max-width: 480px) {
    .accordion-header { padding: 10px 12px; }
    .accordion-icon { width: 28px; height: 28px; font-size: 14px; margin-right: 10px; }
    .accordion-title { font-size: 14px; }
    .accordion-content { padding: 0 12px 0 50px; }
    .table-container { max-width: 100%; }
}
