/*
 * Prollenium Medical Technologies - Interim Website
 * Premium dark aesthetic with subtle animations
 * Color Palette: Black, Charcoal, White, Lime Green accent (#8DC63F)
 */

/* Google Fonts Import */
/* ORIGINAL FONTS (pre-brand-book update, revert commit to restore):
   @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');
   --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
   --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
*/
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    --color-black: #000000;
    --color-charcoal: #1a1a1a;
    --color-dark-gray: #2a2a2a;
    --color-medium-gray: #555555;
    --color-light-gray: #999999;
    --color-off-white: #f0f0f0;
    --color-white: #ffffff;
    --color-accent: #8DC63F;
    --color-accent-hover: #7ab632;
    --color-accent-glow: rgba(141, 198, 63, 0.3);

    --font-heading: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --header-height: 80px;
    --section-padding: 120px;
    --container-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--color-white);
    background-color: var(--color-black);
    overflow-x: hidden;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

::selection {
    background: var(--color-accent);
    color: var(--color-black);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-family: var(--font-body);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--color-light-gray);
    font-weight: 300;
    font-size: 1.05rem;
}

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

/* Trademark symbol - subtle and small */
.tm {
    font-size: 0.35em;
    font-weight: 300;
    opacity: 0.5;
    vertical-align: super;
    letter-spacing: 0;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

section {
    position: relative;
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays for children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.15s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.45s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.6s; }

/* ==========================================================================
   Header
   ========================================================================== */

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    height: var(--header-height);
}

#main-header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: auto;
    transition: var(--transition-smooth);
}

.logo a:hover .logo-img {
    opacity: 0.8;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--color-accent);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--color-accent);
}

.nav-link.active::after {
    transform: scaleX(1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition-smooth);
    transform-origin: center;
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--color-accent-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

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

.btn-ghost:hover {
    background: var(--color-accent);
    color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--color-accent-glow);
}

.btn .icon {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.btn-secondary .icon {
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.btn-secondary:hover .icon {
    opacity: 1;
}

.btn:hover .icon {
    transform: translateX(4px);
}

.btn .icon-down {
    width: 12px;
    height: 12px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.btn:hover .icon-down {
    transform: translateY(3px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 40px;
}

.hero-logo {
    height: 50px;
    width: auto;
    margin: 0 auto 40px;
    opacity: 0;
    animation: fadeInDown 1s ease 0.3s forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-white);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

/* ==========================================================================
   Section Styles
   ========================================================================== */

.section-dark {
    background: var(--color-charcoal);
    padding: var(--section-padding) 0;
}

.section-black {
    background: var(--color-black);
    padding: var(--section-padding) 0;
}

.section-gradient {
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-charcoal) 100%);
    padding: var(--section-padding) 0;
}

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

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-title {
    color: var(--color-white);
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-light-gray);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.8;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: var(--color-accent);
    margin: 24px auto 0;
}

/* ==========================================================================
   About / Intro Section
   ========================================================================== */

.intro-section {
    padding: var(--section-padding) 0;
    background: var(--color-charcoal);
    position: relative;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-text .lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    font-weight: 300;
}

.intro-text .highlight {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.9;
    font-weight: 300;
    margin-top: 24px;
    padding-left: 24px;
    border-left: 2px solid var(--color-accent);
}

.intro-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.6s ease;
}

.intro-image:hover img {
    filter: grayscale(0%);
}

.intro-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(141, 198, 63, 0.2);
    border-radius: 4px;
    pointer-events: none;
}

.intro-video {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.intro-video video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.intro-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(141, 198, 63, 0.2);
    border-radius: 4px;
    pointer-events: none;
}

.video-fullscreen-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 3;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.2s ease;
    padding: 0;
}

.intro-video:hover .video-fullscreen-btn {
    opacity: 1;
}

.video-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(141, 198, 63, 0.4);
}

.video-fullscreen-btn .icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.video-fullscreen-btn:hover .icon {
    opacity: 1;
}

/* ==========================================================================
   Products Section
   ========================================================================== */

.products-section {
    padding: var(--section-padding) 0;
    background: var(--color-black);
}

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

.product-card {
    position: relative;
    background: var(--color-charcoal);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 50px 40px;
    text-align: center;
    transition: var(--transition-smooth);
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.product-card:hover {
    border-color: rgba(141, 198, 63, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
    opacity: 0.5;
}

.product-logo {
    height: 48px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-logo img {
    max-width: 180px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-logo img {
    opacity: 1;
}

.product-card h3 {
    color: var(--color-white);
    font-size: 1.3rem;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.product-card:hover h3 {
    color: var(--color-accent);
}

.product-card p {
    font-size: 0.95rem;
    color: var(--color-light-gray);
    margin-bottom: 24px;
    line-height: 1.7;
}

.product-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    transition: var(--transition-fast);
}

.product-card .card-link .icon {
    width: 12px;
    height: 12px;
    filter: brightness(0) saturate(100%) invert(68%) sepia(63%) saturate(389%) hue-rotate(47deg) brightness(99%) contrast(87%);
    transition: transform 0.3s ease;
}

.product-card:hover .card-link .icon {
    transform: translateX(4px);
}

/* ==========================================================================
   PACE Teaser Section
   ========================================================================== */

.pace-section {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.pace-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.pace-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(26, 26, 26, 0.85) 100%
    );
}

.pace-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.pace-text h2 {
    margin-bottom: 24px;
}

.pace-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.pace-features {
    list-style: none;
    margin-bottom: 40px;
}

.pace-features li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 300;
}

.pace-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 12px;
    height: 2px;
    background: var(--color-accent);
}

.pace-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.pace-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.pace-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(141, 198, 63, 0.15);
    border-radius: 4px;
    pointer-events: none;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    padding: var(--section-padding) 0;
    background: var(--color-charcoal);
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.jotform-container {
    margin-top: 40px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--color-dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.jotform-container iframe {
    width: 100%;
    min-height: 1500px;
    border: none;
    display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */

#main-footer {
    background: var(--color-black);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    height: 30px;
    width: auto;
    margin-bottom: 30px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.social-link:hover {
    border-color: var(--color-accent);
    background: rgba(141, 198, 63, 0.1);
    transform: translateY(-3px);
}

.social-link img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: var(--transition-fast);
}

.social-link:hover img {
    filter: brightness(0) saturate(100%) invert(68%) sepia(63%) saturate(389%) hue-rotate(47deg) brightness(99%) contrast(87%);
    opacity: 1;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--color-medium-gray);
    font-weight: 300;
}

.footer-credit {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.footer-credit:hover {
    opacity: 0.6;
}

.footer-credit img {
    height: 14px;
    width: auto;
}

/* ==========================================================================
   PACE Page - Hero
   ========================================================================== */

/* Screen reader only - hidden visually but accessible */
.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;
}

.pace-hero {
    min-height: 70vh;
}

.pace-hero .hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

/* ==========================================================================
   PACE Page - Program Section
   ========================================================================== */

.program-section {
    padding: var(--section-padding) 0;
    background: var(--color-charcoal);
}

.program-intro {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.program-intro p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.75);
}

/* Training Categories */
.training-category {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.training-category:last-child {
    border-bottom: none;
}

.training-category.reverse {
    direction: rtl;
}

.training-category.reverse > * {
    direction: ltr;
}

.training-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(141, 198, 63, 0.3);
    border-radius: 4px;
    margin-bottom: 20px;
    background: rgba(141, 198, 63, 0.05);
}

.training-icon-wrap img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(68%) sepia(63%) saturate(389%) hue-rotate(47deg) brightness(99%) contrast(87%);
}

.training-text h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-white);
}

.training-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
}

.training-visual {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 300px;
    background: var(--color-dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.img-grayscale {
    filter: grayscale(100%);
}

.training-number {
    font-family: var(--font-heading);
    font-size: 8rem;
    color: rgba(141, 198, 63, 0.06);
    position: absolute;
    top: -20px;
    right: 20px;
    line-height: 1;
    pointer-events: none;
}

/* ==========================================================================
   PACE Portal CTA
   ========================================================================== */

.portal-cta {
    padding: var(--section-padding) 0;
    background: var(--color-black);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.portal-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
    opacity: 0.15;
    pointer-events: none;
}

.portal-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.portal-content h2 {
    margin-bottom: 20px;
}

.portal-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */

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

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

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(8px);
    }
    60% {
        transform: rotate(45deg) translateY(4px);
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .container {
        padding: 0 30px;
    }

    .intro-content,
    .pace-content,
    .training-category {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .training-category.reverse {
        direction: ltr;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .product-card {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --section-padding: 60px;
    }

    .container {
        padding: 0 20px;
    }

    /* Mobile Nav */
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition-smooth);
        pointer-events: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        width: 100%;
        padding: 16px 20px;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .nav-link::after {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile Hero */
    .hero {
        min-height: 80vh;
    }

    .hero-bg {
        background-attachment: scroll;
    }

    .pace-bg {
        background-attachment: scroll;
    }

    .hero-logo {
        height: 36px;
    }

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

    .hero-scroll-indicator {
        display: none;
    }

    /* Mobile Products */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    /* Mobile PACE */
    .pace-image img {
        height: 300px;
    }

    /* Mobile Training */
    .training-visual {
        height: 220px;
    }

    .training-number {
        font-size: 5rem;
    }

    /* Mobile Footer */
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Mobile Section Headers */
    .section-header {
        margin-bottom: 50px;
    }

    /* Mobile Intro */
    .intro-content {
        gap: 30px;
    }

    .intro-image img {
        height: 280px;
    }

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.8rem;
    }

    .product-card {
        padding: 28px 20px;
    }

    .logo-img {
        height: 26px;
    }
}

/* ==========================================================================
   Prollenium Contact Form
   ========================================================================== */

.prollenium-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.prollenium-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
}

.prollenium-contact-form .form-group {
    margin-bottom: 24px;
}

.prollenium-contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.prollenium-contact-form .required {
    color: var(--color-accent);
}

.prollenium-contact-form input,
.prollenium-contact-form select {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    transition: border-color 0.3s ease, background 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.prollenium-contact-form input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.prollenium-contact-form input:focus,
.prollenium-contact-form select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
}

.prollenium-contact-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23999' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

.prollenium-contact-form select option {
    background: var(--color-charcoal);
    color: var(--color-white);
}

.prollenium-contact-form .form-submit {
    text-align: center;
    margin-top: 8px;
}

.prollenium-contact-form .form-submit .btn {
    min-width: 220px;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 50px 30px;
    border: 1px solid rgba(141, 198, 63, 0.3);
    border-radius: 4px;
    background: rgba(141, 198, 63, 0.05);
}

.form-success-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 1.8rem;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    margin: 0 auto 20px;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Form Errors */
.form-errors {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.4);
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.form-errors p {
    color: #dc3545;
    font-size: 0.9rem;
    margin: 4px 0;
}

@media (max-width: 768px) {
    .prollenium-contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    body {
        background: white;
        color: #333;
    }

    #main-header,
    .hero-scroll-indicator,
    .jotform-container,
    .mobile-menu-toggle {
        display: none;
    }

    section {
        padding: 40px 0;
    }

    h1, h2, h3, h4, h5, h6 {
        color: #000;
    }

    p {
        color: #333;
    }
}
