/* Styles/landing-page.css */

/* Imports (Optional: If you modularize base styles) */
/* @import url('base.css'); */

/* ========================
   LANDING PAGE SPECIFIC STYLES
   ======================== */

body {
    /* Inherits from index.css unless overridden */
}

.landing-page {
    /* Container for main content */
}

/* ========================
   HERO SECTION
   ======================== */

.landing-hero {
    background: linear-gradient(rgba(40, 40, 60, 0.7), rgba(40, 40, 60, 0.8)), url('/Assets/MOCK\ UP\ YELP 1.png'); /* REPLACE with relevant, high-quality image */
    background-size: cover;
    background-position: center center;
    color: white;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden; /* Contain animations */
}

.landing-hero::before { /* Subtle overlay */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0, 0.1);
    z-index: 0; /* Behind content */
}

.hero-content {
    position: relative; /* Above overlay */
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.landing-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.landing-hero h2 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-button {
    padding: 15px 35px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* Ensure it uses .btn styles from index.css */
    background-color: var(--yelp-red);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
.hero-cta-button:hover {
    background-color: #b71c1c; /* Darker red */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Initial Load Animation */
.animate-on-load h1,
.animate-on-load h2,
.animate-on-load .hero-cta-button {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}
.animate-on-load h2 { animation-delay: 0.2s; }
.animate-on-load .hero-cta-button { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================
   AUTH CONTAINER STYLING (Below Hero)
   ======================== */

.auth-container-landing {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 5%;
    margin: 30px auto;
    max-width: 100%;
    background-color: #f8f8f8;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    color: var(--yelp-dark);
    z-index: auto;
}

.auth-container-landing span {
    margin-right: 10px;
}

.auth-container-landing button {
    background: var(--yelp-red);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    transition: background 0.3s ease;
    white-space: nowrap;
    margin: 0; /* Reset potential inherited margin */
}
.auth-container-landing #my-profile-link{
    background: var(--yelp-red);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    transition: background 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    margin-left: 5px; /* Keep specific spacing if needed */
}

.auth-container-landing button:hover,
.auth-container-landing #my-profile-link:hover {
    background: #b71c1c;
}

.auth-container-landing #user-logged-in,
.auth-container-landing #user-logged-out {
    display: flex;
    align-items: center;
    color: #0d0c0c;
    gap: 10px; /* Consistent gap */
}

/* ========================
   GENERAL SECTION STYLING
   ======================== */
.landing-section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto 30px auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
/* Alternate background for visual separation */
.landing-section:nth-of-type(even) { /* Adjusted selector for pattern starting after auth */
    background-color: #fdfdfd;
}

.section-heading {
    text-align: center;
    font-size: 2rem;
    color: var(--yelp-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-intro {
    text-align: center;
    color: #555;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

/* ========================
   VALUE PROP / BENEFITS
   ======================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    text-align: center;
    padding: 25px 20px; /* Increased padding */
    background-color: #f9f9f9;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--yelp-red);
    margin-bottom: 15px;
    display: block;
}

.benefit-item h4 {
    font-size: 1.2rem;
    color: var(--yelp-dark);
    margin-bottom: 8px;
}

.benefit-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ========================
   VISUAL BREAK / ANIMATION
   ======================== */
.landing-visual-break {
   background-color: transparent; /* Blend with page background */
   box-shadow: none;
   border-radius: 0;
   padding-top: 40px;
   padding-bottom: 40px;
}
.animation-placeholder {
    background-color: white;
    border: 1px dashed var(--border-medium);
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    max-width: 800px;
    margin: 20px auto 0 auto;
}
.animation-placeholder img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.animation-placeholder p {
    color: #777;
    font-style: italic;
}

/* ========================
   CREDIBILITY SECTION
   ======================== */
.landing-credibility {
    /* Styles for credibility section */
}

.logo-wall {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}
.logo-wall p {
    color: #777;
    margin-bottom: 15px;
    font-style: italic;
}
.partner-logo {
    height: 40px;
    width: auto;
    margin: 0 15px 10px 15px; /* Added bottom margin for wrapping */
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
    vertical-align: middle;
}
.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.testimonial-item {
    background-color: #fdfdfd;
    border: 1px solid var(--border-light);
    border-left: 5px solid var(--yelp-red);
    padding: 25px;
    border-radius: 5px;
    margin: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.testimonial-item p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.6;
    font-style: italic;
}
.testimonial-item cite {
    font-weight: bold;
    color: var(--yelp-dark);
    font-style: normal;
    font-size: 0.95rem;
}

.trust-signals {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}
.signal-item {
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.signal-item i {
    color: var(--success-green);
    font-size: 1.2em;
}

/* ========================
   PRICING SECTION
   ======================== */
.landing-pricing {
   background-color: #f5f5f5;
   padding-bottom: 70px;
}

.features-note {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-top: -15px;
    margin-bottom: 40px;
    font-style: italic;
}
.features-note strong { color: var(--yelp-dark); }

/* Use .pricing-plans-container styles from pricing.css or index.css */
/* Ensure they are loaded correctly or copy relevant styles here */
.pricing-plans-container {
    display: grid; /* Use grid for layout */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1200px; /* Adjust max width as needed */
    margin: 0 auto; /* Center container */
}

/* Styles for individual plan cards (assuming from index.css or pricing.css) */
.plan-card {
    background: white;
    border-radius: 8px;
    padding: 30px 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    display: flex;
    flex-direction: column; /* Align items vertically */
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.plan-card h3 {
    font-size: 1.6rem;
    color: var(--yelp-red);
    margin-bottom: 10px;
}
.plan-card .tagline {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 20px;
    min-height: 1.5em; /* Reserve space */
}
.plan-card .price {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--yelp-dark);
    margin-bottom: 5px;
}
.plan-card .price span {
    font-size: 1rem;
    font-weight: normal;
    color: #666;
}
.plan-card .savings-note {
    color: var(--success-green);
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: -10px;
    margin-bottom: 15px;
    height: 1.2em;
}
.plan-card .features-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
    flex-grow: 1;
}
.plan-card .features-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #444;
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.plan-card .features-list li i {
    color: var(--success-green);
    font-size: 0.9em;
    width: 15px;
    text-align: center;
    flex-shrink: 0; /* Prevent icon shrinking */
}
.plan-card .btn {
    margin-top: auto; /* Push button to bottom */
    /* Ensure .btn-primary and .btn-secondary styles from index.css apply */
}

/* Popular Badge */
.plan-card.popular {
    position: relative;
    border: 2px solid var(--yelp-red);
    transform: scale(1.02); /* Slightly larger */
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--yelp-red);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}


/* ========================
   FINAL CTA AREA
   ======================== */
.final-cta-area {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}
.main-cta-button {
    font-size: 1.2rem;
    padding: 15px 40px;
     /* Ensure .btn styles apply */
    background-color: var(--yelp-red);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.main-cta-button:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
}

.friction-reducer {
    font-size: 0.9rem;
    color: #777;
    margin-top: 15px;
}
.contact-prompt {
    margin-top: 25px;
    font-size: 1rem;
    color: #555;
}
.contact-prompt a {
    color: var(--yelp-blue-link);
    font-weight: bold;
    text-decoration: none;
}
.contact-prompt a:hover {
    color: var(--yelp-red);
    text-decoration: underline;
}
.contact-prompt i { margin-right: 5px; }

/* ========================
   RESPONSIVE STYLES
   ======================== */

@media (max-width: 992px) {
    .landing-hero h1 { font-size: 2.4rem; }
    .landing-hero h2 { font-size: 1.2rem; }
    .section-heading { font-size: 1.8rem; }
    .section-intro { font-size: 1rem; }
    .benefits-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px;}
    .testimonial-grid { grid-template-columns: 1fr; }
     .pricing-plans-container { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

@media (max-width: 768px) {
    .landing-hero { padding: 60px 15px; }
    .landing-hero h1 { font-size: 2rem; }
    .landing-hero h2 { font-size: 1.1rem; }
    .landing-section { padding: 40px 5%; }
    .section-heading { font-size: 1.6rem; }
    .benefits-grid { grid-template-columns: 1fr; }
    .logo-wall { margin-bottom: 30px; }
    .partner-logo { height: 30px; margin: 0 10px 10px 10px; }
    .trust-signals { gap: 15px; flex-direction: column; align-items: center;}
    .auth-container-landing { justify-content: flex-start; padding: 15px 5%; margin: 20px auto; }
    .auth-container-landing #user-logged-out span { display: none; }
    .pricing-plans-container {
        grid-template-columns: 1fr; /* Stack pricing cards */
        max-width: 400px; /* Limit width when stacked */
        margin-left: auto;
        margin-right: auto;
    }
    .plan-card { margin-bottom: 20px; }
    .plan-card.popular { transform: scale(1); } /* No scaling on mobile */
}

@media (max-width: 480px) {
    .landing-hero h1 { font-size: 1.7rem; }
    .landing-hero h2 { font-size: 1rem; }
    .hero-cta-button { padding: 12px 25px; font-size: 1rem;}
    .section-heading { font-size: 1.4rem; }
    .section-intro { font-size: 0.95rem; }
    .benefit-icon { font-size: 2rem; }
    .benefit-item h4 { font-size: 1.1rem; }
    .testimonial-item p { font-size: 1rem; }
    .trust-signals { gap: 10px; }
    .signal-item { font-size: 0.9rem;}
    .final-cta-area { margin-top: 30px; }
    .main-cta-button { font-size: 1.1rem; padding: 12px 30px; width: 100%; box-sizing: border-box; } /* Full width CTA */
    .contact-prompt { font-size: 0.9rem; }
    .plan-card .price { font-size: 1.8rem; }
    .plan-card .features-list li { font-size: 0.9rem; }
}

/* Auth Modal Styles (Assume these are in index.css - If not, copy them here) */
.auth-modal { /* ... styles from index.css ... */ }
.auth-modal form { /* ... */ }
/* ... etc ... */
