@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/leaflet.min.css');

.hvacc-fresh-theme {
    /* Break out of Invision's centered .ipsLayout_container (or any parent max-width
       wrapper) so this whole block spans the true browser width, edge to edge, while
       everything OUTSIDE this div — the forum's header/nav — stays exactly as it is. */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    --primary-blue: #0a2540;
    --primary-soft: #12385f;
    --accent-color: #2a9d8f;
    --accent-hover: #1e7166;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border-soft: #e2e8f0;
    --white: #ffffff;
    --transition: all 0.25s ease;

    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

.hvacc-fresh-theme * {
    box-sizing: border-box;
}

.hvacc-fresh-theme a {
    text-decoration: none !important;
}

/* --- HERO (background is now the live scope map instead of a static photo) --- */
.hvacc-hero {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    background: #0A0D12;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 5rem 1.5rem 7rem 1.5rem;
}

.hvacc-hero .lggg-map-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hvacc-hero .hvacc-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* more opaque on the left (behind the text), fading out toward the right so
       Greece/Cyprus — pushed rightward by the map's own asymmetric fit — stay visible */
    background: linear-gradient(100deg,
        rgba(10, 37, 64, 0.96) 0%,
        rgba(10, 37, 64, 0.82) 30%,
        rgba(10, 37, 64, 0.45) 60%,
        rgba(10, 37, 64, 0.16) 100%);
}

.hvacc-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    pointer-events: none;
}

.hvacc-hero-content {
    max-width: 820px;
    pointer-events: none;
}

.hvacc-hero-content .hvacc-hero-cta {
    pointer-events: auto;
}

.hvacc-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1;
    font-weight: 800;
    margin: 0 0 1rem 0;
    color: var(--white);
    letter-spacing: -2px;
}

.hvacc-hero-lead {
    max-width: 760px;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.86);
    margin: 0 0 2rem 0;
    font-weight: 300;
}

.hvacc-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hvacc-btn-primary,
.hvacc-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    transition: var(--transition);
}

.hvacc-btn-primary {
    background: var(--accent-color);
    color: var(--white) !important;
}

.hvacc-btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.hvacc-btn-secondary {
    color: var(--white) !important;
    border: 2px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.04);
}

.hvacc-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-2px);
}

/* --- MAIN WRAPPER --- */
.hvacc-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem 3rem 1rem;
}

/* --- USEFUL LINKS --- */
.hvacc-actions-wrap {
    margin-top: -4.5rem;
    position: relative;
    z-index: 5;
    margin-bottom: 2rem;
}

.hvacc-actions-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hvacc-actions-header h2 {
    color: var(--white);
    font-size: 1.3rem;
    margin: 0;
    font-weight: 800;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.hvacc-actions-header p {
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    font-size: 0.92rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.hvacc-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.hvacc-action-card {
    background: var(--card-bg);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    padding: 1.25rem;
    min-height: 205px;
    box-shadow: 0 10px 25px rgba(10, 37, 64, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.hvacc-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(10, 37, 64, 0.1);
    border-color: rgba(42, 157, 143, 0.32);
}

.hvacc-action-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(42, 157, 143, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.hvacc-action-card h3 {
    color: var(--primary-blue);
    font-size: 1.02rem;
    line-height: 1.25;
    margin: 0 0 0.45rem 0;
    font-weight: 800;
}

.hvacc-action-card p {
    color: var(--text-muted);
    font-size: 0.87rem;
    line-height: 1.45;
    margin: 0 0 1rem 0;
}

.hvacc-action-link {
    color: var(--accent-color) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 800;
    margin-top: auto;
    transition: var(--transition);
}

.hvacc-action-link:hover {
    color: var(--accent-hover) !important;
    transform: translateX(3px);
}

/* --- INFO GRID --- */
.hvacc-info-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.hvacc-about-box,
.hvacc-side-card {
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(10, 37, 64, 0.035);
}

.hvacc-about-box {
    padding: 2rem;
}

.hvacc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    background: rgba(42, 157, 143, 0.08);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.hvacc-about-title-row {
    margin-bottom: 1rem;
}

.hvacc-about-title-row h2 {
    color: var(--primary-blue);
    font-size: 1.55rem;
    line-height: 1.25;
    margin: 0;
    font-weight: 800;
}

.hvacc-about-more-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
}

.hvacc-about-more-link {
    color: var(--accent-color) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 800;
    white-space: nowrap;
    transition: var(--transition);
}

.hvacc-about-more-link:hover {
    color: var(--accent-hover) !important;
    transform: translateX(3px);
}

.hvacc-about-box p {
    color: var(--text-muted);
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
}

.hvacc-about-box p:last-child {
    margin-bottom: 0;
}

.hvacc-about-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.hvacc-about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.72rem 1rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.9rem;
    transition: var(--transition);
}

.hvacc-about-btn-primary {
    background: var(--accent-color);
    color: var(--white) !important;
}

.hvacc-about-btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.hvacc-about-btn-secondary {
    background: var(--primary-blue);
    color: var(--white) !important;
}

.hvacc-about-btn-secondary:hover {
    background: var(--primary-soft);
    transform: translateY(-2px);
}

.hvacc-side-stack {
    display: grid;
    gap: 1.5rem;
}

.hvacc-side-card {
    padding: 1.5rem;
}

.hvacc-side-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(42, 157, 143, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.hvacc-side-card h3 {
    color: var(--primary-blue);
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
    line-height: 1.25;
    font-weight: 800;
}

.hvacc-side-card p {
    color: var(--text-muted);
    margin: 0 0 1rem 0;
    font-size: 0.88rem;
    line-height: 1.45;
}

.hvacc-side-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 0.72rem 1rem;
    border-radius: 8px;
    background: var(--accent-color);
    color: var(--white) !important;
    font-weight: 800;
    font-size: 0.9rem;
    transition: var(--transition);
}

.hvacc-side-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.hvacc-feedback-card {
    background: linear-gradient(160deg, var(--primary-blue), var(--primary-soft));
    border-color: rgba(10, 37, 64, 0.3);
}

.hvacc-feedback-card .hvacc-side-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #7ee3d6;
}

.hvacc-feedback-card h3 {
    color: var(--white);
}

.hvacc-feedback-card p {
    color: rgba(255, 255, 255, 0.76);
}

.hvacc-feedback-card .hvacc-side-btn {
    background: var(--white);
    color: var(--primary-blue) !important;
}

.hvacc-feedback-card .hvacc-side-btn:hover {
    background: #eefaf8;
}

/* --- LOWER CARDS --- */
.hvacc-lower-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.hvacc-footer-card {
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 8px 22px rgba(10, 37, 64, 0.035);
    transition: var(--transition);
}

.hvacc-footer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(10, 37, 64, 0.07);
    border-color: rgba(42, 157, 143, 0.28);
}

.hvacc-footer-icon {
    width: 46px;
    min-width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(42, 157, 143, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.hvacc-footer-card h3 {
    color: var(--primary-blue);
    margin: 0 0 0.35rem 0;
    font-size: 1.05rem;
    line-height: 1.25;
    font-weight: 800;
}

.hvacc-footer-card p {
    color: var(--text-muted);
    margin: 0 0 0.9rem 0;
    font-size: 0.88rem;
    line-height: 1.45;
}

.hvacc-footer-link {
    color: var(--accent-color) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 800;
    transition: var(--transition);
}

.hvacc-footer-link:hover {
    color: var(--accent-hover) !important;
    transform: translateX(3px);
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .hvacc-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hvacc-info-grid,
    .hvacc-lower-grid {
        grid-template-columns: 1fr;
    }

    .hvacc-actions-header {
        display: block;
    }

    .hvacc-actions-header h2,
    .hvacc-actions-header p {
        color: var(--primary-blue);
        text-shadow: none;
    }

    .hvacc-actions-wrap {
        margin-top: 2rem;
    }
}

@media (max-width: 700px) {
    .hvacc-hero {
        padding: 4rem 1rem;
        min-height: auto;
    }

    .hvacc-hero-cta {
        flex-direction: column;
    }

    .hvacc-btn-primary,
    .hvacc-btn-secondary {
        width: 100%;
    }

    .hvacc-actions-grid {
        grid-template-columns: 1fr;
    }

    .hvacc-action-card {
        min-height: auto;
    }

    .hvacc-about-box,
    .hvacc-side-card,
    .hvacc-footer-card {
        padding: 1.25rem;
    }

    .hvacc-about-title-row h2 {
        font-size: 1.3rem;
    }

    .hvacc-about-more-wrap {
        justify-content: flex-end;
    }

    .hvacc-about-more-link {
        font-size: 0.78rem;
    }

    .hvacc-about-buttons {
        flex-direction: column;
    }

    .hvacc-about-btn {
        width: 100%;
    }

    .hvacc-footer-card {
        flex-direction: column;
    }
}

/* --- LIVE SCOPE MAP INTERNALS (scoped) --- */
#lggg-live-scope, #lggg-live-scope *{ box-sizing:border-box; }
#lggg-live-scope{ font-family:'Inter', sans-serif; font-size:14px; color:#F4F6F8; }
#lggg-live-scope #lggg-map{ width:100%; height:100%; background:#0A0D12; cursor:default !important; }
#lggg-live-scope .leaflet-tile-pane{
  filter: grayscale(0.52) brightness(0.68) sepia(0.34) hue-rotate(193deg) saturate(2.2) contrast(1.15);
}
#lggg-live-scope .leaflet-container{ background:#0A0D12 !important; }

#lggg-live-scope .leaflet-popup-content-wrapper{background:rgba(22,27,36,0.9); color:#F4F6F8; border-radius:10px; border:1px solid rgba(255,255,255,0.09);}
#lggg-live-scope .leaflet-popup-tip{background:rgba(22,27,36,0.9);}
#lggg-live-scope .leaflet-popup-content{font-family:'Inter',sans-serif; font-size:12.5px; margin:12px 14px;}
#lggg-live-scope .pp-title{font-family:'IBM Plex Mono',monospace; font-size:14px; color:#E7B84F; margin-bottom:6px;}
#lggg-live-scope .pp-row{display:flex; justify-content:space-between; gap:14px; padding:2px 0; color:rgba(244,246,248,0.64);}
#lggg-live-scope .pp-row span:last-child{color:#F4F6F8; font-family:'IBM Plex Mono',monospace;}
#lggg-live-scope .leaflet-container a.leaflet-popup-close-button{color:rgba(244,246,248,0.38);}
#lggg-live-scope .ac-tooltip{
  font-family:'IBM Plex Mono',monospace !important; font-size:10.5px !important;
  background:rgba(14,18,25,0.94) !important; color:#F4F6F8 !important;
  border:1px solid rgba(231,184,79,0.3) !important; border-radius:6px !important;
  padding:3px 7px !important; box-shadow:none !important;
}
#lggg-live-scope .ac-tooltip::before{display:none !important;}

#lggg-live-scope .ac-icon{display:flex; align-items:center; justify-content:center; transition:transform .15s;}
#lggg-live-scope .ac-icon.flight svg{filter: drop-shadow(0 0 4px rgba(231,184,79,0.6));}
#lggg-live-scope .ac-icon:hover{transform:scale(1.3); z-index:900;}

#lggg-live-scope .field-quiet-dot{width:5px; height:5px; border-radius:50%; background:rgba(244,246,248,0.32);}

#lggg-live-scope .field-badge{display:flex; flex-direction:column; align-items:center; pointer-events:none; gap:6px;}
#lggg-live-scope .field-code{
  font-family:'IBM Plex Mono',monospace; font-weight:700; font-size:11px; color:#F4F6F8;
  background:rgba(10,13,18,0.9); border:1px solid rgba(255,255,255,0.09); border-radius:6px; padding:2px 7px;
  pointer-events:auto;
}
#lggg-live-scope .field-target-outer{
  width:34px; height:34px; border-radius:50%; pointer-events:auto;
  border:1px solid rgba(42,157,143,0.35);
  display:flex; align-items:center; justify-content:center;
}
#lggg-live-scope .field-target-mid{
  width:21px; height:21px; border-radius:50%;
  background:rgba(10,13,18,0.92); border:2px solid #2a9d8f;
  box-shadow: 0 0 10px rgba(42,157,143,0.55);
  display:flex; align-items:center; justify-content:center;
}
#lggg-live-scope .field-target-dot{width:8px; height:8px; border-radius:50%; background:#2a9d8f; box-shadow:0 0 6px rgba(42,157,143,0.85);}
#lggg-live-scope .field-positions{display:flex; gap:3px; justify-content:center; pointer-events:auto;}
#lggg-live-scope .field-pos-chip{
  width:15px; height:15px; border-radius:4px; display:flex; align-items:center; justify-content:center;
  border:1px solid transparent; box-shadow:0 1px 3px rgba(0,0,0,0.35);
  color:#fff; font-family:'IBM Plex Mono',monospace; font-size:9px; font-weight:700;
}

#lggg-live-scope .field-tooltip{
  font-family:'Inter',sans-serif !important; font-size:11.5px !important;
  background:rgba(14,18,25,0.95) !important; color:#F4F6F8 !important;
  border:1px solid rgba(231,184,79,0.3) !important; border-radius:8px !important;
  padding:10px 13px !important; box-shadow:none !important; white-space:normal !important;
  min-width:170px; max-width:220px;
}
#lggg-live-scope .field-tooltip::before{display:none !important;}
#lggg-live-scope .ft-title{font-family:'IBM Plex Mono',monospace; color:#E7B84F; font-size:12.5px; font-weight:700; margin-bottom:5px;}
#lggg-live-scope .ft-row{display:flex; justify-content:space-between; gap:10px; padding:2px 0; color:rgba(244,246,248,0.64); font-size:11px;}
#lggg-live-scope .ft-metar{color:#F4F6F8; font-family:'IBM Plex Mono',monospace; font-size:10.5px; text-align:right;}

/* static click panel — stays fixed in the map's corner, does not follow pan/zoom */
#lggg-live-scope .airport-info-panel{
  position:absolute; top:16px; right:16px; width:250px; max-height:calc(100% - 32px);
  overflow-y:auto; background:rgba(14,18,25,0.95); border:1px solid rgba(231,184,79,0.35);
  border-radius:12px; padding:14px 16px; z-index:1100; backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px); box-shadow:0 12px 30px rgba(0,0,0,0.5);
  transform:translateX(130%); transition:transform .3s ease; pointer-events:none;
}
#lggg-live-scope .airport-info-panel.open{ transform:translateX(0); pointer-events:auto; }
#lggg-live-scope .airport-panel-header{
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  padding-bottom:8px; margin-bottom:8px; border-bottom:1px solid rgba(231,184,79,0.25);
}
#lggg-live-scope .airport-panel-header a{
  font-family:'IBM Plex Mono',monospace; font-weight:700; color:#E7B84F; font-size:13px; text-decoration:none;
}
#lggg-live-scope .airport-panel-header a:hover{ text-decoration:underline; }
#lggg-live-scope .airport-panel-close{
  cursor:pointer; color:rgba(244,246,248,0.5); font-size:18px; line-height:1; padding:0 4px; flex-shrink:0;
}
#lggg-live-scope .airport-panel-close:hover{ color:#F4F6F8; }

/* persistent sector tag — id + frequency always visible; click it for controller/rating */
#lggg-live-scope .sector-tag{
  display:inline-block; position:relative; left:0; top:0; transform:translate(-50%,-50%);
  background:rgba(14,18,25,0.92); border:1px solid rgba(231,184,79,0.45); border-radius:8px;
  padding:6px 10px; font-family:'IBM Plex Mono',monospace; white-space:nowrap; text-align:center;
  box-shadow:0 4px 14px rgba(0,0,0,0.45); pointer-events:auto; cursor:pointer;
}
#lggg-live-scope .sector-tag-id{color:#E7B84F; font-weight:700; font-size:12px;}
#lggg-live-scope .sector-tag-freq{color:#F4F6F8; font-size:10.5px; margin-top:2px;}