/* Base Styles */
:root {
    --primary-color: #6e48aa;
    --primary-light: #9d71e8;
    --primary-dark: #4a2d7d;
    --secondary-color: #48aa8f;
    --secondary-light: #6bc7ae;
    --secondary-dark: #2d7d64;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #777777;
    --bg-light: #ffffff;
    --bg-off-white: #f8f9fa;
    --bg-gray: #f0f2f5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.18);
    --transition: all 0.3s ease;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --font-main: 'Poppins', sans-serif;
    --header-height: 80px;
    --section-spacing: 100px;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

.section-title--light {
    color: var(--text-light);
}

.section-title--light::after {
    background: linear-gradient(to right, var(--text-light), var(--secondary-light));
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-top: -2rem;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn--primary:hover {
    background-color: var(--primary-dark);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn--secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: var(--header-height);
}

.header.scrolled {
    --header-height: 70px;
    box-shadow: var(--shadow-md);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    display: block;
    z-index: 1010;
}

.nav {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.nav__link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav__link:hover, .nav__link.active {
    color: var(--primary-color);
}

.nav__link:hover::after, .nav__link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 30px;
    z-index: 1010;
}

.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.nav-toggle span {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle::before {
    top: 8px;
}

.nav-toggle::after {
    bottom: 8px;
}

.nav-toggle.active span {
    opacity: 0;
}

.nav-toggle.active::before {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero__bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(110, 72, 170, 0.8) 0%,
        rgba(72, 170, 143, 0.8) 100%
    );
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__content {
    max-width: 700px;
    position: relative;
    z-index: 1;
    color: var(--text-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    margin: 0 auto;
    text-align: center;
}

.hero__title {
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero__subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounceDown 2s infinite;
    z-index: 1;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.scroll-down svg {
    margin-bottom: 0.5rem;
}

/* About Section */
.about {
    padding: var(--section-spacing) 0;
    background-color: var(--bg-light);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__text {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background-color: var(--bg-off-white);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature__icon {
    margin: 0 auto 1.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(110, 72, 170, 0.1);
    color: var(--primary-color);
}

.feature__title {
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
}

.about__image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    height: 100%;
}

/* Benefits Section */
.benefits {
    padding: var(--section-spacing) 0;
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--secondary-color) 100%
    );
    color: var(--text-light);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefit-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.benefit-card__icon {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.benefit-card__title {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.benefit-card__text {
    color: rgba(255, 255, 255, 0.8);
}

/* Routines Section */
.routines {
    padding: var(--section-spacing) 0;
    background-color: var(--bg-off-white);
}

.routines__tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs__nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 12px 24px;
    background-color: var(--bg-light);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.routine-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.routine-card__image {
    overflow: hidden;
    height: 100%;
}

.routine-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.routine-card:hover .routine-card__image img {
    transform: scale(1.05);
}

.routine-card__content {
    padding: 2rem;
}

.routine-card__title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.routine-card__description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.routine-card__list {
    margin-bottom: 2rem;
}

.routine-card__list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.routine-card__list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-spacing) 0;
    background-color: var(--bg-light);
}

.testimonials__slider {
    display: flex;
    overflow: hidden;
    margin-bottom: 2rem;
}

.testimonial-card {
    flex: 0 0 100%;
    transition: transform 0.5s ease;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background-color: var(--bg-off-white);
    box-shadow: var(--shadow-sm);
    margin: 0 1rem;
    display: flex;
    flex-direction: column;
}

.testimonial-card__quote {
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.testimonial-card__text {
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
}

.testimonial-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.testimonial-card__name {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.testimonial-card__role {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--bg-gray);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active, .dot:hover {
    background-color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: var(--section-spacing) 0;
    background-color: var(--bg-off-white);
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact__text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact__details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact__item {
    display: flex;
    align-items: flex-start;
}

.contact__icon {
    margin-right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(110, 72, 170, 0.1);
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact__label {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.contact__value {
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact__map {
    margin-top: 2rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact__form-wrapper {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(110, 72, 170, 0.2);
}

.form-checkbox {
    display: flex;
    align-items: center;
}

.form-checkbox input {
    margin-right: 10px;
}

/* Footer */
.footer {
    background-color: #2a2a2a;
    color: var(--text-light);
    padding-top: 4rem;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__tagline {
    margin-top: 1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer__heading {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer__menu li {
    margin-bottom: 0.8rem;
}

.footer__menu a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer__menu a:hover {
    color: var(--text-light);
}

.footer__contact li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer__contact svg {
    margin-right: 10px;
}

.newsletter-form .form-group {
    display: flex;
}

.newsletter-form .form-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.newsletter-form .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer__disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    align-items: center;
    transform: translateY(200%);
    transition: transform 0.5s ease;
    max-width: 500px;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent__content {
    width: 100%;
}

.cookie-consent p {
    margin-bottom: 1rem;
}

.cookie-consent__buttons {
    display: flex;
    gap: 1rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-md);
    z-index: 990;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

/* Media Queries */
@media (max-width: 1024px) {
    :root {
        --section-spacing: 80px;
    }
    
    .footer__top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav__list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--bg-light);
        flex-direction: column;
        gap: 0;
        padding-top: var(--header-height);
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
    }
    
    .nav__list.active {
        right: 0;
    }
    
    .nav__list li {
        width: 100%;
    }
    
    .nav__link {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav__link::after {
        display: none;
    }
    
    .hero__content {
        padding: 1.5rem;
    }
    
    .about__inner,
    .contact__inner {
        grid-template-columns: 1fr;
    }
    
    .about__image {
        order: -1;
    }
    
    .routine-card {
        grid-template-columns: 1fr;
    }
    
    .footer__top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    :root {
        --section-spacing: 50px;
    }
    
    .hero__buttons {
        flex-direction: column;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .cookie-consent {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
    
    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 45px;
        height: 45px;
    }
}