/* ========================================
   Landing Page - Indian Matrimonial Premium
   ======================================== */

/* Hero */
.hero {
    padding: 7rem 0 5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--cream) 0%, white 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%; height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content { text-align: left; }

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(201,168,76,0.3);
    background: rgba(201,168,76,0.06);
    color: var(--maroon-dark);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    max-width: 600px;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    color: var(--maroon);
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--body-brown);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-stats {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--body-brown);
}

.hero-stats .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

/* Hero Floating Mockup */
.hero-mockup {
    position: relative;
    display: flex;
    justify-content: center;
}

.mockup-card {
    width: 320px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(201,168,76,0.15);
    overflow: hidden;
    transform: rotate(2deg);
    animation: floatMockup 6s ease-in-out infinite;
    position: relative;
}

@keyframes floatMockup {
    0%, 100% { transform: rotate(2deg) translateY(0); }
    50% { transform: rotate(2deg) translateY(-15px); }
}

.mockup-card::before,
.mockup-card::after {
    content: '';
    position: absolute;
    width: 32px; height: 32px;
    border: 2px solid rgba(201,168,76,0.3);
    z-index: 2;
}
.mockup-card::before { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.mockup-card::after { bottom: 8px; right: 8px; border-left: none; border-top: none; }

.mockup-header {
    height: 100px;
    background: var(--maroon);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mockup-header-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-avatar {
    position: absolute;
    bottom: -36px;
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--cream);
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 2;
}

.mockup-body {
    padding: 48px 24px 24px;
}

.mockup-line {
    height: 8px;
    border-radius: 4px;
    background: var(--cream-dark);
    margin-bottom: 10px;
}
.mockup-line:nth-child(2) { width: 75%; margin: 0 auto 16px; }
.mockup-line:nth-child(3) { width: 50%; margin: 0 auto 24px; }

.mockup-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.mockup-dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
}
.mockup-dot.gold { background: rgba(201,168,76,0.15); }
.mockup-dot.saffron { background: rgba(232,168,56,0.15); }
.mockup-dot.maroon { background: rgba(185,69,69,0.1); }

.mockup-lines-sm {
    flex: 1;
}
.mockup-lines-sm div {
    height: 6px;
    border-radius: 3px;
    background: var(--border-light);
    margin-bottom: 6px;
}
.mockup-lines-sm div:last-child { width: 70%; }

.mockup-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* How It Works */
.how-it-works { padding: 6rem 0; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.step-number {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 1.2rem;
    font-family: var(--font-display);
    box-shadow: 0 4px 14px rgba(201,168,76,0.3);
}

.step-card h3 { font-family: var(--font); font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--dark-brown); }
.step-card p { color: var(--body-brown); font-size: 0.9rem; line-height: 1.6; }

/* Template Showcase */
.templates-section { padding: 6rem 0; background: var(--bg-muted); }

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

.template-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border-light);
}
.template-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.template-preview { height: 280px; position: relative; overflow: hidden; }

.template-preview-traditional {
    background: linear-gradient(180deg, #FFF5E6 0%, #FFE8CC 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 3px solid var(--gold);
    margin: 12px;
    border-radius: 4px;
}
.template-preview-traditional .ornament { color: var(--maroon); font-size: 1rem; font-family: var(--font-display); font-weight: 700; }
.template-preview-traditional .preview-lines { margin-top: 1rem; width: 100%; }
.template-preview-traditional .preview-lines div { height: 6px; background: rgba(185,69,69,0.12); border-radius: 3px; margin-bottom: 8px; }
.template-preview-traditional .preview-lines div:nth-child(2) { width: 80%; }
.template-preview-traditional .preview-lines div:nth-child(3) { width: 60%; }

.template-preview-modern {
    background: linear-gradient(180deg, #29629B 0%, #29629B 30%, #F5F8FC 30%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}
.template-preview-modern .preview-header { color: white; font-family: var(--font); font-weight: 600; font-size: 0.9rem; }
.template-preview-modern .preview-body { margin-top: auto; padding-top: 1rem; }
.template-preview-modern .preview-lines div { height: 5px; background: rgba(41,98,155,0.1); border-radius: 3px; margin-bottom: 8px; }
.template-preview-modern .preview-lines div:nth-child(2) { width: 75%; }
.template-preview-modern .preview-lines div:nth-child(3) { width: 55%; }

.template-preview-luxury {
    background: linear-gradient(180deg, #FFFAF0 0%, #FFF5E6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px solid var(--gold);
    margin: 12px;
    position: relative;
}
.template-preview-luxury::before, .template-preview-luxury::after {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    border: 2px solid var(--gold);
}
.template-preview-luxury::before { top: 4px; left: 4px; border-right: none; border-bottom: none; }
.template-preview-luxury::after { bottom: 4px; right: 4px; border-left: none; border-top: none; }
.template-preview-luxury .monogram { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold); font-style: italic; }
.template-preview-luxury .preview-lines { margin-top: 1.5rem; width: 100%; }
.template-preview-luxury .preview-lines div { height: 5px; background: rgba(201,168,76,0.15); border-radius: 3px; margin-bottom: 8px; }
.template-preview-luxury .preview-lines div:nth-child(2) { width: 70%; margin: 0 auto 8px; }
.template-preview-luxury .preview-lines div:nth-child(3) { width: 50%; margin: 0 auto; }

.template-card-info { padding: 1.5rem; text-align: center; }
.template-card-info h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 4px; color: var(--dark-brown); }
.template-card-info p { color: var(--body-brown); font-size: 0.85rem; }

/* Features */
.features-section { padding: 6rem 0; }

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

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.feature-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(185,69,69,0.08), rgba(201,168,76,0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--maroon);
}
.feature-card h3 { font-family: var(--font); font-size: 1rem; margin-bottom: 0.5rem; color: var(--dark-brown); }
.feature-card p { color: var(--body-brown); font-size: 0.85rem; line-height: 1.6; }

/* Pricing */
.pricing-section { padding: 6rem 0; background: var(--bg-muted); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 3rem auto 0;
}
/* 3-column override when test card is present */
.pricing-grid[style*="grid-template-columns:repeat(3"] {
    max-width: 1050px;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-light);
    position: relative;
    transition: transform var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); }

.pricing-card.featured {
    border-color: var(--maroon);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--maroon);
}
.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: white;
    padding: 4px 18px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-name { font-family: var(--font); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--dark-brown); }
.pricing-price { font-size: 2.8rem; font-weight: 700; color: var(--maroon); margin-bottom: 1.5rem; font-family: var(--font-display); }
.pricing-price small { font-size: 0.9rem; color: var(--body-brown); font-weight: 400; }
.pricing-features { margin-bottom: 2rem; }
.pricing-features li { padding: 8px 0; font-size: 0.9rem; color: var(--body-brown); display: flex; align-items: center; gap: 10px; }
.pricing-features .check { color: var(--success); font-weight: 700; flex-shrink: 0; }
.pricing-features .cross { color: var(--text-muted); flex-shrink: 0; }

/* Testimonials */
.testimonials-section { padding: 6rem 0; }

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

.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--gold);
}
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { font-style: italic; color: var(--dark-brown); line-height: 1.7; margin-bottom: 1.2rem; font-size: 0.95rem; }
.testimonial-author { font-weight: 600; font-size: 0.9rem; color: var(--dark-brown); }
.testimonial-location { color: var(--body-brown); font-size: 0.8rem; }

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

.faq-list { max-width: 700px; margin: 3rem auto 0; }

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
    color: var(--dark-brown);
    background: none;
    border: none;
    font-family: var(--font);
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
    font-weight: 400;
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 20px 18px; }
.faq-answer p { color: var(--body-brown); font-size: 0.9rem; line-height: 1.7; }

/* CTA Banner */
.cta-section {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}
.cta-section h2 { color: white; margin-bottom: 1rem; font-size: 2.5rem; }
.cta-section h2 .gold-text { color: var(--gold-light); font-style: italic; }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; font-size: 1.1rem; }
.cta-section .btn {
    background: white;
    color: var(--maroon);
    border-color: white;
    padding: 16px 40px;
    font-size: 1.05rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cta-section .btn:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--maroon-dark); }

/* Responsive */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .templates-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-content { text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-mockup { display: none; }
}

@media (max-width: 768px) {
    .hero { padding: 3rem 0 2rem; }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-stats { flex-wrap: wrap; gap: 0.8rem; font-size: 0.82rem; }
    .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 2rem auto 0; }
    .features-grid { grid-template-columns: 1fr; max-width: 400px; margin: 2rem auto 0; }
    .templates-grid { grid-template-columns: 1fr; max-width: 360px; margin: 2rem auto 0; }
    .pricing-grid, .pricing-grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; max-width: 400px !important; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .cta-section h2 { font-size: 1.6rem; }

    /* Pain point + Before/After grids stack on mobile */
    .pain-grid, .compare-grid { grid-template-columns: 1fr !important; }

    /* Sticky CTA spacing */
    .site-footer { padding-bottom: 80px; }

    /* Hero adjustments */
    .hero-buy-btn { font-size: 1rem !important; padding: 16px 28px !important; }
}
