/* Brett Academy - Custom Styles (Fly Fitness Reference) */

/* ==============================================================================
   Material Symbols & Material Icons (Self-Hosted + Multi-Tier CDN Fallback)
   ============================================================================== */
@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 100 700;
    font-display: block;
    src: url('/fonts/material-symbols-outlined.ttf') format('truetype'),
         url('https://fonts.gstatic.com/s/materialsymbolsoutlined/v374/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOem.ttf') format('truetype');
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('/fonts/material-icons.woff2') format('truetype'),
         url('https://fonts.gstatic.com/s/materialicons/v145/flUhRq6tzZclQEJ-Vdg-IuiaDsNZ.ttf') format('truetype');
}

.material-symbols-outlined,
.material-icons {
    font-family: 'Material Symbols Outlined', 'Material Icons' !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga' 1;
    font-feature-settings: 'liga' 1;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

body {
    font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
    background-color: #f7f9fb;
    color: #0f172a;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
}


/* Custom Thin Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Kinetic Cards & Hover Transitions */
.theme-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
}

.kinetic-card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ring-circle {
    transition: stroke-dasharray 0.8s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.3s ease;
}


.kinetic-card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(0, 108, 78, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
}

/* Custom Form Elements */
.form-input {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: #0f172a;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #006c4e;
    box-shadow: 0 0 0 3px rgba(0, 108, 78, 0.15);
}

/* Floating Action Buttons */
.floating-cta-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #006c4e;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 8px 20px rgba(0, 108, 78, 0.35);
    transition: all 0.3s ease;
}

.floating-cta-btn:hover {
    background: #004d37;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 108, 78, 0.45);
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 40;
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.whatsapp-float img {
    width: 28px;
    height: 28px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 88px;
    right: 24px;
    z-index: 39;
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    color: #006c4e;
    border-color: #006c4e;
    transform: translateY(-2px);
}

/* Metric Gauge Rings Animation */
.ring-circle {
    transition: stroke-dashoffset 1s ease-in-out;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}
