:root {
    --primary-color: #2c3e50;
    --secondary-color: #27ae60;
    --accent-color: #3498db;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #000000;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}


body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(
            ellipse at 25% 25%,
            rgba(138, 43, 226, 0.8) 0%,
            rgba(138, 43, 226, 0.4) 25%,
            transparent 50%
        ),
        radial-gradient(
            ellipse at 75% 75%,
            rgba(255, 20, 147, 0.8) 0%,
            rgba(255, 20, 147, 0.4) 25%,
            transparent 50%
        ),
        radial-gradient(
            ellipse at 50% 50%,
            rgba(0, 191, 255, 0.6) 0%,
            rgba(0, 191, 255, 0.3) 30%,
            transparent 70%
        );
    pointer-events: none;
    z-index: 1;
    animation: veilRotate 15s linear infinite;
    filter: blur(40px);
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at 30% 80%,
            rgba(255, 0, 128, 0.5) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 20%,
            rgba(0, 128, 255, 0.5) 0%,
            transparent 50%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.4) 0%,
            transparent 50%,
            rgba(0, 0, 0, 0.4) 100%
        );
    pointer-events: none;
    z-index: 2;
    animation: veilPulse 8s ease-in-out infinite;
}

@keyframes veilPulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

@keyframes veilRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-header {
    background: transparent;
    backdrop-filter: blur(20px) brightness(0.3);
    box-shadow: 0 2px 20px rgba(0,0,0,0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -1px;
    white-space: nowrap;
    min-width: 280px;
}

.typewriter-text {
    display: inline-block;
    position: relative;
}

.typed-text {
    color: #ffffff;
}

.cursor {
    display: inline-block;
    background-color: var(--accent-color);
    width: 3px;
    animation: blink 1s infinite;
    margin-left: 2px;
}

.cursor.typing {
    animation: none;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

.tagline {
    font-size: 0.9rem;
    color: #a0a0a0;
    font-weight: 400;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    display: block;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.nav-menu a.active,
.nav-menu a:active {
    background: linear-gradient(135deg, var(--accent-color), #2980b9);
    color: white;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.4);
}

.social-link {
    font-size: 1.2rem;
}

.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: transparent;
    padding: 4rem 0;
    position: relative;
    z-index: 10;
}

.hero-content {
    flex: 1;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.rotating-text {
    display: inline-block;
    position: relative;
    height: 1.4em;
    overflow: visible;
    vertical-align: middle;
    min-width: 100px;
    margin-left: 0.3em;
}

.rotating-word {
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    opacity: 0;
}

.rotating-word:nth-child(1) {
    animation: rotate-words 9s infinite;
}

.rotating-word:nth-child(2) {
    animation: rotate-words 9s infinite;
    animation-delay: 3s;
}

.rotating-word:nth-child(3) {
    animation: rotate-words 9s infinite;
    animation-delay: 6s;
}

@keyframes rotate-words {
    0%, 33.33% {
        opacity: 0;
        transform: translateY(10px);
    }
    5%, 28% {
        opacity: 1;
        transform: translateY(0);
    }
    33.33%, 100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.hero-quote {
    font-size: 1.1rem;
    color: #b0b0b0;
    font-style: italic;
    margin-bottom: 2rem;
    text-align: center;
    padding: 0 2rem;
}

.hero-image {
    flex: 1;
    padding: 0 2rem;
}

.image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
}

.image-placeholder small {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: #229954;
    border-color: #229954;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.btn-link:hover {
    color: var(--primary-color);
}

.features-section {
    padding: 5rem 0;
    background: transparent;
    position: relative;
    z-index: 10;
}

.magic-bento-grid {
    display: grid;
    gap: 1.5rem;
    padding: 2rem 0;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-auto-rows: minmax(250px, auto);
}

@media (min-width: 768px) {
    .magic-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .magic-bento-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: rgba(40, 40, 40, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(52, 152, 219, 0.3));
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-card p {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Magic Bento Cards */
.magic-card {
    position: relative;
    border-radius: 20px;
    padding: 2rem;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    will-change: transform;
}

.magic-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(var(--glow-color, 132, 0, 255), 0.6) 0%,
        rgba(var(--glow-color, 132, 0, 255), 0.3) 30%,
        transparent 60%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.magic-card::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(var(--glow-color, 132, 0, 255), 0.4) 0%,
        transparent 40%
    );
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.magic-card:hover::after {
    opacity: 0.8;
}

.magic-card:hover {
    transform: translateY(-5px) rotateX(2deg);
    border-color: rgba(var(--glow-color, 132, 0, 255), 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(var(--glow-color, 132, 0, 255), 0.2);
}

.card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(var(--glow-color, 132, 0, 255), 0.9);
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(var(--glow-color, 132, 0, 255), 0.3);
    border-radius: 999px;
    background: rgba(var(--glow-color, 132, 0, 255), 0.1);
}

.card__header i {
    font-size: 1.5rem;
    color: rgba(var(--glow-color, 132, 0, 255), 0.8);
    filter: drop-shadow(0 0 20px rgba(var(--glow-color, 132, 0, 255), 0.5));
}

.card__content {
    transition: all 0.3s ease;
}

.card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
    line-height: 1.2;
}

.card__description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .magic-bento-grid {
        grid-template-columns: 1fr;
        padding: 1rem 0;
        gap: 1rem;
    }
    
    .magic-card {
        padding: 1.5rem;
    }
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
}

.workouts-section {
    padding: 5rem 0;
    background: transparent;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.workout-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.workout-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.workout-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.workout-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.workout-card h3 {
    padding: 1rem 1.5rem 0.5rem;
    color: var(--primary-color);
}

.workout-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.nutrition-section {
    padding: 5rem 0;
    background: transparent;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}


.nutrition-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.nutrition-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.nutrition-list {
    list-style: none;
    margin: 2rem 0;
}

.nutrition-list li {
    padding: 0.5rem 0;
    color: #d0d0d0;
}

.nutrition-list i {
    color: var(--accent-color);
    margin-right: 1rem;
}

.motivation-section {
    padding: 5rem 0;
    background: transparent;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.motivation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.motivation-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.motivation-card blockquote {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-style: italic;
    position: relative;
    padding-left: 2rem;
}

.motivation-card blockquote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.3;
}

.gallery-section {
    padding: 5rem 0;
    background: transparent;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.instagram-note {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.instagram-note a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    aspect-ratio: 1;
    background: #f0f0f0;
}

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

.about-section {
    padding: 5rem 0;
    background: transparent;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.about-text p {
    margin-bottom: 1rem;
    color: #d0d0d0;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.8) 0%, rgba(155, 89, 182, 0.8) 100%);
    text-align: center;
    color: white;
    position: relative;
    z-index: 10;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.main-footer {
    background: rgba(10, 10, 10, 0.95);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 10;
}

.footer-simple {
    text-align: center;
    padding: 2rem 0;
}

.footer-simple h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.footer-simple p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-links a {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 5px 30px rgba(0,0,0,0.8);
        padding: 2rem 1rem;
        border-radius: 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        width: 100%;
        padding: 1rem;
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.5rem;
        white-space: nowrap;
    }
    
    .hero-title .rotating-text {
        display: inline;
    }
    
    .rotating-text {
        min-width: 80px;
        margin-left: 0.2em;
        vertical-align: -0.15em;
    }
    
    .rotating-word {
        font-size: 0.9em;
    }
    
    .nutrition-content,
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .about-stats {
        justify-content: center;
    }
}