/**
 * GETSETTLE UK - PREMIUM PAGES CSS
 * Works with EXISTING HTML classes
 * Color Scheme: Teal (#1e7f7f, #2a9d8f) & Gold (#d4af37)
 */

/* ================================
   PAGE HERO
================================ */

.page-hero {
    background: linear-gradient(135deg, #1e7f7f 0%, #2a9d8f 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 0;
    margin-bottom: 2rem;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-hero .subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ================================
   PRODUCT SHOWCASE - IMPROVED
================================ */

.product-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.product-images {
    order: 2;
}

.product-images img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
}

.product-images img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.product-details {
    order: 1;
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.product-details h2 {
    font-size: 2.25rem;
    color: #1e7f7f;
    margin-bottom: 2rem;
    font-weight: 800;
    text-align: center;
}

.product-details h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin: 2.5rem 0 1rem 0;
    font-weight: 700;
    border-bottom: 3px solid #2a9d8f;
    padding-bottom: 0.75rem;
    display: inline-block;
}

.product-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.product-list li {
    padding: 0.875rem 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-list li:last-child {
    border-bottom: none;
}

.product-list strong {
    color: var(--text-main);
    font-weight: 700;
}

/* ================================
   BUNDLE OFFER
================================ */

.bundle-offer {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.bundle-offer h3 {
    color: #1a202c;
    border: none;
    margin: 0 0 1rem 0;
    font-size: 1.75rem;
}

.bundle-offer p {
    color: #1a202c;
    font-size: 1.125rem;
    margin: 0.5rem 0;
}

.bundle-offer strong {
    font-size: 1.5rem;
    font-weight: 800;
}

.bundle-offer .savings {
    font-weight: 600;
    opacity: 0.85;
}

/* ================================
   FEATURE GRID & CARDS
================================ */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #2a9d8f;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    border-top-color: #d4af37;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ================================
   STEPS GRID
================================ */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #2a9d8f;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e7f7f, #2a9d8f);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem auto;
}

.step-card h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ================================
   BUDDIES CAROUSEL
================================ */

.buddies-grid {
    position: relative;
    overflow: hidden;
    margin: 3rem 0;
    padding: 1rem 0;
}

.buddies-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: #2a9d8f #e2e8f0;
}

.buddies-carousel::-webkit-scrollbar {
    height: 8px;
}

.buddies-carousel::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 4px;
}

.buddies-carousel::-webkit-scrollbar-thumb {
    background: #2a9d8f;
    border-radius: 4px;
}

.buddies-carousel::-webkit-scrollbar-thumb:hover {
    background: #1e7f7f;
}

.buddy-card {
    flex: 0 0 350px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #2a9d8f;
    transition: var(--transition);
}

.buddy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
    border-left-color: #d4af37;
}

.buddy-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.buddy-avatar {
    font-size: 3rem;
    background: linear-gradient(135deg, #f0f4f5, #e2e8f0);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.buddy-info h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin: 0 0 0.25rem 0;
    font-weight: 700;
}

.buddy-info p {
    margin: 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.buddy-info strong {
    color: #1e7f7f;
    font-weight: 700;
}

.buddy-details p {
    margin: 0.75rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.buddy-details strong {
    color: var(--text-main);
    font-weight: 700;
}

.buddy-rating {
    color: #d4af37;
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 1rem;
}

.buddy-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e2e8f0;
}

.buddy-price span {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e7f7f;
}

.buddy-price .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

/* ================================
   PRICING GRID & PLAN CARDS
================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.plan {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e7f7f, #2a9d8f);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.plan:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
    border-color: #2a9d8f;
}

.plan.featured {
    border: 3px solid #d4af37;
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.3);
}

.plan.featured::before {
    background: linear-gradient(90deg, #d4af37, #f4d03f);
}

.plan.featured:hover {
    transform: scale(1.08) translateY(-8px);
}

.plan h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e7f7f;
    margin-bottom: 1.5rem;
}

.plan.featured h3 {
    color: #d4af37;
}

.plan-price {
    margin: 2rem 0;
}

.plan-price .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e7f7f;
    display: block;
    line-height: 1;
}

.plan.featured .price {
    color: #d4af37;
}

.plan-price .period {
    font-size: 1rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.5rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.plan-features li {
    padding: 0.875rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid #e2e8f0;
    font-size: 1.05rem;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan .badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #1a202c;
    padding: 0.5rem 1.5rem;
    border-radius: 24px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* ================================
   BUTTONS
================================ */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    font-family: inherit;
}

.btn.primary {
    background: linear-gradient(135deg, #1e7f7f, #2a9d8f);
    color: white;
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.3);
}

.btn.primary:hover {
    background: linear-gradient(135deg, #2a9d8f, #1e7f7f);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 157, 143, 0.4);
}

.btn.secondary {
    background: white;
    color: #2a9d8f;
    border: 2px solid #2a9d8f;
}

.btn.secondary:hover {
    background: #2a9d8f;
    color: white;
    transform: translateY(-2px);
}

.btn.large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

.btn.small {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.plan .btn {
    width: 100%;
    margin-top: 1rem;
}

/* ================================
   COMMUNITY & MISC
================================ */

.community-preview {
    max-width: 800px;
    margin: 2rem auto;
}

.question-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #2a9d8f;
    margin-bottom: 2rem;
}

.question-card h4 {
    font-size: 1.25rem;
    color: #1e7f7f;
    margin-bottom: 1rem;
    font-weight: 700;
}

.question-card p {
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.question-card small {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.become-buddy-benefits {
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
}

.become-buddy-benefits ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.become-buddy-benefits ul li {
    padding: 1rem;
    font-size: 1.125rem;
    color: var(--text-secondary);
    border-bottom: 1px solid #e2e8f0;
}

/* ================================
   TESTIMONIALS
================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #2a9d8f;
}

.testimonial-card p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card strong {
    display: block;
    color: var(--text-main);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.testimonial-card span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ================================
   FOOTER
================================ */

.site-footer {
    background: #1a202c;
    color: white;
    padding: 3rem 1rem 2rem 1rem;
    margin-top: 4rem;
}

.site-footer p {
    text-align: center;
    margin: 0;
    font-size: 1rem;
}

.site-footer a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.site-footer a:hover {
    color: #f4d03f;
    text-decoration: underline;
}

/* ================================
   SECTIONS
================================ */

.section {
    padding: 4rem 1rem;
}

.section.alt {
    background: linear-gradient(135deg, #f8fafb 0%, #f0f4f5 100%);
}

.text-center {
    text-align: center;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 3rem;
    text-align: center;
}

.section.testimonials {
    background: white;
}

.section.testimonials h2 {
    color: #1e7f7f;
}

/* ================================
   RESPONSIVE DESIGN
================================ */

@media (max-width: 968px) {
    .page-hero h1 {
        font-size: 2.25rem;
    }

    .page-hero .subtitle {
        font-size: 1.25rem;
    }

    .product-showcase {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .plan.featured {
        transform: scale(1);
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .buddy-card {
        flex: 0 0 300px;
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding: 3rem 1.5rem;
    }

    .page-hero h1 {
        font-size: 1.875rem;
    }

    .page-hero .subtitle {
        font-size: 1.125rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .btn.large {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }

    .plan-price .price {
        font-size: 2.75rem;
    }

    .product-details {
        padding: 1.5rem;
    }

    .buddy-card {
        flex: 0 0 280px;
    }

    .buddy-price {
        flex-direction: column;
        gap: 1rem;
    }

    .buddy-price .btn {
        width: 100%;
    }
}

/* ================================
   DARK MODE OVERRIDES
================================ */

body.dark-mode .page-hero {
    background: linear-gradient(135deg, #1a5f5f 0%, #226d6d 100%);
}

body.dark-mode .product-details,
body.dark-mode .buddy-card,
body.dark-mode .plan,
body.dark-mode .feature-card,
body.dark-mode .step-card,
body.dark-mode .question-card,
body.dark-mode .testimonial-card {
    background: #1a1a1a;
    color: #e5e5e5;
    border-color: #333;
}

body.dark-mode .product-details h2,
body.dark-mode .product-details h3,
body.dark-mode .feature-card h3,
body.dark-mode .step-card h3,
body.dark-mode .plan h3,
body.dark-mode .section h2 {
    color: #4db8a8;
}

body.dark-mode .product-list li,
body.dark-mode .plan-features li,
body.dark-mode .become-buddy-benefits ul li {
    border-color: #333;
    color: #b0b0b0;
}

body.dark-mode .buddy-header {
    border-color: #333;
}

body.dark-mode .buddy-info h3,
body.dark-mode .buddy-details strong {
    color: #e5e5e5;
}

body.dark-mode .buddy-details p {
    color: #b0b0b0;
}

body.dark-mode .buddy-price {
    border-color: #333;
}

body.dark-mode .buddy-price span,
body.dark-mode .plan-price .price {
    color: #4db8a8;
}

/* CRITICAL: Badge visibility fix */
body.dark-mode .plan .badge {
    background: linear-gradient(135deg, #f4d03f, #d4af37);
    color: #000 !important;
    box-shadow: 0 4px 12px rgba(244, 208, 63, 0.5);
}

/* CRITICAL: Payment text visibility - Pay per viewing/session */
body.dark-mode .plan-price .period,
body.dark-mode .buddy-details p strong {
    color: #e5e5e5 !important;
}

body.dark-mode .section.alt {
    background: #0d0d0d;
}

body.dark-mode .bundle-offer {
    background: linear-gradient(135deg, #a08728 0%, #c9b040 100%);
}

body.dark-mode .btn.secondary {
    background: #1a1a1a;
    color: #4db8a8;
    border-color: #4db8a8;
}

body.dark-mode .btn.secondary:hover {
    background: #4db8a8;
    color: #000;
}

/* ================================
   LAYOUT FIXES
================================ */

/* Contact Page Grid Fix */
.contact-grid {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Header Consistency Fix */
.main-nav {
    padding: 1rem 2rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .main-nav {
        padding: 0.5rem 1rem;
    }
}