/*
Theme Name: IG Engage
Theme URI: https://socialyie.com
Author: Socialyie
Description: A clean, modern storefront theme for selling monthly Instagram auto-engagement subscriptions. Includes a full landing page (hero, pricing, how it works, FAQ), 3 subscription plans, a required Instagram username field at checkout, and Big-pay only. WooCommerce ready.
Version: 1.0.0
Requires PHP: 7.2
License: GNU General Public License v2 or later
Text Domain: ig-engage
Tags: ecommerce, woocommerce, one-column, custom-colors, full-width-template
*/

/* ====================================================================
   Base
   ==================================================================== */
:root {
	--ige-grad: linear-gradient(135deg, #7b2ff7 0%, #d6249f 50%, #fd8d32 100%);
	--ige-grad-soft: linear-gradient(135deg, rgba(123,47,247,.07), rgba(214,36,159,.07), rgba(253,141,50,.07));
	--ige-ink: #1c1b22;
	--ige-muted: #6b6975;
	--ige-line: #ececf2;
	--ige-bg: #ffffff;
	--ige-bg-alt: #faf9fc;
	--ige-card: #ffffff;
	--ige-wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--ige-bg);
	color: var(--ige-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a { color: #d6249f; text-decoration: none; }

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

.ige-wrap {
	max-width: var(--ige-wrap);
	margin: 0 auto;
	padding: 0 20px;
}

.ige-grad-text {
	background: var(--ige-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* ====================================================================
   Header / Nav
   ==================================================================== */
.ige-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255,255,255,.85);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--ige-line);
}

.ige-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 68px;
}

.ige-brand {
	font-weight: 800;
	font-size: 21px;
	letter-spacing: -.02em;
	color: var(--ige-ink);
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.ige-brand .ige-dot {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--ige-grad);
	display: inline-block;
}

.ige-menu {
	display: flex;
	align-items: center;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ige-menu a {
	color: var(--ige-muted);
	font-size: 15px;
	font-weight: 600;
}

.ige-menu a:hover { color: var(--ige-ink); }

.ige-nav-cta {
	display: inline-block;
	background: var(--ige-grad);
	color: #fff !important;
	font-weight: 700;
	font-size: 14px;
	padding: 10px 18px;
	border-radius: 10px;
}

.ige-nav-cta:hover { filter: brightness(1.05); }

.ige-burger { display: none; }

/* ====================================================================
   Hero
   ==================================================================== */
.ige-hero {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: 84px 0 70px;
	background: var(--ige-bg-alt);
}

.ige-hero::before,
.ige-hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: .35;
	z-index: 0;
}

.ige-hero::before {
	width: 420px; height: 420px;
	background: radial-gradient(circle, #d6249f, transparent 70%);
	top: -120px; left: -80px;
}

.ige-hero::after {
	width: 460px; height: 460px;
	background: radial-gradient(circle, #7b2ff7, transparent 70%);
	bottom: -160px; right: -100px;
}

.ige-hero .ige-wrap { position: relative; z-index: 1; }

.ige-eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #d6249f;
	background: #fff;
	border: 1px solid var(--ige-line);
	padding: 7px 14px;
	border-radius: 999px;
	margin-bottom: 22px;
}

.ige-hero h1 {
	font-size: 52px;
	line-height: 1.07;
	font-weight: 800;
	letter-spacing: -.03em;
	margin: 0 auto 18px;
	max-width: 760px;
}

.ige-hero p.ige-sub {
	font-size: 19px;
	color: var(--ige-muted);
	max-width: 600px;
	margin: 0 auto 30px;
}

.ige-hero-actions {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

.ige-btn-lg {
	font-size: 16px;
	font-weight: 700;
	padding: 15px 28px;
	border-radius: 12px;
}

.ige-btn-primary {
	background: var(--ige-grad);
	color: #fff;
	border: 2px solid transparent;
}
.ige-btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }

.ige-btn-ghost {
	background: #fff;
	color: var(--ige-ink);
	border: 1px solid var(--ige-line);
}
.ige-btn-ghost:hover { border-color: #d6249f; color: #d6249f; }

.ige-trust {
	margin-top: 40px;
	display: flex;
	gap: 34px;
	justify-content: center;
	flex-wrap: wrap;
	color: var(--ige-muted);
	font-size: 14px;
}
.ige-trust b { color: var(--ige-ink); font-size: 22px; display: block; }

/* ====================================================================
   Sections
   ==================================================================== */
.ige-section { padding: 72px 0; }
.ige-section--alt { background: var(--ige-bg-alt); }

.ige-section-head { text-align: center; margin-bottom: 44px; }
.ige-section-head h2 {
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 0 0 10px;
}
.ige-section-head p {
	color: var(--ige-muted);
	font-size: 17px;
	margin: 0 auto;
	max-width: 520px;
}

/* ====================================================================
   Pricing cards (shortcode: [ig_pricing])
   ==================================================================== */
.iges-pricing { max-width: var(--ige-wrap); margin: 0 auto; padding: 0 20px; }

.iges-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	align-items: stretch;
}

.iges-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--ige-card);
	border: 1px solid var(--ige-line);
	border-radius: 18px;
	padding: 30px 26px;
	box-shadow: 0 4px 20px rgba(28,27,34,.04);
	transition: transform .18s ease, box-shadow .18s ease;
}
.iges-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(28,27,34,.10); }

.iges-card--popular {
	border: 2px solid transparent;
	background:
		linear-gradient(var(--ige-card), var(--ige-card)) padding-box,
		var(--ige-grad) border-box;
	box-shadow: 0 18px 44px rgba(214,36,159,.18);
}
@media (min-width: 901px) {
	.iges-card--popular { transform: scale(1.04); }
	.iges-card--popular:hover { transform: scale(1.04) translateY(-4px); }
}

.iges-badge {
	position: absolute;
	top: -13px; left: 50%;
	transform: translateX(-50%);
	background: var(--ige-grad);
	color: #fff;
	font-size: 12px; font-weight: 700;
	letter-spacing: .04em; text-transform: uppercase;
	padding: 6px 14px; border-radius: 999px;
	white-space: nowrap;
	box-shadow: 0 6px 16px rgba(214,36,159,.35);
}

.iges-plan-name { margin: 4px 0 8px; font-size: 20px; font-weight: 700; }

.iges-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.iges-price-amount {
	font-size: 38px; font-weight: 800; line-height: 1;
	background: var(--ige-grad);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
}
.iges-price-amount .woocommerce-Price-amount { color: inherit; }
.iges-price-period { font-size: 14px; color: var(--ige-muted); }

.iges-plan-short { margin: 0 0 18px; font-size: 14px; line-height: 1.5; color: var(--ige-muted); }

.iges-features { list-style: none; margin: 0 0 24px; padding: 0; flex: 1 1 auto; }
.iges-features li {
	display: flex; align-items: flex-start; gap: 10px;
	font-size: 14.5px; line-height: 1.45; padding: 8px 0;
	border-bottom: 1px solid var(--ige-line);
}
.iges-features li:last-child { border-bottom: 0; }

.iges-check {
	flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px;
	border-radius: 50%; background: var(--ige-grad); position: relative;
}
.iges-check::after {
	content: ""; position: absolute; left: 6px; top: 3px;
	width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.iges-btn {
	display: block; text-align: center; font-weight: 700; font-size: 15px;
	padding: 13px 18px; border-radius: 12px; border: 2px solid transparent;
	background: linear-gradient(#fff,#fff) padding-box, var(--ige-grad) border-box;
	color: #d6249f;
	transition: filter .15s ease, transform .1s ease, box-shadow .15s ease;
}
.iges-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(214,36,159,.18); }
.iges-btn--solid { background: var(--ige-grad); color: #fff; }
.iges-btn--solid:hover { filter: brightness(1.05); }
.iges-btn--disabled { background: #f2f1f6; color: var(--ige-muted); border-color: var(--ige-line); cursor: not-allowed; }

.iges-note { text-align: center; font-size: 13px; color: var(--ige-muted); margin-top: 22px; }

/* ====================================================================
   How it works
   ==================================================================== */
.iges-steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; max-width: var(--ige-wrap); margin: 0 auto; }
.iges-step {
	background: var(--ige-grad-soft);
	border: 1px solid var(--ige-line);
	border-radius: 16px; padding: 30px 24px; text-align: center;
}
.iges-step-num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--ige-grad); color: #fff; font-weight: 800; font-size: 18px;
	margin-bottom: 14px;
}
.iges-step-title { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.iges-step-text { font-size: 14.5px; line-height: 1.5; color: var(--ige-muted); margin: 0; }

/* ====================================================================
   FAQ
   ==================================================================== */
.iges-faq-list { max-width: 780px; margin: 0 auto; }
.iges-faq-item {
	border: 1px solid var(--ige-line); border-radius: 12px;
	margin-bottom: 12px; padding: 2px 20px; background: #fff;
}
.iges-faq-item summary {
	cursor: pointer; list-style: none; font-weight: 600; font-size: 15.5px;
	padding: 17px 0; position: relative; padding-right: 30px;
}
.iges-faq-item summary::-webkit-details-marker { display: none; }
.iges-faq-item summary::after {
	content: "+"; position: absolute; right: 2px; top: 14px;
	font-size: 24px; font-weight: 400; color: #d6249f; transition: transform .2s ease;
}
.iges-faq-item[open] summary::after { transform: rotate(45deg); }
.iges-faq-item p { margin: 0 0 17px; font-size: 14.5px; line-height: 1.55; color: var(--ige-muted); }

/* ====================================================================
   CTA band
   ==================================================================== */
.ige-cta {
	background: var(--ige-grad);
	color: #fff;
	text-align: center;
	padding: 64px 20px;
}
.ige-cta h2 { font-size: 32px; font-weight: 800; margin: 0 0 12px; letter-spacing: -.02em; }
.ige-cta p { font-size: 17px; opacity: .92; margin: 0 0 26px; }
.ige-cta .ige-btn-lg {
	background: #fff; color: #d6249f; display: inline-block;
}
.ige-cta .ige-btn-lg:hover { transform: translateY(-1px); }

/* ====================================================================
   Footer
   ==================================================================== */
.ige-footer {
	background: #14131a; color: #b9b7c4;
	padding: 44px 0 30px; font-size: 14px;
}
.ige-footer .ige-brand { color: #fff; margin-bottom: 12px; }
.ige-footer-grid {
	display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap;
	padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.ige-footer a { color: #b9b7c4; }
.ige-footer a:hover { color: #fff; }
.ige-footer-note { padding-top: 20px; color: #76737f; font-size: 13px; }

/* ====================================================================
   Generic page / WooCommerce content
   ==================================================================== */
.ige-page { padding: 56px 0; }
.ige-page .ige-wrap { max-width: 900px; }
.ige-page h1.entry-title { font-size: 34px; font-weight: 800; margin: 0 0 24px; }

.woocommerce { max-width: var(--ige-wrap); margin: 0 auto; }

/* ====================================================================
   Responsive
   ==================================================================== */
@media (max-width: 900px) {
	.ige-hero h1 { font-size: 38px; }
	.iges-grid, .iges-steps-grid {
		grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto;
	}
	.iges-card--popular { order: -1; }
	.ige-menu { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.iges-card, .iges-btn, .iges-faq-item summary::after, .ige-btn-primary { transition: none; }
}
