/*
Theme Name: HOFITNESS - Commit To Be Fit (חופית מליס)
Theme URI: https://www.hofitmalis.com/
Author: HOFITNESS Studio
Author URI: https://www.instagram.com/hofitmalis/
Description: תבנית וורדפרס פרימיום בעיצוב שחור-לבן-טורקיז עוצמתי עבור סטודיו HOFITNESS של מאמנת הכושר חופית מליס (שבטי ישראל 4, ראש העין). כוללת מסך פתיחה עם וידאו על כל המסך (100vh), אבחון התאמה אינטראקטיבי, טיימר אימון חי, מחשבון מאקרו וחיטוב, מערכת שעות עם חיווי מקומות פנויים, פיד Reels מאינסטגרם ומבנה SEO אורגני מתקדם.
Version: 2.0.0
Text Domain: hofitness
Tags: rtl-language-support, dark-mode, fitness, video-hero, seo-optimized
*/

:root {
    --bg-black: #05070A;
    --bg-dark: #0A0E14;
    --bg-card: #111722;
    --bg-card-hover: #16202E;
    --bg-glass: rgba(11, 16, 24, 0.82);
    --turquoise: #5CB8D1;
    --turquoise-bright: #3FD0F4;
    --turquoise-light: #8CE0F5;
    --turquoise-glow: rgba(92, 184, 209, 0.35);
    --turquoise-subtle: rgba(92, 184, 209, 0.12);
    --white: #FFFFFF;
    --text-primary: #F7FAFC;
    --text-secondary: #A3B3C2;
    --text-muted: #6C7D8E;
    --border-dark: rgba(92, 184, 209, 0.22);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --danger: #FF5C77;
    --success: #2CE59B;
    --shadow-card: 0 18px 45px rgba(0, 0, 0, 0.65);
    --shadow-glow: 0 0 32px rgba(92, 184, 209, 0.28);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-full: 9999px;
    --transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    direction: rtl;
    background-color: var(--bg-black);
}

body {
    font-family: 'Assistant', 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-black);
    color: var(--text-primary);
    line-height: 1.65;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rubik', 'Heebo', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
}

.script-font {
    font-family: 'Dancing Script', 'Pacifico', cursive;
    direction: ltr;
    display: inline-block;
}

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

ul {
    list-style: none;
}

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

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

/* Typography & Accent Helpers */
.turquoise-text {
    background: linear-gradient(135deg, var(--turquoise-light) 0%, var(--turquoise) 50%, var(--turquoise-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--turquoise-subtle);
    color: var(--turquoise-light);
    border: 1px solid var(--border-dark);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    letter-spacing: 0.4px;
    box-shadow: 0 0 20px rgba(92, 184, 209, 0.12);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: clamp(2.1rem, 4.2vw, 3.1rem);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 34px;
    border-radius: var(--radius-full);
    font-family: 'Rubik', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-turquoise {
    background: linear-gradient(135deg, var(--turquoise-bright) 0%, var(--turquoise) 100%);
    color: #04080C;
    box-shadow: 0 10px 28px rgba(63, 208, 244, 0.35);
}

.btn-turquoise:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 38px rgba(63, 208, 244, 0.55);
    background: linear-gradient(135deg, #74DDF7 0%, var(--turquoise-bright) 100%);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border: 2px solid var(--turquoise);
    backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
    background: var(--turquoise);
    color: #04080C;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* Header & Glassmorphic Navbar */
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: rgba(5, 7, 10, 0.84);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-dark);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
    gap: 20px;
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo-img {
    height: 62px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

.brand-emblem-svg {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav a {
    font-weight: 700;
    font-size: 0.93rem;
    color: var(--text-primary);
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--turquoise-bright);
    box-shadow: 0 0 10px var(--turquoise-bright);
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--turquoise-light);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ig-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border-radius: var(--radius-full);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    font-weight: 800;
    font-size: 0.86rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 6px 18px rgba(220, 39, 67, 0.35);
    white-space: nowrap;
    direction: ltr;
}

.ig-pill svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.ig-pill:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 24px rgba(220, 39, 67, 0.55);
    color: var(--white);
}

.btn-header-cta {
    background: linear-gradient(135deg, var(--turquoise-bright), var(--turquoise));
    color: #04080C;
    padding: 9px 18px;
    border-radius: var(--radius-full);
    font-family: 'Rubik', sans-serif;
    font-weight: 900;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 8px 22px rgba(63, 208, 244, 0.38);
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-header-cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 28px rgba(63, 208, 244, 0.58);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-dark);
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 1.5rem;
    color: var(--turquoise-light);
    cursor: pointer;
}

/* ==========================================
   FULL-SCREEN 100VH CINEMATIC VIDEO HERO
   ========================================== */
.hero-fullscreen {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 0 80px;
    overflow: hidden;
    background: var(--bg-black);
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.42) contrast(1.12) saturate(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(circle at 75% 30%, rgba(92, 184, 209, 0.22) 0%, transparent 50%),
        linear-gradient(180deg, rgba(5, 7, 10, 0.72) 0%, rgba(5, 7, 10, 0.48) 50%, rgba(5, 7, 10, 0.98) 100%);
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-brand-banner {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(11, 16, 24, 0.78);
    border: 1px solid var(--border-dark);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
}

.hero-brand-banner .dot-live {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--turquoise-bright);
    box-shadow: 0 0 12px var(--turquoise-bright);
    animation: pulseTurquoise 2s infinite;
}

@keyframes pulseTurquoise {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.65; }
}

.hero-content h1 {
    font-size: clamp(2.6rem, 5.4vw, 4.5rem);
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.hero-slogan-en {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    color: var(--turquoise-light);
    margin-bottom: 20px;
    direction: ltr;
    display: inline-block;
    text-shadow: 0 0 20px rgba(92, 184, 209, 0.45);
}

.hero-lead {
    font-size: 1.24rem;
    color: #D5E1EC;
    max-width: 620px;
    margin-bottom: 34px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 44px;
}

.hero-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: rgba(11, 16, 24, 0.82);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    backdrop-filter: blur(14px);
}

.stat-box strong {
    display: block;
    font-family: 'Rubik', sans-serif;
    font-size: 1.7rem;
    color: var(--turquoise-bright);
}

.stat-box span {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Hero Right: Interactive Reel / Video Showcase Card */
.hero-reel-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card), var(--shadow-glow);
    backdrop-filter: blur(18px);
    text-align: center;
}

.hero-logo-showcase {
    background: #000000;
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 18px;
    border: 1px solid rgba(92, 184, 209, 0.3);
}

.hero-logo-showcase img {
    max-height: 130px;
    margin: 0 auto;
}

.video-switcher-label {
    font-size: 0.85rem;
    color: var(--turquoise-light);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.video-bg-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.vid-chip {
    background: rgba(255, 255, 255, 0.07);
    color: var(--white);
    border: 1px solid var(--border-subtle);
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.vid-chip.active,
.vid-chip:hover {
    background: var(--turquoise);
    color: #04080C;
    border-color: var(--turquoise-bright);
}

/* Scroll Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--turquoise-light);
    opacity: 0.85;
}

/* ==========================================
   ENGINE 1: INTERACTIVE 60-SECOND QUIZ
   ========================================== */
.quiz-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-black) 0%, var(--bg-dark) 100%);
    border-top: 1px solid var(--border-subtle);
}

.quiz-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-card), var(--shadow-glow);
    position: relative;
}

.quiz-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    margin-bottom: 32px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, var(--turquoise), var(--turquoise-bright));
    box-shadow: 0 0 14px var(--turquoise-bright);
    transition: width 0.4s ease;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeInSlide 0.35s ease;
}

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

.quiz-step h3 {
    font-size: 1.7rem;
    margin-bottom: 24px;
}

.quiz-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.quiz-option-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    color: var(--white);
    text-align: right;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
}

.quiz-option-btn:hover {
    background: var(--turquoise-subtle);
    border-color: var(--turquoise-bright);
    transform: translateY(-3px);
}

.quiz-option-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(92, 184, 209, 0.16);
    color: var(--turquoise-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

/* ==========================================
   INSTAGRAM REELS & VIDEO GALLERY (@hofitmalis)
   ========================================== */
.reels-section {
    padding: 100px 0;
    background: var(--bg-black);
}

.reels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.reel-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-dark);
    overflow: hidden;
    position: relative;
    aspect-ratio: 9 / 14;
    box-shadow: var(--shadow-card);
    group: reel;
}

.reel-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.78);
    transition: var(--transition);
}

.reel-card:hover video {
    filter: brightness(0.98);
    transform: scale(1.03);
}

.reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 45%, rgba(5,7,10,0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.reel-top-tag {
    align-self: flex-start;
    background: rgba(5, 7, 10, 0.75);
    border: 1px solid var(--turquoise);
    color: var(--turquoise-light);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(6px);
}

.reel-bottom-info h4 {
    font-size: 1.18rem;
    margin-bottom: 6px;
}

.reel-bottom-info p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* ==========================================
   PROGRAMS & BODYBOOSTER FLAGSHIP
   ========================================== */
.programs-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}

.program-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 34px 28px;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--turquoise), transparent);
    opacity: 0.5;
}

.program-card:hover {
    transform: translateY(-8px);
    border-color: var(--turquoise);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.program-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--turquoise-subtle);
    color: var(--turquoise-bright);
    border: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 22px;
}

.program-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.program-card p {
    color: var(--text-secondary);
    margin-bottom: 22px;
}

.program-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.program-tags span {
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(92, 184, 209, 0.12);
    color: var(--turquoise-light);
    padding: 5px 12px;
    border-radius: var(--radius-full);
}

/* BodyBooster Section */
.bodybooster-section {
    padding: 100px 0;
    background: radial-gradient(circle at 20% 50%, rgba(92, 184, 209, 0.16) 0%, var(--bg-black) 70%);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}

.bodybooster-box {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.bodybooster-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 28px 0 34px;
}

.bb-step {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    padding: 20px;
    border-radius: var(--radius-sm);
}

.bb-step strong {
    display: block;
    color: var(--turquoise-bright);
    font-size: 1.08rem;
    margin-bottom: 6px;
}

.bb-step span {
    color: var(--text-secondary);
    font-size: 0.94rem;
}

/* ==========================================
   ENGINE 2: INTERACTIVE 3-MINUTE WORKOUT CHALLENGE (DWELL TIME BOOSTER)
   ========================================== */
.wod-timer-section {
    padding: 90px 0;
    background: var(--bg-dark);
}

.wod-box {
    background: linear-gradient(145deg, #0D1520 0%, #070A0F 100%);
    border: 2px solid var(--turquoise);
    border-radius: var(--radius-lg);
    padding: 44px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-glow);
}

.timer-display-card {
    background: #040609;
    border-radius: var(--radius-md);
    padding: 36px;
    text-align: center;
    border: 1px solid var(--border-dark);
}

.timer-clock {
    font-family: 'Rubik', monospace;
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--turquoise-bright);
    line-height: 1;
    margin: 16px 0;
    text-shadow: 0 0 25px rgba(63, 208, 244, 0.5);
}

.wod-exercise-list {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.wod-exercise-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wod-exercise-item.active-ex {
    border-color: var(--turquoise-bright);
    background: var(--turquoise-subtle);
}

/* ==========================================
   ENGINE 3: LIVE SCHEDULE WITH SPOT COUNTER
   ========================================== */
.schedule-section {
    padding: 100px 0;
    background: var(--bg-black);
}

.schedule-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 11px 24px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-dark);
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--turquoise);
    color: #04080C;
    border-color: var(--turquoise-bright);
    box-shadow: 0 0 18px rgba(92, 184, 209, 0.4);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.day-column {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border-subtle);
}

.day-header {
    font-family: 'Rubik', sans-serif;
    font-weight: 800;
    font-size: 1.18rem;
    text-align: center;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--border-dark);
    color: var(--turquoise-light);
}

.class-slot {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 12px;
    border-right: 4px solid var(--turquoise);
    cursor: pointer;
    transition: var(--transition);
}

.class-slot:hover {
    background: var(--turquoise-subtle);
    transform: translateX(-4px);
}

.class-slot .slot-time {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--turquoise-bright);
}

.class-slot .slot-title {
    font-weight: 800;
    font-size: 0.98rem;
    margin: 4px 0;
    color: var(--white);
}

.spots-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(44, 229, 155, 0.14);
    color: var(--success);
    margin-top: 4px;
}

.spots-badge.hot {
    background: rgba(255, 92, 119, 0.16);
    color: var(--danger);
}

/* ==========================================
   ENGINE 4: ADVANCED MACRO & TONING CALCULATOR
   ========================================== */
.calculator-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    background: var(--bg-card);
    padding: 44px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: #080C11;
    color: var(--white);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--turquoise-bright);
    box-shadow: 0 0 0 3px var(--turquoise-subtle);
}

.calc-result-box {
    background: #070A0F;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 22px 0;
}

.metric-card {
    background: rgba(92, 184, 209, 0.08);
    border: 1px solid rgba(92, 184, 209, 0.22);
    padding: 18px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.metric-card strong {
    display: block;
    font-size: 1.75rem;
    color: var(--turquoise-bright);
    font-family: 'Rubik', sans-serif;
}

.metric-card span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================
   TESTIMONIALS, FAQ & CONTACT
   ========================================== */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-black);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 26px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.stars {
    color: var(--turquoise-bright);
    margin-bottom: 14px;
    font-size: 1.15rem;
    letter-spacing: 2px;
}

.testimonial-author {
    margin-top: 18px;
    font-weight: 800;
    color: var(--turquoise-light);
}

.faq-section {
    padding: 90px 0;
    background: var(--bg-dark);
}

.faq-list {
    max-width: 840px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

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

.faq-question {
    width: 100%;
    text-align: right;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--white);
    font-family: 'Rubik', sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    display: none;
}

.faq-item.open {
    border-color: var(--turquoise);
}

.faq-item.open .faq-answer {
    display: block;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--bg-black);
}

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

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-form-card {
    background: var(--bg-card);
    padding: 42px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-glow);
}

/* Footer */
.site-footer {
    background: #030406;
    color: var(--text-secondary);
    padding: 70px 0 32px;
    border-top: 1px solid var(--border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 0.9rem;
}

/* Floating WhatsApp Button (Fixed Bottom-Left on Scroll) */
.whatsapp-float-left {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9990;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    padding: 13px 22px;
    border-radius: var(--radius-full);
    font-family: 'Rubik', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition);
}

.whatsapp-float-left svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
}

.whatsapp-float-left:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 14px 34px rgba(37, 211, 102, 0.65);
    color: var(--white);
}

/* ==========================================
   ACCESSIBILITY WIDGET (ת"י 5568 ISRAELI LAW)
   ========================================== */
.skip-link {
    position: absolute;
    top: -100px;
    right: 20px;
    background: var(--turquoise-bright);
    color: #04080C;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    z-index: 10000;
}

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

.a11y-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9995;
}

.a11y-toggle-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--turquoise-bright);
    border: 2px solid var(--turquoise);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.a11y-toggle-btn:hover,
.a11y-toggle-btn:focus-visible {
    background: var(--turquoise);
    color: #04080C;
    transform: scale(1.06);
}

.a11y-panel {
    display: none;
    position: absolute;
    bottom: 66px;
    right: 0;
    width: 300px;
    background: #0C121B;
    border: 1px solid var(--turquoise);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
}

.a11y-panel.open {
    display: block;
}

.a11y-panel h4 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--turquoise-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.a11y-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.a11y-action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--white);
    padding: 9px 10px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.a11y-action-btn:hover,
.a11y-action-btn.active {
    background: var(--turquoise);
    color: #04080C;
    border-color: var(--turquoise-bright);
}

/* Accessibility Body Modifier States */
body.a11y-large-text {
    font-size: 118% !important;
}
body.a11y-xlarge-text {
    font-size: 132% !important;
}
body.a11y-high-contrast {
    background: #000 !important;
    color: #FFFF00 !important;
}
body.a11y-high-contrast h1,
body.a11y-high-contrast h2,
body.a11y-high-contrast h3,
body.a11y-high-contrast p,
body.a11y-high-contrast a {
    color: #FFFF00 !important;
}
body.a11y-grayscale {
    filter: grayscale(100%) !important;
}
body.a11y-underline-links a {
    text-decoration: underline !important;
}
body.a11y-readable-font,
body.a11y-readable-font h1,
body.a11y-readable-font h2,
body.a11y-readable-font h3 {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* ==========================================
   LEGAL & TERMS MODAL (תקנון והצהרת נגישות)
   ========================================== */
.legal-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(3, 5, 8, 0.88);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.legal-modal-backdrop.open {
    display: flex;
}

.legal-modal-card {
    background: var(--bg-card);
    border: 1px solid var(--turquoise);
    border-radius: var(--radius-lg);
    max-width: 860px;
    width: 100%;
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card), var(--shadow-glow);
    overflow: hidden;
}

.legal-modal-header {
    padding: 22px 28px;
    border-bottom: 1px solid var(--border-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0A0E14;
}

.legal-modal-body {
    padding: 28px;
    overflow-y: auto;
    color: var(--text-primary);
    font-size: 0.96rem;
    line-height: 1.75;
}

.legal-modal-body h3 {
    color: var(--turquoise-bright);
    margin: 22px 0 8px;
    font-size: 1.2rem;
}

.legal-modal-body ul {
    list-style: disc;
    padding-right: 22px;
    margin-bottom: 14px;
    color: var(--text-secondary);
}

.reel-ig-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.reel-play-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(5, 7, 10, 0.78);
    border: 1px solid var(--turquoise);
    color: var(--turquoise-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid,
    .bodybooster-box,
    .wod-box,
    .calc-wrapper,
    .contact-grid,
    .footer-grid,
    .quiz-options-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats-bar {
        grid-template-columns: 1fr 1fr;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 88px;
        right: 0;
        left: 0;
        background: #080C12;
        padding: 24px;
        border-bottom: 1px solid var(--border-dark);
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

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