:root {
    --navy: #0A192F;
    --navy-light: #172A45;
    --sage: #4A6741;
    --gold: #B8860B;
    --white: #FFFFFF;
    --bg: #F8F9FA;
    --text: #2D3436;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
}

/* Header & Nav */
header {
    background: var(--white);
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 40px;
    vertical-align: middle;
    margin-right: 10px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    font-family: 'Playfair Display', serif;
}

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

nav a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('bg_valim_performance.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    color: white;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 3rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

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

.primary:hover {
    background: #3a5234;
    transform: translateY(-2px);
}

.secondary {
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 1rem;
}

.secondary:hover {
    background: var(--white);
    color: var(--navy);
}

/* Mission Section */
.mission {
    padding: 6rem 5%;
    background: var(--white);
    text-align: center;
}

.mission h2 {
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
}

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

.card {
    padding: 3rem;
    background: var(--bg);
    border-radius: 20px;
    text-align: left;
    transition: transform 0.3s;
}

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

/* Features */
.features {
    padding: 6rem 5%;
    background: var(--navy);
    color: var(--white);
    text-align: center;
}

.features h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

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

.icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* App Showcase */
.app-showcase {
    padding: 6rem 5%;
    background: var(--bg);
}

.app-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.app-text {
    flex: 1;
    min-width: 300px;
}

.app-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.app-list {
    list-style: none;
    margin-top: 2rem;
}

.app-list li {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--navy);
}

.app-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 300px;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: var(--navy);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 4px solid var(--navy-light);
}

.screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 1.5rem;
}

.app-logo {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--navy);
    font-size: 1.2rem;
}

.workout-card {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 5px solid var(--sage);
    font-weight: 600;
}

/* CTA Banner */
.cta-banner {
    padding: 8rem 5%;
    text-align: center;
    background: var(--white);
}

.cta-banner h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-inline: auto;
}

/* Footer */
footer {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    nav ul {
        display: none;
    }

    .secondary {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
        text-align: center;
    }
}

/* Modal Background */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

/* Modal Content Box */
.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 25px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--navy);
}

.modal-content h2 {
    margin-bottom: 5px;
}

.modal-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sage);
}

button.btn {
    cursor: pointer;
    border: none;
}

/* Watermark */
.watermark {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 120px;
    opacity: 0.7;
    z-index: 1000;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .watermark {
        width: 80px;
        bottom: 15px;
        right: 15px;
    }
}
