/* -------------------------------------------------------
   CSS VARIABLES
-------------------------------------------------------- */
:root {
    --color-primary: #00e676;
    --color-secondary: #4a4a4a;
    --color-background: #0a0a0a;
    --color-surface: #1a1a1a;
    --color-text-light: #f0f0f0;
    --color-text-muted: #b0b0b0;
    --color-warning: #ffeb3b;
    --color-danger: #ff5252;
    --font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --border-radius: 12px;
    --spacing-unit: 1.5rem;
    --ggf-header-offset: 0px;
}

/* -------------------------------------------------------
   RESET
-------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* -------------------------------------------------------
   BASE BODY
-------------------------------------------------------- */
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a52 50%, #0f2847 100%);
    background-size: 300% 300%;
    animation: bgShift 30s ease-in-out infinite;
    color: #e0e8f0;
    margin: 0;
    padding: 20px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@keyframes bgShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* WordPress admin bar fix */
body.page,
body.admin-bar {
    margin-top: 68px !important;
    padding-top: 0 !important;
}

/* Shared fixed-header spacing hook, if JS uses it */
body.ggf-has-fixed-header {
    padding-top: var(--ggf-header-offset) !important;
}

body.ggf-has-fixed-header.page,
body.ggf-has-fixed-header.admin-bar,
body.ggf-has-fixed-header.tools-page,
body.ggf-has-fixed-header.video-page,
body.ggf-has-fixed-header.code-page {
    margin-top: 0 !important;
}

/* -------------------------------------------------------
   GLOBAL CONTAINER
-------------------------------------------------------- */
.container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: auto;
    background: rgba(10, 22, 40, 0.6);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* -------------------------------------------------------
   TOOLS PAGE OVERRIDES
-------------------------------------------------------- */
body.tools-page,
body.tools-page.page,
body.tools-page.admin-bar {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

body.tools-page .container,
body.tools-page .filters-container,
body.tools-page .tools-list-container {
    max-width: 100%;
    width: 100%;
}

body.tools-page .container {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 10px 40px 40px 40px;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
}

body.tools-page .ggf-hero-wrapper {
    margin: 0 auto 20px auto !important;
    padding: 0 24px !important;
}

body.tools-page .ggf-hero {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 12px 20px 20px 20px !important;
}

body.tools-page .hero-kicker,
body.tools-page .hero-title,
body.tools-page .hero-subtitle {
    margin-top: 0 !important;
}

@media (max-width: 768px) {
    body.tools-page .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* -------------------------------------------------------
   TYPOGRAPHY
-------------------------------------------------------- */
h1, h2, h3, h4 {
    color: var(--color-text-light);
    font-weight: 700;
    margin-top: 0;
    line-height: 1.1;
}

h1 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: #00d9ff;
    text-align: center;
}

h2 {
    margin-top: 35px;
    margin-bottom: 15px;
    color: #ffeb3b;
    font-size: 1.4rem;
}

h2.section-heading {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    color: var(--color-text-light);
}

h2.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

p {
    line-height: 1.6;
    margin-bottom: 18px;
    color: #c7d4e3;
}

ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* -------------------------------------------------------
   LINKS
-------------------------------------------------------- */
a,
.text-link {
    color: #00d9ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
.text-link:hover,
#clear-filters:hover {
    text-decoration: underline;
}

/* -------------------------------------------------------
   SECTIONS
-------------------------------------------------------- */
section {
    padding: 0.5rem 0;
    position: relative;
    z-index: 1;
}

/* -------------------------------------------------------
   BUTTONS
-------------------------------------------------------- */
.button,
.btn-primary {
    display: inline-block;
    background: linear-gradient(
        135deg,
        #ff4d4d,
        #ffae42,
        #ffee55,
        #55ff88,
        #55bbff,
        #aa66ff,
        #ff4d4d
    );
    background-size: 400% 400%;
    animation: colorDrift 12s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
    color: #fff;
    text-shadow:
        1px 1px 2px #000,
        -1px 1px 2px #000,
        1px -1px 2px #000,
        -1px -1px 2px #000;
    padding: 16px 34px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.2s;
}

.button:hover,
.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    display: inline-block;
    background: #1E8E3E;
    color: #fff;
    padding: 16px 34px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: #5a6268;
}

.download-buttons {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

@keyframes colorDrift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes glowPulse {
    0%   { box-shadow: 0 0 12px rgba(255,77,77,0.5);   filter: brightness(1); }
    25%  { box-shadow: 0 0 16px rgba(255,174,66,0.55); filter: brightness(1.07); }
    40%  { box-shadow: 0 0 20px rgba(255,238,85,0.6);  filter: brightness(1.12); }
    60%  { box-shadow: 0 0 20px rgba(85,255,136,0.55); filter: brightness(1.1); }
    80%  { box-shadow: 0 0 20px rgba(85,187,255,0.55); filter: brightness(1.12); }
    100% { box-shadow: 0 0 12px rgba(255,77,77,0.5);   filter: brightness(1); }
}

/* -------------------------------------------------------
   OLD SITE HEADER
   Left in place for older pages that may still use it
-------------------------------------------------------- */
.site-header {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    padding: 0 !important;
    background: transparent !important;
    z-index: auto !important;
    transition: none !important;
}

.site-header.header-hidden {
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ggf-logo {
    width: clamp(60px, 7vw, 90px);
    height: clamp(60px, 7vw, 90px);
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.header-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.site-links {
    display: flex;
    gap: clamp(10px, 2.5vw, 48px);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    white-space: nowrap;
}

.site-links img {
    display: none;
}

.site-logo,
.site-link {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
}

.site-logo {
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
}

.site-link {
    font-size: clamp(22px, 2.5vw, 32px);
    letter-spacing: 2px;
    color: #ffffff;
    text-decoration: none;
    transition: text-shadow 0.2s ease;
}

.site-link:hover {
    text-shadow:
        0 0 10px rgba(0,217,255,1),
        0 0 20px rgba(0,217,255,0.8),
        0 0 30px rgba(0,217,255,0.6);
}

.auth-status {
    margin-top: 4px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.site-header-logo {
    display: block;
    max-width: 850px;
    width: 100%;
    height: auto;
    margin: 0 auto 12px auto;
}

.header-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* -------------------------------------------------------
   BACKGROUND GLOWS
-------------------------------------------------------- */
.bg-glow {
    position: fixed !important;
    width: 500px !important;
    height: 500px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: radial-gradient(circle, rgba(0,200,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none !important;
    z-index: 0 !important;
}

.glow-1 {
    top: -120px !important;
    right: -120px !important;
    left: auto !important;
    bottom: auto !important;
    animation: float 20s infinite ease-in-out;
}

.glow-2 {
    bottom: -180px !important;
    left: -180px !important;
    top: auto !important;
    right: auto !important;
    animation: float 25s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(30px, 30px); }
}

/* Soft vignette glow overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at top left, rgba(0, 200, 220, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(0, 150, 200, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: glowShift 20s ease-in-out infinite alternate;
}

@keyframes glowShift {
    0% {
        background:
            radial-gradient(ellipse at top left, rgba(0, 200, 220, 0.18) 0%, transparent 55%),
            radial-gradient(ellipse at bottom right, rgba(0, 150, 200, 0.14) 0%, transparent 55%),
            radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 70%);
    }
    50% {
        background:
            radial-gradient(ellipse at top right, rgba(0, 180, 240, 0.20) 0%, transparent 55%),
            radial-gradient(ellipse at bottom left, rgba(0, 120, 180, 0.16) 0%, transparent 55%),
            radial-gradient(ellipse at center, rgba(0, 0, 0, 0.30) 0%, transparent 70%);
    }
    100% {
        background:
            radial-gradient(ellipse at top left, rgba(0, 200, 220, 0.18) 0%, transparent 55%),
            radial-gradient(ellipse at bottom right, rgba(0, 150, 200, 0.14) 0%, transparent 55%),
            radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 70%);
    }
}

/* Content sits above glows */
.container,
.site-header,
.filters-container,
#ggf-tools-catalog,
#tools-list,
.tools-list-container,
.bg-glow {
    position: relative;
    z-index: 1;
}

/* -------------------------------------------------------
   HERO
-------------------------------------------------------- */
.hero-section {
    margin-top: 0;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.hero-kicker {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-hero {
    font-size: 1.5rem;
    display: block;
    margin: 0 auto;
    text-align: center;
}

.text-gradient {
    background: linear-gradient(45deg, var(--color-primary), #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

/* -------------------------------------------------------
   HOW IT WORKS
-------------------------------------------------------- */
.how-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.how-card {
    position: relative;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,217,255,0.15);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    overflow: hidden;
    animation: stepCardPulse 6s infinite;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.how-card:nth-child(1) { animation-delay: 0s; }
.how-card:nth-child(2) { animation-delay: 2s; }
.how-card:nth-child(3) { animation-delay: 4s; }

.how-card::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(
        circle,
        rgba(255,255,255,0.22) 0%,
        rgba(255,255,255,0.10) 22%,
        rgba(255,255,255,0.00) 60%
    );
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
    animation: stepInnerGlow 6s infinite;
}

.how-card:nth-child(1)::before { animation-delay: 0s; }
.how-card:nth-child(2)::before { animation-delay: 2s; }
.how-card:nth-child(3)::before { animation-delay: 4s; }

.how-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

@keyframes stepCardPulse {
    0%,
    100% {
        border-color: rgba(0,217,255,0.15);
        box-shadow:
            0 0 0 rgba(255,255,255,0),
            0 0 0 rgba(255,255,255,0);
        transform: translateY(0);
    }

    8% {
        border-color: rgba(255,255,255,0.95);
        box-shadow:
            0 0 14px rgba(255,255,255,0.55),
            0 0 34px rgba(255,255,255,0.25);
        transform: translateY(-2px);
    }

    18% {
        border-color: rgba(255,255,255,0.55);
        box-shadow:
            0 0 8px rgba(255,255,255,0.22),
            0 0 18px rgba(255,255,255,0.10);
        transform: translateY(0);
    }

    30%,
    100% {
        border-color: rgba(0,217,255,0.15);
        box-shadow:
            0 0 0 rgba(255,255,255,0),
            0 0 0 rgba(255,255,255,0);
        transform: translateY(0);
    }
}

@keyframes stepInnerGlow {
    0%,
    100% {
        opacity: 0;
        transform: scale(0.9);
    }

    8% {
        opacity: 1;
        transform: scale(1);
    }

    18% {
        opacity: 0.25;
        transform: scale(1.03);
    }

    30%,
    100% {
        opacity: 0;
        transform: scale(1.02);
    }
}

/* -------------------------------------------------------
   EXAMPLES GRID
-------------------------------------------------------- */
.example-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.example-card {
    display: block;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(0,217,255,0.15);
    border-radius: var(--border-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text-light);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.example-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    text-decoration: none;
    color: var(--color-text-light);
}

.example-thumb {
    height: 120px;
    background: #111;
}

.example-thumb-video { background: linear-gradient(135deg, #0d2137, #1a4a6e); }
.example-thumb-audio { background: linear-gradient(135deg, #1a0d37, #4a1a6e); }
.example-thumb-image { background: linear-gradient(135deg, #0d3720, #1a6e4a); }

.example-body {
    padding: 1rem;
}

.example-body h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--color-primary);
}

.example-body p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* -------------------------------------------------------
   SHORTCUT PILLS
-------------------------------------------------------- */
.shortcut-heading-row {
    text-align: center;
    margin-bottom: 1.5rem;
}

.shortcut-subtitle {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-top: -1rem;
}

.shortcut-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.shortcut-pill {
    background: rgba(0,217,255,0.08);
    border: 1px solid rgba(0,217,255,0.3);
    color: #00d9ff;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.shortcut-pill:hover {
    background: rgba(0,217,255,0.18);
    border-color: rgba(0,217,255,0.7);
}

/* -------------------------------------------------------
   TOOL CARDS
-------------------------------------------------------- */
.tools-list-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.tool-item {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    margin: 20px 0;
    border-radius: 12px;
    transition: transform 0.15s ease, background 0.2s ease;
}

.tool-item:hover {
    transform: scale(1.02);
    background: rgba(255,255,255,0.08);
}

.tool-title {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.tool-description {
    font-size: 18px;
    color: #c7d4e3;
}

/* -------------------------------------------------------
   FILTERS
-------------------------------------------------------- */
.filters-container {
    max-width: 900px;
    margin: 0 auto 20px auto;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-input {
    padding: 10px 14px;
    width: 180px;
    height: 44px;
    font-size: 18px;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
}

#search {
    min-width: 320px;
}

.filter-input::placeholder {
    color: #ccc;
}

select.filter-input {
    background: rgba(20, 30, 45, 0.9);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    appearance: none;
}

select.filter-input option {
    background: rgba(20, 30, 45, 0.95);
    color: #fff;
}

.filters-inline-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

#clear-filters {
    cursor: pointer;
    color: #6bc4ff;
    white-space: nowrap;
}

.items-per-page {
    display: flex;
    align-items: center;
    gap: 6px;
}

.items-per-page label {
    color: #c7d4e3;
}

/* -------------------------------------------------------
   PAGINATION
-------------------------------------------------------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}

.pagination button {
    background: #0f2c45;
    color: white;
    padding: 10px 18px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    border: none;
}

.pagination button:hover {
    background: #164d72;
}

/* -------------------------------------------------------
   SUBTITLE GLOW
-------------------------------------------------------- */
.subtitle {
    font-size: 1.25rem;
    color: #e0f7ff;
    text-align: center;
    text-shadow:
        0 0 6px rgba(0,217,255,0.8),
        0 0 12px rgba(0,217,255,0.6),
        0 0 20px rgba(0,217,255,0.45);
    animation: subtitleGlow 4s ease-in-out infinite;
}

@keyframes subtitleGlow {
    0% {
        text-shadow:
            0 0 6px rgba(0,217,255,0.8),
            0 0 12px rgba(0,217,255,0.6),
            0 0 20px rgba(0,217,255,0.45);
    }
    50% {
        text-shadow:
            0 0 10px rgba(0,217,255,1),
            0 0 18px rgba(0,217,255,0.85),
            0 0 26px rgba(0,217,255,0.6);
    }
    100% {
        text-shadow:
            0 0 6px rgba(0,217,255,0.8),
            0 0 12px rgba(0,217,255,0.6),
            0 0 20px rgba(0,217,255,0.45);
    }
}

/* -------------------------------------------------------
   VIDEO EMBEDS
-------------------------------------------------------- */
.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(0,0,0,0.3);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(0,217,255,0.3);
    margin-bottom: 30px;
}

.video-container iframe,
.video-container video {
    width: 100%;
    height: 100%;
    border: none;
}

.video-showcase-section {
    background-color: var(--color-background);
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* -------------------------------------------------------
   MEMBERSHIP TIERS
-------------------------------------------------------- */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tier-card {
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.tier-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 25px rgba(0,230,118,0.3);
}

.tier-card.featured {
    border: 3px solid var(--color-primary);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0,230,118,0.5);
}

.tier-card.premium {
    border-color: #ffc107;
}

.tier-card.premium-plus {
    border-color: #ff5252;
}

.tier-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.tier-icon {
    font-size: 2rem;
    margin-right: 0.75rem;
}

.tier-header h3 {
    font-size: 1.75rem;
    margin: 0;
}

.tier-summary {
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
    min-height: 40px;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tier-features li {
    padding: 0.75rem 0;
    border-top: 1px solid #2a2a2a;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.tier-features li:first-child {
    border-top: none;
}

.tier-note {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.tier-link {
    display: block;
    height: 100%;
    text-decoration: none !important;
}

.tier-link .tier-card {
    height: 100%;
}

/* -------------------------------------------------------
   CRITICAL INFO / ALERT CARDS
-------------------------------------------------------- */
.critical-info-section {
    background-color: var(--color-surface);
    padding: 2rem 0;
}

.alert-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.alert-card {
    flex: 1;
    max-width: 500px;
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 5px solid;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.alert-card:hover {
    transform: translateY(-5px);
}

.alert-card.system-req {
    border-color: var(--color-danger);
}

.alert-card.manual-setup {
    border-color: var(--color-primary);
}

.alert-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.alert-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.alert-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* -------------------------------------------------------
   RESOURCES SECTION
-------------------------------------------------------- */
.resources-section {
    background-color: var(--color-surface);
    padding: 1rem 0;
}

.resources-left-pad {
    padding-left: 2rem;
}

.single-post-note {
    font-size: 1.25rem;
    text-align: center;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.note-orange { color: #ff9800; }
.note-aqua   { color: #00e6e6; }
.note-white  { color: #ffffff; }

.resources-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.resource-link {
    display: block;
    color: var(--color-text-light) !important;
    text-decoration: none !important;
}

.resource-link:hover {
    color: var(--color-primary) !important;
}

.resource-link * {
    text-decoration: none !important;
}

.resource-link .resource-text {
    font-size: 1.25rem;
}

.resource-link .resource-text strong {
    font-size: 1.25rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.resource-link .resource-text p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.resource-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.resource-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.resource-text strong {
    display: inline-block;
}

/* -------------------------------------------------------
   RELATED VIDEOS
-------------------------------------------------------- */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.related-item {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 12px;
    text-align: left;
    transition: transform 0.15s ease, background 0.2s ease;
}

.related-item:hover {
    transform: scale(1.02);
    background: rgba(255,255,255,0.08);
}

.related-thumb {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 8px;
}

.related-title {
    font-size: 1rem;
    color: #e0e8f0;
}

/* -------------------------------------------------------
   TRANSCRIPT
-------------------------------------------------------- */
.transcript-body {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    background: rgba(0,0,0,0.25);
    border-radius: 10px;
    border: 1px solid rgba(0,217,255,0.2);
}

.transcript-line {
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: #c7d4e3;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.timestamp {
    background: rgba(0,217,255,0.15);
    border: 1px solid rgba(0,217,255,0.6);
    color: #00d9ff;
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.85rem;
    cursor: pointer;
    flex-shrink: 0;
}

.timestamp:hover {
    background: rgba(0,217,255,0.3);
}

.transcript-text {
    flex: 1;
}

/* -------------------------------------------------------
   SOCIAL ICONS
-------------------------------------------------------- */
.social-icons {
    text-align: center;
    margin-bottom: 12px;
}

.social-icons img {
    width: 36px;
    height: 36px;
    margin: 0 8px;
    vertical-align: middle;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.social-icons img:hover {
    transform: scale(1.08);
    opacity: 0.9;
}

/* -------------------------------------------------------
   FOOTER
-------------------------------------------------------- */
#footer,
.footer-links {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #7a8fa3;
}

#footer a,
.footer-links a {
    color: #00d9ff;
    margin: 0 10px;
}

#footer a:hover,
.footer-links a:hover {
    text-decoration: underline;
}

.site-footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.site-footer a {
    color: var(--color-text-muted);
    text-decoration: underline;
}

/* -------------------------------------------------------
   MISC INPUTS
-------------------------------------------------------- */
input,
select,
button {
    padding: 6px;
    font-size: 14px;
}

button {
    cursor: pointer;
}

.filter-large {
    width: 100%;
    padding: 14px;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.top-image {
    width: 100%;
    margin-bottom: 25px;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* -------------------------------------------------------
   NEW TOP HERO HEADER SYSTEM
-------------------------------------------------------- */
/* =========================================
   TOOLS HERO OVERLAY – freer positioning
========================================= */

.ggf-top-hero-content {
    position: relative;
}

.ggf-top-hero-center {
    position: static;
    display: block;
    flex: 0 0 auto;
}

.ggf-tools-hero-overlay {
    position: absolute;
    left: 72px;
    top: 42%;
    transform: translateY(-48%);
    width: min(760px, 52vw);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 28px 30px 26px 30px;
    border-radius: 24px;
    background: linear-gradient(
        180deg,
        rgba(8, 16, 30, 0.34),
        rgba(8, 16, 30, 0.50)
    );
    backdrop-filter: blur(8px);
}

.ggf-tools-hero-overlay .hero-kicker {
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
}

.ggf-tools-hero-overlay .hero-title {
    margin: 0;
    max-width: 680px;
    font-size: clamp(3.6rem, 6.3vw, 6.4rem);
    line-height: 0.92;
    text-align: left;
    color: #ffffff;
    text-wrap: balance;
    text-shadow:
        0 4px 18px rgba(0,0,0,0.34),
        0 0 20px rgba(0,0,0,0.24);
}

.ggf-tools-hero-overlay .hero-subtitle {
    margin: 0;
    max-width: 560px;
    font-size: clamp(1.02rem, 1.35vw, 1.28rem);
    line-height: 1.45;
    text-align: left;
    color: rgba(255,255,255,0.90);
}

.ggf-tools-hero-overlay .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-start;
    align-items: center;
    margin: 4px 0 0 0;
}

.ggf-tools-hero-overlay .button,
.ggf-tools-hero-overlay .btn-primary,
.ggf-tools-hero-overlay .btn-secondary {
    margin: 0;
}

/* give top brand a little less dominance */
.ggf-top-brand {
    position: relative;
    z-index: 3;
}

.ggf-top-brand-logo {
    width: 72px;
    height: 72px;
}

.ggf-top-brand-title {
    font-size: clamp(2rem, 4vw, 4.5rem);
}

.ggf-top-brand-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.35rem);
    margin-top: 4px;
}

/* bottom nav stays pinned visually lower */
.ggf-top-hero-bottom {
    position: relative;
    z-index: 3;
    margin-top: auto;
}

@media (max-width: 1200px) {
    .ggf-tools-hero-overlay {
        left: 48px;
        width: min(700px, 58vw);
    }
}

@media (max-width: 900px) {
    .ggf-tools-hero-overlay {
        left: 50%;
        top: 52%;
        transform: translate(-50%, -50%);
        width: min(92vw, 720px);
        align-items: center;
        padding: 24px 22px;
    }

    .ggf-tools-hero-overlay .hero-title,
    .ggf-tools-hero-overlay .hero-subtitle {
        text-align: center;
    }

    .ggf-tools-hero-overlay .hero-actions {
        justify-content: center;
    }
}

.ggf-top-hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: center;
    isolation: isolate;
}

.ggf-top-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: -3;
}

.ggf-top-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(5, 10, 20, 0.35), rgba(5, 10, 20, 0.55)),
        radial-gradient(circle at center, rgba(0, 120, 180, 0.12), rgba(0, 0, 0, 0.45));
    z-index: -2;
}

.ggf-top-hero-content {
    width: 100%;
    max-width: 1400px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px 32px 28px 32px;
    z-index: 2;
}

.ggf-top-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
}

.ggf-top-brand-logo {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(0,0,0,0.35);
}

.ggf-top-brand-text {
    min-width: 0;
}

.ggf-top-brand-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.4rem, 5vw, 5.2rem);
    line-height: 1;
    letter-spacing: 3px;
    color: #ffd700;
    text-shadow:
        0 0 10px rgba(255,215,0,0.65),
        0 0 24px rgba(0,0,0,0.45);
}

.ggf-top-brand-subtitle {
    font-family: 'Anton', sans-serif;
    font-size: clamp(1rem, 2vw, 1.6rem);
    letter-spacing: 4px;
    color: #ffd700;
    margin-top: 8px;
    text-shadow:
        0 0 10px rgba(255,215,0,0.55),
        0 0 20px rgba(0,0,0,0.35);
}

.ggf-top-nav-wrap {
    width: 100%;
    padding-top: 18px;
    padding-bottom: 12px;
    border-top: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    background: linear-gradient(to top, rgba(8,18,32,0.62), rgba(8,18,32,0.18));
    border-radius: 18px;
}

.ggf-top-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(14px, 2.2vw, 40px);
    flex-wrap: wrap;
}

.ggf-top-link {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(24px, 2.4vw, 34px);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    transition: text-shadow 0.2s ease, transform 0.2s ease;
}

.ggf-top-link:hover {
    text-decoration: none;
    transform: translateY(-1px);
    text-shadow:
        0 0 10px rgba(0,217,255,1),
        0 0 20px rgba(0,217,255,0.8),
        0 0 30px rgba(0,217,255,0.6);
}

/* Hide/remove old down arrow if still present in markup */
.ggf-hero-down {
    display: none !important;
}

@media (max-width: 900px) {
    .ggf-top-hero-content {
        padding: 24px 18px 20px 18px;
    }

    .ggf-top-brand {
        align-items: flex-start;
    }

    .ggf-top-brand-logo {
        width: 64px;
        height: 64px;
    }

    .ggf-top-nav-wrap {
        border-radius: 14px;
    }
}

/* -------------------------------------------------------
   RESPONSIVE
-------------------------------------------------------- */
@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { font-size: 1.25rem; }
    h2.section-heading { font-size: 2rem; }
    .alert-container {
        flex-direction: column;
        align-items: center;
    }
    .alert-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 2rem 0;
    }

    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1rem; }
    .cta-hero {
        font-size: 1.2rem;
        padding: 0.75rem 2rem;
    }

    h2.section-heading { font-size: 1.75rem; }
    .tiers-grid { grid-template-columns: 1fr; }
    .tier-card.featured { transform: scale(1.02); }
    .resource-item {
        flex-direction: column;
        text-align: center;
    }
    .resource-icon { margin: 0 0 0.5rem 0; }
    .download-btn { margin-top: 1rem; }
}

@media (max-width: 640px) {
    .ggf-top-hero {
        min-height: 88vh;
    }

    .ggf-top-hero-content {
        min-height: 88vh;
    }

    .ggf-top-brand {
        gap: 12px;
    }

    .ggf-top-brand-title {
        letter-spacing: 2px;
    }

    .ggf-top-brand-subtitle {
        letter-spacing: 2px;
        margin-top: 6px;
    }

    .ggf-top-link {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 10px 14px;
    }

    .ggf-logo {
        width: 52px;
        height: 52px;
    }

    .site-link {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    section {
        padding-top: 1rem !important;
        padding-bottom: 0.15rem !important;
    }

    .critical-info-section {
        margin-top: -1rem;
    }

    .header-spacer {
        height: 120px;
    }

    .hero-content-wrapper {
        margin-top: 2.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    h1 {
        font-size: 1.7rem;
        line-height: 1.2;
        margin-top: 0.5rem;
        margin-bottom: 0.75rem;
        padding: 0 1rem;
        word-break: break-word;
        text-align: center;
    }
}

/* =========================================
   TOOLS HERO OVERLAY
========================================= */

.ggf-top-hero-content {
    position: relative;
}

.ggf-top-hero-center.ggf-tools-hero-overlay {
    position: absolute;
    left: 70px;
    top: 48%;
    transform: translateY(-50%);
    width: min(1400px, 82vw);
    z-index: 3;

    /* outside box should be transparent */
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.ggf-top-hero-center.ggf-tools-hero-overlay .hero-kicker {
    margin: 0 0 14px 6px;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.88);
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.ggf-tools-hero-main {
    width: min(900px, 100%);
    padding: 34px 36px;
    border-radius: 24px;

    /* only the inside box is shaded */
    background: linear-gradient(
        180deg,
        rgba(8,16,30,0.52),
        rgba(8,16,30,0.64)
    );
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.ggf-tools-hero-main .hero-title {
    margin: 0 0 18px 0;
    max-width: 100%;
    font-size: clamp(3.5rem, 6vw, 6.2rem);
    line-height: 0.95;
    text-align: left;
    color: #ffffff;
    text-shadow:
        0 4px 18px rgba(0,0,0,0.35),
        0 0 20px rgba(0,0,0,0.2);
}

.ggf-tools-hero-main .hero-subtitle {
    margin: 0;
    max-width: 760px;
    font-size: clamp(1rem, 1.35vw, 1.25rem);
    line-height: 1.5;
    text-align: left;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.ggf-tools-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
    padding-left: 4px;
}

.ggf-tools-hero-actions .button,
.ggf-tools-hero-actions .btn-primary,
.ggf-tools-hero-actions .btn-secondary {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.45);
    padding: 14px 26px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.18s ease;
}

.ggf-top-hero-center.ggf-tools-hero-overlay {
    position: absolute;
    left: 70px;
    top: 48%;
    transform: translateY(-50%);
    width: min(1500px, 90vw);
    z-index: 3;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.ggf-tools-hero-main {
    width: min(1250px, 100%);
    padding: 34px 42px;
    border-radius: 24px;
    background: linear-gradient(
        180deg,
        rgba(8,16,30,0.52),
        rgba(8,16,30,0.64)
    );
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.ggf-tools-hero-main .hero-title {
    margin: 0 0 18px 0;
    max-width: 100%;
    font-size: clamp(2.6rem, 4.2vw, 4.6rem);
    line-height: 0.95;
    text-align: left;
    color: #ffffff;
    text-shadow:
        0 4px 18px rgba(0,0,0,0.35),
        0 0 20px rgba(0,0,0,0.2);
}

.ggf-tools-hero-main .hero-subtitle {
    margin: 0;
    max-width: 980px;
    font-size: clamp(1rem, 1.2vw, 1.18rem);
    line-height: 1.5;
    text-align: left;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

    .ggf-tools-hero-main .hero-title,
    .ggf-tools-hero-main .hero-subtitle {
        text-align: center;
    }

    .ggf-tools-hero-actions {
        justify-content: center;
        padding-left: 0;
    }
}

/* ===============================
   HEADER BRAND SIZE
=============================== */

.ggf-top-brand {
    gap: 10px;
    align-items: center;
}

.ggf-top-brand-logo {
    width: 82px;
    height: 82px;
}

.ggf-top-brand-title {
    font-size: clamp(3rem, 4vw, 4.8rem);
    line-height: 0.9;
    letter-spacing: 1px;
}

.ggf-top-brand-subtitle {
    font-size: clamp(1.2rem, 1.6vw, 1.7rem);
    margin-top: -4px;
    letter-spacing: 2px;
    opacity: 0.95;
}

/* ===============================
   HERO BUTTONS
=============================== */

.ggf-tools-hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    justify-content: flex-start;
}
/* primary button */

.ggf-tools-hero-actions .btn-primary {
    background: #ffffff;
    color: #0f172a;
    border: none;
    padding: 14px 26px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-shadow: none;
    transition: all 0.18s ease;
}

/* subtle hover */

.ggf-tools-hero-actions .btn-primary:hover {
    background: #f4f4f4;
}

/* secondary button */

.ggf-tools-hero-actions .btn-secondary {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.45);
    padding: 14px 26px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.18s ease;
}

/* hover */

.ggf-tools-hero-actions .btn-secondary:hover {
    border-color: white;
    background: rgba(255,255,255,0.08);
}

.ggf-tools-hero-actions {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 16px !important;
    margin-top: 20px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.ggf-tools-hero-actions .button,
.ggf-tools-hero-actions .btn-primary,
.ggf-tools-hero-actions .btn-secondary {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Minimal section headings */

.ggf-how-it-works .section-heading,
.ggf-examples .section-heading,
.ggf-shortcuts .section-heading {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: none;
    margin-bottom: 28px;
    position: relative;
}

/* clean divider line */

.ggf-how-it-works .section-heading::after,
.ggf-examples .section-heading::after,
.ggf-shortcuts .section-heading::after {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    background: #ffffff;
    margin-top: 10px;
}

/* remove underline from hero buttons */

.ggf-tools-hero-actions a:hover,
.ggf-tools-hero-actions a:focus {
    text-decoration: none;
}

/* =========================================
   SHORT VIEWPORT HEIGHT FIX
========================================= */

@media (max-height: 760px) {
    .ggf-top-hero {
        min-height: auto;
    }

    .ggf-top-hero-content {
        min-height: auto;
        padding-top: 16px;
        padding-bottom: 16px;
        gap: 14px;
    }

    .ggf-top-brand-logo {
        width: 58px;
        height: 58px;
    }

    .ggf-top-brand-title {
        font-size: clamp(2.2rem, 5vw, 3.8rem);
        line-height: 0.9;
    }

    .ggf-top-brand-subtitle {
        font-size: clamp(0.95rem, 1.8vw, 1.2rem);
        margin-top: -2px;
    }

    .ggf-top-hero-center.ggf-tools-hero-overlay {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        margin-top: 4px;
    }

    .ggf-top-hero-center.ggf-tools-hero-overlay .hero-kicker {
        margin: 0 0 10px 2px;
        font-size: 0.72rem;
        letter-spacing: 2px;
    }

    .ggf-tools-hero-main {
        width: 100%;
        padding: 20px 18px;
        border-radius: 18px;
    }

    .ggf-tools-hero-main .hero-title {
        font-size: clamp(2.2rem, 5vw, 3.6rem);
        line-height: 0.96;
        text-align: center;
    }

    .ggf-tools-hero-main .hero-subtitle {
        max-width: 100%;
        font-size: clamp(0.95rem, 1.6vw, 1.08rem);
        text-align: center;
    }

    .ggf-tools-hero-actions {
        justify-content: center;
        margin-top: 14px;
    }

    .ggf-top-hero-bottom {
        margin-top: 6px;
    }

    .ggf-top-nav-wrap {
        padding-top: 10px;
        padding-bottom: 8px;
    }
}

.example-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    background: #111;
}