/*
 * AI Coupon Finder — Landing Page Styles
 * Self-contained: no theme dependency. Works with any WordPress theme.
 */

/* ---- Reset / base ---- */
.acflp *, .acflp *::before, .acflp *::after { box-sizing: border-box; }
.acflp { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #333; line-height: 1.6; }
.acflp a { text-decoration: none; }
.acflp img { max-width: 100%; height: auto; }
.acflp ul { margin: 0; padding: 0; }

/* ---- CSS vars ---- */
.acflp {
	--p:  #ff6b35;
	--s:  #2d6a4f;
	--dk: #1a1a2e;
	--gr: #6c757d;
	--bd: #e0e0e0;
	--wh: #ffffff;
	--mx: 1200px;
	--rd: 10px;
	--sh: 0 4px 20px rgba(0,0,0,.08);
	--tr: .25s ease;
}

/* ---- Container ---- */
.acflp-container { max-width: var(--mx); margin: 0 auto; padding: 0 20px; }

/* =============================================
   HERO
   ============================================= */
.acflp-hero {
	background: linear-gradient(135deg, #0f3460 0%, var(--dk) 55%, #16213e 100%);
	padding: 80px 0;
	color: #fff;
}
.acflp-hero-grid {
	display: grid;
	grid-template-columns: 1fr 500px;
	gap: 56px;
	align-items: start;
}
.acflp-badge {
	display: inline-block;
	background: rgba(255,107,53,.2);
	border: 1px solid var(--p);
	color: var(--p);
	padding: 5px 14px;
	border-radius: 20px;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .3px;
	margin-bottom: 18px;
}
.acflp-hero-text h1 {
	font-size: clamp(1.9rem, 4vw, 2.9rem);
	font-weight: 900;
	line-height: 1.15;
	margin: 0 0 18px;
	color: #fff;
}
.acflp-hero-sub {
	font-size: 1.05rem;
	opacity: .85;
	line-height: 1.7;
	margin: 0 0 22px;
}
.acflp-bullets { list-style: none; margin: 0 0 26px; display: flex; flex-direction: column; gap: 9px; }
.acflp-bullets li { font-size: .93rem; opacity: .9; }
.acflp-social-proof { display: flex; align-items: center; gap: 10px; }
.acflp-stars { color: #ffc107; font-size: 1.2rem; letter-spacing: 2px; }
.acflp-proof-text { font-size: .82rem; opacity: .7; }
/* Widget inside hero — remove its own shadow */
.acflp-hero-widget .acf-widget { margin: 0; box-shadow: 0 20px 60px rgba(0,0,0,.45); }

/* =============================================
   TRUST BAR
   ============================================= */
.acflp-trust-bar { background: var(--p); padding: 13px 0; }
.acflp-trust-inner {
	display: flex;
	justify-content: center;
	gap: 28px;
	flex-wrap: wrap;
	color: #fff;
	font-size: .85rem;
	font-weight: 700;
}

/* =============================================
   SECTIONS
   ============================================= */
.acflp-section { padding: 70px 0; }
.acflp-section-hd { text-align: center; margin-bottom: 46px; }
.acflp-section-hd h2 { font-size: 1.95rem; font-weight: 800; color: var(--dk); margin: 0 0 10px; }
.acflp-section-hd p  { color: var(--gr); font-size: .97rem; margin: 0; }

/* =============================================
   STEPS
   ============================================= */
.acflp-steps {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	max-width: 860px;
	margin: 0 auto;
}
.acflp-step {
	flex: 1;
	text-align: center;
	padding: 30px 22px;
	background: #fff;
	border-radius: var(--rd);
	box-shadow: var(--sh);
}
.acflp-step-num {
	width: 50px;
	height: 50px;
	background: var(--p);
	color: #fff;
	border-radius: 50%;
	font-size: 1.3rem;
	font-weight: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 14px;
}
.acflp-step h3 { font-size: 1rem; font-weight: 700; color: var(--dk); margin: 0 0 8px; }
.acflp-step p  { font-size: .87rem; color: var(--gr); margin: 0; line-height: 1.6; }
.acflp-step-arrow { font-size: 1.8rem; color: var(--p); flex-shrink: 0; margin-top: 55px; }

/* =============================================
   STORE CHIPS
   ============================================= */
.acflp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	max-width: 900px;
	margin: 0 auto 14px;
}
.acflp-chip {
	background: #fff;
	border: 2px solid var(--bd);
	color: var(--dk);
	padding: 7px 18px;
	border-radius: 50px;
	font-size: .87rem;
	font-weight: 600;
	cursor: pointer;
	transition: all var(--tr);
	font-family: inherit;
}
.acflp-chip:hover { background: var(--p); border-color: var(--p); color: #fff; transform: translateY(-2px); }
.acflp-chip-hint { text-align: center; color: var(--gr); font-size: .83rem; margin: 0; }

/* =============================================
   FEATURES GRID
   ============================================= */
.acflp-features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.acflp-feature-card {
	background: #fff;
	border-radius: var(--rd);
	padding: 26px 22px;
	box-shadow: var(--sh);
	transition: transform var(--tr), box-shadow var(--tr);
}
.acflp-feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.acflp-feature-icon { font-size: 1.9rem; display: block; margin-bottom: 12px; }
.acflp-feature-card h3 { font-size: .98rem; font-weight: 700; color: var(--dk); margin: 0 0 8px; }
.acflp-feature-card p  { font-size: .86rem; color: var(--gr); margin: 0; line-height: 1.6; }

/* =============================================
   COMPARISON TABLE
   ============================================= */
.acflp-table-wrap { overflow-x: auto; }
.acflp-table {
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
	border-collapse: collapse;
	background: #fff;
	border-radius: var(--rd);
	overflow: hidden;
	box-shadow: var(--sh);
}
.acflp-table thead th {
	padding: 15px 18px;
	font-size: .88rem;
	font-weight: 700;
	background: var(--dk);
	color: rgba(255,255,255,.75);
	text-align: center;
}
.acflp-table thead th:first-child { text-align: left; }
.acflp-table thead th.hl { background: var(--p); color: #fff; }
.acflp-table td {
	padding: 13px 18px;
	font-size: .88rem;
	color: #555;
	text-align: center;
	border-bottom: 1px solid #f0f0f0;
}
.acflp-table td:first-child { text-align: left; font-weight: 500; color: var(--dk); }
.acflp-table td.hl { background: #fff9f7; font-weight: 700; }
.acflp-table tr:last-child td { border-bottom: none; }
.acflp-table tr:nth-child(even) td { background: #fafafa; }
.acflp-table tr:nth-child(even) td.hl { background: #fff5f2; }

/* =============================================
   DEMO SECTION
   ============================================= */
.acflp-demo .acf-widget { max-width: 700px; margin: 0 auto; }

/* =============================================
   REVIEWS
   ============================================= */
.acflp-reviews {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.acflp-review {
	background: #fff;
	border-radius: var(--rd);
	padding: 22px;
	box-shadow: var(--sh);
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.acflp-review-stars { color: #ffc107; font-size: 1.05rem; letter-spacing: 2px; }
.acflp-review-text { font-size: .9rem; color: #444; line-height: 1.6; margin: 0; flex: 1; font-style: italic; }
.acflp-review-meta { display: flex; flex-direction: column; gap: 2px; }
.acflp-review-meta strong { font-size: .86rem; color: var(--dk); }
.acflp-review-meta span { font-size: .77rem; color: var(--s); font-weight: 600; }

/* =============================================
   FAQ
   ============================================= */
.acflp-faq-inner { max-width: 780px; }
.acflp-faq-list { display: flex; flex-direction: column; gap: 10px; }
.acflp-faq-item { border: 1px solid var(--bd); border-radius: var(--rd); overflow: hidden; }
.acflp-faq-q {
	width: 100%;
	background: #f8f9fa;
	border: none;
	padding: 15px 18px;
	text-align: left;
	font-size: .95rem;
	font-weight: 600;
	color: var(--dk);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background var(--tr);
	font-family: inherit;
}
.acflp-faq-q:hover { background: #eef0f2; }
.acflp-faq-q[aria-expanded="true"] { background: var(--s); color: #fff; }
.acflp-faq-q[aria-expanded="true"] .acflp-faq-icon { transform: rotate(45deg); }
.acflp-faq-icon { font-size: 1.25rem; font-weight: 300; transition: transform var(--tr); flex-shrink: 0; }
.acflp-faq-a { overflow: hidden; max-height: 0; transition: max-height .35s ease, padding .35s ease; padding: 0 18px; }
.acflp-faq-a:not([hidden]) { max-height: 400px; padding: 14px 18px; }
.acflp-faq-a p { margin: 0; font-size: .93rem; line-height: 1.7; color: #444; }

/* =============================================
   FINAL CTA
   ============================================= */
.acflp-final-cta {
	background: linear-gradient(135deg, var(--dk), #16213e);
	color: #fff;
	padding: 80px 0;
	text-align: center;
}
.acflp-final-cta h2 { font-size: 2.1rem; font-weight: 900; margin: 0 0 12px; }
.acflp-final-cta p  { font-size: 1.05rem; opacity: .8; margin: 0 0 30px; }
.acflp-cta-btn {
	display: inline-block;
	background: var(--p);
	color: #fff;
	padding: 16px 40px;
	border-radius: 50px;
	font-weight: 800;
	font-size: 1.05rem;
	box-shadow: 0 6px 24px rgba(255,107,53,.4);
	transition: all var(--tr);
}
.acflp-cta-btn:hover { background: #e55a25; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,107,53,.5); }

/* =============================================
   SEO CONTENT
   ============================================= */
.acflp-seo-inner { max-width: 860px; }
.acflp-seo h2 { font-size: 1.55rem; font-weight: 800; color: var(--dk); margin: 0 0 14px; }
.acflp-seo h3 { font-size: 1.15rem; font-weight: 700; color: var(--dk); margin: 26px 0 10px; }
.acflp-seo p  { font-size: .95rem; color: #444; line-height: 1.8; margin: 0 0 14px; }
.acflp-seo ul { padding-left: 18px; }
.acflp-seo ul li { font-size: .93rem; color: #444; margin-bottom: 7px; line-height: 1.7; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1040px) {
	.acflp-hero-grid { grid-template-columns: 1fr; }
	.acflp-hero-widget { max-width: 600px; }
	.acflp-features-grid { grid-template-columns: repeat(2, 1fr); }
	.acflp-reviews { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
	.acflp-hero { padding: 48px 0; }
	.acflp-section { padding: 48px 0; }
	.acflp-steps { flex-direction: column; align-items: center; }
	.acflp-step { width: 100%; max-width: 400px; }
	.acflp-step-arrow { transform: rotate(90deg); margin: 0; }
	.acflp-features-grid { grid-template-columns: 1fr; }
	.acflp-reviews { grid-template-columns: 1fr; }
	.acflp-trust-inner { gap: 14px; font-size: .78rem; }
	.acflp-final-cta h2 { font-size: 1.6rem; }
	.acflp-hero-text h1 { font-size: 1.75rem; }
}
