/* ROOT VARIABLES & MODERN RESET */
:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --primary: #f97316; /* Vibrant Orange for FitFlex */
    --primary-hover: #ea580c;
    --secondary: #10b981;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

.highlight {
    color: var(--primary);
}

/* GLASSMORPHISM UTILITIES */
.glass-panel, .glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* HEADER & NAV */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.btn-nav {
    background: var(--primary);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 5% 50px;
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.15) 0%, transparent 50%),
                radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(249, 115, 22, 0.2);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-secondary, .btn-whatsapp, .btn-download {
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--glass-border);
}

.btn-secondary:hover {
    border-color: var(--text-main);
}

/* HERO MOCKUP CARD */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mockup-card {
    width: 350px;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.mockup-header {
    padding: 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--glass-border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.red { background: #ef4444; }
.yellow { background: #f59e0b; }
.green { background: #10b981; }

.mockup-body {
    position: relative;
}

.food-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.ai-scan-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.scan-line {
    width: 100%;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    position: absolute;
    top: 0;
    animation: scan 2s infinite linear;
}

@keyframes scan {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

.mockup-footer {
    padding: 20px;
}

.macros {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-weight: 700;
    color: var(--primary);
}

/* SECTION GLOBAL & SOLUTION */
section {
    padding: 80px 5%;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* TARGETS SECTION */
.target-grid {
    display: grid;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.target-card {
    display: flex;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.target-card.reverse {
    flex-direction: row-reverse;
}

.target-img {
    flex: 1;
    min-height: 250px;
    background-size: cover;
    background-position: center;
}

.gym { background-image: url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?w=800&q=80'); }
.recovery { background-image: url('https://images.unsplash.com/photo-1498837167922-41c143927040?w=800&q=80'); }
.maternity { background-image: url('https://images.unsplash.com/photo-1555243896-771a800527ea?w=800&q=80'); }

.target-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.target-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.target-info p {
    color: var(--text-muted);
}

/* PRICING & CAMPAIGN */
.pricing {
    display: flex;
    justify-content: center;
}

.pricing-card {
    max-width: 600px;
    text-align: center;
    padding: 50px;
}

.price-box {
    margin: 30px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.offer {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cost {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 10px 0;
}

.sms-promo {
    font-style: italic;
    color: #94a3b8;
}

.campaign-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    font-size: 1.1rem;
}

.btn-download {
    background: var(--text-main);
    color: var(--bg-dark);
    font-size: 1.1rem;
}

/* FOOTER */
footer {
    padding: 40px 5%;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-content .links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 20px;
}

.copyright {
    color: #64748b;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding-top: 100px;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero-visual {
        margin-top: 50px;
    }
    .target-card, .target-card.reverse {
        flex-direction: column;
    }
    .target-img {
        min-height: 200px;
    }
    nav {
        display: none; /* Hide nav links on mobile for simplicity in this demo */
    }
    .logo {
        margin: 0 auto;
    }
}
