/* ============================================================
   KICK FORGE STUDIO — Site Chrome (Header + Footer)
   For the try-studio page. Scoped under .kfa-landing wrapper
   so it never bleeds into the studio itself.
   ============================================================ */

/* Google Fonts already loaded via <link>. No @import here to avoid render blocking. */

/* ── HEADER ── */
.kfa-landing { color: #e2e2e2; }

.kfa-landing > header.kfa-site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: rgba(0,0,0,0.7) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    box-sizing: border-box !important;
}
.kfa-landing > header.kfa-site-header * { box-sizing: border-box; }
.kfa-landing .kfa-header-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1536px !important;
    margin: 0 auto !important;
    padding: 16px 32px !important;
}
.kfa-landing .kfa-header-brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
}
.kfa-landing .kfa-header-brand svg {
    height: 32px !important;
    width: auto !important;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.5));
}
.kfa-landing .kfa-header-brand-text {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    font-style: italic !important;
    letter-spacing: -0.05em !important;
    color: #fff !important;
    text-shadow: 0 0 8px rgba(0,229,255,0.5);
}

/* Nav */
.kfa-landing .kfa-header-nav {
    display: flex !important;
    align-items: center !important;
    gap: 48px !important;
}
.kfa-landing .kfa-header-nav a,
.kfa-landing .kfa-header-nav a:link,
.kfa-landing .kfa-header-nav a:visited {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: -0.02em !important;
    color: #9ca3af !important;
    text-decoration: none !important;
    transition: color 0.25s ease, text-shadow 0.25s ease !important;
}
.kfa-landing .kfa-header-nav a:hover,
.kfa-landing .kfa-header-nav a:focus,
.kfa-landing .kfa-header-nav a:active {
    color: #00e5ff !important;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.6) !important;
}
.kfa-landing .kfa-header-nav a.kfa-nav-link-active,
.kfa-landing .kfa-header-nav a.kfa-nav-link-active:link,
.kfa-landing .kfa-header-nav a.kfa-nav-link-active:visited {
    color: #00e5ff !important;
    font-weight: bold !important;
    border-bottom: 2px solid #00e5ff !important;
    padding-bottom: 4px !important;
}

/* Header right buttons */
.kfa-landing .kfa-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.kfa-landing .kfa-btn-primary,
.kfa-landing a.kfa-btn-primary,
.kfa-landing button.kfa-btn-primary {
    background: #00e5ff !important;
    color: #000 !important;
    border: none !important;
    padding: 8px 24px !important;
    border-radius: 4px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.4 !important;
    text-shadow: none !important;
    box-shadow: none !important;
}
.kfa-landing .kfa-btn-primary:hover,
.kfa-landing a.kfa-btn-primary:hover,
.kfa-landing button.kfa-btn-primary:hover {
    background: #fff !important;
    box-shadow: 0 0 20px rgba(0,229,255,0.5) !important;
    transform: translateY(-1px);
}
.kfa-landing .kfa-btn-secondary,
.kfa-landing button.kfa-btn-secondary {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    padding: 8px 24px !important;
    border-radius: 4px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    line-height: 1.4 !important;
    text-shadow: none !important;
    box-shadow: none !important;
}
.kfa-landing .kfa-btn-secondary:hover,
.kfa-landing button.kfa-btn-secondary:hover {
    background: rgba(255,255,255,0.05) !important;
    border-color: #00e5ff !important;
    color: #00e5ff !important;
}

/* Mobile: hide nav + actions, keep brand */
@media (max-width: 768px) {
    .kfa-landing .kfa-header-nav,
    .kfa-landing .kfa-header-actions {
        display: none !important;
    }
}

/* ── FOOTER ── */
.kfa-landing > footer.kfa-site-footer {
    background: #0a0a0c !important;
    width: 100% !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    padding: 48px 0 32px !important;
    box-sizing: border-box !important;
    margin-top: 0 !important;
    position: relative !important;
    z-index: 10 !important;
}
.kfa-landing > footer.kfa-site-footer * { box-sizing: border-box; }
.kfa-landing .kfa-footer-inner {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 1536px !important;
    margin: 0 auto !important;
    padding: 0 32px !important;
    flex-wrap: wrap !important;
}
.kfa-landing .kfa-footer-logo {
    height: 40px !important;
    width: auto !important;
    opacity: 0.8;
    flex-shrink: 0;
}
.kfa-landing .kfa-footer-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 24px !important;
}
.kfa-landing .kfa-footer-nav a,
.kfa-landing a.kfa-footer-link,
.kfa-landing a.kfa-footer-link:link,
.kfa-landing a.kfa-footer-link:visited {
    color: #6b7280 !important;
    opacity: 0.8 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    text-decoration: none !important;
    transition: color 0.25s ease, opacity 0.25s ease, text-shadow 0.25s ease !important;
}
.kfa-landing a.kfa-footer-link:hover,
.kfa-landing a.kfa-footer-link:focus,
.kfa-landing a.kfa-footer-link:active {
    color: #00e5ff !important;
    opacity: 1 !important;
    text-shadow: 0 0 6px rgba(0, 229, 255, 0.4) !important;
}
.kfa-landing .kfa-footer-copy {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    color: #6b7280 !important;
    opacity: 0.8 !important;
}

@media (max-width: 768px) {
    .kfa-landing .kfa-footer-inner {
        flex-direction: column !important;
        text-align: center !important;
    }
}

/* ── STUDIO OFFSET ── push studio below fixed header.
   Site header is ~64px tall (16px top + 32px content + 16px bottom).
   We use 120px to give the studio hero logo plenty of breathing room
   so it doesn't get cut off at the top by the fixed header. */
#kf {
    padding-top: 120px !important;
}

/* Hide studio's internal topbar — the site header replaces it.
   This also removes the pulsing logo glow that shines through the site header. */
#kf .topbar.af {
    display: none !important;
}

/* Hide footer on try-studio — the fixed bottom bar (play/stop/export) blocks it
   and the studio is a full-screen tool where a footer doesn't fit visually. */
.kfa-landing > footer.kfa-site-footer {
    display: none !important;
}