/* =====================================================================
 *  GOLWEL SECURITY SERVICES  -  Tracker & Contact Stylesheet
 * =================================================================== */

/* ----------  TRACKER HERO  ----------------------------------------- */
.tracker-hero {
    background: linear-gradient(115deg, var(--green-900) 0%, var(--green) 60%, var(--green-600) 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.tracker-hero::before {
    content: "";
    position: absolute;
    right: -100px; top: -100px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(236,164,52,.2), transparent 70%);
}
.tracker-hero::after {
    content: "";
    position: absolute;
    left: -80px; bottom: -120px;
    width: 340px; height: 340px;
    background: radial-gradient(circle, rgba(236,164,52,.12), transparent 70%);
}
.tracker-hero .container { position: relative; z-index: 1; }
.tracker-hero h1 { color: #fff; }
.tracker-hero h1 em { font-style: italic; color: var(--gold); }
.tracker-hero .eyebrow { color: var(--gold-300); }
.tracker-hero .eyebrow::before { background: var(--gold-300); }

.tracker-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

/* device / dashboard mockup */
.device-mock {
    position: relative;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 22px;
    backdrop-filter: blur(4px);
}
.device-screen {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.device-bar {
    background: var(--green);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.device-bar .dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}
.device-bar .dot:first-child { background: var(--gold); }
.device-bar .bar-label {
    margin-left: 8px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
}
.device-body { padding: 18px; }
.device-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}
.device-stat {
    background: var(--green-050);
    border-radius: var(--radius-sm);
    padding: 12px 10px;
    text-align: center;
}
.device-stat .ds-num {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--green);
}
.device-stat .ds-lbl {
    font-size: 0.66rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.device-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.82rem;
    color: var(--slate);
}
.device-list-item:last-child { border-bottom: 0; }
.device-list-item .dli-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dli-dot.ok { background: var(--success); }
.dli-dot.warn { background: var(--warning); }
.dli-dot.live { background: var(--success); box-shadow: 0 0 0 0 rgba(30,126,52,.5);
                animation: pulse 2s infinite; }
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(30,126,52,.5); }
    70%  { box-shadow: 0 0 0 8px rgba(30,126,52,0); }
    100% { box-shadow: 0 0 0 0 rgba(30,126,52,0); }
}
.device-list-item .dli-time { margin-left: auto; color: var(--muted); font-size: .74rem; }

/* ----------  TECHNOLOGY FEATURE GRID  ------------------------------ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.tech-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}
.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.tech-card .tc-icon {
    width: 62px; height: 62px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--green-900));
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.tech-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.tech-card p { font-size: 0.88rem; margin-bottom: 0; }

/* ----------  HOW IT WORKS (numbered flow)  ------------------------- */
.flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.flow-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
}
.flow-card .flow-num {
    position: absolute;
    top: -18px; left: 26px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--green-900);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}
.flow-card h4 { margin: 14px 0 8px; }
.flow-card p { font-size: 0.92rem; margin-bottom: 0; }

/* ----------  BENEFIT SPLIT LIST  ----------------------------------- */
.benefit-list li {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.benefit-list li:last-child { border-bottom: 0; }
.benefit-list .b-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(236,164,52,.16);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.benefit-list .b-text strong { display: block; color: #fff; font-size: 1rem; }
.benefit-list .b-text span { font-size: 0.9rem; color: rgba(255,255,255,.72); }

/* ----------  CONTACT PAGE  ----------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 44px;
    align-items: start;
}
.contact-info-card {
    background: var(--green);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 38px;
    position: relative;
    overflow: hidden;
}
.contact-info-card::after {
    content: "";
    position: absolute;
    right: -60px; bottom: -60px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(236,164,52,.18), transparent 70%);
}
.contact-info-card h3 { color: #fff; position: relative; }
.contact-info-card > * { position: relative; }

.contact-detail {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-detail:last-of-type { border-bottom: 0; }
.contact-detail .cd-icon {
    width: 46px; height: 46px;
    border-radius: var(--radius-sm);
    background: rgba(236, 164, 52, 0.16);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-detail .cd-label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-300);
}
.contact-detail .cd-value { font-size: 0.98rem; color: #fff; }
.contact-detail .cd-value a { color: #fff; }
.contact-detail .cd-value a:hover { color: var(--gold); }

.contact-form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 38px;
}

/* hotline emphasis box */
.hotline-box {
    background: rgba(236, 164, 52, 0.14);
    border: 1px solid rgba(236, 164, 52, 0.3);
    border-radius: var(--radius);
    padding: 18px;
    margin-top: 22px;
    text-align: center;
}
.hotline-box .hb-label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-300);
}
.hotline-box .hb-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

/* embedded map */
.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    line-height: 0;
}
.map-embed iframe { width: 100%; height: 420px; border: 0; }
.map-placeholder {
    height: 420px;
    background: linear-gradient(135deg, var(--green-050), var(--cloud));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--green-300);
    text-align: center;
    padding: 24px;
}
.map-placeholder i { font-size: 3rem; margin-bottom: 10px; }

/* ----------  RESPONSIVE  ------------------------------------------- */
@media (max-width: 992px) {
    .tracker-hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .tech-grid { grid-template-columns: 1fr; }
    .device-stat-row { grid-template-columns: repeat(3, 1fr); }
    .contact-info-card, .contact-form-card { padding: 28px 24px; }
    .map-embed iframe, .map-placeholder { height: 320px; }
}

/* End of tracker.css */
