/* styles.css */

/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    background-color: #F9F9EB;
    height: 100%;
    font-family: var(--font-body);
}

/* Apply Gabarito font to all headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* Forest Theme Colors */
:root {
    --cream: #FAE19C;
    --forest-green: #3F7724;
    --brown: #755627;
    --dark-brown: #5A411C;
    --light-cream: #FFF8E8;
    --shadow: rgba(117, 86, 39, 0.15);
    
    /* Font Families */
    --font-heading: 'Gabarito', sans-serif;
    --font-body: 'Recursive', sans-serif;
}

/* ========== LANDING PAGE STYLES ========== */
.landing-page {
    background-color: #F9F9EB;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.hero-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.forest-overlay {
    display: none;
}

.landing-header {
    padding: 2rem 1.5rem;
    z-index: 10;
    animation: fadeInDown 0.8s ease-out;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.logo {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--forest-green);
    margin: 0;
    letter-spacing: -0.02em;
}

.landing-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    z-index: 10;
}

.content-wrapper {
    max-width: 600px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

/* Headline styles */
.headline {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-brown);
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Level icons in prediction explanation */
.level-icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
    flex-shrink: 0;
    vertical-align: middle;
}

.tagline {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-brown);
    margin: 0 0 3rem 0;
    line-height: 1.3;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.email-section {
    margin: 0 0 2rem 0;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.email-form {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px var(--shadow);
    transition: transform 0.3s ease;
}

.email-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px var(--shadow);
}

.email-form.focused {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px var(--shadow);
}

.form-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-direction: column;
}

@media (min-width: 480px) {
    .form-group {
        flex-direction: row;
    }
}

.email-input {
    flex: 1;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid #E8D590;
    border-radius: 12px;
    background: var(--light-cream);
    color: var(--dark-brown);
    transition: all 0.3s ease;
    font-family: inherit;
}

.email-input:focus {
    outline: none;
    border-color: var(--forest-green);
    background: white;
    box-shadow: 0 0 0 3px rgba(63, 119, 36, 0.1);
}

.email-input::placeholder {
    color: rgba(117, 86, 39, 0.5);
}

.email-input.valid {
    border-color: var(--forest-green);
}

.email-input.invalid {
    border-color: #ef5350;
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--forest-green);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-family: inherit;
}

.submit-btn:hover {
    background: #346520;
    transform: translateX(2px);
    box-shadow: 0 5px 20px rgba(63, 119, 36, 0.3);
}

.submit-btn:active {
    transform: scale(0.98);
}

.submit-btn:disabled,
.submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn.loading {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 0.9; }
    100% { opacity: 0.7; }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.btn-icon {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(3px);
}

.form-note {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(117, 86, 39, 0.7);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.feature {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px var(--shadow);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.feature p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--dark-brown);
    font-weight: 500;
}

/* Success Overlay */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(63, 119, 36, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.success-overlay.show {
    display: flex;
}

.success-modal {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    animation: scaleIn 0.3s ease;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--forest-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    font-weight: bold;
}

.success-modal h3 {
    font-family: var(--font-heading);
    color: var(--forest-green);
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.success-modal p {
    color: var(--brown);
    margin: 0;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .brand-title {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .email-form {
        padding: 1.5rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .landing-header {
        padding: 1.5rem 16px;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .brand-title {
        font-size: 1.75rem;
    }
    
    .tagline {
        font-size: 1.8rem !important; /* Increased further for better visibility */
        margin-bottom: 2.5rem; /* Add more space */
        padding: 0 16px; /* Consistent horizontal padding */
        color: #2D1A0A !important; /* Much darker brown for better contrast */
        font-weight: 700 !important; /* Bolder weight */
        text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3); /* Subtle text shadow */
        line-height: 1.2 !important; /* Tighter line height */
    }
    
    /* Adjust landing main on very small screens */
    .hero-container.with-navbar .landing-main {
        margin-top: 68px !important; /* Account for navbar height */
        padding-top: 1rem !important; /* Reduced padding for tighter spacing */
    }
    
    .container.with-navbar {
        margin-top: 102px; /* 70px navbar + 32px spacing */
    }
    
    .container.with-navbar main h1 {
        margin-top: 0; /* Remove default margin */
        padding-top: 0; /* Remove default padding */
    }
    
    .email-form {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .email-input,
    .submit-btn {
        font-size: 0.95rem;
    }
    
    .submit-btn,
    .account-btn,
    .premium-cta {
        width: 100% !important;
        max-width: none;
        justify-content: center;
    }
    
    .feature {
        padding: 1.25rem;
    }
}

/* ========== NEW HOMEPAGE SECTIONS STYLES ========== */

/* Main CTA Section */
.main-cta {
    margin: 3rem 0 6rem 0;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.main-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: #F9DFB8;
    color: var(--dark-brown);
    text-decoration: none;
    border-radius: 16px;
    font-size: 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(249, 223, 184, 0.4);
    font-family: var(--font-heading);
    margin-bottom: 3rem;
}

.main-cta-btn:hover {
    background: #F5D49A;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(249, 223, 184, 0.5);
}

.main-cta-btn:active {
    transform: translateY(-1px);
}

.cta-icon {
    transition: transform 0.3s ease;
}

.main-cta-btn:hover .cta-icon {
    transform: translateX(3px);
}

/* Subtitle */
.subtitle {
    font-size: 1.25rem;
    color: rgba(117, 86, 39, 0.8);
    line-height: 1.6;
    margin: 1.5rem 0 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Section Titles - Universal Styling */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--dark-brown);
    margin: 3rem 0 2rem 0 !important;
    text-align: center;
    display: block;
}

/* How It Works Section */
.how-it-works-section {
    padding: 0;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.how-it-works-section .steps-container {
    margin: 0 auto;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}


/* Vertical stepper layout - fallback for other contexts */
.steps-container:not(.how-it-works-section .steps-container) {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

/* Vertical connecting line */
.steps-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: var(--cream);
    border-left: 2px dashed var(--forest-green);
    transform: translateX(-50%);
    z-index: 0;
}

.step-card {
    display: flex;
    align-items: center;
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px var(--shadow);
    transition: transform 0.3s ease;
    z-index: 1;
    margin: 1rem 0;
    gap: 2rem;
    text-align: left;
}

.step-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px var(--shadow);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--cream);
    border: 4px solid var(--forest-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest-green);
    font-family: var(--font-heading);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-brown);
    margin: 0 0 1rem 0;
    font-family: var(--font-heading);
}

.step-description {
    color: rgba(117, 86, 39, 0.8);
    margin: 0 0 1rem 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.prediction-levels {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    text-align: left;
}

.prediction-levels li {
    padding: 0.5rem 0;
    color: rgba(117, 86, 39, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.prediction-levels strong {
    color: var(--dark-brown);
    font-weight: 600;
}

.level-text {
    flex: 1;
    min-width: 0;
}

/* Days Timeline */
.days-timeline {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.day-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.day-item:first-child {
    margin-left: 0;
    padding-left: 0;
}

.day-icon {
    width: 32px;
    height: 32px;
    background-color: #f9f9eb;
    border-radius: 4px;
    border-bottom: 4px solid #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2px;
    box-sizing: border-box;
}

.day-label {
    font-size: 8px;
    font-weight: 500;
    color: var(--dark-brown);
    line-height: 1;
    font-family: var(--font-body);
    margin-top: -1px;
}

.day-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-brown);
    line-height: 1;
    font-family: var(--font-heading);
    margin-top: 2px;
}

.arrow-right {
    font-size: 12px;
    color: var(--dark-brown);
    margin: 0 2px;
    opacity: 0.6;
}

/* Pricing Section */
.pricing-section {
    padding: 0 0 2rem 0;
    animation: fadeInUp 1s ease-out 0.5s both;
}


.pricing-container,
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 4rem auto 0 auto;
    align-items: stretch;
}

@media (min-width: 768px) {
    .pricing-container,
    .pricing-cards {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 32px var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow);
}

.pricing-card.premium {
    border: 2px solid #FFAB00;
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(255, 171, 0, 0.2);
}

.pricing-card.premium::before {
    content: "Confirmé";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFD202 0%, #FFAB00 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 171, 0, 0.3);
}

/* Beginner card with green styling */
.pricing-card.premium.beginner {
    border: 2px solid var(--forest-green);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.premium.beginner::before {
    content: "Débutant";
    background: var(--forest-green);
}

/* Premium card specific styling */
.pricing-card.premium .price-amount {
    color: #FFAB00;
}

.pricing-card.premium .pricing-btn.primary {
    background: #FFAB00;
    border-color: #FFAB00;
}

.pricing-card.premium .pricing-btn.primary:hover {
    background: #E69A00;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-brown);
    margin: 0 0 0.5rem 0;
    font-family: var(--font-heading);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--forest-green);
    margin: 0 0 0.25rem 0;
    font-family: var(--font-heading);
}

.plan-period {
    color: rgba(117, 86, 39, 0.6);
    font-size: 0.875rem;
    margin: 0 0 2rem 0;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.plan-features li {
    padding: 0.75rem 0;
    color: var(--dark-brown);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.plan-features li::before {
    content: "✓";
    color: var(--forest-green);
    font-weight: bold;
}

.plan-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    border: 2px solid var(--forest-green);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: var(--font-heading);
    margin-top: auto;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-btn.primary {
    background: var(--forest-green);
    color: white;
}

.plan-btn.primary:hover {
    background: #346520;
    transform: translateY(-1px);
}

.plan-btn.secondary {
    background: white;
    color: var(--forest-green);
}

.plan-btn.secondary:hover {
    background: var(--cream);
    transform: translateY(-1px);
}

/* Pricing buttons (actual classes used in HTML) */
.pricing-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    border: 2px solid var(--forest-green);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    margin-top: auto;
    min-height: 60px;
    border: none;
}

.pricing-btn.primary {
    background: var(--forest-green);
    color: white;
}

.pricing-btn.primary:hover {
    background: #346520;
    transform: translateY(-1px);
}

.pricing-btn.secondary {
    background: white;
    color: var(--forest-green);
    border: 2px solid var(--forest-green);
}

.pricing-btn.secondary:hover {
    background: var(--cream);
    transform: translateY(-1px);
}

/* Pricing price display */
.pricing-price {
    margin: 2rem 0 1.5rem 0;
    text-align: center;
    flex-shrink: 0;
}

.price-amount {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--forest-green);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.price-period {
    display: block;
    color: rgba(117, 86, 39, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
}

/* Pricing features list */
.pricing-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-brown);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
}

.pricing-features li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    color: rgba(117, 86, 39, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.pricing-features li:last-child {
    margin-bottom: 0;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--forest-green);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Data Sources Section */
.data-section {
    padding: 0 0 2rem 0;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.data-sources {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    margin: 0;
    box-shadow: 0 10px 40px var(--shadow);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.data-sources h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--dark-brown);
    margin: 3rem 0 2rem 0;
    text-align: center;
}

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

.data-card {
    background: #fae19b;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.data-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow);
}

.data-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.data-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1rem 0;
}

.data-card p {
    color: #555;
    margin: 0;
    line-height: 1.5;
    font-size: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 0 0 2rem 0;
    animation: fadeInUp 1s ease-out 0.7s both;
}


.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--shadow);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-brown);
    margin: 0 0 1rem 0;
    font-family: var(--font-heading);
    text-align: left;
}

.faq-answer {
    color: rgba(117, 86, 39, 0.8);
    margin: 0;
    line-height: 1.6;
    text-align: left;
}

/* Social Media Section */
.social-section {
    padding: 0 0 2rem 0;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.social-icons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.social-icon-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon-link:hover {
    transform: translateY(-2px);
}

/* =================================================================
   MUSHROOM-SHAPED SOCIAL MEDIA ICONS
   ================================================================= */

/* Mushroom container with Cepio theming */
.social-icon-wrapper {
    --mushroom-width: 140px; /* Wider to accommodate 68px icon */
    --mushroom-height: 160px;
    --cap-height: calc(var(--mushroom-height) * 0.60); /* Slightly taller cap for icon */
    --stem-height: calc(var(--mushroom-height) * 0.40);
    --stem-width: calc(var(--mushroom-width) * 0.70); /* Wide stem for text visibility */
    
    /* Cepio brand colors */
    --cap-fill: #D27137;
    --stem-fill: #F2DDB5;
    --stem-border: #E5A259;
    --text-color: var(--dark-brown);
    --icon-color: white;
    
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: var(--mushroom-width);
    height: var(--mushroom-height);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

/* Mushroom cap (top part - contains icon) */
.social-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--cap-height);
    background: var(--cap-fill);
    border-radius: 50% 50% 40% 40% / 60% 60% 25% 25%;
    z-index: 1;
}

/* Mushroom stem (bottom part - contains text) */
.social-icon-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: var(--stem-width);
    height: var(--stem-height);
    background: var(--stem-fill);
    border-radius: 0 0 calc(var(--stem-width) * 0.3) calc(var(--stem-width) * 0.3); /* Only bottom corners rounded */
    border-right: 3px solid var(--stem-border);
    border-left: 3px solid var(--stem-border);
    border-bottom: 3px solid var(--stem-border);
    box-sizing: border-box;
    z-index: 1;
}

/* Icon positioning in the cap */
.social-icon {
    position: absolute;
    top: calc((var(--cap-height) - 68px) / 2); /* Perfectly centered in cap */
    left: 50%;
    transform: translateX(-50%);
    width: 68px; /* Fixed size as requested */
    height: 68px;
    z-index: 2;
    /* No filter - show original icon colors */
    transition: all 0.3s ease;
}

/* Text positioning in the stem */
.social-name {
    position: absolute;
    bottom: calc(var(--stem-height) * 0.35); /* Centered in stem */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 13px; /* Larger for better readability */
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    font-family: var(--font-body);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(var(--stem-width) * 0.9); /* More room for text */
    line-height: 1.2;
}


/* =================================================================
   INTERACTION STATES
   ================================================================= */

/* Hover effects */
.social-icon-link:hover .social-icon-wrapper {
    transform: scale(1.02);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2));
}

.social-icon-link:hover .social-icon {
    transform: translateX(-50%) scale(1.05);
}

/* Press/Active effects */
.social-icon-link:active .social-icon-wrapper {
    transform: scale(0.98);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Focus ring for accessibility */
.social-icon-link:focus {
    outline: none;
}

.social-icon-link:focus .social-icon-wrapper {
    outline: 3px solid #4A90E2;
    outline-offset: 4px;
    border-radius: 50% 50% 25% 25% / 60% 60% 15% 15%;
}

/* =================================================================
   ENTRANCE ANIMATIONS
   ================================================================= */

/* Staggered entrance animation */
.social-icon-wrapper {
    animation: mushroomEntrance 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.social-icon-link:nth-child(1) .social-icon-wrapper { animation-delay: 0ms; }
.social-icon-link:nth-child(2) .social-icon-wrapper { animation-delay: 100ms; }
.social-icon-link:nth-child(3) .social-icon-wrapper { animation-delay: 200ms; }
.social-icon-link:nth-child(4) .social-icon-wrapper { animation-delay: 300ms; }
.social-icon-link:nth-child(5) .social-icon-wrapper { animation-delay: 400ms; }

@keyframes mushroomEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    60% {
        opacity: 1;
        transform: scale(1.05) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .social-icon-wrapper {
        animation: none;
        transition: none;
    }
    
    .social-icon-link:hover .social-icon-wrapper {
        transform: none;
    }
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .section-title,
    .pricing-section h2,
    .data-sources h2,
    .faq-section h2,
    .social-section h2 {
        font-size: 1.75rem;
    }
    
    .how-it-works-section .steps-container {
        padding: 2rem 0;
        margin: 0 auto;
    }
    
    .data-sources {
        padding: 2rem 1.5rem;
        margin: 3rem 0;
    }
    
    .pricing-section {
        padding: 0;
    }
    
    .steps-container {
        gap: 0;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .step-card {
        margin: 1rem 0;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .days-timeline {
        gap: 0.25rem;
        margin-top: 1rem;
    }
    
    .days-timeline > *:nth-child(-n+7) {
        margin-bottom: 0.5rem;
    }
    
    .arrow-right {
        font-size: 10px;
        margin: 0 1px;
    }
    
    .step-number {
        margin-bottom: 0;
    }
    
    .pricing-container,
    .pricing-cards {
        gap: 1.5rem;
    }
    
    .pricing-card.premium {
        transform: none;
    }
    
    .data-grid,
    .faq-container,
    .faq-grid {
        gap: 2rem;
    }
    
    /* Responsive mushroom sizing for tablet */
    .social-icons-container {
        gap: 1.2rem;
    }
    
    .social-icon-wrapper {
        --mushroom-width: 110px;
        --mushroom-height: 130px;
    }
    
    .social-icon {
        width: 60px;
        height: 60px;
    }
    
    .social-name {
        font-size: 12px;
    }
    
    .subtitle {
        font-size: 1.125rem;
    }
    
    .main-cta-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .steps-container,
    .pricing-container,
    .pricing-cards,
    .data-grid,
    .faq-container,
    .faq-grid {
        flex-direction: column;
    }
    
    .steps-container,
    .pricing-container,
    .pricing-cards,
    .data-grid,
    .faq-container,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .data-sources {
        padding: 1.5rem 1rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    /* Responsive mushroom sizing for mobile */
    .social-icons-container {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-icon-wrapper {
        --mushroom-width: 100px;
        --mushroom-height: 120px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .social-name {
        font-size: 11px;
    }
}

/* ========== EXISTING STYLES (for other pages) ========== */

/* Button Styles */
button {
    background-color: #ff5722;
    color: #fff;
    padding: 16px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #e64a19;
}

/* Container Styles */
.container {
    width: 90%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 24px;
    box-sizing: border-box;
}

/* Header Styles */
header:not(.landing-header) {
    display: flex;
    align-items: center;
    padding: 8px;
}

header:not(.landing-header) img {
    height: 40px;
    margin-right: 16px;
}

/* Main Content Styles */
main:not(.landing-main) {
    padding: 0;
    text-align: center;
}

.loader {
    display: none;
    width: 100%;
    text-align: center;
    margin-top: 24px;
}

#loader-text {
    display: inline-block;
    font-size: 18px;
    color: #333;
    font-family: 'Courier New', Courier, monospace;
    border-right: 3px solid #ff7043;
    box-sizing: border-box;
    animation: blinkCursor 0.7s step-end infinite;
}

/* Typing animation */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

/* Cursor blink animation */
@keyframes blinkCursor {
    from { border-right-color: #ff7043; }
    to { border-right-color: transparent; }
}

/* Search Bar Styles */
.search-container {
    margin-bottom: 24px;
}

.search-container input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 16px;
    border: 1px solid #ccc;
    font-size: 16px;
    box-sizing: border-box;
}

/* Google Places Autocomplete Element Styles */
gmp-place-autocomplete {
    width: 100%;
    --gmpx-color-surface: #FFF9F0;
    --gmpx-color-on-surface: #5D3A1A;
    --gmpx-color-primary: #D06E35;
    --gmpx-color-on-primary: white;
}

gmp-place-autocomplete input {
    width: 100%;
    padding: 14px 20px !important;
    border-radius: 16px !important;
    border: 2px solid #D06E35 !important;
    background-color: #FFF9F0 !important;
    font-size: 16px !important;
    color: #5D3A1A !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    box-sizing: border-box !important;
}

gmp-place-autocomplete input:hover {
    border-color: #FFE079 !important;
    background-color: #FFFAF5 !important;
    box-shadow: 0 2px 8px rgba(208, 110, 53, 0.15) !important;
}

gmp-place-autocomplete input:focus {
    border-color: #FFE079 !important;
    background-color: white !important;
    box-shadow: 0 0 0 3px rgba(255, 224, 121, 0.3) !important;
}

gmp-place-autocomplete input::placeholder {
    color: rgba(93, 58, 26, 0.5) !important;
}

/* Autocomplete dropdown styling */
.pac-container {
    border-radius: 12px !important;
    border: 2px solid #D06E35 !important;
    margin-top: 4px !important;
    box-shadow: 0 4px 12px rgba(208, 110, 53, 0.15) !important;
    z-index: 9999 !important;
}

.pac-item {
    padding: 10px 14px !important;
    border-top: 1px solid rgba(208, 110, 53, 0.2) !important;
    color: #5D3A1A !important;
    font-size: 14px !important;
}

.pac-item:hover {
    background-color: #FFE079 !important;
    background-image: none !important;
}

.pac-item-selected {
    background-color: #FFE079 !important;
}

.pac-matched {
    color: #D06E35 !important;
    font-weight: 600 !important;
}

/* Mobile-specific autocomplete improvements */
@media (max-width: 768px) {
    /* Prevent Google Places autocomplete from opening fullscreen modal */
    gmp-place-autocomplete {
        --gmpx-font-size: 16px !important; /* Prevent iOS zoom */
        width: 100% !important;
        display: block !important;
    }
    
    /* Target all possible input selectors for Google Places */
    gmp-place-autocomplete input,
    gmp-place-autocomplete::part(input),
    .search-container input,
    input[type="text"] {
        font-size: 16px !important; /* Critical: prevents iOS keyboard zoom */
        -webkit-appearance: none !important;
        appearance: none !important;
        padding: 14px 16px !important;
        border-radius: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        transform: translateZ(0); /* Force hardware acceleration */
        -webkit-transform: translateZ(0);
    }
    
    /* Ensure dropdown stays inline, not fullscreen */
    .pac-container {
        position: absolute !important;
        width: calc(100% - 48px) !important;
        max-height: 250px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        background: white !important;
    }
    
    .pac-item {
        padding: 14px 16px !important;
        font-size: 16px !important;
        border-bottom: 1px solid #f0f0f0 !important;
        border-top: none !important;
    }
    
    .pac-item:first-child {
        border-top-left-radius: 12px !important;
        border-top-right-radius: 12px !important;
    }
    
    .pac-item:last-child {
        border-bottom-left-radius: 12px !important;
        border-bottom-right-radius: 12px !important;
        border-bottom: none !important;
    }
}

/* Map Styles */
#map {
    width: 100%;
    height: 400px;
    margin-bottom: 24px;
    margin-top: 24px;
    border-radius: 16px;
    overflow: hidden;
}

/* Bento Box Styles */
#prediction-result {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#prediction-result h2 {
    width: 100%;
    background-color: #ff7043;
    color: #fff;
    margin: 0;
    padding: 16px;
    text-align: center;
    font-size: 24px;
}

#prediction-result ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

#prediction-result li {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    color: #333;
}

#prediction-result li:last-child {
    border-bottom: none;
}

/* Interactive Marker Styles */
.custom-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(188, 132, 70, 0.9);
    border: 2px solid #bc8446;
    border-radius: 12px;
    padding: 4px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    z-index: 1;
}

.custom-marker .marker-label {
    font-size: 12px;
    color: white;
    margin-top: 2px;
    font-weight: 500;
    white-space: nowrap;
    background: rgba(188, 132, 70, 0.95);
    padding: 2px 6px;
    border-radius: 4px;
}

.custom-marker.highlight {
    border: 2px solid #bc8446;
    box-shadow: 0 0 0 4px white, 0 4px 16px rgba(0,0,0,0.3);
    background: rgba(188, 132, 70, 1);
    z-index: 9999 !important;
}

.custom-marker .status-dot {
    width: 4px;
    height: 4px;
    background-color: #005D28;
    border-radius: 50%;
    margin-top: 4px;
    display: none;
}

.custom-marker.highlight .status-dot {
    display: block;
}

/* Forest Marker Styles */
.forest-marker {
    position: relative;
    z-index: 10;
}

.forest-marker .mushroom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 2px solid white;
}

.forest-marker:hover .mushroom-icon {
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    background: white;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: #ebefeb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.navbar-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

/* Exit CTA - Hidden on desktop */
.exit-cta {
    position: absolute;
    left: 20px;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    height: 36px;
    background-color: #22C55E;
    border: 3px solid white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.exit-cta:hover {
    background-color: #16A34A;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.exit-cta:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.4);
}

.exit-cta:active {
    transform: translateY(1px);
}

.exit-cta .icon-arrow {
    color: white;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.exit-cta .icon-person {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

.exit-cta .divider {
    width: 1px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

/* Adjust container for navbar */
.container.with-navbar {
    margin-top: 90px; /* 70px navbar + 20px spacing */
}

/* Adjust hero container for navbar on landing page */
.hero-container.with-navbar {
    padding-top: 0; /* No padding needed since navbar is fixed */
    min-height: 100vh;
}

/* Adjust landing main positioning for desktop */
@media (min-width: 601px) {
    .hero-container.with-navbar .landing-main {
        margin-top: 68px !important; /* Ensure content is below navbar on desktop */
        padding-top: 1.5rem !important;
    }
    
    .content-wrapper {
        padding-top: 1rem; /* Add padding to content wrapper */
    }
    
    .tagline {
        margin-top: 32px; /* Reset margin */
        margin-bottom: 3rem; /* Keep consistent bottom spacing */
    }
}

/* Specific adjustments for larger screens */
@media (min-width: 769px) {
    .hero-container.with-navbar .landing-main {
        margin-top: 68px !important; /* Keep navbar spacing */
        padding-top: 2rem !important; /* Increased padding for better positioning */
        display: flex;
        align-items: flex-start; /* Align content to top */
        justify-content: center;
    }
    
    .content-wrapper {
        padding-top: 2rem; /* Add consistent padding */
        max-width: 600px;
        width: 100%;
    }
    
    .tagline {
        margin-top: 0; /* Reset top margin */
        margin-bottom: 2.5rem; /* Slightly reduce bottom spacing */
    }
}

/* Ensure mobile view is not affected */
@media (max-width: 600px) {
    .hero-container.with-navbar .landing-main {
        margin-top: 68px !important; /* Keep mobile spacing */
        padding-top: 1rem !important;
    }
}



/* Date Range Display */
.date-range-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 20px auto;
    font-size: 16px;
    font-weight: 500;
}

.date-range-text {
    color: #8F99A8;
    font-weight: 500;
}

/* DatePill Component - Responsive Design */
.date-pill {
    display: flex;
    flex-direction: column;
    width: 85px;
    height: 95px;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    background: white;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.date-pill-top {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 8px;
    background: white;
}

.date-pill-weekday {
    color: #9AA3AE;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 6px;
}

.date-pill-day {
    color: #18181B;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.date-pill-bottom {
    height: 32px;
    background: #1A1212;
    display: flex;
    align-items: center;
    justify-content: center;
}

.date-pill-month {
    color: white;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Growth Level Icon Container - Fixed width for alignment */
.growth-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 85px; /* Match date-pill width */
    flex-shrink: 0;
    position: relative; /* Ensure proper positioning context */
}

/* Growth Level Icon - Responsive to match date-pill */
.growth-level-icon {
    height: 95px;
    width: auto;
    max-width: 95px;
    object-fit: contain;
    display: block; /* Changed from inline-block for better flex child behavior */
    margin: 0 auto; /* Center the image within flex container */
}

/* Growth Level Scaling */
.growth-level-3 { /* three mushrooms - 100% (max size) */
    /* Default size, no scaling needed */
    height: 95px;
    max-width: 95px;
}

.growth-level-2 { /* two mushrooms - 85% */
    height: calc(95px * 0.85);
    max-width: calc(95px * 0.85);
}

.growth-level-1 { /* one mushroom - 70% */
    height: calc(95px * 0.70);
    max-width: calc(95px * 0.70);
}

.growth-level-0 { /* leaf - 65% */
    height: calc(95px * 0.65);
    max-width: calc(95px * 0.65);
}

/* Large Desktop Styles */
@media screen and (min-width: 1200px) {
    .date-pill {
        width: 90px;
        height: 100px;
    }
    
    .date-pill-weekday {
        font-size: 17px;
        margin-bottom: 6px;
    }
    
    .date-pill-day {
        font-size: 26px;
    }
    
    .date-pill-bottom {
        height: 34px;
    }
    
    .date-pill-month {
        font-size: 16px;
        letter-spacing: 0.6px;
    }
    
    .growth-icon-container {
        width: 90px; /* Match date-pill width */
    }
    
    .growth-level-icon {
        height: 100px;
        max-width: 100px;
    }
    
    .growth-level-2 {
        height: calc(100px * 0.85);
        max-width: calc(100px * 0.85);
    }
    
    .growth-level-1 {
        height: calc(100px * 0.70);
        max-width: calc(100px * 0.70);
    }
    
    .growth-level-0 {
        height: calc(100px * 0.65);
        max-width: calc(100px * 0.65);
    }
}

/* Tablet Styles */
@media screen and (min-width: 601px) and (max-width: 768px) {
    .date-pill {
        width: 80px;
        height: 90px;
    }
    
    .date-pill-weekday {
        font-size: 16px;
    }
    
    .date-pill-day {
        font-size: 22px;
    }
    
    .date-pill-bottom {
        height: 30px;
    }
    
    .date-pill-month {
        font-size: 14px;
    }
    
    .growth-icon-container {
        width: 80px; /* Match date-pill width */
    }
    
    .growth-level-icon {
        height: 90px;
        max-width: 90px;
    }
    
    .growth-level-2 {
        height: calc(90px * 0.85);
        max-width: calc(90px * 0.85);
    }
    
    .growth-level-1 {
        height: calc(90px * 0.70);
        max-width: calc(90px * 0.70);
    }
    
    .growth-level-0 {
        height: calc(90px * 0.65);
        max-width: calc(90px * 0.65);
    }
}

/* Mobile Styles */
@media screen and (max-width: 600px) {
    .container {
        width: 100%;
        padding: 16px;
        box-sizing: border-box;
    }
    
    /* Mobile Navbar adjustments */
    .navbar {
        justify-content: space-between;
        padding: 0 16px 0 76px; /* Space for exit CTA on left (60px + 16px), padding on right */
        position: relative; /* Ensure proper positioning context */
    }
    
    .navbar-title {
        display: none; /* Hide text on mobile */
    }
    
    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1; /* Keep brand below interactive elements */
    }
    
    .exit-cta {
        display: flex; /* Show exit CTA on mobile */
        z-index: 2; /* Keep above brand */
    }
    
    .login-btn {
        z-index: 2; /* Keep above brand */
        flex-shrink: 0; /* Prevent shrinking */
    }

    .search-container input {
        font-size: 16px;
    }


    #prediction-result h2 {
        font-size: 18px;
    }

    #prediction-result li {
        font-size: 14px;
    }
    
    /* Mobile grid layout - mushroom drops below cards */
    .prediction-header {
        grid-template-columns: 1fr 1fr !important;
    }
    
    .mushroom {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        justify-self: center !important;
        margin-top: 8px !important;
    }
    
    /* Consistent 16px padding for mobile devices */
    .prediction-header {
        padding: 16px !important;
    }
    
    /* Date Range responsive */
    .date-range-container {
        gap: 12px;
        margin: 16px auto;
        font-size: 14px;
    }
    
    .date-pill {
        width: 75px;
        height: 85px;
        border-radius: 10px;
    }
    
    .date-pill-top {
        padding: 8px 6px;
    }
    
    .date-pill-weekday {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .date-pill-day {
        font-size: 20px;
    }
    
    .date-pill-bottom {
        height: 30px;
    }
    
    .date-pill-month {
        font-size: 14px;
        letter-spacing: 0.3px;
    }
    
    .growth-icon-container {
        width: 75px; /* Match date-pill width */
    }
    
    .growth-level-icon {
        height: 85px;
        max-width: 85px;
    }
    
    .growth-level-2 {
        height: calc(85px * 0.85);
        max-width: calc(85px * 0.85);
    }
    
    .growth-level-1 {
        height: calc(85px * 0.70);
        max-width: calc(85px * 0.70);
    }
    
    .growth-level-0 {
        height: calc(85px * 0.65);
        max-width: calc(85px * 0.65);
    }
}

/* ========== AUTHENTICATION SYSTEM STYLES ========== */

/* Login Button in Navbar */
.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--forest-green);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.login-btn:hover {
    background: #346520;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(63, 119, 36, 0.3);
}

.login-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Account Card */
.account-section {
    margin: 2rem 0;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.account-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px var(--shadow);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.account-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px var(--shadow);
}

.account-icon {
    background: linear-gradient(135deg, var(--forest-green), #2d5a1c);
    border-radius: 16px;
    padding: 12px;
    color: white;
    flex-shrink: 0;
}

.account-icon svg,
.account-icon img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.account-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.account-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-brown);
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.account-text {
    color: rgba(117, 86, 39, 0.8);
    margin: 0 0 1rem 0;
    line-height: 1.4;
    text-align: center;
}

.account-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--forest-green);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
    justify-content: center;
    width: 70%;
}

.account-btn:hover {
    background: #346520;
    transform: translateX(2px);
}

.account-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.account-btn:hover svg {
    transform: translateX(2px);
}

/* Authentication Modal */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.auth-overlay.show {
    display: flex;
}

.auth-modal {
    background: white;
    border-radius: 24px;
    padding: 0;
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.auth-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1;
}

.auth-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.auth-form {
    padding: 2rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-brown);
    margin: 0 0 0.5rem 0;
}

.auth-header p {
    color: rgba(117, 86, 39, 0.7);
    margin: 0;
}

.form-field {
    margin-bottom: 1rem;
}

.form-field input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E8D590;
    border-radius: 12px;
    background: var(--light-cream);
    color: var(--dark-brown);
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.form-field input:focus {
    outline: none;
    border-color: var(--forest-green);
    background: white;
    box-shadow: 0 0 0 3px rgba(63, 119, 36, 0.1);
}

.form-field input::placeholder {
    color: rgba(117, 86, 39, 0.5);
}

.auth-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--forest-green);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-bottom: 1.5rem;
}

.auth-submit-btn:hover {
    background: #346520;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(63, 119, 36, 0.3);
}

.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-secondary-btn {
    width: 100%;
    padding: 14px;
    background: transparent;
    color: var(--forest-green);
    border: 2px solid var(--forest-green);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: 0.75rem;
}

.auth-secondary-btn:hover {
    background: var(--forest-green);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(63, 119, 36, 0.3);
}

.disconnect-info {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(63, 119, 36, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--forest-green);
}

.disconnect-info p {
    margin: 0 0 0.75rem 0;
    font-weight: 600;
    color: var(--forest-green);
}

.disconnect-info ul {
    margin: 0;
    padding-left: 1.25rem;
    color: rgba(117, 86, 39, 0.8);
}

.disconnect-info li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.disconnect-info li:last-child {
    margin-bottom: 0;
}

.disconnect-buttons {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.disconnect-btn {
    background: #d32f2f !important;
    margin-bottom: 0.75rem;
}

.disconnect-btn:hover {
    background: #b71c1c !important;
}

/* Premium CTAs */
.premium-cta {
    background: #FF6B35 !important;
    color: white !important;
}

.premium-cta:hover {
    background: #E85A2B !important;
    transform: translateX(2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.premium-forest-cta {
    background: #FF6B35;
    transition: all 0.3s ease;
}

.premium-forest-cta:hover {
    background: #E85A2B;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Premium Modal Styles */
.premium-features {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.premium-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 12px;
    border-left: 4px solid #FF6B35;
}

.premium-feature-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    width: 2rem;
    text-align: center;
}

.premium-feature-content h4 {
    font-family: var(--font-heading);
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #FF6B35;
}

.premium-feature-content p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(117, 86, 39, 0.8);
    line-height: 1.3;
}

.premium-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.premium-buttons .auth-secondary-btn {
    margin-top: 0;
}

.premium-buttons .auth-submit-btn,
.premium-buttons .premium-purchase-btn {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.premium-buttons button {
    margin: 0 !important;
}

.premium-purchase-btn {
    background: #FF6B35 !important;
    font-weight: 600;
}

.premium-purchase-btn:hover {
    background: #E85A2B !important;
}

.auth-switch {
    text-align: center;
    border-top: 1px solid rgba(208, 110, 53, 0.2);
    padding-top: 1.5rem;
}

.auth-switch p {
    margin: 0;
    color: rgba(117, 86, 39, 0.7);
}

.auth-switch a {
    color: var(--forest-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-switch a:hover {
    color: #346520;
    text-decoration: underline;
}

/* Mobile Responsiveness for Auth */
@media (max-width: 768px) {
    .login-text {
        display: none; /* Hide text on mobile, keep icon */
    }
    
    .login-btn {
        padding: 8px 12px;
        margin-left: auto; /* Ensure it stays on the right */
    }
    
    .account-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .account-icon {
        align-self: center;
    }
    
    .auth-modal {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .auth-form {
        padding: 1.5rem;
    }
    
    .auth-header h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .account-card {
        padding: 1.5rem;
    }
    
    .account-title {
        font-size: 1.25rem;
    }
    
    .auth-close {
        top: 12px;
        right: 12px;
    }
}

/* ──────────────────────────────────────────
 * Success Page Styles
 * ────────────────────────────────────────── */

.success-container {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.success-icon-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: #FF6B35;
  color: white;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.success-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #75562A;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.success-message {
  font-size: 1.1rem;
  color: rgba(117, 86, 39, 0.8);
  line-height: 1.5;
  margin: 0 0 2rem 0;
}

.premium-features-recap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(255, 248, 220, 0.3);
  border-radius: 1rem;
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.premium-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.premium-feature-item .premium-feature-icon {
  font-size: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.premium-feature-text h4 {
  font-family: var(--font-heading);
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #FF6B35;
}

.premium-feature-text p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(117, 86, 39, 0.8);
  line-height: 1.3;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.success-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.success-btn.primary {
  background: #FF6B35;
  color: white;
}

.success-btn.primary:hover {
  background: #E85A2B;
  transform: translateY(-1px);
}

.success-btn.secondary {
  background: rgba(255, 107, 53, 0.1);
  color: #FF6B35;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.success-btn.secondary:hover {
  background: rgba(255, 107, 53, 0.15);
}

/* Mobile responsiveness for success page */
@media (max-width: 768px) {
  .success-container {
    padding: 1.5rem 1rem;
  }
  
  .success-title {
    font-size: 1.5rem;
  }
  
  .success-message {
    font-size: 1rem;
  }
  
  .premium-features-recap {
    padding: 1rem;
  }
  
  .premium-feature-item {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .success-actions {
    margin-top: 1.5rem;
  }
}

/* ========== CUSTOM MARKERS GRID STYLES ========== */
.custom-markers-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 1rem 0;
  padding-top: 4px; /* Add padding to prevent clipping */
  width: 100%;
  box-sizing: border-box;
  overflow: visible; /* Changed from hidden to visible */
}

.custom-markers-card {
  border: 2px solid rgba(255, 215, 0, 0.3);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
}

.custom-markers-card .account-icon {
  background: linear-gradient(135deg, #DAA520, #B8860B);
}

.custom-marker-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  margin-bottom: 16px;
  background: #FFF8E8;
  border: 2px solid #E8D58F;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  box-shadow: 0 4px 16px rgba(218, 165, 32, 0.1);
  width: calc(100% - 0px);
  max-width: 100%;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

.custom-marker-item:first-child {
  margin-top: 4px; /* Add top margin to first item to prevent clipping */
}

.custom-marker-item:last-child {
  margin-bottom: 0;
}

.custom-marker-item:hover {
  background: #FFEFC7;
  border-color: #DAA520;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(218, 165, 32, 0.2);
}

/* Custom markers card responsive */
@media (max-width: 768px) {
  .custom-markers-card {
    padding: 1.5rem;
  }
  
  .custom-marker-item {
    padding: 12px 16px;
    margin: 0 0 16px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
  }
}

/* ===== FOOTER STYLES ===== */
.footer {
  margin-top: 64px;
  background: #f9dfb8;
  padding: 3rem 0 2rem;
  border-top: 1px solid #e8d58f;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  height: 32px;
  width: auto;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #23130f;
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-section-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #23130f;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #23130f;
  text-decoration: none;
  transition: all 0.2s ease;
  opacity: 0.8;
}

.footer-link:hover {
  opacity: 1;
  text-decoration: underline;
  transform: translateX(2px);
}

/* ===== LEGAL PAGES STYLES ===== */
.legal-page {
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-container {
  flex: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
  margin-top: 80px; /* Account for navbar */
}

.legal-content {
  font-family: var(--font-body);
  color: #333;
  line-height: 1.8;
}

.legal-content h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: #23130f;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.legal-content > p:first-of-type {
  color: #666;
  font-style: italic;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f9dfb8;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: #23130f;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: #23130f;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content strong {
  font-weight: 600;
  color: #23130f;
}

.legal-content em {
  font-style: italic;
}

.legal-content a {
  color: #22c55e;
  text-decoration: underline;
}

.legal-content a:hover {
  color: #16a34a;
}

.legal-content table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
}

.legal-content table th,
.legal-content table td {
  padding: 0.75rem;
  text-align: left;
  border: 1px solid #e8d58f;
}

.legal-content table th {
  background: #f9dfb8;
  font-weight: 600;
  color: #23130f;
}

.legal-content table tr:nth-child(even) {
  background: #fff8f0;
}

.legal-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: #fff8f0;
  border-left: 4px solid #f9dfb8;
  font-style: italic;
}

.legal-content hr {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid #e8d58f;
}

/* Footer active link for legal pages */
.footer-link.active {
  color: #23130f;
  font-weight: 600;
  text-decoration: underline;
}

/* Legal page responsive */
@media (max-width: 768px) {
  .legal-container {
    padding: 2rem 1.5rem;
    margin-top: 70px;
  }
  
  .legal-content h1 {
    font-size: 2rem;
  }
  
  .legal-content h2 {
    font-size: 1.3rem;
  }
  
  .legal-content table {
    font-size: 0.9rem;
  }
  
  .legal-content table th,
  .legal-content table td {
    padding: 0.5rem;
  }
}

/* Footer responsive styles */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 0 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
    text-align: center;
  }
  
  .footer-brand {
    justify-content: center;
  }
  
  .footer-sections {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-section {
    text-align: center;
  }
}

/* Amazon Affiliate Products Section Styles */
.amazon-products-section {
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

.products-section-title {
  text-align: center;
  color: var(--forest-green);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 100%;
  margin: 0 auto;
}

.amazon-product-recommendation {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}

.product-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  border: 2px solid var(--cream);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Compact Product Card Styles */
.product-card.compact {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  background: #f8f9fa;
  overflow: hidden;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.product-card.compact:hover .product-image-wrapper img {
  transform: scale(1.05);
}

.product-badge-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--forest-green), var(--dark-forest-green));
  color: #f9dfb8;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-heading);
}

.product-compact-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.product-compact-info h3 {
  color: var(--forest-green);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  font-family: var(--font-heading);
}

.product-compact-description {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  font-family: var(--font-body);
}

.product-compact-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-feature {
  background: var(--cream);
  color: var(--forest-green);
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-body);
}


.product-compact-cta {
  background: linear-gradient(135deg, #ff9500, #ff7700);
  color: white;
  padding: 0 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 48px;
  width: 100%;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  margin-top: auto;
  box-sizing: border-box;
}

.product-compact-cta:hover {
  background: linear-gradient(135deg, #ff7700, #ff5500);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
}

.affiliate-disclaimer-section {
  background: #f8f9fa;
  color: #666;
  padding: 16px;
  font-size: 12px;
  text-align: center;
  border-radius: 12px;
  margin-top: 24px;
  font-family: var(--font-body);
}

/* Clickable Product Card Styles */
.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.product-card-link .product-card {
  transition: none; /* Remove duplicate transition since it's handled by parent */
}

.product-card-link .product-card:hover {
  transform: none; /* Reset individual hover to prevent double transform */
  box-shadow: none; /* Reset individual hover to prevent double shadow */
}

.product-card-link .product-compact-cta {
  cursor: pointer;
  pointer-events: none; /* Prevent double click handling */
}

.product-badge {
  background: linear-gradient(135deg, var(--forest-green), var(--dark-forest-green));
  color: white;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  font-family: var(--font-heading);
}

.product-content {
  display: flex;
  padding: 24px;
  gap: 24px;
  align-items: flex-start;
}

.product-image {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-info h3 {
  color: var(--forest-green);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  font-family: var(--font-heading);
}

.product-description {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  font-family: var(--font-body);
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feature {
  background: var(--cream);
  color: var(--forest-green);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
}

.product-cta {
  background: linear-gradient(135deg, #ff9500, #ff7700);
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  align-self: flex-start;
}

.product-cta:hover {
  background: linear-gradient(135deg, #ff7700, #ff5500);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 149, 0, 0.3);
}

.affiliate-disclaimer {
  background: #f8f9fa;
  color: #666;
  padding: 12px 24px;
  font-size: 12px;
  text-align: center;
  border-top: 1px solid #e9ecef;
  font-family: var(--font-body);
}

/* Mobile Responsive for Amazon Products */
@media screen and (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .products-section-title {
    font-size: 20px;
    margin-bottom: 24px;
  }
  
  .product-content {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }
  
  .product-image {
    width: 100%;
    height: 200px;
  }
  
  .product-info h3 {
    font-size: 18px;
  }
  
  .product-features {
    justify-content: center;
  }
  
  .product-cta {
    align-self: center;
    width: fit-content;
  }
}