/* ======================================
   LifeMemoriam Platform - Marketing CSS
   ====================================== */

/* BASE & RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-navy: #002D5B;
    --background-ivory: #F9F7F2;
    --ui-grey: #D1D1D1;
    --text-primary: #2C2C2C;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --accent-green: #2D5B3C;
    --accent-gold: #B8860B;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    background-color: var(--white);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* NAVIGATION */
.main-nav {
    background-color: var(--white);
    border-bottom: 1px solid var(--ui-grey);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo svg {
    height: 40px;
    width: 120px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.nav-links a.active {
    color: var(--primary-navy);
    font-weight: 600;
}

.btn-secondary {
    padding: 0.5rem 1.5rem !important;
    border: 2px solid var(--primary-navy);
    border-radius: 4px;
    color: var(--primary-navy) !important;
}

.btn-secondary:hover {
    background-color: var(--primary-navy);
    color: var(--white) !important;
}

.btn-primary {
    padding: 0.5rem 1.5rem !important;
    background-color: var(--primary-navy);
    color: var(--white) !important;
    border-radius: 4px;
}

.btn-primary:hover {
    background-color: #001a3a;
}

.mobile-menu-toggle {
    display: none;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, var(--background-ivory) 0%, var(--white) 100%);
    padding: 6rem 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--primary-navy);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 2.5rem;
    color: var(--accent-gold);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
    font-family: Georgia, serif;
}

.btn-hero-primary {
    background-color: var(--primary-navy);
    color: var(--white);
}

.btn-hero-primary:hover {
    background-color: #001a3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 45, 91, 0.3);
}

.btn-hero-secondary {
    background-color: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}

.btn-hero-secondary:hover {
    background-color: var(--primary-navy);
    color: var(--white);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.trust-icon {
    width: 20px;
    height: 20px;
    stroke: var(--accent-green);
}

/* HERO VISUAL */
.memorial-preview {
    perspective: 1000px;
}

.memorial-types .types-grid {
    grid-template-columns: repeat(3, 1fr);  /* Force 3 columns */
    max-width: 1100px;                       /* Constrain width */
    margin: 0 auto;                          /* Center the grid */
}

.preview-browser {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s;
}

.preview-browser:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.browser-header {
    background: var(--primary-navy);
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.preview-content {
    padding: 3rem 2rem;
    background: var(--background-ivory);
}

.preview-portrait {
    width: 120px;
    height: 140px;
    background: var(--ui-grey);
    margin: 0 auto 1rem;
    border: 4px solid var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.preview-name {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.preview-dates {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.preview-text {
    height: 10px;
    background: var(--ui-grey);
    margin-bottom: 0.5rem;
    border-radius: 2px;
}

.preview-text.short {
    width: 70%;
}

/* DIGITAL GRANITE SECTION */
.digital-granite {
    padding: 6rem 0;
    background-color: var(--primary-navy);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.digital-granite .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

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

.granite-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.granite-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent-gold);
}

.granite-feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.granite-feature p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* FEATURES SECTION */
.features {
    padding: 6rem 0;
    background-color: var(--white);
}

.section-subtitle {
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-card {
    padding: 2rem;
    background: var(--background-ivory);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-navy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--white);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* HOW IT WORKS */
.how-it-works {
    padding: 6rem 0;
    background-color: var(--background-ivory);
}

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

.step {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    font-weight: 700;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-navy);
}

.step p {
    color: var(--text-light);
    line-height: 1.7;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--ui-grey);
    flex-shrink: 0;
}

/* TESTIMONIALS */
.testimonials {
    padding: 6rem 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 2rem;
    background: var(--background-ivory);
    border-radius: 8px;
}

.testimonial-stars {
    color: var(--accent-gold);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-name {
    font-weight: 600;
    color: var(--primary-navy);
}

.author-location {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* CTA SECTION */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #001a3a 100%);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-cta,
.btn-cta-secondary {
    display: inline-block;
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
    font-family: Georgia, serif;
}

.btn-cta {
    background-color: var(--accent-gold);
    color: var(--white);
}

.btn-cta:hover {
    background-color: #9a7209;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 134, 11, 0.4);
}

.btn-cta-secondary {
    background-color: var(--white);
    color: var(--primary-navy);
}

.btn-cta-secondary:hover {
    background-color: var(--background-ivory);
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* PRICING PAGE */
.pricing-header {
    padding: 4rem 0 2rem;
    background-color: var(--background-ivory);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 400;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

.pricing-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--background-ivory);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

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

.pricing-card.featured {
    border-color: var(--accent-gold);
    background: var(--white);
}

.pricing-card.legacy {
    background: linear-gradient(135deg, #f5f1e8 0%, var(--background-ivory) 100%);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-header-card {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--ui-grey);
}

.tier-name {
    font-size: 1.75rem;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.tier-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.tier-price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-light);
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.check-icon {
    width: 20px;
    height: 20px;
    stroke: var(--accent-green);
    flex-shrink: 0;
}

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

.btn-pricing {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-navy);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-pricing:hover {
    background-color: #001a3a;
    transform: translateY(-2px);
}

.btn-pricing.primary {
    background-color: var(--accent-gold);
}

.btn-pricing.primary:hover {
    background-color: #9a7209;
}

.pricing-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* COMPARISON TABLE */
.comparison-section {
    padding: 4rem 0;
    background-color: var(--background-ivory);
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--ui-grey);
}

.comparison-table th {
    background: var(--primary-navy);
    color: var(--white);
    font-weight: 600;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.comparison-table tr:hover {
    background: var(--background-ivory);
}

/* FAQ */
.faq-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item h3 {
    font-size: 1.25rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* FOOTER */
.site-footer {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-icon {
    width: 16px;
    height: 16px;
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .granite-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
    }

    .step-connector {
        width: 2px;
        height: 40px;
    }

    .footer-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

/* MEMORIAL TYPES SECTION */
.memorial-types {
    padding: 6rem 0;
    background: var(--background-ivory);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.type-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

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

.type-card.featured {
    border: 2px solid var(--accent-gold);
    transform: scale(1.05);
}

.type-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.type-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.type-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.type-card h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.type-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.type-link {
    display: inline-block;
    color: var(--primary-navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.type-link:hover {
    color: var(--accent-gold);
}

/* Responsive Memorial Types */
@media (max-width: 1024px) {
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .type-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 640px) {
    .types-grid {
        grid-template-columns: 1fr;
    }
    
    .memorial-types {
        padding: 4rem 0;
    }
}
