/* ═══════════════════════════════════════
   AstraAlerts Glass Section — frontend.css
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ── Root tokens ── */
.ags-wrap {
    --c-accent:      #64dcff;
    --c-accent-glow: rgba(100, 220, 255, 0.15);
    --c-glass:       rgba(6, 24, 36, 0.75);
    --c-border:      rgba(100, 220, 255, 0.16);
    --c-text:        #cce8f4;
    --c-muted:       rgba(204, 232, 244, 0.45);
    --radius:        18px;
    --ease:          cubic-bezier(0.76, 0, 0.24, 1);
    --dur:           0.65s;

    /* Layout */
    --nav-w:         220px;
    --h:             600px;
}

/* ── Outer wrapper ── */
.ags-wrap {
    position: relative;
    width: 100%;
    height: var(--h);  
    display: flex; 
     
}

/* Ambient radial glow */
 
button.ags-nav-btn:hover {
   opacity: 1 !important;
}
.ags-nav-btn.is-active { 
    font-family: "Bebas Neue" !important;
    font-size: 34px !important;
    font-weight: 400 !important;
    line-height: 34px !important;
    text-transform: uppercase !important;
    color: #DDCEBD !important;
    background: transparent !important;
    border-radius: 0px !important;
    border: 0px !important;
    text-align: left !important;
    opacity: 01 !important;
 
}
button.ags-nav-btn {
    font-family: "Bebas Neue" !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 26px !important;
    text-transform: uppercase !important;
    color: #DDCEBD !important;
    background: transparent !important;
    border-radius: 0px !important;
    border: 0px !important;
    text-align: left !important;
    opacity: 0.6 !important;
        max-width: 208px;
            text-wrap: auto;
}
/* Subtle scanlines */
.ags-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg, transparent, transparent 3px,
        rgba(0,0,0,0.035) 3px, rgba(0,0,0,0.035) 4px
    );
    pointer-events: none;
    z-index: 1;
}

/* ══════════════════════════════════════
   LEFT NAV PANEL
══════════════════════════════════════ */
.ags-nav {
    width: 19%;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    align-items: flex-start;
     }

/* Nav items column */
.ags-nav-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 24px 48px 28px;
    gap: 30px;
}

/* Vertical accent line track (right side of nav) */
.ags-nav-line-track {
    width: 1px;
    background: #ddcebd66;
    position: relative;
    flex-shrink: 0;
    height: 100%;
}

.ags-nav-line-thumb {
    position: absolute;
    left: -7px;
    width: 13px;
    height: 65px !important;
    background: #DDCEBD;
    border-radius: 50px;
    transition: top var(--dur) var(--ease), height var(--dur) var(--ease);


}
/* Top caret */
.ags-nav-line-track::before {
    content: "\f0d7"; /* fa-caret-up */
    font-family: "Font Awesome 6 Free" !important; /* or 6 Free */
    font-weight: 900;
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    color: #ddcebd66;
    font-size: 14px;
}

/* Bottom caret */
.ags-nav-line-track::after {
    content: "\f0d8"; /* fa-caret-down */
     font-family: "Font Awesome 6 Free" !important; /* or 6 Free */
    font-weight: 900;
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    color: #ddcebd66;
    font-size: 14px;
}
}

/* Nav buttons */
 



.ags-nav-btn.is-active { 
    font-family: "Bebas Neue" !important;
    font-size: 34px !important;
    font-weight: 400 !important;
    line-height: 34px !important;
    text-transform: uppercase !important;
    color: #DDCEBD !important;
    background: transparent !important;
    border-radius: 0px !important;
    border: 0px !important;
    text-align: left !important;
    opacity: 01 !important;
 
}

/* ══════════════════════════════════════
   STAGE (content + image)
══════════════════════════════════════ */
.ags-stage { 
    position: relative;
    z-index: 5;
    overflow: hidden;
        width: 81%;
}

/* ── Individual slide ── */
.ags-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: start;
    padding: 0px 48px 52px 52px;
    gap: 40px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(28px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
    align-content: start;

}

.ags-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.ags-slide.is-exit {
    opacity: 0;
    transform: translateY(-28px);
    pointer-events: none;
}
p.ags-body {
    font-family: "Raleway" !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 30px !important;
    text-transform: uppercase !important;
    color: #DDCEBD !important;
}
ul.ags-bullets li {
    font-family: "Raleway" !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    text-transform: uppercase !important;
    color: #DDCEBD !important;
    margin-top: 15px;
}
/* ── Staggered child animations ── */
.ags-eyebrow,
.ags-heading,
.ags-body,
.ags-bullets,
.ags-image-col {
    opacity: 0;
    transform: translateY(16px);
    transition: none;
}

.ags-slide.is-active .ags-eyebrow  { animation: ags-in 0.5s 0.10s var(--ease) forwards; }
.ags-slide.is-active .ags-heading  { animation: ags-in 0.5s 0.18s var(--ease) forwards; }
.ags-slide.is-active .ags-body     { animation: ags-in 0.5s 0.26s var(--ease) forwards; }
.ags-slide.is-active .ags-bullets  { animation: ags-in 0.5s 0.34s var(--ease) forwards; }
.ags-slide.is-active .ags-image-col {
    animation: ags-in-right 0.6s 0.18s var(--ease) forwards;
}

@keyframes ags-in {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ags-in-right {
    from { opacity: 0; transform: translateX(24px) scale(0.97); }
    to   { opacity: 1; transform: translateX(0)    scale(1); }
}

/* ── Content column ── */
.ags-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ags-eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 12px;
}

.ags-heading {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(26px, 2.8vw, 40px);
    font-weight: 700;
    line-height: 1.05;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0 0 20px;
}

.ags-body {
    font-size: 13.5px;
    line-height: 1.72;
    color: var(--c-text);
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* ── Bullets ── */
.ags-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ags-bullets li {
    position: relative;
    padding-left: 30px;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--c-text);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Checkmark-style bullet icon matching reference image */
.ags-bullets li::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0px;
    width: 28px;
    height: 24px;
    background: url(https://astra-alerts.ropstam.dev/wp-content/uploads/2026/04/Promotion.png);
    background-size: contain;
    background-repeat: no-repeat;
}
 
/* ── Image column ── */
.ags-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 360px;
    padding-top: 183px;
}

.ags-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--c-border);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.ags-placeholder-chart {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 1px solid var(--c-border);
    background: rgba(100,220,255,0.02);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ags-placeholder-chart svg {
    width: 90%;
    height: auto;
}

/* ══════════════════════════════════════
   TICKER BAR
══════════════════════════════════════ */
.ags-ticker {
    grid-column: 1 / -1;
    grid-row: 2;
    overflow: hidden;
    position: relative;
    z-index: 10;
    background: rgba(0, 16, 28, 0.88);
    border-top: 1px solid var(--c-border);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
}

.ags-ticker-inner {
    display: flex;
    gap: 100px;
    white-space: nowrap;
    animation: ags-ticker 30s linear infinite;
}

.ags-ticker-inner span {
    font-family: 'Space Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-muted);
}

@keyframes ags-ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 960px) {
    .ags-wrap {
        --nav-w: 180px;
        --h: auto;
        grid-template-rows: auto auto 38px;
    }
    .ags-stage { min-height: 480px; }
    .ags-slide { padding: 36px 28px; gap: 24px; }
    .ags-image-col { height: 260px; }
}

@media (max-width: 720px) {
    .ags-wrap {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto 38px;
        --nav-w: 100%;
    }
    .ags-nav {
        grid-column: 1;
        border-right: none;
        border-bottom: 1px solid var(--c-border);
        flex-direction: column;
    }
    .ags-nav-items {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 16px 20px;
        gap: 6px;
        justify-content: flex-start;
    }
    .ags-nav-btn { font-size: 9px; padding: 8px 10px; width: auto; }
    .ags-nav-line-track { display: none; }
    .ags-stage { min-height: 520px; }
    .ags-slide {
        grid-template-columns: 1fr;
        padding: 32px 24px 70px;
        gap: 20px;
    }
    .ags-image-col { height: 180px; order: -1; }
    .ags-body, .ags-bullets li { font-size: 12px; }
}
