/* --- Global Styles & Variables --- */
:root {
    /* 2. NEW PSYCHOLOGICALLY-ALIGNED COLOR PALETTE */
    --primary-color: #457B9D;  /* Vibrant, encouraging blue */
    --primary-hover: #3b6985;
    --dark-color: #1D3557;   /* Deep, trustworthy space blue */
    --light-color: #F8F7F4;  /* Warm, premium off-white */
    --accent-color: #A8DADC;  /* Light, friendly periwinkle */
    --white-color: #ffffff;
    --text-color: #2a2a2a;
    --font-family: 'Inter', sans-serif; /* A clean, modern, and highly readable font */
}

/* --- Basic Reset & Body --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white-color);
}

/* --- Utility & Layout --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3.2rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -10px auto 40px auto;
    font-size: 1.1rem;
}

p {
    margin-bottom: 15px;
}

/* --- Buttons --- */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.final-cta {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* --- Header / Hero Section --- */
.hero {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 120px 0;
    text-align: center;
}

.hero .subtitle {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 20px auto 40px auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* --- 1. REVISED Problem Section Styles --- */
.problem-section {
    background-color: var(--light-color);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default to 1 column for mobile */
    gap: 25px;
    margin-top: 40px;
}

.problem-card {
    background-color: var(--white-color);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.problem-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* --- Solution Section --- */
.solution-section {
    text-align: center;
}
.solution-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- 3. REVISED How It Works Section --- */
.how-it-works-section {
    background-color: var(--light-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.step-card {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.step-card h3 span {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-color);
    border-radius: 5px;
    padding: 2px 8px;
    font-weight: 800;
    margin-right: 12px;
    font-size: 1.2rem;
}

/* --- Social Proof Section --- */
.testimonial-card {
    max-width: 750px;
    margin: 40px auto;
    padding: 40px;
    background: #fdfdfd;
    border-left: 6px solid var(--primary-color);
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    border-radius: 0 8px 8px 0;
}
.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    float: left;
    margin-right: 20px;
}
.quote {
    font-style: italic;
    font-size: 1.15rem;
    margin-bottom: 15px;
    color: #333;
}
.client-name {
    font-weight: 700;
    color: var(--dark-color);
    text-align: left;
}
.beta-notice {
    margin-top: 50px;
    padding: 25px;
    background-color: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 8px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--dark-color);
    color: var(--white-color);
    text-align: center;
}
.cta-section h2 {
    color: var(--white-color);
}
.cta-section p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* --- Footer --- */
footer {
    background-color: #132235;
    color: #a7a7a7;
    text-align: center;
    padding: 25px 0;
}

/* --- Media Queries for Responsiveness --- */
@media (min-width: 768px) {
    .problem-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Navigation Bar --- */
.navbar {
    background-color: var(--white-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.07);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

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

.nav-logo {
    display: flex;         /* This is the key! It turns the link into a flexible container. */
    align-items: center;   /* This vertically aligns the icon and text perfectly in the middle. */
    gap: 12px;             /* This adds a nice space between the icon and the text. Adjust as needed. */
    text-decoration: none; /* Removes the underline from the link */
}

/* This styles the logo icon image */
.nav-logo img {
    height: 80px;          /* Adjust this value to make your icon bigger or smaller */
    width: auto;           /* Keeps the icon's proportions correct */
}

/* This styles the text portion of the logo */
.nav-logo .logo-text {
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--dark-color);
    letter-spacing: 0.5px;
}

/* This styles the word "Momentum" inside the text */
.nav-logo .logo-text span {
    font-weight: 800;
    color: var(--primary-color);
}

/* .nav-logo {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--dark-color);
    text-decoration: none;
} */

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

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

.nav-cta {
    background-color: var(--primary-color);
    color: var(--white-color) !important;
    padding: 8px 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-cta:hover {
    background-color: var(--primary-hover);
    color: var(--white-color) !important;
}

/* --- New Footer Styles --- */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #a7a7a7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white-color);
}

/* --- Generic Page Header --- */
.page-header {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 80px 0;
    text-align: center;
}
.page-header h1 {
    font-size: 3rem;
}
.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}
/* --- Legal Page Content --- */
.legal-content {
    padding: 80px 0;
    max-width: 800px;
}
.legal-content h2 {
    text-align: left;
    margin-top: 30px;
}

/* --- Pricing Page --- */
.pricing-section {
    padding: 80px 0;
    background-color: var(--light-color);
}
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}
.pricing-card {
    background: var(--white-color);
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}
.pricing-card.highlighted {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}
.pricing-card h3 {
    font-size: 1.6rem;
    color: var(--dark-color);
}
.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-color);
    margin: 15px 0;
}
.price span {
    font-size: 1rem;
    font-weight: 400;
    color: #777;
}
.description {
    min-height: 60px;
}
.pricing-card ul {
    list-style: none;
    text-align: left;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.pricing-card ul li {
    line-height: 1.4;
}
@media(min-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- About Page --- */
.about-content {
    padding: 80px 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: flex-start;
}
.about-text h3 {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.5rem;
}
.about-image {
    text-align: center;
}
.about-image img {
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}
.about-image h4 {
    font-size: 1.4rem;
}
@media(min-width: 768px) {
    .about-grid {
        grid-template-columns: 2fr 1fr;
    }
}