/* ==========================================================================
   SPARC SYSTEM CORE STYLING & VARIABLE ENGINE
   ========================================================================== */
:root {
    /* Exact matching tone from your uploaded brand elements */
    --brand-purple-dark: #4A154B; 
    --brand-purple: #4A154B; 
    --brand-purple-light: #6C2A94;
    --bg-lavender-soft: #F9F6FC;
    --text-dark-plum: #1A052E;
    --text-para-gray: #554E5A;
    --pure-white: #FFFFFF;
    --border-purple-light: #EADFF2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--pure-white);
    color: var(--text-dark-plum);
    -webkit-font-smoothing: antialiased;
}

/* --- GLOBAL CONTAINER CONTROLLER --- */
.page-wrapper {
    max-width: 1400px; 
    margin: 0 auto;
    padding: 0 32px;   
}

/* ==========================================================================
   1. TICKER & NAVBAR ARCHITECTURE
   ========================================================================== */
.top-ticker-bar {
    background-color: var(--brand-purple-dark);
    color: var(--pure-white);
    font-size: 12px;
    font-weight: 600;
    padding: 8px 0;
    overflow: hidden;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}

.ticker-move {
    display: inline-block;
    padding-left: 100%;
    animation: tickerAnimation 30s linear infinite;
}

.ticker-move span {
    display: inline-block;
    padding-right: 60px;
}

@keyframes tickerAnimation {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.main-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(74, 21, 75, 0.05);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image-file {
    height: 42px;
    width: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-weight: 800;
    font-size: 22px;
    line-height: 1;
    color: var(--brand-purple-dark);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 9.5px;
    font-weight: 700;
    color: var(--text-para-gray);
    letter-spacing: 1px;
    margin-top: 2px;
}

.navbar-menu {
    display: flex;
    gap: 32px;
}

.menu-item {
    text-decoration: none;
    color: var(--text-dark-plum);
    font-weight: 600;
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.25s ease;
}

.menu-item.active, .menu-item:hover {
    color: var(--brand-purple);
}

.dropdown-arrow {
    font-size: 10px;
    opacity: 0.7;
}

.navbar-action {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-phone-link {
    color: var(--text-dark-plum);
    text-decoration: none;
    font-weight: 700;
    font-size: 14.5px;
    transition: color 0.25s ease;
}

.nav-phone-link:hover {
    color: var(--brand-purple);
}

.nav-book-btn {
    background-color: var(--brand-purple);
    color: var(--pure-white);
    border: none;
    padding: 11px 22px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.nav-book-btn:hover {
    background-color: #350f36;
    transform: translateY(-1px);
}

/* ==========================================================================
   2. HERO SECTION ARCHITECTURE
   ========================================================================== */
.exact-hero-section {
    padding: 40px 0 20px 0;
    background-color: #FAFAFA;
    width: 100%;
}

.hero-inner-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 50px;
}

.hero-content-left .section-tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--brand-purple);
    background-color: rgba(74, 21, 75, 0.08);
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-headline {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-dark-plum);
    letter-spacing: -1px;
}

.purple-brand-text {
    color: var(--brand-purple-dark);
}

.sub-paragraph {
    font-size: 15px;
    color: var(--text-para-gray);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 500px;
}

.action-button-row {
    display: flex;
    gap: 14px;
    margin-bottom: 35px;
}

.primary-purple-btn {
    background-color: var(--brand-purple);
    color: var(--pure-white);
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.primary-purple-btn:hover {
    background-color: #350f36;
    transform: translateY(-2px);
}

.secondary-white-btn {
    background-color: transparent;
    color: var(--text-dark-plum);
    border: 1px solid #DCD1E8;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.secondary-white-btn:hover {
    background-color: rgba(74, 21, 75, 0.03);
    border-color: var(--brand-purple);
}

.hero-bottom-badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 500px;
    border-top: 1px dashed rgba(74, 21, 75, 0.15);
    padding-top: 20px;
}

.mini-badge-box {
    background: var(--pure-white);
    padding: 12px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(74, 21, 75, 0.02);
}

.mini-icon-circle {
    width: 30px;
    height: 30px;
    background-color: rgba(74, 21, 75, 0.08);
    color: var(--brand-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.mini-badge-box span {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark-plum);
}

.hero-visual-right {
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.image-curve-container {
    position: relative;
    width: 100%;
    max-width: 460px;
    height: 400px;
    background-color: var(--brand-purple-dark);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(74, 21, 75, 0.15);
}

.original-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.floating-treatment-tag {
    position: absolute;
    bottom: 30px;
    right: -15px;
    background: var(--brand-purple-dark);
    color: var(--pure-white);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.tag-icon-inner {
    font-size: 13px;
    color: var(--pure-white);
}

.floating-treatment-tag span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   3. SERVICES SECTION (WITH DYNAMIC GRID PADDING & PROTECTED GEOMETRY)
   ========================================================================== */
.sparc-spec-section {
    padding: 50px 0; 
    background-color: #FCFAFE; 
    width: 100%;
}

/* Structural container wrapper to align perfectly with the content below it */
.sparc-spec-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px; 
    width: 100%;
}

.sparc-spec-title-block {
    text-align: center;
    margin-bottom: 45px;
}

.sparc-spec-pre {
    color: var(--brand-purple-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(74, 21, 75, 0.06);
    padding: 5px 14px;
    border-radius: 50px;
    display: inline-block;
}

.sparc-spec-heading {
    font-size: 38px;
    color: var(--text-dark-plum);
    margin-top: 10px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.sparc-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px; 
    width: 100%;
}

.sparc-spec-card {
    background: var(--brand-purple-dark); 
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2px; 
    clip-path: polygon(20px 0%, 100% 0%, calc(100% - 20px) 100%, 0% 100%);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: auto;
}

.sparc-spec-card::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px; right: 2px; bottom: 2px;
    background: var(--brand-purple-dark); 
    z-index: 1;
    clip-path: polygon(calc(20px - 2px) 0%, 100% 0%, calc(100% - (20px - 2px)) 100%, 0% 100%);
    pointer-events: none;
}

.sparc-spec-card::before {
    content: '';
    position: absolute;
    top: 2px; left: 2px; bottom: 2px;
    width: 24px;
    background: rgba(255, 255, 255, 0.15); 
    z-index: 2;
    clip-path: polygon(calc(20px - 2px) 0%, 24px 0%, 4px 100%, 0% 100%);
    transition: width 0.3s ease;
}

.sparc-spec-image-window {
    width: 100%;
    height: 195px; 
    overflow: hidden;
    position: relative;
    z-index: 3;
    clip-path: polygon(20px 0%, 100% 0%, 100% 100%, 0% 100%);
    background-color: var(--bg-lavender-soft);
}

.sparc-spec-image-window img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sparc-spec-icon-badge {
    position: absolute;
    top: 15px;
    right: 25px;
    z-index: 10;
    background-color: var(--pure-white); 
    color: var(--brand-purple-dark); 
    width: 40px;
    height: 40px;
    border-radius: 10px; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.sparc-spec-text-box {
    padding: 22px 24px 18px 35px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 4;
    flex-grow: 1;
    text-decoration: none !important;
}

.sparc-spec-text-box h3 {
    font-size: 19px;
    color: var(--pure-white); 
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.35;
    transition: opacity 0.3s ease;
}

.sparc-spec-text-box p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.75); 
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.sparc-spec-action-arrow {
    font-size: 20px;
    color: var(--pure-white); 
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center; 
    width: 100%;
    margin-top: auto;
    transition: transform 0.3s ease;
}

/* --- SERVICES HOVER CONTROLS --- */
.sparc-spec-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(74, 21, 75, 0.15); 
}

.sparc-spec-card:hover .sparc-spec-image-window img {
    transform: scale(1.05);
}

.sparc-spec-card:hover .sparc-spec-icon-badge {
    transform: scale(1.05);
}

.sparc-spec-card:hover .sparc-spec-text-box h3 {
    color: var(--pure-white);
    opacity: 0.9;
}

.sparc-spec-card:hover .sparc-spec-action-arrow {
    transform: scale(1.15); 
}

/* ==========================================================================
   4. WHY CHOOSE US SECTION
   ========================================================================== */
.why-choose-section {
    padding: 60px 0; 
    width: 100%;
    background-color: var(--pure-white);
}

.why-choose-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

.why-choose-top-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 55px;
    align-items: center;
    margin-bottom: 45px;
}

.gym-image-frame {
    border-radius: 16px;
    overflow: hidden;
    height: 340px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.04);
}

.gym-center-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.purple-subheading-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-purple);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
}

.expert-main-heading {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-dark-plum);
    letter-spacing: -0.5px;
}

.features-grid-2x3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-item-box {
    display: flex;
    gap: 16px;
    background-color: #FAFAFA;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(74, 21, 75, 0.02);
}

.feature-icon-square {
    min-width: 44px;
    height: 44px;
    background-color: #F3EDF8;
    color: var(--brand-purple);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.feature-text-block h4 { 
    font-size: 15px; 
    font-weight: 700; 
    margin-bottom: 6px; 
    color: var(--text-dark-plum); 
}

.feature-text-block p { 
    font-size: 13.5px; 
    color: var(--text-para-gray); 
    line-height: 1.5; 
}

/* --- CAPSULE CTA SECTION ARCHITECTURE --- */
.cta-purple-capsule-section {
    padding: 10px 0 60px 0; 
    width: 100%;
    background-color: var(--pure-white);
}

.cta-purple-capsule-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

.cta-purple-capsule-banner {
    background: var(--brand-purple-dark);
    border-radius: 16px;
    padding: 35px 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--pure-white);
    box-shadow: 0 15px 35px rgba(74, 21, 75, 0.15);
    width: 100%;
}

.cta-left-text-zone {
    max-width: 70%;
}

.cta-left-text-zone h3 { 
    font-size: 24px; 
    font-weight: 700; 
    margin-bottom: 6px; 
    letter-spacing: -0.5px;
}

.cta-left-text-zone p { 
    font-size: 14px; 
    opacity: 0.9; 
}

.cta-right-button-zone {
    flex-shrink: 0;
}

.cta-white-btn-pill { 
    background: var(--pure-white); 
    color: var(--brand-purple-dark); 
    padding: 14px 28px; 
    border-radius: 8px; 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 14px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: inline-flex;
    align-items: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease; 
}

.cta-white-btn-pill:hover { 
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* ==========================================================================
   5. FOOTER FRAMEWORK ARCHITECTURE
   ========================================================================== */
.main-footer {
    background-color: var(--brand-purple-dark);
    color: var(--pure-white);
    border-radius: 24px 24px 0 0;
    padding: 50px 50px 30px 50px;
    margin-top: 20px; 
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
    gap: 45px;
}

.footer-col { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}

.footer-logo { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-weight: 800; 
    font-size: 20px; 
    letter-spacing: -0.5px;
}

.footer-logo-file { 
    height: 34px; 
    width: 34px; 
    border-radius: 50%; 
}

.brand-moto { 
    font-size: 13px; 
    opacity: 0.75; 
    line-height: 1.6; 
    max-width: 260px;
}

.footer-col h4 { 
    font-size: 14px; 
    font-weight: 700; 
    margin-bottom: 8px; 
    text-transform: uppercase; 
    letter-spacing: 0.8px; 
    color: rgba(255, 255, 255, 0.95); 
}

.footer-col a { 
    color: rgba(255, 255, 255, 0.75); 
    text-decoration: none; 
    font-size: 13.5px; 
    transition: color 0.2s ease, padding-left 0.2s ease; 
}

.footer-col a:hover { 
    color: var(--pure-white); 
    padding-left: 4px; 
}

.footer-col p { 
    font-size: 13.5px; 
    opacity: 0.75; 
    line-height: 1.5; 
}

.footer-bottom-copyright {
    text-align: center;
    padding-top: 25px;
    margin-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    opacity: 0.5;
    letter-spacing: 0.3px;
}

/* ==========================================================================
   6. CRITICAL RESPONSIVE BREAKPOINT SYSTEM
   ========================================================================== */
@media (max-width: 1200px) {
    .page-wrapper,
    .sparc-spec-container,
    .why-choose-container,
    .cta-purple-capsule-container {
        padding: 0 24px; 
    }
    .sparc-spec-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 15px; 
    }
    .hero-inner-layout { 
        grid-template-columns: 1fr; 
        gap: 45px; 
        text-align: center; 
    }
    .hero-content-left .sub-paragraph { 
        margin: 0 auto 24px auto; 
    }
    .action-button-row { 
        justify-content: center; 
    }
    .hero-bottom-badges-grid { 
        margin: 0 auto; 
    }
    .hero-visual-right { 
        justify-content: center; 
    }
}

@media (max-width: 991px) {
    .sparc-spec-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
    }
    .why-choose-top-layout { 
        grid-template-columns: 1fr; 
        gap: 35px; 
    }
    .gym-image-frame { 
        height: 280px; 
    }
    .cta-purple-capsule-banner { 
        flex-direction: column; 
        gap: 24px; 
        text-align: center; 
        padding: 35px; 
    }
    .cta-left-text-zone {
        max-width: 100%;
    }
    .footer-top-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

@media (max-width: 767px) {
    .page-wrapper,
    .sparc-spec-container,
    .why-choose-container,
    .cta-purple-capsule-container {
        padding: 0 20px; 
    }
    .sparc-spec-grid { 
        grid-template-columns: 1fr; 
        gap: 25px; 
    }
    
    /* CRITICAL FIX: Retained the unique angled parallelogram polygon cuts for clean mobile UI identity */
    .sparc-spec-card {
        clip-path: polygon(15px 0%, 100% 0%, calc(100% - 15px) 100%, 0% 100%) !important;
        border-radius: 0px !important;
    }
    .sparc-spec-card::after {
        clip-path: polygon(calc(15px - 2px) 0%, 100% 0%, calc(100% - (15px - 2px)) 100%, 0% 100%) !important;
    }
    .sparc-spec-card::before {
        clip-path: polygon(calc(15px - 2px) 0%, 18px 0%, 4px 100%, 0% 100%) !important;
        width: 18px !important;
    }
    .sparc-spec-image-window {
        clip-path: polygon(15px 0%, 100% 0%, 100% 100%, 0% 100%) !important;
        height: 210px;
    }
    
    .sparc-spec-text-box {
        padding: 22px 20px 18px 28px;
    }
    .sparc-spec-heading {
        font-size: 30px;
    }
}

@media (max-width: 550px) {
    .main-navbar { 
        flex-direction: column; 
        gap: 16px; 
    }
    .navbar-menu { 
        gap: 16px; 
        flex-wrap: wrap; 
        justify-content: center; 
    }
    .navbar-action { 
        flex-direction: column; 
        gap: 12px; 
        width: 100%; 
    }
    .main-headline { 
        font-size: 32px; 
    }
    .features-grid-2x3 { 
        grid-template-columns: 1fr; 
    }
    .footer-top-grid { 
        grid-template-columns: 1fr; 
        gap: 30px; 
    }
    .main-footer {
        padding: 40px 20px 20px 20px;
    }
}