/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: hsl(42, 28%, 88%);
    background-color: hsl(220, 15%, 8%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* CSS Variables */
:root {
    /* Dark fitness theme with electric accents */
    --background: hsl(220, 15%, 8%);
    --foreground: hsl(42, 28%, 88%);
    --card: hsl(220, 15%, 12%);
    --card-foreground: hsl(42, 28%, 88%);
    --muted: hsl(220, 15%, 15%);
    --muted-foreground: hsl(220, 8%, 65%);
    --border: hsl(220, 15%, 20%);
    
    /* Custom fitness theme colors */
    --electric: hsl(15, 100%, 60%);
    --electric-glow: hsl(220, 65%, 45%);
    --dark-surface: hsl(220, 15%, 10%);
    --darker-surface: hsl(220, 20%, 6%);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(15, 100%, 60%), hsl(220, 65%, 45%));
    --gradient-dark: linear-gradient(135deg, hsl(220, 20%, 6%), hsl(220, 15%, 10%));
    --gradient-card: linear-gradient(145deg, hsl(220, 15%, 12%), hsl(220, 15%, 15%));
    
    /* Shadows */
    --shadow-electric: 0 0 30px hsl(15, 100%, 60%, 0.3);
    --shadow-glow: 0 10px 40px hsl(15, 100%, 60%, 0.2);
    --shadow-card: 0 10px 30px hsl(220, 20%, 4%, 0.4);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: hsla(220, 15%, 8%, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    height: 3rem;
    width: auto;
}

.desktop-menu {
    display: none;
}

.menu-items {
    display: flex;
    align-items: baseline;
    gap: 2rem;
    margin-left: 2.5rem;
}

.menu-link {
    color: var(--foreground);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.menu-link:hover {
    color: var(--electric);
}

.mobile-menu-button {
    display: block;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--foreground);
    padding: 0.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.menu-toggle:hover {
    color: var(--electric);
}

.menu-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-menu {
    border-top: 1px solid var(--border);
}

.mobile-menu-content {
    padding: 0.5rem 0.5rem 0.75rem;
    background: hsla(220, 15%, 8%, 0.95);
    backdrop-filter: blur(10px);
}

.mobile-menu-link {
    display: block;
    color: var(--foreground);
    text-decoration: none;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.mobile-menu-link:hover {
    color: var(--electric);
    background: hsla(15, 100%, 60%, 0.1);
}

/* Utility classes */
.hidden {
    display: none;
}

.hidden-mobile {
    display: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-dark);
    padding-top: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
    min-height: calc(100vh - 4rem);
    padding: 2rem 0;
}

.hero-content {
    order: 2;
    text-align: center;
}

.hero-heading {
    margin-bottom: 1.5rem;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
}

.title-line {
    display: block;
}

.electric-text {
    color: var(--electric);
}

.subtitle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--muted-foreground);
    margin-top: 1rem;
}

.hero-description {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.highlight-text {
    color: var(--foreground);
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-image-container {
    order: 1;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-glow);
    max-width: 20rem;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1;
}

.decorative-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse 2s infinite;
}

.decorative-1 {
    top: -1.5rem;
    left: -1.5rem;
    width: 3rem;
    height: 3rem;
    background: var(--electric);
    filter: blur(4px);
    display: none;
}

.decorative-2 {
    bottom: -1rem;
    right: -1rem;
    width: 2rem;
    height: 2rem;
    background: var(--electric-glow);
    filter: blur(4px);
    animation-delay: 0.5s;
    display: none;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 3s ease-in-out infinite;
    display: none;
}

.floating-1 {
    top: 5rem;
    left: 2.5rem;
    width: 5rem;
    height: 5rem;
    background: hsla(15, 100%, 60%, 0.2);
    filter: blur(20px);
}

.floating-2 {
    bottom: 10rem;
    right: 5rem;
    width: 8rem;
    height: 8rem;
    background: hsla(220, 65%, 45%, 0.1);
    filter: blur(40px);
    animation-delay: 1s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    border: none;
    padding: 0.75rem 1rem;
    min-height: 2.5rem;
}

.btn:focus-visible {
    outline: 2px solid var(--electric);
    outline-offset: 2px;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.btn-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    box-shadow: var(--shadow-glow);
    animation: pulse-glow 2s ease-in-out infinite;
}

.btn-hero:hover {
    box-shadow: var(--shadow-electric);
    transform: scale(1.05);
}

.btn-outline-electric {
    border: 2px solid var(--electric);
    background: transparent;
    color: var(--electric);
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-outline-electric:hover {
    background: var(--electric);
    color: white;
}

.btn-electric {
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    box-shadow: var(--shadow-glow);
}

.btn-electric:hover {
    box-shadow: var(--shadow-electric);
    transform: scale(1.05);
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.title-with-emoji {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-emoji {
    font-size: 3.75rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--foreground);
}

.gradient-text {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
}

.bold {
    font-weight: 700;
}

/* Why Choose Section */
.why-choose-section {
    padding: 5rem 0;
    background: var(--gradient-card);
}

.two-column-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.content-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-space {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.feature-card {
    background: var(--card);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.image-column {
    position: relative;
}

.trainer-image-container {
    aspect-ratio: 1;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-glow);
    overflow: hidden;
    border: 2px solid hsla(15, 100%, 60%, 0.2);
}

.trainer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.trainer-decorative-1 {
    top: -1.5rem;
    left: -1.5rem;
    width: 3rem;
    height: 3rem;
    background: var(--electric);
    filter: blur(4px);
    opacity: 0.5;
    animation: pulse 2s infinite;
}

.trainer-decorative-2 {
    bottom: -1rem;
    right: -1rem;
    width: 2rem;
    height: 2rem;
    background: var(--electric-glow);
    filter: blur(4px);
    opacity: 0.6;
    animation: pulse 2s infinite;
    animation-delay: 0.5s;
}

/* Personalized Section */
.personalized-section {
    padding: 5rem 0;
    background: var(--darker-surface);
}

.features-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.feature-item {
    background: var(--card);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature-item:hover {
    box-shadow: var(--shadow-glow);
}

.feature-content {
    text-align: center;
}

.feature-emoji {
    display: block;
    font-size: 1.875rem;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.feature-item:hover .feature-emoji {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.feature-text {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.adaptation-text {
    text-align: center;
    margin-bottom: 3rem;
}

.adaptation-description {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.transformation-section {
    position: relative;
}

.transformation-header {
    text-align: center;
    margin-bottom: 2rem;
}

.transformation-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.transformation-description {
    color: var(--muted-foreground);
    font-size: 1.125rem;
}

.transformation-image-container {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    border: 2px solid hsla(15, 100%, 60%, 0.2);
}

.transformation-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.transformation-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsla(220, 15%, 8%, 0.2), transparent);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--gradient-dark);
}

.features-grid-3 {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card-hover {
    background: var(--card);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature-card-hover:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-8px);
}

.feature-card-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-emoji-large {
    font-size: 2.5rem;
    transition: transform 0.3s;
}

.feature-card-hover:hover .feature-emoji-large {
    transform: scale(1.1);
}

.feature-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
}

.feature-card-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.cta-section {
    text-align: center;
}

.cta-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-glow);
    border: 1px solid hsla(15, 100%, 60%, 0.2);
    max-width: 64rem;
    margin: 0 auto;
}

.cta-emoji {
    font-size: 3.75rem;
    margin-bottom: 1rem;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.cta-description {
    color: var(--muted-foreground);
    font-size: 1.125rem;
}

/* Programs Section */
.programs-section {
    padding: 5rem 0;
    background: var(--card);
}

.programs-grid {
    display: grid;
    gap: 2rem;
}

.program-card {
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    border: 2px solid;
    transition: all 0.3s;
}

.program-card:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-8px);
}

.program-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.program-emoji {
    font-size: 3.125rem;
    transition: transform 0.3s;
}

.program-card:hover .program-emoji {
    transform: scale(1.1);
}

.program-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
}

.program-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.program-card-red {
    border-color: hsla(0, 84%, 60%, 0.3);
    background: hsla(0, 84%, 60%, 0.05);
}

.program-card-blue {
    border-color: hsla(217, 91%, 60%, 0.3);
    background: hsla(217, 91%, 60%, 0.05);
}

.program-card-electric {
    border-color: hsla(15, 100%, 60%, 0.3);
    background: hsla(15, 100%, 60%, 0.05);
}

.program-card-green {
    border-color: hsla(120, 60%, 50%, 0.3);
    background: hsla(120, 60%, 50%, 0.05);
}

.program-card-pink {
    border-color: hsla(350, 100%, 70%, 0.3);
    background: hsla(350, 100%, 70%, 0.05);
}

.program-card-yellow {
    border-color: hsla(48, 100%, 67%, 0.3);
    background: hsla(48, 100%, 67%, 0.05);
}

/* Community Section */
.community-section {
    padding: 5rem 0;
    background: var(--gradient-card);
}

.community-content {
    width: 100%;
}

.community-values {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.values-grid {
    display: grid;
    gap: 1.5rem;
}

.value-card {
    background: var(--card);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.value-emoji {
    font-size: 1.875rem;
}

.value-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--darker-surface);
    border-top: 1px solid var(--border);
}

.footer-content {
    text-align: center;
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-grid {
    display: grid;
    gap: 2rem;
    padding: 2rem 0;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-title {
    font-weight: 700;
    color: var(--foreground);
    font-size: 1rem;
}

.contact-info {
    color: var(--muted-foreground);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.footer-text {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px hsla(15, 100%, 60%, 0.3);
    }
    50% {
        box-shadow: 0 0 40px hsla(15, 100%, 60%, 0.6);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (min-width: 640px) {
    .logo {
        height: 3.5rem;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .subtitle {
        gap: 1rem;
        justify-content: center;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .btn {
        width: auto;
    }
    
    .hidden-mobile {
        display: block;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .desktop-menu {
        display: block;
    }
    
    .mobile-menu-button {
        display: none;
    }
    
    .logo {
        height: 4rem;
    }
    
    .main-title {
        font-size: 3.75rem;
    }
    
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .hero-content {
        order: 1;
        text-align: left;
    }
    
    .hero-image-container {
        order: 2;
    }
    
    .subtitle {
        justify-content: flex-start;
    }
    
    .two-column-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .features-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-image-wrapper {
        max-width: none;
    }
    
    .decorative-1,
    .decorative-2 {
        display: block;
    }
    
    .floating-1,
    .floating-2 {
        display: block;
    }
    
    .main-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3.75rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .features-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}