/* ============================================
   FIERCE FITNESS - Main Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --accent: #ff5400;
    --accent-light: #ff6b00;
    --accent-glow: rgba(255, 84, 0, 0.3);
    --accent-glow-strong: rgba(255, 84, 0, 0.5);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --bg: var(--bg-secondary);
    --text: var(--text-primary);
    --border: #2a2a2a;
    --border-light: #333333;
    --font-heading: 'Bebas Neue', 'Poppins', sans-serif;
    --font-body: 'Inter', 'Poppins', sans-serif;
    --font-accent: 'Poppins', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-accent: 0 4px 20px rgba(255, 84, 0, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --overlay-bg: rgba(13, 13, 13, 0.95);
    --overlay-heavy: rgba(13, 13, 13, 0.88);
    --overlay-medium: rgba(13, 13, 13, 0.82);
    --overlay-light: rgba(13, 13, 13, 0.72);
    --overlay-card: rgba(13, 13, 13, 0.85);
    --overlay-gradient-program: rgba(13, 13, 13, 0.92);
    --overlay-gradient-blog: rgba(13, 13, 13, 0.88);
    --nav-scrolled-bg: rgba(13, 13, 13, 0.92);
    --mobile-menu-bg: rgba(13, 13, 13, 0.97);
}

/* --- Light Mode Variables --- */
body.light-mode {
    --accent: #c43d00;
    --accent-light: #d94a08;
    --accent-glow: rgba(196, 61, 0, 0.2);
    --accent-glow-strong: rgba(196, 61, 0, 0.35);
    --bg-primary: #f8f8f6;
    --bg-secondary: #f0efeb;
    --bg-card: #ffffff;
    --bg-card-hover: #f5f5f3;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #888888;
    --border: #e0ddd8;
    --border-light: #d0cdc8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-accent: 0 4px 20px rgba(196, 61, 0, 0.18);
    --overlay-bg: rgba(248, 248, 246, 0.95);
    --overlay-heavy: rgba(248, 248, 246, 0.88);
    --overlay-medium: rgba(248, 248, 246, 0.82);
    --overlay-light: rgba(248, 248, 246, 0.72);
    --overlay-card: rgba(248, 248, 246, 0.85);
    --overlay-gradient-program: rgba(248, 248, 246, 0.92);
    --overlay-gradient-blog: rgba(248, 248, 246, 0.88);
    --nav-scrolled-bg: rgba(248, 248, 246, 0.92);
    --mobile-menu-bg: rgba(248, 248, 246, 0.97);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 16px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-secondary);
}

html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

html::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Google Translate forces top:40px on body — prevent layout shift */
body.top-reset {
    top: 0 !important;
}

/* Hide default Google Translate widget */
.goog-te-banner-frame,
.goog-te-banner-frame-top {
    display: none !important;
}

.goog-te-gadget {
    display: none !important;
}

.goog-te-combo {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

#google_translate_element {
    display: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    background: none;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

input, textarea {
    font-family: inherit;
    outline: none;
}

input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.section {
    padding: 100px 0;
    position: relative;
}

.text-accent {
    color: var(--accent);
}

/* --- Loading Screen --- */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    text-align: center;
}

.loader-flame {
    font-size: 48px;
    color: var(--accent);
    animation: loaderFlame 1s ease-in-out infinite alternate;
    margin-bottom: 16px;
}

@keyframes loaderFlame {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.15);
        opacity: 1;
    }
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 32px;
    letter-spacing: 6px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 3px;
    animation: loaderFill 0.8s ease-out forwards;
}

@keyframes loaderFill {
    to {
        width: 100%;
    }
}

/* --- Custom Cursor --- */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, opacity 0.15s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.08s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor-follower.hover {
    width: 56px;
    height: 56px;
    border-color: var(--accent-light);
    background: rgba(255, 84, 0, 0.08);
}

@media (pointer: coarse) {
    .cursor, .cursor-follower {
        display: none;
    }
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--overlay-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9000;
    padding: 20px 0;
    transform: translateY(100%);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.cookie-text i {
    font-size: 24px;
    color: var(--accent);
    flex-shrink: 0;
}

.cookie-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-cookie-accept {
    background: var(--accent);
    color: white;
}

.btn-cookie-accept:hover {
    background: var(--accent-light);
    box-shadow: var(--shadow-accent);
    transform: translateY(-2px);
}

.btn-cookie-decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-cookie-decline:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: var(--nav-scrolled-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.logo-flame {
    color: var(--accent);
    font-size: 20px;
    animation: flameFlicker 2s ease-in-out infinite alternate;
}

@keyframes flameFlicker {
    0% {
        filter: brightness(1);
        transform: scale(1);
    }
    50% {
        filter: brightness(1.2);
        transform: scale(1.05);
    }
    100% {
        filter: brightness(1);
        transform: scale(1);
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- Theme Toggle Button --- */
.theme-toggle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(255, 84, 0, 0.08);
}

.theme-toggle i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.theme-toggle.switching i {
    transform: rotate(180deg) scale(0);
    opacity: 0;
}

/* --- Translate Dropdown --- */
.translate-wrapper {
    position: relative;
    flex-shrink: 0;
}

.translate-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-accent);
    height: 30px;
}

.translate-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.translate-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 0;
    min-width: 170px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.translate-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.translate-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.translate-option:hover {
    background: rgba(255, 84, 0, 0.08);
    color: var(--text-primary);
}

.translate-option.active {
    color: var(--accent);
    font-weight: 600;
}

.translate-option .flag {
    font-size: 15px;
    line-height: 1;
}

/* Language transition effect */
[data-i18n] {
    transition: opacity 0.2s ease;
}

body.lang-switching [data-i18n] {
    opacity: 0.3;
}

/* CTA Nav Button */
.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: var(--accent);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    letter-spacing: 0.3px;
}

.btn-nav-cta:hover {
    background: var(--accent-light);
    box-shadow: var(--shadow-accent);
    transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-accent);
    border-radius: var(--radius-sm);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.btn::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-ripple::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    box-shadow: 0 0 30px rgba(255, 84, 0, 0.35);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 20px rgba(255, 84, 0, 0.15);
    transform: translateY(-3px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            135deg,
            var(--overlay-heavy) 0%,
            var(--overlay-light) 50%,
            var(--overlay-medium) 100%
    );
}

.hero-gradient-spotlight {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 400px at 50% 50%, rgba(255, 84, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
    transition: background 0.1s linear;
}

.hero-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

body.light-mode .hero-gradient-bottom {
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    padding-top: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 84, 0, 0.12);
    border: 1px solid rgba(255, 84, 0, 0.25);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 28px;
}

.hero-badge i {
    font-size: 14px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(48px, 8vw, 96px);
    line-height: 1;
    letter-spacing: 3px;
    margin-bottom: 24px;
    max-width: 800px;
}

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 14px;
}

.hero-location i {
    color: var(--accent);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 3px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(8px);
    }
}

/* --- Section Headers --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-accent);
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    line-height: 1;
    letter-spacing: 1px;
}

.badge-text {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
}

.about-content {
    padding: 20px 0;
}

.about-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 84, 0, 0.1);
}

.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 84, 0, 0.1);
    border-radius: 12px;
    color: var(--accent);
    font-size: 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    letter-spacing: 1px;
    color: var(--text-primary);
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--accent);
    display: inline;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* --- Programs Section --- */
.programs {
    background: var(--bg-secondary);
    position: relative;
}

.programs::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-secondary) 100%);
    pointer-events: none;
}

.programs::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, var(--bg-secondary) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.programs-slider {
    overflow: hidden;
    position: relative;
}

.programs-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-card {
    min-width: calc(25% - 18px);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

.program-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-card:hover .program-image img {
    transform: scale(1.08);
}

.program-info {
    padding: 24px;
}

.program-info h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.program-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.slider-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(255, 84, 0, 0.08);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* --- Trainers Section --- */
.trainers-slider {
    overflow: hidden;
}

.trainers-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.trainers-track .trainer-card {
    min-width: calc(25% - 18px);
}

.trainer-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.trainer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

.trainer-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    flex-shrink: 0;
}

.trainer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.trainer-card:hover .trainer-image img {
    transform: scale(1.08);
}

.trainer-socials {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.trainer-card:hover .trainer-socials {
    bottom: 16px;
}

.trainer-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--overlay-card);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    color: white;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.trainer-socials a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.trainer-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.trainer-info h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    letter-spacing: 1px;
    margin-bottom: 4px;
    min-height: 26px;
    line-height: 1.2;
}

.trainer-role {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
    min-height: 18px;
    line-height: 1.3;
}

.trainer-spec {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.btn-book-trainer {
    margin-top: auto;
}

/* --- Pricing Section --- */
.pricing {
    background: var(--bg-secondary);
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-secondary) 100%);
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition-smooth);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-popular {
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
    animation: premiumGlow 3s ease-in-out infinite;
}

@keyframes premiumGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 84, 0, 0.15);
    }
    50% {
        box-shadow: 0 0 35px rgba(255, 84, 0, 0.25);
    }
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.pricing-name {
    font-family: var(--font-heading);
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 52px;
    line-height: 1;
    color: var(--text-primary);
}

.price-currency {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

.price-period {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i.fa-check {
    color: var(--accent);
    font-size: 12px;
}

.pricing-features li i.fa-times {
    color: var(--text-muted);
    font-size: 12px;
}

.pricing-features li.disabled {
    opacity: 0.4;
}

.btn-pricing {
    width: 100%;
}

/* --- Contact Section --- */

/* --- Contact Section --- */
.contact {
    background: var(--bg-secondary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-secondary) 100%);
    pointer-events: none;
}

.locations-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form {
    position: relative;
}

.form-group {
    position: relative;
    margin-bottom: 28px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 16px 0 12px;
    font-size: 15px;
    color: var(--text-primary);
    transition: border-color 0.3s ease;
    resize: none;
}

.form-group textarea {
    min-height: 100px;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 16px;
    font-size: 15px;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -8px;
    font-size: 12px;
    color: var(--accent);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.form-group.error input,
.form-group.error textarea {
    border-bottom-color: #e74c3c;
}

.form-group .error-message {
    font-size: 12px;
    color: #e74c3c;
    margin-top: 6px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.password-hint {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.4;
}

.btn-submit {
    width: 100%;
    margin-top: 8px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
    color: #2ecc71;
}

.form-success.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.form-success i {
    font-size: 48px;
    margin-bottom: 16px;
}

.form-success p {
    color: var(--text-secondary);
    font-size: 15px;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
}

.contact-info-item:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 84, 0, 0.1);
    border-radius: 10px;
    color: var(--accent);
    font-size: 16px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.contact-info-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

/* --- Footer --- */
.footer {
    background: var(--bg-primary);
    padding: 60px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-primary) 100%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 22px;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.footer-logo i {
    color: var(--accent);
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 16px;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.footer-links h4,
.footer-newsletter h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

.footer-links ul a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.footer-links ul a:hover {
    color: var(--accent);
}

.footer-links ul a:hover::after {
    width: 100%;
}

.footer-newsletter p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.newsletter-form:focus-within {
    border-color: var(--accent);
}

.newsletter-form input {
    flex: 1;
    background: var(--bg-card);
    border: none;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form button {
    background: var(--accent);
    color: white;
    padding: 12px 18px;
    font-size: 16px;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--accent-light);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Animations --- */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--mobile-menu-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu .nav-link {
        font-size: 24px;
        font-family: var(--font-heading);
        letter-spacing: 3px;
    }

    .hamburger {
        display: flex;
    }

    .btn-nav-cta {
        display: none;
    }

    .nav-actions {
        gap: 8px;
    }

    .auth-modal-content {
        margin: 16px;
        padding: 24px;
        max-height: 85vh;
    }

    .user-btn-label {
        display: none;
    }

    .user-btn {
        padding: 0;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        justify-content: center;
    }

    .program-card {
        min-width: calc(50% - 12px);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 300px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .program-card {
        min-width: calc(100% - 0px);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-title {
        font-size: clamp(36px, 10vw, 56px);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .stat-number, .stat-suffix {
        font-size: 32px;
    }

    .pricing-card {
        padding: 32px 24px;
    }
}

/* --- Ripple Effect --- */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: rippleAnim 0.6s linear;
    pointer-events: none;
}

@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.theme-toggle i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.theme-toggle.switching i {
    transform: rotate(180deg) scale(0);
    opacity: 0;
}

/* --- Newsletter Success Animation --- */
.newsletter-form {
    position: relative;
}

.newsletter-success {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2ecc71;
    color: white;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 18px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.newsletter-success.show {
    opacity: 1;
    transform: scale(1);
}

/* --- About Scribble (hand-drawn accent) --- */
.about-image-wrapper {
    position: relative;
}

.about-scribble {
    position: absolute;
    bottom: -12px;
    left: 20px;
    width: 120px;
    opacity: 0.6;
    pointer-events: none;
}

/* --- Pricing Sticker (imperfect detail) --- */
.pricing-sticker {
    position: absolute;
    top: 16px;
    right: -8px;
    background: var(--accent);
    color: white;
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transform: rotate(3deg);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(255, 84, 0, 0.3);
    z-index: 2;
}

/* --- Trainer Card Featured --- */
.trainer-card--featured {
    grid-row: span 1;
}

.trainer-card--featured .trainer-image {
    height: 280px;
}

/* --- Light Mode Specific Adjustments --- */
body.light-mode .hero-badge {
    background: rgba(255, 84, 0, 0.08);
    border-color: rgba(255, 84, 0, 0.2);
}

body.light-mode .cursor-follower.hover {
    background: rgba(255, 84, 0, 0.06);
}

body.light-mode .pricing-popular {
    animation: premiumGlowLight 3s ease-in-out infinite;
}

@keyframes premiumGlowLight {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 84, 0, 0.1);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 84, 0, 0.18);
    }
}

body.light-mode .btn-primary:hover {
    box-shadow: 0 0 25px rgba(255, 84, 0, 0.25);
}

body.light-mode .btn-outline:hover {
    box-shadow: 0 0 15px rgba(255, 84, 0, 0.1);
}

body.light-mode .stat-card:hover {
    box-shadow: 0 8px 30px rgba(255, 84, 0, 0.08);
}

body.light-mode .btn-nav-cta:hover {
    box-shadow: 0 4px 16px rgba(255, 84, 0, 0.2);
}

body.light-mode .pricing-sticker {
    box-shadow: 0 2px 8px rgba(255, 84, 0, 0.2);
}

body.light-mode .hero-overlay {
    background: linear-gradient(
            135deg,
            rgba(248, 248, 246, 0.75) 0%,
            rgba(248, 248, 246, 0.55) 50%,
            rgba(248, 248, 246, 0.65) 100%
    );
}

body.light-mode .hero-title {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

body.light-mode .pricing-badge {
    box-shadow: 0 2px 8px rgba(255, 84, 0, 0.2);
}

body.light-mode .about-image-badge {
    box-shadow: 0 4px 16px rgba(255, 84, 0, 0.2);
}

/* --- User Button --- */
.user-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    height: 38px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    transition: var(--transition-smooth);
    font-size: 13px;
    flex-shrink: 0;
}

.user-btn i {
    font-size: 14px;
}

.user-btn-label {
    font-size: 13px;
    font-weight: 500;
}

.user-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.user-btn.logged-in {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* --- Auth Modal --- */
.auth-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.auth-modal.show {
    display: flex;
}

.auth-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.auth-modal-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 100%;
    max-width: 400px;
    z-index: 1;
    max-height: 90vh;
    overflow-y: auto;
}

.auth-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
}

.auth-modal-close:hover {
    color: var(--text);
}

/* Confirm Modal */
.confirm-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10002;
    align-items: center;
    justify-content: center;
}

.confirm-modal.show {
    display: flex;
}

.confirm-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.confirm-modal-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 100%;
    max-width: 420px;
    z-index: 1;
    text-align: center;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.confirm-modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.confirm-modal-icon i {
    font-size: 24px;
    color: var(--accent);
}

.confirm-modal-message {
    font-size: 16px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 28px;
}

.confirm-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirm-modal-actions .btn {
    min-width: 120px;
}

.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.auth-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.auth-form .form-group {
    margin-bottom: 16px;
}

.auth-form label {
    position: absolute;
    top: 12px;
    left: 12px;
    color: var(--text-muted);
    font-size: 14px;
    pointer-events: none;
    transition: 0.2s;
}

.auth-form input:focus + label,
.auth-form input:not(:placeholder-shown) + label {
    top: -8px;
    left: 8px;
    font-size: 11px;
    color: var(--accent);
    background: var(--bg-card);
    padding: 0 4px;
}

.auth-form input {
    width: 100%;
    padding: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.auth-form input:focus {
    border-color: var(--accent);
}

.auth-error {
    color: #ff4444;
    font-size: 13px;
    margin-bottom: 12px;
    min-height: 18px;
}

.btn-full {
    width: 100%;
    padding: 12px;
}

.auth-user-info {
    text-align: center;
    margin-bottom: 20px;
}

.auth-user-info i {
    font-size: 48px;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}

.auth-user-info span {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

.auth-role-badge {
    display: inline-block !important;
    margin-top: 4px;
    padding: 2px 10px;
    background: var(--accent);
    color: #fff;
    border-radius: 12px;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.auth-memberships {
    margin-bottom: 20px;
}

.auth-memberships h4 {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.auth-membership-item {
    padding: 10px;
    background: var(--bg);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    font-size: 13px;
}

.auth-membership-item .plan-name {
    font-weight: 600;
    color: var(--accent);
}

/* --- Toast --- */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10001;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast i {
    color: #4CAF50;
    font-size: 18px;
}

.toast.error i {
    color: #ff4444;
}

/* --- Dashboard --- */
.dashboard-section {
    margin: 16px 0;
}

.dashboard-section-title {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.dashboard-empty {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border);
}

.dashboard-empty i {
    font-size: 32px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}

.dashboard-empty p {
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 14px;
}

.dashboard-plan-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
}

.plan-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.plan-card-header i {
    color: var(--accent);
    font-size: 20px;
}

.plan-status-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-status-badge.active {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

.plan-status-badge.inactive {
    background: rgba(255, 68, 68, 0.15);
    color: #ff4444;
}

.plan-card-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.plan-card-price {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
}

.plan-card-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.plan-card-features {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.plan-card-actions {
    display: flex;
    gap: 8px;
}

.dashboard-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--bg);
    border-radius: var(--radius-md);
    margin-bottom: 6px;
    font-size: 13px;
    border: 1px solid var(--border);
}

.history-plan-name {
    font-weight: 600;
}

.history-status {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: 600;
}

.history-status.active {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

.history-status.inactive {
    background: rgba(255, 68, 68, 0.1);
    color: var(--text-muted);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

/* --- Dashboard --- */
.dashboard-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.btn-dash-action {
    background: rgba(255, 84, 0, 0.12);
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-dash-action:hover {
    background: var(--accent);
    color: #fff;
}

/* Pricing card active state */
.pricing-card.is-active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(255, 84, 0, 0.2);
}

.pricing-card .active-badge {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

.pricing-card.is-active .active-badge {
    display: block;
}

.btn-current {
    background: var(--accent) !important;
    color: #fff !important;
    border-color: var(--accent) !important;
    opacity: 0.7;
    cursor: default !important;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-primary) 100%);
    pointer-events: none;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--border-light);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question i {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================
   Blog Section
   ============================================ */
.blog {
    position: relative;
}

.blog::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-primary) 100%);
    pointer-events: none;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.blog-card-body {
    padding: 20px;
}

.blog-card-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-date i {
    font-size: 11px;
    color: var(--accent);
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    line-height: 1.2;
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-author {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-author i {
    color: var(--accent);
}

.blog-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.blog-loading i {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}

.blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.blog-empty i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Contact Response Time
   ============================================ */
.contact-response-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
}

/* ============================================
   Footer Legal Links
   ============================================ */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent);
}

/* ============================================
   Sticky Mobile CTA
   ============================================ */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-accent);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(255, 84, 0, 0.4);
    z-index: 8000;
    transition: var(--transition-smooth);
}

.sticky-mobile-cta:active {
    transform: translateX(-50%) scale(0.95);
}

@media (max-width: 768px) {
    .sticky-mobile-cta {
        display: flex;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-in {
        opacity: 1;
        transform: none;
    }

    .loader {
        display: none;
    }

    .cursor, .cursor-follower {
        display: none;
    }
}