/* ============================================================
   Plati India — PPF Landing Page Styles  (v2 — visual redesign)
   Palette: #c20809 (red) · #eb1f27 (light red) · #1e1e1e (dark)
   Font:    Open Sans (os-lt / os-reg / os-bold) + Conthrax (.font-conth)
   ============================================================ */


/* ── Shared: section wrapper ────────────────────────────── */
.ppf-section {
    padding: 90px 0;
}

.ppf-section-title {
    margin-bottom: 56px;
}
.ppf-section-title h2 {
    font-size: 34px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #1e1e1e;
    margin-bottom: 12px;
    line-height: 1.2;
}
.ppf-section-title h2 span { color: #eb1f27; }
.ppf-section-title p {
    color: #777;
    font-size: 15px;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
}
.ppf-section-title .bdr-thin { margin-bottom: 18px; }

/* ── Shared: icon circle ────────────────────────────────── */
.ppf-icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #c20809;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ppf-icon-circle i {
    color: #fff;
    font-size: 26px;
}
.ppf-icon-circle.ppf-ic-lg {
    width: 80px;
    height: 80px;
}
.ppf-icon-circle.ppf-ic-lg i { font-size: 32px; }
.ppf-icon-circle.ppf-ic-dark { background: #1e1e1e; }


/* ══════════════════════════════════════════════════════════
   1. HERO
══════════════════════════════════════════════════════════ */
.ppf-hero {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(12,12,12,0.82) 0%, rgba(26,0,0,0.78) 55%, rgba(45,10,10,0.72) 100%),
                url('/images/static/ppf-hero-bg.webp') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Large decorative "PPF" watermark */
.ppf-hero::after {
    content: 'PLATI PPF';
    position: absolute;
    font-family: 'Conthrax Sb', sans-serif;
    font-size: 160px;
    font-weight: 900;
    color: rgba(255,255,255,0.04);
    letter-spacing: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    white-space: nowrap;
    z-index: 1;
}

/* Dot-grid pattern overlay */
.ppf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(235,31,39,0.12) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: 1;
}

.ppf-hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
}
.ppf-hero-content h1 {
    color: #fff;
    font-size: 46px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
}
.ppf-hero-content h1 span {
    color: #eb1f27;
    display: inline-block;
    border-bottom: 3px solid #c20809;
    padding-bottom: 2px;
}
.ppf-hero-content p {
    color: rgba(255,255,255,0.78);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 38px;
    line-height: 1.8;
}
.ppf-hero-btns {
    display: inline-flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}


/* ══════════════════════════════════════════════════════════
   2. STATS BAR
══════════════════════════════════════════════════════════ */
.ppf-stats-bar {
    background: #c20809;
    padding: 0;
}
.ppf-stats-bar .ppf-stats-inner {
    display: flex;
    align-items: stretch;
}
.ppf-stat-item {
    flex: 1;
    text-align: center;
    padding: 24px 16px;
    border-right: 1px solid rgba(255,255,255,0.18);
    position: relative;
}
.ppf-stat-item:last-child { border-right: none; }
.ppf-stat-num {
    display: block;
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
    font-family: 'Conthrax Sb', sans-serif;
}
.ppf-stat-label {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}


/* ══════════════════════════════════════════════════════════
   3. WHY PPF — THREAT CARDS
══════════════════════════════════════════════════════════ */
.ppf-threat-card {
    background: #fff;
    border-radius: 8px;
    padding: 36px 24px 28px;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    position: relative;
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ppf-threat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(194,8,9,0.14);
}

/* Faint decorative number top-right */
.ppf-threat-card::after {
    content: attr(data-num);
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 72px;
    font-weight: 900;
    color: rgba(194,8,9,0.07);
    line-height: 1;
    pointer-events: none;
    font-family: 'Conthrax Sb', sans-serif;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 0;
}
.ppf-threat-card:hover::after {
    color: rgba(194,8,9,0.38);
    transform: scale(1.08);
}

.ppf-threat-card .ppf-icon-circle {
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}
.ppf-threat-card h5,
.ppf-threat-card p {
    position: relative;
    z-index: 1;
}
.ppf-threat-card h5 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1e1e1e;
    margin-bottom: 10px;
}
.ppf-threat-card p {
    font-size: 13px;
    color: #777;
    margin: 0;
    line-height: 1.7;
}


/* ══════════════════════════════════════════════════════════
   4. KEY BENEFITS — HORIZONTAL ROWS
══════════════════════════════════════════════════════════ */
.ppf-benefit-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 24px;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    border-left: 4px solid #c20809;
    transition: box-shadow 0.3s ease, border-left-color 0.3s ease;
}
.ppf-benefit-row:hover {
    box-shadow: 0 6px 24px rgba(194,8,9,0.12);
}
.ppf-benefit-row:nth-child(even) {
    border-left-color: #1e1e1e;
}
.ppf-benefit-row .ppf-icon-circle {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
}
.ppf-benefit-row .ppf-icon-circle i { font-size: 20px; }
.ppf-benefit-text h5 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1e1e1e;
    margin-bottom: 6px;
}
.ppf-benefit-text p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.7;
}


/* ══════════════════════════════════════════════════════════
   5. PPF RANGE — PRODUCT CARDS
══════════════════════════════════════════════════════════ */
.ppf-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}
.ppf-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

.ppf-product-header {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.ppf-product-header i {
    color: rgba(255,255,255,0.9);
    font-size: 40px;
    position: relative;
    z-index: 2;
}
/* Subtle shine on header */
.ppf-product-header::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -20%;
    width: 60%;
    height: 160%;
    background: rgba(255,255,255,0.07);
    transform: rotate(20deg);
    pointer-events: none;
}

.ppf-header-clear  { background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); }
.ppf-header-matte  { background: linear-gradient(135deg, #2c2c2c, #1a1a1a, #0f0f0f); }
.ppf-header-black  { background: linear-gradient(135deg, #0a0a0a, #1a0000, #2d0000); }

.ppf-product-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ppf-product-body h3 {
    font-size: 17px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1e1e1e;
    margin-bottom: 4px;
}
.ppf-product-code {
    font-size: 12px;
    color: #999;
    font-family: 'Conthrax Sb', sans-serif;
    letter-spacing: 1px;
    vertical-align: middle;
}
.ppf-product-tagline {
    font-size: 11px;
    color: #eb1f27;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 20px;
}
.ppf-product-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}
.ppf-product-body ul li {
    font-size: 13px;
    color: #555;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ppf-product-body ul li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    color: #c20809;
    font-size: 11px;
    flex-shrink: 0;
}
.ppf-popular-badge {
    position: absolute;
    top: 14px;
    right: -30px;
    background: #c20809;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(194,8,9,0.4);
}


/* Warranty badge inside product card */
.ppf-warranty-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #c20809;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin: 10px 0 18px;
}
.ppf-warranty-badge.ppf-warranty-standard {
    background: #444;
}


/* ══════════════════════════════════════════════════════════
   6. HOW IT WORKS — DARK TIMELINE
══════════════════════════════════════════════════════════ */
.ppf-how-bg {
    background: linear-gradient(135deg, rgba(10,10,10,0.90) 0%, rgba(30,0,0,0.85) 100%),
                url('/images/static/ppf-install-bg.webp') center center / cover no-repeat;
    padding: 90px 0;
    position: relative;
}
.ppf-how-bg .ppf-section-title h2 { color: #fff; }
.ppf-how-bg .ppf-section-title p  { color: rgba(255,255,255,0.5); }

.ppf-steps-row {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

/* Red connector line */
.ppf-steps-row::before {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(10% + 32px);
    right: calc(10% + 32px);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(235,31,39,0.5) 20%, rgba(235,31,39,0.5) 80%, transparent);
    z-index: 0;
}

.ppf-step {
    flex: 1;
    text-align: center;
    padding: 0 4px;
    position: relative;
    z-index: 1;
}
.ppf-step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #c20809;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 0 0 6px rgba(194,8,9,0.15);
    font-family: 'Conthrax Sb', sans-serif;
}
.ppf-step-panel {
    background: #232323;
    border-radius: 8px;
    padding: 20px 14px;
    margin-top: 16px;
    border-top: 2px solid rgba(235,31,39,0.3);
}
.ppf-step-icon {
    font-size: 22px;
    color: #eb1f27;
    margin-bottom: 10px;
}
.ppf-step h5 {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.ppf-step p {
    color: rgba(255,255,255,0.45);
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}


/* ══════════════════════════════════════════════════════════
   7. COVERAGE OPTIONS
══════════════════════════════════════════════════════════ */
.ppf-coverage-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px 28px 36px;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: visible;
    position: relative;
    overflow: hidden;
}
.ppf-coverage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(194,8,9,0.14);
}

/* Coverage ring via conic-gradient */
.ppf-coverage-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.ppf-coverage-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
}
.ppf-ring-full::before {
    background: conic-gradient(#c20809 0% 95%, #e5e5e5 95% 100%);
}
.ppf-ring-front::before {
    background: conic-gradient(#c20809 0% 40%, #e5e5e5 40% 100%);
}
.ppf-ring-partial::before {
    background: conic-gradient(#c20809 0% 20%, #e5e5e5 20% 100%);
}
.ppf-coverage-ring-inner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #c20809;
}

.ppf-coverage-card h4 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #1e1e1e;
    margin-bottom: 12px;
}
.ppf-coverage-card p {
    font-size: 13px;
    color: #777;
    line-height: 1.7;
    margin: 0;
}
.ppf-coverage-card.ppf-coverage-featured {
    border: 2px solid #c20809;
    padding-top: 52px;
}
/* Flat badge for coverage cards — sits inside the card to avoid column clipping */
.ppf-coverage-card .ppf-popular-badge {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    right: auto;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 9px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(194,8,9,0.35);
}


/* ══════════════════════════════════════════════════════════
   8. BEFORE & AFTER SLIDER
══════════════════════════════════════════════════════════ */
.ppf-compare-wrap {
    margin-bottom: 8px;
}
.ppf-compare-caption {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #555;
    margin-top: 10px;
}

/* Slider container */
.ppf-img-slider {
    position: relative;
    overflow: hidden;
    height: 420px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
}

/* After image — full width base layer */
.ppf-slider-after {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Before image — full size, clipped with clip-path so both images share identical framing */
.ppf-slider-before {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

/* Labels */
.ppf-slider-label {
    position: absolute;
    bottom: 12px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    z-index: 4;
}
.ppf-label-before { left: 12px; }
.ppf-label-after  { right: 12px; }

/* Draggable handle */
.ppf-slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.ppf-slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(255,255,255,0.75);
}
.ppf-slider-btn {
    position: relative;
    z-index: 5;
    width: 42px;
    height: 42px;
    background: #c20809;
    border: 3px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    pointer-events: all;
    cursor: col-resize;
    outline: none;
}

/* Placeholder sliders (no real photos yet) */
.ppf-ph-after  { background: linear-gradient(135deg, #1a2a1a, #2a3a2a); }
.ppf-ph-before { background: linear-gradient(135deg, #2a1010, #3a1515); }
.ppf-gallery-cta {
    display: block;
    text-align: center;
    margin-top: 32px;
    font-size: 13px;
    color: #c20809;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
}
.ppf-gallery-cta:hover { color: #1e1e1e; text-decoration: none; }
.ppf-gallery-cta i { margin-left: 6px; }
.ppf-placeholder-note {
    display: block;
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    margin-top: 4px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}


/* ══════════════════════════════════════════════════════════
   9. FAQ ACCORDION
══════════════════════════════════════════════════════════ */
.ppf-faq-category {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c20809;
    margin: 32px 0 8px;
    padding-left: 4px;
}
.ppf-faq-category:first-child { margin-top: 0; }

.ppf-faq .card {
    border: none;
    border-radius: 0 !important;
    margin-bottom: 0;
    border-bottom: 1px solid #efefef;
}
.ppf-faq .card-header {
    background: #fff;
    padding: 0;
    border: none;
}
.ppf-faq .card-header button {
    width: 100%;
    text-align: left;
    padding: 18px 4px;
    font-size: 14px;
    font-weight: 600;
    color: #1e1e1e;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-left: 3px solid transparent;
    transition: border-left-color 0.2s ease, color 0.2s ease;
}
.ppf-faq .card-header button:not(.collapsed) {
    color: #c20809;
    border-left-color: #c20809;
}
.ppf-faq-num {
    font-size: 12px;
    font-weight: 700;
    color: #c20809;
    opacity: 0.5;
    flex-shrink: 0;
    padding-top: 2px;
    min-width: 24px;
}
.ppf-faq .card-header button:not(.collapsed) .ppf-faq-num { opacity: 1; }

.ppf-faq-chevron {
    font-size: 11px;
    color: #c20809;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: auto;
    padding-top: 3px;
}
.ppf-faq .card-header button.collapsed .ppf-faq-chevron {
    transform: rotate(-90deg);
}
.ppf-faq .card-body {
    padding: 0 4px 18px 41px;
    font-size: 14px;
    color: #555;
    line-height: 1.75;
}


/* ══════════════════════════════════════════════════════════
   10. FINAL CTA BANNER
══════════════════════════════════════════════════════════ */
.ppf-cta-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(194,8,9,0.88) 0%, rgba(138,0,6,0.92) 100%),
                url('/images/static/ppf-cta-bg.webp') center center / cover no-repeat;
    padding: 90px 0;
    text-align: center;
    overflow: hidden;
}
/* Decorative shield watermark */
.ppf-cta-banner::before {
    content: '\f132';
    font-family: 'FontAwesome';
    position: absolute;
    font-size: 300px;
    color: rgba(255,255,255,0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    line-height: 1;
}
/* Dot grid overlay */
.ppf-cta-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 0;
    pointer-events: none;
}
.ppf-cta-content {
    position: relative;
    z-index: 2;
}
.ppf-cta-banner h2 {
    color: #fff;
    font-size: 38px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 14px;
    line-height: 1.2;
}
.ppf-cta-banner p {
    color: rgba(255,255,255,0.82);
    font-size: 15px;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}


/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .ppf-steps-row { flex-wrap: wrap; }
    .ppf-steps-row::before { display: none; }
    .ppf-step { flex: 0 0 33.33%; margin-bottom: 30px; }
}

@media (max-width: 767px) {
    .ppf-section { padding: 56px 0; }
    .ppf-section-title { margin-bottom: 36px; }
    .ppf-section-title h2 { font-size: 24px; letter-spacing: 2px; }

    .ppf-hero { min-height: 420px; }
    .ppf-hero::after { font-size: 120px; }
    .ppf-hero-content { padding: 60px 20px; }
    .ppf-hero-content h1 { font-size: 26px; letter-spacing: 2px; }
    .ppf-hero-content p { font-size: 14px; }
    .ppf-hero-btns { flex-direction: column; align-items: center; }
    .ppf-hero-btns a { width: 220px; text-align: center; }

    .ppf-stats-bar .ppf-stats-inner { flex-wrap: wrap; }
    .ppf-stat-item { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,0.18); }
    .ppf-stat-item:nth-child(2) { border-right: none; }
    .ppf-stat-item:nth-child(3) { border-bottom: none; }
    .ppf-stat-item:nth-child(4) { border-bottom: none; border-right: none; }
    .ppf-stat-num { font-size: 28px; }

    .ppf-threat-card { margin-bottom: 20px; }
    .ppf-product-card { margin-bottom: 24px; }
    .ppf-coverage-card { margin-bottom: 20px; }

    .ppf-step { flex: 0 0 50%; }

    .ppf-cta-banner { padding: 60px 0; }
    .ppf-cta-banner h2 { font-size: 24px; letter-spacing: 2px; }
    .ppf-cta-banner::before { font-size: 180px; }
}

@media (max-width: 480px) {
    .ppf-step { flex: 0 0 100%; }
    .ppf-stat-item { flex: 0 0 50%; }
    .ppf-img-slider { height: 280px; }
}
