/**
 * NQFA — Premium Design System
 *
 * @package NQFA
 * @version 3.0.0 — Art-Directed Redesign
 */

/* ==========================================================================
   CSS RESET & BASE
   ========================================================================== */

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #1a1a2e;
    background-color: #FAFBFD;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #2563EB; text-decoration: none; transition: color 0.25s ease; }
a:hover { color: #1D4ED8; }

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */

:root {
    --navy: #0A1628;
    --navy-deep: #060e1a;
    --navy-light: #162035;
    --navy-mid: #1E293B;
    --blue: #2563EB;
    --blue-hover: #1D4ED8;
    --blue-light: #3B82F6;
    --blue-muted: rgba(37, 99, 235, 0.08);
    --gold: #D4A843;
    --gold-hover: #C49A38;
    --gold-muted: rgba(212, 168, 67, 0.12);
    --white: #FFFFFF;
    --off-white: #FAFBFD;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --green: #10B981;
    --green-muted: rgba(16, 185, 129, 0.1);
    --red: #EF4444;
    --amber: #F59E0B;

    --font: 'Inter', sans-serif;
    --fs-xs: 0.75rem;
    --fs-sm: 0.8125rem;
    --fs-base: 1rem;
    --fs-md: 1.0625rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 1.875rem;
    --fs-4xl: 2.25rem;
    --fs-5xl: 3rem;
    --fs-6xl: 3.75rem;
    --fs-display: clamp(2.75rem, 5vw, 4.5rem);

    --sp-xs: 0.25rem;
    --sp-sm: 0.5rem;
    --sp-md: 1rem;
    --sp-lg: 1.5rem;
    --sp-xl: 2rem;
    --sp-2xl: 3rem;
    --sp-3xl: 4rem;
    --sp-4xl: 5rem;
    --sp-5xl: 6rem;
    --sp-section: clamp(80px, 10vw, 120px);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;

    --shadow-xs: 0 1px 2px rgba(10,22,40,0.04);
    --shadow-sm: 0 2px 8px rgba(10,22,40,0.06);
    --shadow-md: 0 4px 16px rgba(10,22,40,0.08);
    --shadow-lg: 0 8px 32px rgba(10,22,40,0.10);
    --shadow-xl: 0 16px 48px rgba(10,22,40,0.14);
    --shadow-2xl: 0 24px 64px rgba(10,22,40,0.18);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);
    --shadow-gold: 0 0 40px rgba(212, 168, 67, 0.15);

    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

h1 { font-size: var(--fs-display); margin-bottom: var(--sp-lg); }
h2 { font-size: clamp(1.75rem, 3.5vw, var(--fs-4xl)); margin-bottom: var(--sp-lg); }
h3 { font-size: clamp(1.375rem, 2.5vw, var(--fs-3xl)); margin-bottom: var(--sp-md); }
h4 { font-size: var(--fs-2xl); margin-bottom: var(--sp-md); }
h5 { font-size: var(--fs-xl); margin-bottom: var(--sp-sm); }

p { margin-bottom: var(--sp-lg); color: var(--gray-600); line-height: 1.75; }
p:last-child { margin-bottom: 0; }
.lead { font-size: var(--fs-lg); line-height: 1.8; color: var(--gray-500); }

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.container-narrow { max-width: 860px; }
.container-wide { max-width: 1400px; }

.section {
    padding: var(--sp-section) 0;
    position: relative;
}

.section-dark {
    background: var(--navy);
    color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.75); }

.section-gray { background: var(--gray-50); }
.section-navy { background: var(--navy); }

/* Section dividers — angled transitions between sections */
.section-divider-top {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 80px;
    overflow: hidden;
}

.section-divider-top::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5%;
    right: -5%;
    height: 100%;
    background: inherit;
    transform: skewY(-2deg);
    transform-origin: bottom right;
}

/* Grid */
.grid { display: grid; gap: var(--sp-xl); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Flex */
.flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-sm { gap: var(--sp-sm); }
.gap-md { gap: var(--sp-md); }
.gap-lg { gap: var(--sp-lg); }
.gap-xl { gap: var(--sp-xl); }
.gap-2xl { gap: var(--sp-2xl); }

/* Text */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-gold { color: var(--gold) !important; }
.text-blue { color: var(--blue) !important; }
.text-gray { color: var(--gray-500) !important; }
.text-sm { font-size: var(--fs-sm); }
.text-base { font-size: var(--fs-base); }
.text-lg { font-size: var(--fs-lg); }
.text-xl { font-size: var(--fs-xl); }
.uppercase { text-transform: uppercase; letter-spacing: 0.08em; }
.label {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue);
    margin-bottom: var(--sp-md);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
    gap: 10px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    background: var(--blue-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 2px 12px rgba(212, 168, 67, 0.25);
}

.btn-gold:hover {
    background: var(--gold-hover);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 67, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.25);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--gray-200);
}

.btn-outline-dark:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.btn-white:hover {
    background: var(--gray-100);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
    border: 1.5px solid var(--gray-200);
}

.btn-ghost:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    color: var(--navy);
}

.btn-sm { padding: 10px 22px; font-size: var(--fs-xs); }
.btn-lg { padding: 18px 40px; font-size: var(--fs-base); }
.btn-block { width: 100%; }

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
    overflow: hidden;
    padding: var(--sp-2xl);
}

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

.card-image {
    width: 100%;
    height: 220px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    margin-bottom: var(--sp-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: var(--fs-sm);
    overflow: hidden;
}

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

/* Glass Card */
.glass {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
}

/* Dark Card */
.card-dark {
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--white);
}

.card-dark h3, .card-dark h4 { color: var(--white); }
.card-dark p { color: rgba(255,255,255,0.7); }

/* Feature Card — elevated */
.card-feature {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--sp-2xl) var(--sp-xl);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--gold));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.card-feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-feature:hover::before {
    opacity: 1;
}

/* ==========================================================================
   PAGE HERO
   ========================================================================== */

.page-hero {
    padding: clamp(140px, 18vw, 200px) 0 clamp(60px, 8vw, 100px);
    background: var(--navy);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(212, 168, 67, 0.08) 0%, transparent 40%);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.page-hero h1 {
    color: var(--white);
    font-size: var(--fs-display);
    margin-bottom: var(--sp-lg);
    position: relative;
    z-index: 1;
}

.page-hero .lead {
    color: rgba(255,255,255,0.65);
    font-size: var(--fs-xl);
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Homepage Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #060e1a 0%, #0A1628 30%, #162035 70%, #0A1628 100%);
    z-index: 0;
}

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

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,14,26,0.7) 0%, rgba(10,22,40,0.85) 50%, rgba(10,22,40,0.95) 100%);
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 40%, rgba(37, 99, 235, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 75% 25%, rgba(212, 168, 67, 0.1) 0%, transparent 35%),
        radial-gradient(circle at 50% 90%, rgba(37, 99, 235, 0.08) 0%, transparent 30%);
}

/* Fencing sword pattern overlay */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0v80M0 40h80' stroke='%23ffffff' stroke-width='0.3' opacity='0.04'/%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 var(--sp-xl);
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: var(--sp-xl);
    letter-spacing: -0.03em;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--gold) 0%, #e8c36a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    color: rgba(255,255,255,0.7);
    font-size: var(--fs-xl);
    line-height: 1.7;
    margin-bottom: var(--sp-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--sp-md);
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: scrollBounce 2.5s ease infinite;
    opacity: 0.5;
}

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

/* ==========================================================================
   STATS
   ========================================================================== */

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.stat-item {
    padding: var(--sp-2xl) var(--sp-xl);
    text-align: center;
    border-right: 1px solid var(--gray-100);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: var(--sp-sm);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    font-weight: 600;
}

/* ==========================================================================
   PROGRAMS GRID
   ========================================================================== */

.program-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    overflow: hidden;
    text-align: center;
    padding: var(--sp-2xl) var(--sp-xl);
}

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

.program-icon {
    width: 72px;
    height: 72px;
    background: var(--blue-muted);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-lg);
    font-size: 1.75rem;
    transition: var(--transition);
}

.program-card:hover .program-icon {
    background: var(--blue);
    transform: scale(1.08);
}

.program-card:hover .program-icon svg,
.program-card:hover .program-icon span {
    filter: brightness(10);
}

.program-card h4 { margin-bottom: var(--sp-sm); font-size: var(--fs-lg); }

.program-card p {
    font-size: var(--fs-sm);
    margin-bottom: var(--sp-lg);
    line-height: 1.6;
}

/* ==========================================================================
   TIMELINE
   ========================================================================== */

.timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--sp-lg);
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gray-200), var(--gray-200), transparent);
}

.timeline-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline-step {
    width: 72px;
    height: 72px;
    background: var(--white);
    color: var(--blue);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-xl);
    font-weight: 700;
    margin: 0 auto var(--sp-lg);
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.timeline-item:hover .timeline-step {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    transform: scale(1.1);
}

.timeline-item h4 {
    font-size: var(--fs-sm);
    margin-bottom: var(--sp-xs);
    font-weight: 600;
}

.timeline-item p {
    font-size: var(--fs-xs);
    color: var(--gray-500);
    line-height: 1.5;
}

/* ==========================================================================
   COACH CARDS
   ========================================================================== */

.coach-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    transition: var(--transition);
}

.coach-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.coach-photo {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: var(--fs-sm);
    overflow: hidden;
}

.coach-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
}

.coach-info { padding: var(--sp-xl); }
.coach-info h4 { margin-bottom: var(--sp-xs); font-size: var(--fs-lg); }

.coach-title {
    color: var(--blue);
    font-weight: 600;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--sp-md);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--sp-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    position: relative;
    transition: var(--transition);
}

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

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--gold));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.testimonial-quote {
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: var(--sp-xl);
    line-height: 1.8;
    position: relative;
    padding-left: var(--sp-xl);
}

.testimonial-quote::before {
    content: '\201C';
    font-size: 3rem;
    color: var(--blue);
    position: absolute;
    top: -8px;
    left: 0;
    line-height: 1;
    opacity: 0.25;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--blue-muted);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--fs-sm);
}

.testimonial-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: var(--fs-sm);
}

.testimonial-role {
    font-size: var(--fs-xs);
    color: var(--gray-500);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-accordion {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    padding: var(--sp-xl) 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    transition: color 0.25s ease;
}

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

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: var(--sp-md);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    background: var(--blue);
    color: var(--white);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out-expo);
}

.faq-answer-inner {
    padding-bottom: var(--sp-xl);
    color: var(--gray-600);
    line-height: 1.8;
}

/* ==========================================================================
   PRICING
   ========================================================================== */

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--sp-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

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

.pricing-card.featured {
    border: 2px solid var(--blue);
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: var(--white);
    padding: 5px 18px;
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.pricing-name {
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--sp-md);
}

.pricing-price {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: var(--sp-xs);
    letter-spacing: -0.02em;
}

.pricing-period {
    font-size: var(--fs-sm);
    color: var(--gray-500);
    margin-bottom: var(--sp-xl);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--sp-xl);
}

.pricing-features li {
    padding: var(--sp-sm) 0;
    border-bottom: 1px solid var(--gray-50);
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    font-size: var(--fs-sm);
    color: var(--gray-700);
}

.pricing-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--sp-3xl);
    align-items: start;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--sp-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.form-group {
    margin-bottom: var(--sp-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--gray-700);
    margin-bottom: var(--sp-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-size: var(--fs-base);
    transition: var(--transition-fast);
    background: var(--white);
    color: var(--gray-900);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: var(--fs-xs);
    color: var(--gray-400);
    text-align: center;
    margin-top: var(--sp-md);
}

/* ==========================================================================
   TRAINING SCHEDULE
   ========================================================================== */

.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.schedule-table th {
    background: var(--navy);
    color: var(--white);
    padding: var(--sp-lg) var(--sp-xl);
    text-align: left;
    font-weight: 600;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.schedule-table td {
    padding: var(--sp-lg) var(--sp-xl);
    border-bottom: 1px solid var(--gray-100);
    font-size: var(--fs-sm);
}

.schedule-table tr:last-child td { border-bottom: none; }

.schedule-table tr:hover td { background: var(--gray-50); }

/* ==========================================================================
   GALLERY
   ========================================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--sp-md);
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--gray-200);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.5s var(--ease-out-expo);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-weight: 600; }

/* ==========================================================================
   BACK LINK
   ========================================================================== */

.back-link {
    color: rgba(255,255,255,0.5);
    font-size: var(--fs-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: var(--sp-xl);
    transition: color 0.25s ease;
}

.back-link:hover { color: var(--white); }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */

.cta-banner {
    background: var(--navy);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(212, 168, 67, 0.08) 0%, transparent 40%);
}

.cta-banner h2 {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.cta-banner p {
    color: rgba(255,255,255,0.65);
    font-size: var(--fs-lg);
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto var(--sp-xl);
}

.cta-banner .btn { position: relative; z-index: 1; }

/* Enhanced CTA with gold border */
.cta-banner-enhanced {
    position: relative;
    background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-deep) 100%);
    padding: clamp(80px, 10vw, 120px) 0;
    overflow: hidden;
}

.cta-banner-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-banner-enhanced::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.breadcrumbs {
    padding: var(--sp-md) 0;
    font-size: var(--fs-sm);
    color: var(--gray-500);
}

.breadcrumbs a { color: var(--gray-500); }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs .separator { margin: 0 var(--sp-sm); }

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.3s ease;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-branding a {
    color: var(--white);
    font-size: var(--fs-xl);
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.main-navigation .nav-menu {
    display: flex;
    list-style: none;
    gap: var(--sp-xl);
}

.main-navigation .nav-menu a {
    color: rgba(255,255,255,0.65);
    font-size: var(--fs-sm);
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.25s ease;
    position: relative;
}

.main-navigation .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--blue);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.main-navigation .nav-menu a:hover,
.main-navigation .current-menu-item > a {
    color: var(--white);
}

.main-navigation .nav-menu a:hover::after,
.main-navigation .current-menu-item > a::after {
    transform: scaleX(1);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
}

.header-cta .btn {
    padding: 9px 20px;
    font-size: var(--fs-xs);
}

/* Mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 10;
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 1px;
    transition: var(--transition);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: var(--navy-deep);
    color: var(--white);
    padding-top: clamp(60px, 8vw, 100px);
    border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--sp-3xl);
    padding-bottom: var(--sp-3xl);
}

.footer-col h4 {
    color: var(--white);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--sp-xl);
}

.footer-tagline {
    color: rgba(255,255,255,0.5);
    margin-bottom: var(--sp-lg);
    font-size: var(--fs-sm);
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: var(--sp-md);
}

.footer-social a {
    color: rgba(255,255,255,0.4);
    transition: color 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.04);
}

.footer-social a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

.footer-links {
    list-style: none;
}

.footer-links li { margin-bottom: var(--sp-sm); }

.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: var(--fs-sm);
    transition: color 0.25s ease;
}

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

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: var(--sp-md);
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

.footer-contact a { color: rgba(255,255,255,0.5); }
.footer-contact a:hover { color: var(--white); }
.footer-contact strong { color: var(--white); font-weight: 600; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: var(--sp-xl) 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.3);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: var(--sp-lg);
}

.footer-bottom-links a {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.3);
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ==========================================================================
   DECORATIVE ELEMENTS
   ========================================================================== */

.deco-line {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--gold));
    border-radius: 2px;
    margin-bottom: var(--sp-lg);
}

.deco-line-center { margin-left: auto; margin-right: auto; }

.deco-dots {
    display: flex;
    gap: 6px;
    margin-bottom: var(--sp-lg);
}

.deco-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
}

.deco-dots span:nth-child(2) { background: var(--gold); }

.gradient-text {
    background: linear-gradient(135deg, var(--blue) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover shine effect */
.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0) 40%,
        rgba(255,255,255,0.06) 50%,
        rgba(255,255,255,0) 60%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(30deg) translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.card-shine:hover::after {
    transform: rotate(30deg) translateX(100%);
}

/* ==========================================================================
   ASYMMETRIC LAYOUTS
   ========================================================================== */

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-content { max-width: 540px; }
.split-visual { position: relative; }

.split-visual img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Offset grid for cards */
.offset-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-xl);
}

.offset-grid > *:nth-child(2) { transform: translateY(40px); }
.offset-grid > *:nth-child(2):hover { transform: translateY(32px); }

/* Big number background */
.big-number {
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    color: var(--gray-100);
    position: absolute;
    top: -20px;
    left: -10px;
    z-index: 0;
    pointer-events: none;
}

/* ==========================================================================
   FLOATING & MOTION
   ========================================================================== */

.float-element { animation: float 6s ease-in-out infinite; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-16px); }
}

/* Hero badge animation */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: var(--radius-full);
    color: var(--blue-light);
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--sp-xl);
    animation: fadeInDown 0.7s ease both;
}

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

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

.hero-content h1 { animation: fadeInUp 0.7s ease 0.15s both; }
.hero-content p { animation: fadeInUp 0.7s ease 0.3s both; }
.hero-buttons { animation: fadeInUp 0.7s ease 0.45s both; }

/* Glowing CTA button */
.btn-primary-glow {
    position: relative;
    background: var(--blue);
    color: var(--white);
    border: none;
    overflow: hidden;
}

.btn-primary-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--blue), var(--gold), var(--blue));
    border-radius: inherit;
    z-index: -1;
    animation: glowRotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary-glow:hover::before { opacity: 1; }

@keyframes glowRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease-out-expo),
                transform 0.7s var(--ease-out-expo);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-48px);
    transition: opacity 0.7s var(--ease-out-expo),
                transform 0.7s var(--ease-out-expo);
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(48px);
    transition: opacity 0.7s var(--ease-out-expo),
                transform 0.7s var(--ease-out-expo);
}

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

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s var(--ease-out-expo),
                transform 0.7s var(--ease-out-expo);
}

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

/* Staggered children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.32s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.4s; }

/* 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;
    }
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   SKIP LINK & ACCESSIBILITY
   ========================================================================== */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--blue);
    color: var(--white);
    padding: 8px 16px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus { top: 0; }

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

a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    gap: var(--sp-sm);
    margin-top: var(--sp-3xl);
}

.pagination a, .pagination span {
    padding: var(--sp-sm) var(--sp-md);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    font-weight: 500;
    transition: var(--transition-fast);
}

.pagination a {
    background: var(--gray-100);
    color: var(--gray-700);
}

.pagination a:hover { background: var(--blue); color: var(--white); }
.pagination .current { background: var(--blue); color: var(--white); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    :root { --sp-section: 64px; }

    .main-navigation, .header-cta { display: none; }
    .mobile-menu-toggle { display: flex; }

    h1 { font-size: clamp(2rem, 5vw, var(--fs-4xl)); }
    h2 { font-size: clamp(1.5rem, 3vw, var(--fs-3xl)); }

    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid var(--gray-100); }
    .stat-item:nth-last-child(-n+2) { border-bottom: none; }
    .timeline { grid-template-columns: 1fr; }
    .timeline::before { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --sp-section: 48px; }

    .container { padding: 0 20px; }
    h1 { font-size: clamp(1.75rem, 6vw, var(--fs-3xl)); }
    h2 { font-size: clamp(1.375rem, 4vw, var(--fs-2xl)); }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr 1fr; }

    .stagger-children[style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
    .stagger-children[style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }
    .offset-grid { grid-template-columns: 1fr !important; }
    .offset-grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
    .split-section { flex-direction: column !important; }
    .split-section > div[style*="text-align:right"] { text-align: left !important; }
    .reveal-left, .reveal-right { transform: none !important; }
    .testimonial-grid { grid-template-columns: 1fr !important; }

    [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }

    .hero { min-height: auto; padding: 120px 0 80px; }
    .hero h1 { font-size: clamp(2rem, 7vw, var(--fs-4xl)); }

    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: translateY(-8px); }

    .footer-grid { grid-template-columns: 1fr; gap: var(--sp-2xl); }

    .footer-bottom .container {
        flex-direction: column;
        gap: var(--sp-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root { --sp-section: 36px; }
    h1 { font-size: var(--fs-2xl); }
    h2 { font-size: var(--fs-xl); }
    .btn { padding: 12px 20px; font-size: var(--fs-xs); }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { width: 100%; }

    .nqfa-gallery-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
    .nqfa-gallery-grid { grid-template-columns: 1fr !important; }
    .footer-bottom .container { flex-direction: column; gap: 8px; }
    .footer-bottom p { font-size: 12px; }
}

/* Fencing page — uniform coach cards */
.grid-3 > .card.card-feature {
    display: flex;
    flex-direction: column;
    padding: 0;
}
.grid-3 > .card.card-feature .coach-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.grid-3 > .card.card-feature .coach-photo {
    height: 300px;
    flex-shrink: 0;
}
.grid-3 > .card.card-feature .coach-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
}
.grid-3 > .card.card-feature .coach-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.grid-3 > .card.card-feature .coach-info p {
    flex: 1;
}

/* Hero video responsive */
@media (max-width: 768px) {
    .hero-video { display: none; }
    .hero-video-overlay { background: linear-gradient(180deg, rgba(6,14,26,0.85) 0%, rgba(10,22,40,0.95) 100%); }
}
