/* Global Resets & Variables */
:root {
    --plum-berry: #6A1B4D;
    --blush-pink: #F2C6D4;
    --warm-beige: #E8DCCF;
    --jet-black: #1A1A1A;
    --white: #ffffff;
    --light-grey: #f9f9f9;
    --border-color: #e2e8f0;
    --font-heading: 'DM Serif Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --container-width: 1200px;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--jet-black);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography Base - Mobile First */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--jet-black);
    line-height: 1.25;
    margin-bottom: 1rem;
    font-weight: 400 !important;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.3rem; }

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #4a5568;
}

@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    p { font-size: 1.1rem; }
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.text-center { text-align: center; }

.bg-warm-beige { background-color: var(--warm-beige); }
.bg-plum-berry { background-color: var(--plum-berry); color: var(--white); }
.bg-plum-berry h2, .bg-plum-berry p { color: var(--white); }

/* Buttons - Mobile First */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    width: 100%;
}
@media (min-width: 768px) { .btn { width: auto; } }

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary { background-color: #B5294E; color: var(--white); }
.btn-primary:hover {
    background-color: #9A2242;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(181, 41, 78, 0.3);
}

.btn-secondary { background-color: var(--warm-beige); color: var(--plum-berry); }
.btn-secondary:hover {
    background-color: #dfd0c0;
    transform: translateY(-2px);
}

.btn-blush { background-color: var(--blush-pink); color: var(--plum-berry); font-weight: 600; }
.btn-blush:hover {
    background-color: #edb4c6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 198, 212, 0.3);
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background-color: var(--plum-berry);
    border-bottom: none;
}

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

.logo h1 {
    font-size: 1.4rem;
    color: var(--blush-pink);
    margin: 0;
    font-weight: 400 !important;
}
@media (min-width: 768px) {
    .nav-container { height: 80px; }
    .logo h1 { font-size: 1.8rem; }
}

.nav-links, .nav-cta { display: none; }
.mobile-menu-btn {
    display: flex;
    flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer;
}
.mobile-menu-btn span { display: block; width: 25px; height: 3px; background-color: var(--white); transition: var(--transition); }

@media (min-width: 768px) {
    .nav-links { display: flex; gap: 2.5rem; }
    .nav-links a { text-decoration: none; color: var(--white); font-weight: 500; position: relative; }
    .nav-links a:hover { color: var(--blush-pink); }
    .nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background-color: var(--blush-pink); transition: var(--transition); }
    .nav-links a:hover::after { width: 100%; }
    .nav-cta { display: flex; }
    .mobile-menu-btn { display: none; }
}

/* Hero Section Overlay */
.overlay-hero {
    position: relative;
    padding: 120px 0 60px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('assets/hero_human_back.png');
    background-size: cover;
    background-position: center 20%;
    opacity: 0.35;
    z-index: 1;
}

.overlay-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(26,26,26,0.9), rgba(106, 27, 77, 0.7));
    z-index: 0;
}

.overlay-hero .hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.overlay-hero .badge {
    display: inline-block; padding: 0.4rem 1rem; background-color: var(--white);
    color: var(--plum-berry); border-radius: 50px; font-weight: 600; font-size: 0.85rem; margin-bottom: 1rem;
}

.overlay-hero h2 {
    color: var(--white);
    font-size: 2.2rem;
}
.overlay-hero p {
    color: #e0e0e0;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

@media (min-width: 768px) {
    .overlay-hero { padding: 160px 0 80px; min-height: 60vh; }
    .overlay-hero h2 { font-size: 3.5rem; }
}

/* Sections Base */
.how-it-works, .services, .locations, .bottom-cta, .pricing { padding: 4rem 0; }
@media (min-width: 768px) { .how-it-works, .services, .locations, .bottom-cta, .pricing { padding: 6rem 0; } }

.section-header { text-align: center; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .section-header { margin-bottom: 4rem; } }

/* How It Works Grid */
.steps-grid {
    display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
.step-card {
    background: var(--white); padding: 2rem 1.5rem; border-radius: var(--border-radius); text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--transition);
}
.step-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: normal; color: var(--blush-pink); margin-bottom: 0.5rem; opacity: 0.5; }
.step-card h3 { font-weight: normal; font-size: 1.25rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.9rem; line-height: 1.5; color: #4a5568; }

@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } .step-card { padding: 2.5rem 2rem; } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

/* Catalogue & Pricing Carousels - Mobile First */
.catalogue { background-color: var(--white); overflow: hidden; padding-top: 2rem; }

.carousel-container, .pricing-carousel-container {
    width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; padding: 1rem 0;
}

.catalogue-carousel, .pricing-carousel {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding: 0 1.5rem; scrollbar-width: none;
}
.catalogue-carousel::-webkit-scrollbar, .pricing-carousel::-webkit-scrollbar { display: none; }

.catalogue-card, .pricing-card {
    flex: 0 0 calc(82%); /* Shows part of the next item */
    scroll-snap-align: center; background: var(--light-grey); border-radius: var(--border-radius);
    overflow: hidden; transition: var(--transition);
}
.pricing-card { overflow: visible; }
@media (max-width: 400px) { .catalogue-card, .pricing-card { flex: 0 0 calc(88%); } }

.catalogue-card img { width: 100%; height: 320px; object-fit: cover; }

.cat-info { padding: 1rem; display: flex; flex-direction: column; text-align: center; align-items: center; }
.cat-info h3 {
    font-size: 1rem;
    margin: 0;
    font-family: var(--font-body);
    font-weight: 600;
}

/* Dots */
.catalogue-dots, .pricing-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-color);
    transition: var(--transition);
}
.dot.active {
    background-color: var(--plum-berry);
    width: 20px;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .carousel-container { padding: 2rem 0; }
    .catalogue-carousel { gap: 2rem; padding: 0 4rem; }
    .catalogue-card { flex: 0 0 300px; }
    .catalogue-card img { height: 380px; }
    .cat-info { padding: 1.5rem; }
    .cat-info h3 { font-size: 1.1rem; }
}

/* Card inner slider */
.card-slider { position: relative; width: 100%; aspect-ratio: 3/4; height: auto; overflow: hidden; }
@media (min-width: 768px) { .card-slider { aspect-ratio: 3/4; height: auto; } }

.card-slides { position: relative; width: 100%; height: 100%; }
.card-slides img { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    object-fit: cover; object-position: top; 
    opacity: 0; transition: opacity 0.8s ease-in-out; 
    transform: scale(1.05); transform-origin: center top;
}
.card-slides img.active { opacity: 1; z-index: 1; }

.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white;
    border: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem; z-index: 2;
    opacity: 0; transition: opacity 0.2s;
}
.catalogue-card:hover .slider-btn { opacity: 1; }
.prev-btn { left: 10px; }
.next-btn { right: 10px; }
.slider-btn:hover { background: var(--plum-berry); }

/* --- Pricing Section --- */
.pricing {
    background-color: var(--white);
}

.pricing-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border: 2px solid var(--plum-berry);
}

@media (min-width: 768px) {
    .pricing-carousel-container { width: auto; position: static; margin: 0; padding: 0; }
    .pricing-carousel { display: grid; grid-template-columns: repeat(3, 1fr); overflow-x: visible; padding: 0; gap: 1.5rem; align-items: stretch; }
    .pricing-dots { display: none; }
    .pricing-card { padding: 2.5rem 2rem; flex: auto; }
    .pricing-card:hover {
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        transform: translateY(-5px);
    }
    .pricing-card.popular {
        transform: scale(1.05);
        z-index: 2;
        box-shadow: 0 8px 25px rgba(106, 27, 77, 0.1);
    }
    .pricing-card.popular:hover {
        transform: scale(1.05) translateY(-5px);
    }
}

.popular-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--plum-berry);
    color: var(--white);
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(106, 27, 77, 0.2);
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.pricing-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    color: var(--jet-black);
}

.plan-desc {
    font-size: 0.85rem;
    color: #4a5568;
    margin-bottom: 1rem;
    min-height: 2.4rem;
}

.price-box {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.2rem;
}

.price-box .currency {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.3rem;
    color: var(--jet-black);
}

.price-box .amount {
    font-size: 2.4rem;
    font-weight: normal;
    line-height: 1;
    color: var(--jet-black);
    font-family: var(--font-heading);
}

.btn-plan {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
}

.pricing-features {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--jet-black);
}

.pricing-features li.disabled {
    color: #a0aec0;
}

.pricing-features .icon {
    flex-shrink: 0;
    width: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.pricing-features .icon.check {
    color: #25D366;
}

.pricing-features .icon.cross {
    color: #a0aec0;
}

.pricing-features .icon.star {
    font-size: 1rem;
}

.pricing-features strong {
    font-weight: 600;
    margin-right: 0.2rem;
}

@media (min-width: 768px) {
    .pricing-header h3 { font-size: 1.6rem; }
    .plan-desc { font-size: 0.95rem; min-height: 2.8rem; }
    .price-box .currency { font-size: 1.2rem; }
    .price-box .amount { font-size: 3rem; }
    .btn-plan { padding: 0.9rem; font-size: 1.05rem; }
    .pricing-features ul { gap: 1.2rem; }
    .pricing-features li { font-size: 0.95rem; gap: 0.8rem; }
    .pricing-features .icon { width: 22px; }
}

/* Locations Section */
.location-content { display: flex; justify-content: center; }
.location-text { max-width: 600px; text-align: center; }
.area-list { display: flex; flex-direction: column; align-items: center; gap: 1rem; list-style: none; margin: 2rem 0; }
.area-list li { font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }

@media (min-width: 768px) {
    .area-list { flex-direction: row; justify-content: center; gap: 2rem; }
    .area-list li { font-size: 1.2rem; }
}

/* Footer */
.footer { background-color: var(--jet-black); color: var(--white); padding: 3rem 0 0; text-align: center; }
.footer-container { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) {
    .footer { text-align: left; padding: 4rem 0 0; }
    .footer-container { grid-template-columns: 2fr 1fr 1fr; gap: 4rem; }
}

.footer h3 { color: var(--warm-beige); margin-bottom: 0.5rem; font-weight: normal; }
.footer-brand p { color: #a0aec0; }
.footer-links { display: flex; flex-direction: column; gap: 1rem; }
.footer h4 { color: var(--white); font-family: var(--font-body); font-size: 1.1rem; margin-bottom: 0.5rem; }
.footer-links a { color: #a0aec0; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--blush-pink); }
.footer-contact p { color: #a0aec0; margin-bottom: 0.5rem; }
.footer-bottom { border-top: 1px solid #2d3748; padding: 1.5rem 0; text-align: center; color: #718096; font-size: 0.9rem; }

/* --- MOBILE ONLY APP REDESIGN --- */
.mobile-bottom-bar { display: none; }

@media (max-width: 767.98px) {
    /* Base Body Updates */
    body { padding-bottom: 85px; }

    /* Sticky Bottom Bar */
    .mobile-bottom-bar {
        display: block; position: fixed; bottom: 0; left: 0; width: 100%; background-color: var(--white);
        padding: 12px 1.5rem; box-shadow: 0 -4px 20px rgba(0,0,0,0.1); z-index: 1000; border-top: 1px solid var(--border-color);
    }
    .mobile-bottom-bar .bar-btn {
        display: flex; align-items: center; justify-content: center; gap: 0.8rem; background-color: #25D366; color: white;
        border-radius: 50px; padding: 0.8rem 1rem; text-decoration: none; font-weight: 600; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
    .mobile-bottom-bar .bar-text { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
    .mobile-bottom-bar .main { font-size: 1rem; }

    /* Header modifications */
    .header { padding: 5px 0; background: var(--plum-berry); border-bottom: none; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
    .nav-container { justify-content: center; height: 50px; }
    .logo h1 { font-size: 1.2rem; }
    .mobile-menu-btn { display: none; }
    
    /* Section Padding Reduction */
    .how-it-works, .services, .locations, .pricing { padding: 1.5rem 0; }
    .catalogue { padding-top: 1rem; }
    .section-header { margin-bottom: 1rem; }
    .section-header h2 { font-size: 1.3rem; margin-bottom: 0.2rem; }
    .section-header p { font-size: 0.85rem; margin-bottom: 0; }

    /* Hero Compact Overlay */
    .overlay-hero { padding: 80px 0 30px; min-height: auto; }
    .overlay-hero h2 { font-size: 1.6rem; margin-bottom: 0.3rem; }
    .overlay-hero p { font-size: 0.95rem; margin-bottom: 1rem; line-height: 1.4; }
    .overlay-hero .btn-large { padding: 0.8rem 1.4rem; font-size: 1rem; width: auto; display: inline-flex; }

    /* How It Works - Compact 1-column Grid */
    .steps-grid {
        display: grid; grid-template-columns: 1fr; gap: 1rem; padding-left: 0; position: relative;
    }
    .step-card {
        padding: 1.2rem; text-align: left; background: var(--white); box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-radius: var(--border-radius); position: relative;
        display: flex; align-items: flex-start; gap: 1.2rem;
    }
    .step-number {
        position: static; margin: 0; width: 36px; height: 36px; font-size: 0.9rem;
        display: flex; align-items: center; justify-content: center; border-radius: 50%; background-color: var(--blush-pink); color: var(--plum-berry);
        font-weight: 700; opacity: 1; flex-shrink: 0;
    }
    .step-text { display: flex; flex-direction: column; }
    .step-card h3 { font-size: 1rem; margin-bottom: 0.2rem; font-weight: normal; }
    .step-card p { font-size: 0.85rem; margin-bottom: 0; line-height: 1.4; color: #4a5568; }

    /* Catalogue - Edge to Edge Snapping */
    .catalogue .section-header, .pricing .section-header { margin-bottom: 1.5rem; text-align: left; padding: 0 1.5rem; }
    .catalogue-card { border-radius: 12px; }
    .cat-info { padding: 1rem; }
    .cat-info h3 { font-size: 1rem; }

    /* Pricing Carousel Compact */
    .pricing-carousel { padding-top: 1.5rem; padding-bottom: 1rem; }
    .pricing-card { padding: 1.2rem; border-radius: 16px; }
    .pricing-header h3 { font-size: 1.4rem; }
    .price-box .amount { font-size: 1.8rem; }
    .price-box { flex-wrap: wrap; }
    .pricing-features li { font-size: 0.9rem; gap: 0.6rem; }
    .pricing-features .icon { width: 18px; }
    .btn-plan { padding: 0.8rem; font-size: 0.95rem; }
    .popular-ribbon { font-size: 0.8rem; padding: 0.3rem 1.2rem; top: -14px; }
    .plan-desc { font-size: 0.9rem; min-height: 2.4rem; margin-bottom: 0.8rem; }
    
    /* Location Fixes - Inline Tags */
    .location-content { padding: 0; }
    .location-text { text-align: center; }
    .location-text h2 { margin-bottom: 0.5rem; font-size: 1.3rem; }
    .location-text p { font-size: 0.85rem; }
    .area-list { flex-direction: row; flex-wrap: wrap; justify-content: center; margin: 1rem 0 0; gap: 0.6rem; align-items: center; }
    .area-list li { background: var(--white); padding: 0.4rem 0.8rem; border-radius: 50px; font-size: 0.85rem; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
    
    /* Footer tweaks */
    .footer { padding-bottom: 1.5rem; text-align: left; }
    .footer-container { gap: 1.5rem; }
}
