/* ================================================================
   HTL Clear All Cache — plugin page (template-plugin-clear-cache.php)
   Uses the theme colours: --navy, --orange, --bg, --border …
   ================================================================ */
.htlp { color: var(--text); }
.htlp-container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.htlp-container--narrow { max-width: 860px; }
.htlp-section { padding: 5rem 0; background: var(--bg); }
.htlp-section--white { background: var(--white); }
.htlp-section--dark { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); }
.htlp h2 { font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; color: var(--navy); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .75rem; }
.htlp h2 span, .htlp h1 span { color: var(--orange); }
.htlp h3 { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.htlp p { color: var(--muted); line-height: 1.75; }

.htlp-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.htlp-head--light h2 { color: #fff; }
.htlp-head--light p { color: rgba(255,255,255,.72); }
.htlp-label { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 1rem; }
.htlp-label::before, .htlp-label::after { content: ''; width: 18px; height: 2.5px; background: var(--orange); border-radius: 2px; }

/* Buttons */
.htlp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius-sm); font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; transition: all var(--trans, .3s ease); cursor: pointer; }
.htlp-btn:hover { text-decoration: none; transform: translateY(-2px); }
.htlp-btn--primary { background: var(--orange); color: #fff; box-shadow: 0 4px 18px rgba(253,137,27,.4); }
.htlp-btn--primary:hover { background: var(--orange-dark); color: #fff; }
.htlp-btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.htlp-btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.htlp-btn--outline { color: var(--navy); border-color: var(--navy); background: transparent; }
.htlp-btn--outline:hover { background: var(--navy); color: #fff; }
.htlp-btn--buy { width: 100%; margin-top: auto; }

/* Hero */
.htlp-hero { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%); padding: 5rem 0 8rem; text-align: center; position: relative; overflow: hidden; }
.htlp-hero::before { content: ''; position: absolute; top: -30%; right: -10%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(253,137,27,.18) 0%, transparent 70%); pointer-events: none; }
.htlp-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.htlp-hero__icon { width: 96px; height: 96px; margin: 0 auto 1.5rem; border-radius: 22px; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.htlp-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(253,137,27,.15); border: 1px solid rgba(253,137,27,.35); border-radius: 50px; padding: 6px 16px; font-size: .8rem; font-weight: 600; color: #ffb96a; margin-bottom: 1.5rem; }
.htlp-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.htlp-hero h1 { font-family: var(--font-head); font-size: clamp(2.3rem, 6vw, 3.8rem); font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 1rem; }
.htlp-hero__lead { color: rgba(255,255,255,.75) !important; font-size: 1.1rem; max-width: 640px; margin: 0 auto 2.25rem; }
.htlp-hero__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.25rem; }
.htlp-pills { list-style: none; display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin: 0; padding: 0; }
.htlp-pills li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 50px; padding: 6px 14px; font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.8); }

/* Big screenshot overlapping the hero */
.htlp-showcase { margin-top: -6rem; position: relative; z-index: 2; padding-bottom: 1rem; background: transparent; }
.htlp-showcase__img { width: 100%; max-width: 1000px; margin: 0 auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-lg, 0 16px 60px rgba(19,54,87,.18)); background: #fff; }

/* Grids */
.htlp-grid { display: grid; gap: 1.5rem; }
.htlp-grid--2 { grid-template-columns: repeat(2, 1fr); }
.htlp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.htlp-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Feature cards */
.htlp-feature { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; transition: all var(--trans, .3s ease); }
.htlp-feature:hover { background: var(--white); border-color: rgba(253,137,27,.35); box-shadow: var(--shadow); transform: translateY(-3px); }
.htlp-feature__icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(253,137,27,.1); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.1rem; }
.htlp-feature h3 { font-size: 1.05rem; margin: 0 0 .5rem; }
.htlp-feature p { font-size: .88rem; margin: 0; }
.htlp-feature--dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.htlp-feature--dark:hover { background: rgba(255,255,255,.1); border-color: rgba(253,137,27,.5); }
.htlp-feature--dark h3 { color: #fff; }
.htlp-feature--dark p { color: rgba(255,255,255,.65); }
.htlp-feature--dark .htlp-feature__icon { background: rgba(253,137,27,.18); }

/* Screenshots */
.htlp-shot { margin: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.htlp-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; display: block; border-bottom: 1px solid var(--border); }
.htlp-shot figcaption { padding: .9rem 1.1rem; font-size: .86rem; color: var(--muted); font-weight: 500; }

/* Pricing */
.htlp-prices { align-items: stretch; }
.htlp-price { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 2rem 1.75rem; box-shadow: var(--shadow); }
.htlp-price--featured { border-color: var(--orange); box-shadow: 0 12px 44px rgba(253,137,27,.22); transform: translateY(-8px); }
.htlp-price__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 50px; padding: 4px 14px; white-space: nowrap; }
.htlp-price h3 { font-size: 1.25rem; margin: 0; }
.htlp-price__sites { margin: .25rem 0 1rem; font-size: .9rem; }
.htlp-price__amount { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--navy) !important; line-height: 1; margin: 0 0 1.25rem; }
.htlp-price__amount span { font-size: 1.3rem; vertical-align: top; margin-right: 2px; }
.htlp-price__amount small { font-family: var(--font-body); font-size: .85rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.htlp-checks { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .55rem; }
.htlp-checks li { position: relative; padding-left: 26px; font-size: .9rem; color: var(--text); }
.htlp-checks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: rgba(253,137,27,.15); color: var(--orange); font-size: .7rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.htlp-assurance { list-style: none; display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin: 2.5rem 0 0; padding: 0; }
.htlp-assurance li { font-size: .88rem; color: var(--muted); font-weight: 600; }
.htlp-assurance li::before { content: '✓ '; color: var(--orange); }

/* Compare table */
.htlp-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--white); }
.htlp-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.htlp-table th, .htlp-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: left; }
.htlp-table thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; }
.htlp-table thead th:nth-child(n+2), .htlp-table td { text-align: center; width: 110px; }
.htlp-table tbody th { font-weight: 500; color: var(--text); }
.htlp-table tbody tr:last-child > * { border-bottom: 0; }
.htlp-table .is-yes { color: var(--orange); font-weight: 800; font-size: 1.05rem; }
.htlp-table .is-no { color: var(--light); }

/* Integrations */
.htlp-tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 0; padding: 0; }
.htlp-tags li { background: var(--white); border: 1.5px solid var(--border); border-radius: 50px; padding: 10px 20px; font-size: .9rem; font-weight: 600; color: var(--navy); box-shadow: var(--shadow); }
.htlp-tags li.is-pro { border-color: var(--orange); }
.htlp-tags li span { margin-left: 6px; background: var(--orange); color: #fff; border-radius: 50px; padding: 1px 8px; font-size: .7rem; font-weight: 700; text-transform: uppercase; }

/* Install */
.htlp-steps { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 2rem; }
.htlp-steps h3 { color: #fff; font-size: 1.15rem; margin: 0 0 1.25rem; }
.htlp-steps ol { list-style: none; margin: 0; padding: 0; counter-reset: htlp; display: grid; gap: 1rem; }
.htlp-steps li { counter-increment: htlp; position: relative; padding-left: 46px; min-height: 32px; color: rgba(255,255,255,.78); font-size: .92rem; line-height: 1.6; }
.htlp-steps li::before { content: counter(htlp); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* Trust list */
.htlp-trust { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; margin: 0; padding: 0; }
.htlp-trust li { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.1rem 1rem 3rem; position: relative; font-size: .9rem; color: var(--muted); box-shadow: var(--shadow); }
.htlp-trust li::before { content: '🔒'; position: absolute; left: 1.1rem; top: 1rem; }

/* FAQ */
.htlp-faq { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .75rem; background: var(--white); overflow: hidden; }
.htlp-faq summary { list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.5rem; font-weight: 700; color: var(--navy); position: relative; }
.htlp-faq summary::-webkit-details-marker { display: none; }
.htlp-faq summary::after { content: '+'; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 1.4rem; font-weight: 400; }
.htlp-faq[open] summary::after { content: '−'; }
.htlp-faq summary:hover { background: var(--bg); }
.htlp-faq p { padding: 0 1.5rem 1.25rem; margin: 0; font-size: .92rem; }

/* Changelog */
.htlp-release { border-left: 3px solid var(--orange); background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1.25rem 1.5rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.htlp-release h3 { font-size: 1.1rem; margin: 0 0 .5rem; }
.htlp-release h3 span { font-family: var(--font-body); font-size: .72rem; color: var(--orange); font-weight: 700; margin-left: 6px; text-transform: uppercase; letter-spacing: .06em; }
.htlp-release ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .9rem; display: grid; gap: .3rem; }
.htlp-more { text-align: center; margin-top: 1.5rem; }

/* CTA */
.htlp-cta { background: linear-gradient(135deg, var(--navy), var(--navy-light)); text-align: center; padding: 5rem 0; }
.htlp-cta h2 { color: #fff; }
.htlp-cta p { color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto 2rem; }
.htlp-cta .htlp-hero__buttons { margin-bottom: 0; }
.htlp-content { color: var(--text); }

/* Responsive */
@media (max-width: 980px) {
	.htlp-grid--3, .htlp-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.htlp-price--featured { transform: none; }
}
@media (max-width: 680px) {
	.htlp-section { padding: 3.5rem 0; }
	.htlp-grid--2, .htlp-grid--3, .htlp-grid--4, .htlp-trust { grid-template-columns: 1fr; }
	.htlp-hero { padding: 3.5rem 0 6rem; }
	.htlp-hero__buttons { flex-direction: column; align-items: stretch; }
	.htlp-showcase { margin-top: -4rem; }
	.htlp-prices { gap: 2rem; }
	.htlp-table th, .htlp-table td { padding: 12px; }
	.htlp-table thead th:nth-child(n+2), .htlp-table td { width: 64px; }
}
