/*
Theme Name: Custom Landing Page - Ruqyah Edition
Theme URI: https://hikmatulruqyah.com/
Author: Landing Page Studio
Description: A modern, high-converting Ruqyah Landing Page WordPress theme.
Version: 5.2.0
Text Domain: custom-wc-landing
*/

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-green: #0f6d3a;
    --primary-dark: #074724;
    --primary-light: #e8f5e9;
    --accent-gold: #c9a227;
    --accent-gold-hover: #b38e1b;
    --btn-gradient: linear-gradient(135deg, #0f6d3a 0%, #15803d 50%, #047857 100%);
    --btn-gold-gradient: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
    --bg-light: #f6f9f7;
    --surface-color: #ffffff;
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --heading-color: #064e28;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 109, 58, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Hind Siliguri', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    margin-top: 0;
    font-weight: 700;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ------------------------------------------------------------------------- *
 * Layout Structure
 * ------------------------------------------------------------------------- */
.landing-wrapper {
    max-width: 820px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--surface-color);
    box-shadow: 0 0 40px rgba(0,0,0,0.06);
    border-left: 1px solid #eef2f0;
    border-right: 1px solid #eef2f0;
}

/* ------------------------------------------------------------------------- *
 * Top Header / Logo Bar
 * ------------------------------------------------------------------------- */
.site-header-brand {
    width: 100%;
    text-align: center;
    padding: 20px 15px 15px 15px;
    background: #ffffff;
    border-bottom: 2px solid #e8f0ec;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-logo-container {
    display: inline-block;
}
.site-header-logo {
    max-width: 200px;
    height: auto;
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
@media (max-width: 480px) {
    .site-header-logo {
        max-width: 160px;
    }
}

/* ------------------------------------------------------------------------- *
 * Sections Base
 * ------------------------------------------------------------------------- */
.content-section {
    width: 100%;
    padding: 35px 25px;
    border-bottom: 1px solid #edf2f0;
    box-sizing: border-box;
}

.content-section.section-alt {
    background-color: #f8faf9;
}

/* ------------------------------------------------------------------------- *
 * Hero Section
 * ------------------------------------------------------------------------- */
.hero-section {
    text-align: center;
    padding-top: 35px;
    background: linear-gradient(180deg, #f0f7f3 0%, #ffffff 100%);
}

.hero-main-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    color: #0b4f2a;
    margin-bottom: 18px;
    padding: 0 10px;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-gold);
    background: #fffdf5;
    border: 1px dashed #e6c86e;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-bottom: 20px;
    width: 100%;
}

.hero-faith-notice {
    background: #edf7f2;
    border-left: 4px solid var(--primary-green);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 25px;
    text-align: center;
}

/* ------------------------------------------------------------------------- *
 * Buttons & CTA
 * ------------------------------------------------------------------------- */
.cta-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin: 25px 0;
    width: 100%;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: var(--btn-gradient);
    color: #ffffff !important;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 6px 20px rgba(15, 109, 58, 0.35);
    width: 100%;
    max-width: 420px;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    animation: cta-pulse 2.2s infinite ease-in-out;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 28px rgba(15, 109, 58, 0.5);
    animation: none;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: cta-shimmer 3s infinite ease-in-out;
}

@keyframes cta-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(15, 109, 58, 0.35);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 8px 24px rgba(15, 109, 58, 0.55);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(15, 109, 58, 0.35);
    }
}

@keyframes cta-shimmer {
    0% { left: -100%; }
    30%, 100% { left: 150%; }
}

/* ------------------------------------------------------------------------- *
 * Video Section
 * ------------------------------------------------------------------------- */
.section-heading-center {
    text-align: center;
    font-size: 23px;
    color: var(--primary-dark);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.section-heading-center::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.videos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

.video-card {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    background: #000;
}

.video-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ------------------------------------------------------------------------- *
 * Product Features & Benefits Grid
 * ------------------------------------------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e2ece7;
    border-radius: var(--radius-md);
    padding: 22px 18px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(15, 109, 58, 0.12);
    border-color: #bbf7d0;
}

.feature-icon {
    font-size: 34px;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 17px;
    color: var(--primary-dark);
    margin: 0 0 8px 0;
    font-weight: 700;
}

.feature-card p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Usage Box */
.usage-box-card {
    background: #f0fdf4;
    border: 2px solid #bbf7d0;
    border-radius: var(--radius-md);
    padding: 22px 20px;
    margin-bottom: 30px;
}

.usage-title {
    font-size: 18px;
    color: #166534;
    font-weight: 700;
    margin: 0 0 16px 0;
    text-align: center;
}

.usage-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.usage-step-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #ffffff;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid #dcfce7;
}

.step-num {
    width: 28px;
    height: 28px;
    background: var(--primary-green);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.usage-step-item p {
    margin: 0;
    font-size: 14px;
    color: #1f2937;
    line-height: 1.5;
    font-weight: 500;
}

/* Trust Badges Grid */
.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

@media (max-width: 600px) {
    .trust-badges-grid {
        grid-template-columns: 1fr;
    }
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8faf9;
    border: 1px solid #e2ece7;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
}

.tb-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.tb-text strong {
    display: block;
    font-size: 13px;
    color: #064e28;
    line-height: 1.2;
}

.tb-text span {
    font-size: 11px;
    color: #6b7280;
}

/* ------------------------------------------------------------------------- *
 * Order Form & Pricing Section
 * ------------------------------------------------------------------------- */
.order-section-wrapper {
    scroll-margin-top: 20px;
    background: #ffffff;
    border: 2px solid #0f6d3a;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 30px 25px;
    margin-top: 10px;
}

.order-section-title {
    background: linear-gradient(135deg, #0f6d3a 0%, #064e28 100%);
    color: #ffffff;
    text-align: center;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(15, 109, 58, 0.2);
}

/* Product Summary Box */
.product-summary-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8faf9;
    border: 1px solid #e2ece7;
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.product-summary-thumb {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-summary-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-img-placeholder {
    text-align: center;
    font-size: 24px;
    color: var(--primary-green);
}

.product-img-placeholder span {
    font-size: 10px;
    font-weight: 600;
    color: #4b5563;
    display: block;
    line-height: 1.2;
}

.product-summary-info {
    flex-grow: 1;
}

.product-title-display {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.price-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.old-price {
    font-size: 14px;
    color: #9ca3af;
}

.old-price del {
    color: #dc2626;
    font-weight: 600;
}

.new-price {
    font-size: 16px;
    color: var(--primary-green);
    font-weight: 600;
}

.new-price strong {
    font-size: 19px;
    color: #064e28;
}

@media (max-width: 500px) {
    .product-summary-box {
        flex-direction: column;
        text-align: center;
    }
}

.form-header-title {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
    border-bottom: 2px solid #eef4f1;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
    font-size: 15px;
}

.required-asterisk {
    color: #dc2626;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a !important;
    font-family: inherit;
    border: 1.5px solid #94a3b8;
    border-radius: var(--radius-sm);
    background-color: #ffffff;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}

.form-control:focus {
    border-color: var(--primary-green);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 109, 58, 0.2);
}

select.form-control {
    color: #0f172a !important;
    font-weight: 600;
    background-color: #ffffff;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f6d3a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
    cursor: pointer;
}

select.form-control option {
    color: #0f172a;
    font-weight: 600;
    background-color: #ffffff;
    padding: 10px;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* Privacy & Rules Notice Box */
.privacy-rules-box {
    background: #f0f7f3;
    border: 1px solid #c8e6d5;
    border-left: 4px solid var(--primary-green);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin: 25px 0;
    font-size: 14px;
    color: #1e3a8a;
    line-height: 1.6;
}

.privacy-rules-box p {
    margin: 0 0 10px 0;
}
.privacy-rules-box p:last-child {
    margin-bottom: 0;
}

.delivery-badge-info {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--btn-gradient);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(15, 109, 58, 0.4);
    margin-top: 15px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #074724 0%, #0f6d3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 109, 58, 0.6);
}

.clp-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

/* ------------------------------------------------------------------------- *
 * Symptoms Checklist & Info Cards
 * ------------------------------------------------------------------------- */
.symptoms-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 600px) {
    .symptoms-checklist {
        grid-template-columns: 1fr;
    }
}

.symptoms-checklist li {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #ef4444;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}

.symptoms-checklist li::before {
    content: '❌';
    font-size: 14px;
}

.warning-callout {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-left: 5px solid #f43f5e;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    color: #9f1239;
    font-weight: 700;
    font-size: 16px;
    margin: 20px 0;
    line-height: 1.6;
}

.info-box-card {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0;
}

.info-box-card h4 {
    color: var(--primary-dark);
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
}

.info-box-card p, .info-box-card ul {
    margin: 0 0 10px 0;
    font-size: 15px;
    color: #166534;
}

.info-box-card ul {
    padding-left: 20px;
}

/* ------------------------------------------------------------------------- *
 * Accordion (FAQ)
 * ------------------------------------------------------------------------- */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-question {
    width: 100%;
    padding: 16px 20px;
    background: #ffffff;
    border: none;
    text-align: left;
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-toggle-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #edf7f2;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    background: #fee2e2;
    color: #dc2626;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background: #fafdfb;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
    border-top: 1px solid #f0f7f3;
}

.faq-answer-inner {
    padding: 18px 20px;
    font-size: 15px;
    color: #374151;
    line-height: 1.7;
}

.faq-answer-inner p {
    margin: 0 0 10px 0;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner ul {
    margin: 8px 0;
    padding-left: 20px;
}

/* ------------------------------------------------------------------------- *
 * Sales Popup (Social Proof)
 * ------------------------------------------------------------------------- */
.sales-popup {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 9999;
    border-left: 4px solid var(--primary-green);
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    max-width: 320px;
}

.sales-popup.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.sales-popup-icon {
    width: 40px;
    height: 40px;
    background: #edf7f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sales-popup-content {
    font-size: 13px;
    line-height: 1.4;
    color: #4b5563;
}

.sales-popup-name {
    font-weight: 700;
    color: #111827;
}

.sales-popup-action {
    color: var(--primary-green);
    font-weight: 600;
}

.sales-popup-time {
    font-size: 11px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.sales-popup-close {
    position: absolute;
    top: 5px;
    right: 8px;
    cursor: pointer;
    color: #9ca3af;
    font-size: 16px;
    line-height: 1;
}

.sales-popup-close:hover {
    color: #374151;
}

/* ------------------------------------------------------------------------- *
 * Footer
 * ------------------------------------------------------------------------- */
.site-footer {
    width: 100%;
    background: #064e28;
    color: #e8f5e9;
    text-align: center;
    padding: 25px 20px;
    font-size: 14px;
}

.footer-content p {
    margin: 5px 0;
}

/* ------------------------------------------------------------------------- *
 * Responsive Adjustments
 * ------------------------------------------------------------------------- */
@media (max-width: 600px) {
    .content-section {
        padding: 25px 15px;
    }
    .hero-main-title {
        font-size: 21px;
    }
    .hero-subtitle {
        font-size: 15px;
    }
    .btn-primary {
        font-size: 18px;
        padding: 14px 24px;
    }
    .order-section-wrapper {
        padding: 20px 15px;
    }
    .sales-popup {
        left: 12px;
        bottom: 12px;
        max-width: 260px;
        padding: 10px 12px;
        gap: 10px;
    }
    .sales-popup-icon {
        width: 32px;
        height: 32px;
    }
    .sales-popup-content {
        font-size: 12px;
    }
}
