/* FitPulse - Energetic Sporty Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ef4444;
    --primary-dark: #dc2626;
    --secondary: #f97316;
    --accent: #fbbf24;
    --dark: #18181b;
    --gray: #52525b;
    --light: #fafafa;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navigation - Sleek dark bar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--dark);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    color: var(--light);
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

nav a:hover {
    color: var(--primary);
}

/* Hero - Bold gradient background */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 6rem;
    background: linear-gradient(135deg, var(--dark) 0%, #27272a 50%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.1;
    border-radius: 50%;
    transform: rotate(-15deg);
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--white);
    font-weight: 800;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: #a1a1aa;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Buttons - Gradient style */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Sections */
section {
    padding: 6rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Features - Card grid with hover effects */
.features {
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 700;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
}

.feature-card ul {
    margin-top: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.feature-card li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.feature-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Benefits */
.benefits {
    max-width: 1000px;
    margin: 0 auto;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 12px;
    transition: background 0.3s;
}

.benefit-item:hover {
    background: #fee2e2;
}

.benefit-item span {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: bold;
}

/* Testimonials - Dark section */
.testimonials {
    background: var(--dark);
    color: var(--white);
}

.testimonials .section-title h2 {
    color: var(--white);
}

.testimonials .section-title p {
    color: #a1a1aa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: linear-gradient(135deg, #27272a, #3f3f46);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #3f3f46;
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #e4e4e7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid var(--primary);
}

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 700;
}

.testimonial-author span {
    color: #a1a1aa;
    font-size: 0.9rem;
}

/* CTA - Gradient background */
.cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
}

.cta p {
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
}

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

.cta .btn:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--light);
    padding: 5rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-brand .logo {
    font-size: 1.5rem;
}

.footer-brand p {
    color: #71717a;
    margin: 1.5rem 0;
    line-height: 1.7;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #71717a;
}

footer h4 {
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 0.75rem;
}

footer a {
    color: #71717a;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #27272a;
    color: #52525b;
}

/* Legal Pages */
.legal-content {
    padding-top: 7rem;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 4rem;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.legal-content .updated {
    color: var(--gray);
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--dark);
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--gray);
    line-height: 1.8;
}

.legal-content ul {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--gray);
}

.legal-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* About Page */
.about-hero {
    padding-top: 10rem;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, var(--dark), #27272a);
    text-align: center;
}

.about-hero h1 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.about-hero p {
    color: #a1a1aa;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.2rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 5%;
}

.about-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 700;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
        text-align: center;
    }
}
