/* ============================================
   SHREEKUNDLI - LEGAL PAGES SHARED STYLES
   Used by: Privacy, Terms, Refund, FAQ
   Prefix: lp- (legal page)
   ============================================ */

/* ===== Breadcrumb ===== */
.lp-breadcrumb {
    background: var(--muted);
    border-bottom: 1px solid var(--border);
}

/* ===== Hero ===== */
.lp-hero {
    position: relative;
    background: var(--foreground);
    padding: 3.5rem 0 2.5rem;
    overflow: hidden;
}

.lp-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 60%, var(--primary) 0%, transparent 45%),
        radial-gradient(circle at 85% 30%, var(--chart-4) 0%, transparent 35%);
    opacity: 0.12;
}

.lp-hero-content {
    text-align: center;
}

.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: var(--secondary);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.lp-hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.lp-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1.25rem;
}

.lp-hero-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

.lp-hero-meta i {
    margin-right: 0.3rem;
}

/* ===== Content Section ===== */
.lp-content-section {
    padding: 2.5rem 0 4rem;
    background: var(--background);
}

/* ===== Table of Contents ===== */
.lp-toc {
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
}

.lp-toc-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted-foreground);
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.lp-toc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem 1.5rem;
}

.lp-toc-link {
    font-size: 0.85rem;
    color: var(--foreground);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}

.lp-toc-link:hover {
    color: var(--primary);
}

/* ===== Body ===== */
.lp-body {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--muted-foreground);
}

.lp-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lp-body a:hover {
    color: var(--chart-2);
}

/* ===== Sections ===== */
.lp-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.lp-section:last-child {
    border-bottom: none;
}

.lp-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.lp-section-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--secondary);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    font-family: 'Exo 2', sans-serif;
}

.lp-section-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
    letter-spacing: -0.01em;
}

.lp-body h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 1.5rem 0 0.5rem;
}

.lp-body h4 {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 0.35rem;
}

.lp-body p {
    margin: 0 0 0.75rem;
}

.lp-body ul,
.lp-body ol {
    margin: 0.25rem 0 0.75rem;
    padding-left: 1.25rem;
}

.lp-body li {
    margin-bottom: 0.3rem;
}

.lp-body strong {
    color: var(--foreground);
    font-weight: 600;
}

.lp-body code {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    background: var(--muted);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    color: var(--chart-2);
}

/* ===== Alert ===== */
.lp-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    background: var(--secondary);
    color: var(--foreground);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin: 0 0 1rem;
    line-height: 1.6;
}

.lp-alert i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.lp-alert-warning {
    background: var(--secondary);
    border-left: 4px solid var(--primary);
}

/* ===== Contact Card ===== */
.lp-contact-card {
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin: 0.75rem 0;
}

.lp-contact-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.lp-contact-row:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.lp-contact-row i {
    color: var(--primary);
    font-size: 1rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.lp-contact-row strong {
    display: block;
    font-size: 0.8rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

.lp-contact-row a,
.lp-contact-row span {
    font-size: 0.9rem;
}

/* ===== Related Policies ===== */
.lp-related {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.lp-related-grid {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.lp-related-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--foreground);
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.2s ease;
}

.lp-related-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== Summary Box (Refund) ===== */
.lp-summary-box {
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.lp-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-summary-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.lp-summary-list li i {
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.lp-summary-list li strong {
    color: var(--foreground);
}

/* ===== Steps (Refund) ===== */
.lp-steps {
    margin: 1rem 0;
}

.lp-step {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    line-height: 1.6;
}

.lp-step:last-child {
    border-bottom: none;
}

.lp-step-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-foreground);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    font-family: 'Exo 2', sans-serif;
}

/* ===== Table ===== */
.lp-table-wrap {
    overflow-x: auto;
    margin: 0.75rem 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.lp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.lp-table th {
    background: var(--muted);
    color: var(--foreground);
    font-weight: 600;
    text-align: left;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--border);
    font-family: 'Exo 2', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lp-table td {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--muted-foreground);
}

.lp-table tr:last-child td {
    border-bottom: none;
}

/* ===== Info Cards (Privacy) ===== */
.lp-info-card {
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin: 0.75rem 0;
}

.lp-info-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lp-info-card h4 i {
    color: var(--primary);
    font-size: 0.9rem;
}

.lp-info-card p {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
}

.lp-info-card ul {
    margin-bottom: 0.25rem;
}

/* ===== Highlight Box (ShreeKundli Engine) ===== */
.lp-highlight-box {
    display: flex;
    gap: 1rem;
    background: var(--muted);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 1rem 0;
}

.lp-highlight-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--secondary);
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.lp-highlight-box h4 {
    margin-bottom: 0.5rem;
}

.lp-highlight-box ol {
    margin: 0.5rem 0 0.75rem;
}

.lp-highlight-box ol li {
    margin-bottom: 0.5rem;
}

/* ===== Rights Grid (Privacy) ===== */
.lp-rights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 1rem 0;
}

.lp-right-item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.lp-right-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--secondary);
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.lp-right-item h4 {
    font-size: 0.88rem;
    margin: 0 0 0.2rem;
}

.lp-right-item p {
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.5;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .lp-hero {
        padding: 2.5rem 0 2rem;
    }

    .lp-hero-title {
        font-size: 1.75rem;
    }

    .lp-hero-meta {
        flex-direction: column;
        gap: 0.35rem;
    }

    .lp-toc-grid {
        grid-template-columns: 1fr;
    }

    .lp-rights-grid {
        grid-template-columns: 1fr;
    }

    .lp-highlight-box {
        flex-direction: column;
    }

    .lp-related-grid {
        flex-direction: column;
    }

    .lp-summary-box {
        padding: 1rem;
    }
}
