/* ── GEO Technology Block ────────────────────────────────────────────────── */

.intero-geo-tech {
    background-color: var(--color-white);
    padding: var(--section-padding-mobile);
    width: 100%;
}
@media (min-width: 992px) {
    .intero-geo-tech { padding: var(--section-padding); }
}

.intero-geo-tech__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}
@media (min-width: 992px) {
    .intero-geo-tech__inner {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

/* ── Content ─────────────────────────────────────────────────────────────── */
.intero-geo-tech__heading {
    font-size: var(--font-size-h2);
    font-weight: 800;
    line-height: var(--line-height-heading);
    color: var(--color-dark);
    margin: var(--spacing-sm) 0 var(--spacing-md);
    letter-spacing: -0.02em;
}

.intero-geo-tech__body {
    font-size: clamp(15px, 1.4vw, 17px);
    color: var(--color-text);
    line-height: var(--line-height-base);
    margin: 0 0 var(--spacing-lg);
}

/* ── Read more toggle ────────────────────────────────────────────────────── */
.intero-geo-tech__body-more {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}
.intero-geo-tech__body-more.is-open {
    max-height: 600px;
}

.intero-geo-tech__read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    background: none;
    border: none;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.15s ease;
}
.intero-geo-tech__read-more:hover {
    opacity: 0.75;
}
.intero-geo-tech__read-more-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.intero-geo-tech__read-more.is-open .intero-geo-tech__read-more-icon {
    transform: rotate(180deg);
}

/* ── Tool Tabs (left column — switch slider) ─────────────────────────────── */
.intero-geo-tech__tool-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.intero-geo-tech__tool-tab {
    background: var(--color-bg-muted);
    border-left: 3px solid transparent;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    transition: background 0.2s ease, border-color 0.2s ease;
    cursor: default;
}
.intero-geo-tech__tool-tab[data-slide] {
    cursor: pointer;
}
.intero-geo-tech__tool-tab[data-slide]:hover {
    background: var(--color-border);
}
.intero-geo-tech__tool-tab.active,
.intero-geo-tech__tool-tab[aria-selected="true"] {
    background: var(--color-white);
    border-left-color: var(--color-secondary);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.intero-geo-tech__tab-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
    font-family: inherit;
}
.intero-geo-tech__tool-tab.active .intero-geo-tech__tab-name,
.intero-geo-tech__tool-tab[aria-selected="true"] .intero-geo-tech__tab-name {
    color: var(--color-secondary);
}

.intero-geo-tech__tab-desc {
    font-size: var(--font-size-sm);
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
    font-family: inherit;
}

/* ── Visual column ───────────────────────────────────────────────────────── */
.intero-geo-tech__visual {
    position: sticky;
    top: 120px;
}

/* ── Slider — show/hide slides ───────────────────────────────────────────── */
.intero-geo-tech__slides {
    position: relative;
}

.geo-tech-frame.js-tech-slide {
    display: none;
    animation: techFadeIn 0.35s ease;
}
.geo-tech-frame.js-tech-slide.active {
    display: block;
}
@keyframes techFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Dot navigation ──────────────────────────────────────────────────────── */
.intero-geo-tech__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.intero-geo-tech__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.intero-geo-tech__dot.active {
    background: var(--color-secondary);
    transform: scale(1.25);
}
.intero-geo-tech__dot:hover {
    background: var(--color-secondary);
    opacity: 0.7;
}

/* ── Profound branded frame ──────────────────────────────────────────────── */
.geo-tech-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0d1b36;
    border: 1px solid rgba(46,196,182,0.2);
}

/* Teal + orange glow behind the card */
.geo-tech-frame::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    z-index: -1;
    background: linear-gradient(135deg, rgba(46,196,182,0.55) 0%, rgba(255,107,53,0.45) 100%);
    filter: blur(18px);
    transform: translateY(6px) scale(0.97);
}

/* Top branded bar */
.geo-tech-frame__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.geo-tech-frame__logo {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    font-family: inherit;
}
.geo-tech-frame__live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    font-family: inherit;
}
.geo-tech-frame__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2ec4b6;
    animation: geo-pulse 2s ease infinite;
}
@keyframes geo-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(46,196,182,0.2); }
    50%       { box-shadow: 0 0 0 6px rgba(46,196,182,0.05); }
}

/* Screenshot */
.geo-tech-frame__img-wrap {
    position: relative;
    line-height: 0;
}
.geo-tech-frame__img {
    width: 100%;
    height: auto;
    display: block;
    /* Pull screenshot colors toward teal/navy palette */
    filter: brightness(0.96) saturate(0.85) hue-rotate(8deg);
}
/* Subtle edge vignette so image blends into the dark frame */
.geo-tech-frame__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 60%,
        rgba(13,27,54,0.6) 100%
    );
    pointer-events: none;
}

/* Footer bar */
.geo-tech-frame__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.geo-tech-frame__badge {
    font-size: 11px;
    font-weight: 600;
    color: #2ec4b6;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-family: inherit;
}
.geo-tech-frame__link {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    font-family: inherit;
    transition: color 0.15s;
}
.geo-tech-frame__link:hover {
    color: rgba(255,255,255,0.65);
}

/* ── Mockup wrapper inside frame (no screenshot chrome) ──────────────────── */
.geo-tech-frame__mockup-wrap {
    padding: 4px;
}
.geo-tech-frame__mockup-wrap .geo-tech-frame__footer {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.geo-tech-frame__mockup-wrap .geo-tech-dash {
    border-radius: 12px 12px 0 0;
}

/* ── Dashboard Mockup ────────────────────────────────────────────────────── */

.geo-tech-dash {
    background: var(--color-dark, #0f1e3d);
    border-radius: 16px;
    padding: 24px;
    color: #fff;
    font-family: inherit;
}

/* Header bar */
.geo-tech-dash__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.geo-tech-dash__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
.geo-tech-dash__live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}
.geo-tech-dash__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2ec4b6;
    box-shadow: 0 0 0 3px rgba(46,196,182,0.2);
    animation: geo-pulse 2s ease infinite;
}
@keyframes geo-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(46,196,182,0.2); }
    50%       { box-shadow: 0 0 0 6px rgba(46,196,182,0.05); }
}

/* Score ring row */
.geo-tech-dash__score-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}
.geo-tech-dash__score-label {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.geo-tech-dash__score-delta {
    font-size: 13px;
    color: #2ec4b6;
    font-weight: 600;
    margin-bottom: 4px;
}
.geo-tech-dash__score-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* Section labels */
.geo-tech-dash__section-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 12px;
    margin-top: 20px;
}
.geo-tech-dash__section-label:first-of-type {
    margin-top: 0;
}

/* Platform bars */
.geo-tech-dash__platforms {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.geo-tech-dash__platform-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.geo-tech-dash__platform-name {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    width: 90px;
    flex-shrink: 0;
}
.geo-tech-dash__platform-bar-wrap {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 99px;
    overflow: hidden;
}
.geo-tech-dash__platform-bar {
    height: 100%;
    border-radius: 99px;
    opacity: 0.85;
}
.geo-tech-dash__platform-pct {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    width: 32px;
    text-align: right;
    flex-shrink: 0;
}

/* Citations */
.geo-tech-dash__citations {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.geo-tech-dash__cite-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
}
.geo-tech-dash__cite-domain {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}
.geo-tech-dash__cite-count {
    font-size: 11px;
    color: #2ec4b6;
    font-weight: 600;
}
