/* ==========================================================
   ROYAL VEDIC DESIGN SYSTEM - UI/UX & HARMONIOUS PALETTE
   For Homepage & Marriage Matching Showcase
   ========================================================== */
:root {
    --color-crimson-dark: #7f1d1d;
    --color-crimson: #991b1b;
    --color-crimson-light: #b91c1c;
    --color-crimson-accent: #dc2626;
    --color-crimson-bg: #fef2f2;
    
    --color-gold-dark: #b45309;
    --color-gold: #d97706;
    --color-gold-light: #f59e0b;
    --color-gold-shimmer: #fbbf24;
    --color-gold-bg: #fffbeb;
    --color-gold-border: #fde68a;
    
    --color-slate-900: #0f172a;
    --color-slate-800: #1e293b;
    --color-slate-700: #334155;
    --color-slate-600: #475569;
    --color-slate-500: #64748b;
    --color-slate-200: #e2e8f0;
    --color-slate-100: #f1f5f9;
    --color-slate-50: #f8fafc;
    
    --shadow-subtle: 0 4px 16px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
    --shadow-hover: 0 12px 28px -4px rgba(217, 119, 6, 0.14), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
    --shadow-crimson: 0 8px 24px -4px rgba(220, 38, 38, 0.32);
    --radius-card: 16px;
    --radius-pill: 50px;
}

.content-area-full {
    max-width: 1220px;
    margin: 20px auto 40px auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Common Section Header Component */
.section-head-wrap {
    text-align: center;
    margin-bottom: 26px;
}
.section-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    color: var(--color-gold-dark);
    border: 1px solid var(--color-gold-border);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
}
.section-title-main {
    font-size: 24px;
    color: var(--color-crimson);
    margin: 0 0 8px 0;
    font-weight: 800;
    line-height: 1.35;
}
.section-subtitle-main {
    font-size: 14.5px;
    color: var(--color-slate-600);
    margin: 0 auto;
    max-width: 820px;
    line-height: 1.6;
}

/* Hero Section */
.hero-vedic-card {
    background: linear-gradient(135deg, #ffffff 0%, #fffdfa 40%, #fffbeb 100%);
    border: 1.5px solid var(--color-gold-border);
    border-radius: 20px;
    padding: 36px 32px;
    margin-top: 15px;
    margin-bottom: 35px;
    box-shadow: 0 12px 35px -5px rgba(217, 119, 6, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.hero-vedic-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}
.hero-left-content {
    flex: 1.3;
    min-width: 320px;
    z-index: 1;
}
.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-crimson-bg);
    color: var(--color-crimson);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 13.5px;
    margin-bottom: 14px;
    border: 1px solid #fecaca;
}
.hero-title {
    color: var(--color-slate-900);
    font-size: 30px;
    line-height: 1.32;
    margin: 0 0 14px 0;
    font-weight: 800;
}
.hero-title span.highlight-text {
    color: var(--color-crimson);
    display: inline;
}
.hero-desc {
    color: var(--color-slate-600);
    font-size: 15.5px;
    line-height: 1.7;
    margin: 0 0 24px 0;
}
.hero-btn-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.btn-hero-primary {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 700;
    font-size: 15.5px;
    box-shadow: var(--shadow-crimson);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    border: none;
}
.btn-hero-primary:hover {
    background: linear-gradient(135deg, #ef4444 0%, #991b1b 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -2px rgba(220, 38, 38, 0.45);
}
.btn-hero-secondary {
    background: #ffffff;
    color: var(--color-slate-800) !important;
    border: 1.5px solid var(--color-slate-200);
    padding: 13px 24px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 700;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}
.btn-hero-secondary:hover {
    border-color: var(--color-gold);
    color: var(--color-gold-dark) !important;
    background: var(--color-gold-bg);
    transform: translateY(-2px);
}

.hero-right-visual {
    flex: 0.9;
    min-width: 280px;
    text-align: center;
    z-index: 1;
}
.hero-visual-card {
    background: linear-gradient(180deg, #ffffff 0%, #fffdf7 70%, #fef3c7 100%);
    border: 1.5px solid var(--color-gold-border);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.1);
    display: inline-block;
    width: 100%;
    max-width: 320px;
}
.hero-visual-img {
    width: 100%;
    max-width: 220px;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.hero-visual-pill-1 {
    font-weight: 700;
    color: var(--color-crimson);
    font-size: 14.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.hero-visual-pill-2 {
    font-size: 13px;
    color: var(--color-slate-600);
    margin-top: 4px;
}

/* 10 Methods Card & Interactive Accordions */
.methods-container-card {
    background: #ffffff;
    border: 1.5px solid var(--color-slate-200);
    border-radius: var(--radius-card);
    padding: 32px 24px;
    margin-bottom: 35px;
    box-shadow: var(--shadow-subtle);
}
.methods-grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 16px;
}
.methods-col-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

details.method-accordion-item {
    background: #ffffff;
    border: 1.5px solid var(--color-slate-200);
    border-radius: 12px;
    padding: 14px 16px;
    transition: all 0.25s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}
details.method-accordion-item:hover {
    border-color: var(--color-gold-light);
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.08);
    transform: translateY(-1px);
}
details.method-accordion-item[open] {
    border-color: var(--color-gold);
    background: #fffdfa;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.1);
}
details.method-accordion-item summary {
    font-weight: 700;
    color: var(--color-slate-800);
    font-size: 15px;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
}
details.method-accordion-item summary::-webkit-details-marker {
    display: none;
}
.method-summary-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.method-num-badge {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--color-gold-dark);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    border: 1px solid #fcd34d;
}
.method-name-text {
    color: var(--color-slate-900);
    font-size: 15px;
}
.method-toggle-btn {
    font-size: 12.5px;
    color: var(--color-gold-dark);
    background: #fffbeb;
    border: 1px solid #fef3c7;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}
.method-toggle-btn i {
    font-size: 10px;
    transition: transform 0.25s ease;
}
details.method-accordion-item[open] .method-toggle-btn {
    background: var(--color-gold-dark);
    color: #fff;
    border-color: var(--color-gold-dark);
}
details.method-accordion-item[open] .method-toggle-btn i {
    transform: rotate(180deg);
}
.method-desc-body {
    margin: 12px 0 0;
    padding-top: 10px;
    border-top: 1px dashed #fde68a;
    color: var(--color-slate-600);
    font-size: 14px;
    line-height: 1.65;
}

/* 4 Pillars Section (Why Match) */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    margin-bottom: 35px;
}
.pillar-card {
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: var(--shadow-subtle);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.pillar-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.pillar-card.pillar-gold {
    border-top: 4px solid var(--color-gold);
    background: linear-gradient(180deg, #fffdf7 0%, #ffffff 100%);
}
.pillar-card.pillar-green {
    border-top: 4px solid #10b981;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}
.pillar-card.pillar-blue {
    border-top: 4px solid #3b82f6;
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}
.pillar-card.pillar-rose {
    border-top: 4px solid #f43f5e;
    background: linear-gradient(180deg, #fff1f2 0%, #ffffff 100%);
}
.pillar-icon-box {
    font-size: 26px;
    margin-bottom: 12px;
    display: inline-block;
}
.pillar-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--color-slate-800);
}
.pillar-desc {
    margin: 0;
    color: var(--color-slate-600);
    font-size: 14px;
    line-height: 1.62;
}

/* 5-Step Stepped Timeline */
.steps-timeline-wrap {
    background: linear-gradient(135deg, #fffdfa 0%, #fffbeb 100%);
    border: 1.5px solid var(--color-gold-border);
    border-radius: var(--radius-card);
    padding: 30px 24px;
    margin-bottom: 35px;
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.06);
}
.steps-timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.step-timeline-item {
    background: #ffffff;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 18px 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    position: relative;
    transition: all 0.2s ease;
}
.step-timeline-item:hover {
    border-color: var(--color-gold);
    transform: translateY(-2px);
}
.step-num-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
}
.step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-slate-900);
    margin: 0 0 8px 0;
    line-height: 1.35;
}
.step-desc {
    margin: 0;
    font-size: 13.5px;
    color: var(--color-slate-600);
    line-height: 1.55;
}

/* 10 Porutham Cards Grid */
.porutham-10-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.porutham-card {
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: 12px;
    padding: 18px 18px;
    box-shadow: var(--shadow-subtle);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.porutham-card:hover {
    border-color: var(--color-gold-light);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.porutham-card.highlight-vital {
    border: 1.5px solid #f59e0b;
    background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.1);
}
.porutham-card-hdr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.porutham-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-crimson);
    margin: 0;
}
.badge-vital {
    font-size: 11px;
    font-weight: 700;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}
.porutham-text {
    font-size: 13.5px;
    color: var(--color-slate-600);
    line-height: 1.55;
    margin: 0;
}

/* FAQ Section */
.faq-wrapper-card {
    background: #ffffff;
    border: 1.5px solid var(--color-slate-200);
    border-radius: var(--radius-card);
    padding: 34px 28px;
    margin-bottom: 35px;
    box-shadow: var(--shadow-subtle);
}
.faq-item-card {
    border: 1px solid var(--color-slate-200);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s;
}
.faq-item-card:hover {
    border-color: var(--color-gold-light);
}
.faq-btn {
    width: 100%;
    text-align: left;
    background: #fafbfc;
    border: none;
    padding: 16px 20px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--color-slate-800);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: background 0.2s;
}
.faq-btn:hover {
    background: #f8fafc;
    color: var(--color-crimson);
}
.faq-btn.active {
    background: #fffdf7;
    color: var(--color-crimson);
    border-bottom: 1px solid var(--color-gold-border);
}
.faq-icon-ind {
    width: 24px;
    height: 24px;
    background: #fff;
    border: 1px solid var(--color-slate-200);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--color-slate-600);
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.faq-btn.active .faq-icon-ind {
    transform: rotate(45deg);
    background: var(--color-crimson);
    color: #fff;
    border-color: var(--color-crimson);
}
.faq-ans-body {
    padding: 18px 20px;
    color: var(--color-slate-600);
    font-size: 14.5px;
    line-height: 1.65;
    display: none;
    background: #ffffff;
}
.faq-ans-body p {
    margin: 0;
}

/* Stats Section */
.stats-modern-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    text-align: center;
    flex-wrap: wrap;
}
.stat-modern-card {
    flex: 1;
    min-width: 220px;
    background: #ffffff;
    padding: 24px 20px;
    border-radius: var(--radius-card);
    border: 1px solid var(--color-slate-200);
    border-top: 4px solid var(--color-gold);
    box-shadow: var(--shadow-subtle);
    transition: all 0.25s ease;
}
.stat-modern-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.stat-icon {
    font-size: 32px;
    margin-bottom: 10px;
    display: inline-block;
}
.stat-val {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-crimson);
    line-height: 1.2;
}
.stat-label {
    font-size: 14px;
    color: var(--color-slate-600);
    margin-top: 6px;
    font-weight: 500;
}

/* Daily utilities sidebar */
.daily-box-card {
    background: #ffffff;
    border: 1.5px solid var(--color-slate-200);
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: var(--shadow-subtle);
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .hero-vedic-card {
        padding: 24px 18px;
    }
    .hero-title {
        font-size: 23px;
    }
    .methods-container-card {
        padding: 20px 14px;
    }
    .steps-timeline-wrap {
        padding: 20px 14px;
    }
    .faq-wrapper-card {
        padding: 20px 14px;
    }
}

/* ==========================================================
   QUICK FREE NAKSHATRA PORUTHAM (இலவச நட்சத்திரப் பொருத்தம்)
   ========================================================== */
.quick-porutham-card {
    margin-top: 26px;
    background: #ffffff;
    border: 1px solid #dcd3be;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    max-width: 100%;
}
.porutham-box-header {
    background-color: #0a2342;
    color: #ffffff;
    display: flex;
    align-items: stretch;
}
.porutham-box-icon {
    padding: 12px 18px;
    color: #ffffff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a2342;
    text-decoration: none;
    line-height: 1;
}
.porutham-box-icon:hover {
    color: #fde68a;
}
.porutham-box-title {
    background-color: #c48b47;
    color: #ffffff;
    padding: 12px 24px;
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    letter-spacing: 0.3px;
}
.porutham-box-body {
    background-color: #fdfaf0;
    padding: 24px;
}
.porutham-inputs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
@media (max-width: 640px) {
    .porutham-inputs-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
.quick-porutham-card .form-group-p {
    margin-bottom: 0;
}
.quick-porutham-card .form-group-p label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2b2b2b;
}
.quick-porutham-card .form-group-p select {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #ffffff;
    color: #222222;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.quick-porutham-card .form-group-p select:focus {
    border-color: #c48b47;
    box-shadow: 0 0 0 3px rgba(196, 139, 71, 0.2);
}
.btn-submit-quick-p {
    background-color: #38974a;
    color: #ffffff !important;
    border: none;
    padding: 12px 28px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    font-weight: 700;
    transition: background-color 0.2s, transform 0.1s;
    text-align: center;
    box-shadow: 0 2px 6px rgba(56, 151, 74, 0.3);
}
.btn-submit-quick-p:hover {
    background-color: #2e7d3e;
    transform: translateY(-1px);
}
.btn-submit-quick-p:active {
    transform: translateY(0);
}
.quick-spinner {
    width: 38px;
    height: 38px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #38974a;
    border-radius: 50%;
    margin: 0 auto;
    animation: spinQuick 0.8s linear infinite;
}
@keyframes spinQuick {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
