/* ===========================================================================
   Askgido — Waitlist landing page styles.

   This file is enqueued only on pages using the "Askgido — Waitlist" page
   template (see functions.php). Keeping it scoped means Storefront pages
   remain untouched.

   Everything below is namespaced under #askgido-waitlist to prevent style
   leakage into the rest of the site.
=========================================================================== */

/* ---------------------------------------------------------------------------
   Storefront wrapper resets.

   Storefront wraps every page in #page > #content > .col-full and applies
   significant padding/max-width. These overrides neutralise that wrapping
   ONLY on the waitlist page (via the body class set in functions.php) so
   our landing page can render full-bleed.
--------------------------------------------------------------------------- */
body.askgido-waitlist-page {
	margin: 0 !important;
	padding: 0 !important;
	background: #FAF7F3 !important;
	height: 100vh;
}

body.askgido-waitlist-page #page,
body.askgido-waitlist-page .site,
body.askgido-waitlist-page #content,
body.askgido-waitlist-page .site-content,
body.askgido-waitlist-page .site-main,
body.askgido-waitlist-page .col-full,
body.askgido-waitlist-page .content-area,
body.askgido-waitlist-page .hentry,
body.askgido-waitlist-page article.page {
	max-width: none !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
}

/* Hide the "Edit page" link, page title and entry meta that Storefront
   sometimes still renders inside .entry-header even when the title is empty. */
body.askgido-waitlist-page .entry-header,
body.askgido-waitlist-page .page-title,
body.askgido-waitlist-page .entry-footer,
body.askgido-waitlist-page .post-edit-link {
	display: none !important;
}

/* Hide Storefront's site header and footer entirely on the waitlist page.
   They still get rendered by get_header() / get_footer() (which we keep
   so wp_head and wp_footer fire correctly for plugins, analytics, caching),
   but visually they are removed so the landing page takes over the screen. */
body.askgido-waitlist-page .site-header,
body.askgido-waitlist-page .storefront-handheld-footer-bar,
body.askgido-waitlist-page .site-footer,
body.askgido-waitlist-page #masthead,
body.askgido-waitlist-page #colophon,
body.askgido-waitlist-page .secondary-navigation,
body.askgido-waitlist-page .main-navigation,
body.askgido-waitlist-page .header-widget-region,
body.askgido-waitlist-page .storefront-breadcrumb {
	display: none !important;
}

/* Make sure the entry-content carries no inherited typography that fights
   our page's own type system. */
body.askgido-waitlist-page .entry-content {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
}

#askgido-waitlist *,
#askgido-waitlist *::before,
#askgido-waitlist *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

#askgido-waitlist {
	--cream: #FAF7F2;
	--warm-white: #FFFDF9;
	--ink: #1A1410;
	--ink-light: #4A3F35;
	--orange: #E8602C;
	--orange-light: #F2845A;
	--orange-pale: #FDF0EA;
	--sage: #7A9E7E;
	--border: #E8E0D5;

	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	background: var(--cream);
	color: var(--ink);
	overflow-x: hidden;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Scroll smoothing on the html level for in-page anchors (kept minimal). */
html { scroll-behavior: smooth; }

/* ---------- Hero ---------- */
#askgido-waitlist .hero {
	flex: 1;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 24px;
	position: relative;
	overflow: hidden;
}

#askgido-waitlist .hero-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 60% at 70% 30%, rgba(232, 96, 44, 0.10) 0%, transparent 70%),
		radial-gradient(ellipse 50% 70% at 20% 80%, rgba(122, 158, 126, 0.08) 0%, transparent 60%);
	pointer-events: none;
}

#askgido-waitlist .hero-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--border) 1px, transparent 1px),
		linear-gradient(90deg, var(--border) 1px, transparent 1px);
	background-size: 60px 60px;
	opacity: 0.4;
	mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
	pointer-events: none;
}

#askgido-waitlist .container {
	position: relative;
	z-index: 2;
	max-width: 580px;
	width: 100%;
	text-align: center;
}

/* ---------- Top status badge ---------- */
#askgido-waitlist .badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--warm-white);
	border: 1px solid var(--border);
	padding: 8px 16px;
	border-radius: 100px;
	font-size: 13px;
	font-weight: 500;
	color: var(--ink-light);
	margin-bottom: 32px;
	opacity: 0;
	animation: askgidoFadeUp 0.6s ease forwards 0.1s;
	box-shadow: 0 1px 3px rgba(26, 20, 16, 0.04);
}

#askgido-waitlist .badge-dot {
	width: 8px;
	height: 8px;
	background: var(--sage);
	border-radius: 50%;
	box-shadow: 0 0 0 3px rgba(122, 158, 126, 0.2);
	animation: askgidoPulse 2s ease infinite;
}

@keyframes askgidoPulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

/* ---------- Logo wordmark ---------- */
#askgido-waitlist .logo {
	font-family: 'Lora', Georgia, serif;
	font-size: 28px;
	font-weight: 600;
	color: var(--ink);
	letter-spacing: -0.5px;
	margin-bottom: 32px;
	opacity: 0;
	animation: askgidoFadeUp 0.6s ease forwards 0.15s;
}

#askgido-waitlist .logo span { color: var(--orange); }

/* ---------- Headline ---------- */
#askgido-waitlist h1 {
	font-family: 'Lora', Georgia, serif;
	font-size: clamp(36px, 6vw, 56px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -1.5px;
	color: var(--ink);
	margin-bottom: 20px;
	opacity: 0;
	animation: askgidoFadeUp 0.6s ease forwards 0.2s;
}

#askgido-waitlist h1 em {
	font-style: italic;
	color: var(--orange);
}

#askgido-waitlist .subheadline {
	font-size: 19px;
	line-height: 1.55;
	color: var(--ink-light);
	font-weight: 300;
	margin: 0 auto 40px;
	max-width: 480px;
	opacity: 0;
	animation: askgidoFadeUp 0.6s ease forwards 0.3s;
}

/* ---------- Form card (the hero of the page) ---------- */
#askgido-waitlist .form-wrapper {
	background: var(--warm-white);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 28px;
	box-shadow:
		0 1px 3px rgba(26, 20, 16, 0.04),
		0 16px 48px rgba(26, 20, 16, 0.08);
	opacity: 0;
	animation: askgidoFadeUp 0.7s ease forwards 0.4s;
	position: relative;
	overflow: hidden;
}

#askgido-waitlist .form-wrapper::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--orange), var(--orange-light));
}

#askgido-waitlist .price-tag {
	font-size: 12px;
	color: var(--orange);
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 8px;
}

#askgido-waitlist .price-row {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 6px;
	margin-bottom: 4px;
}

#askgido-waitlist .price-row .price {
	font-family: 'Lora', Georgia, serif;
	font-size: 36px;
	font-weight: 600;
	color: var(--orange);
	letter-spacing: -1px;
	line-height: 1;
}

#askgido-waitlist .price-row .period {
	font-size: 16px;
	color: var(--ink-light);
}

#askgido-waitlist .form-spacer {
	height: 24px;
}

/* ---------- Form ---------- */
#askgido-waitlist .form-row {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
}

#askgido-waitlist input[type="email"] {
	flex: 1;
	padding: 16px 18px;
	border: 1.5px solid var(--border);
	border-radius: 12px;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	color: var(--ink);
	background: var(--cream);
	transition: border-color 0.2s, box-shadow 0.2s;
	outline: none;
	width: 100%;
}

#askgido-waitlist input:focus {
	border-color: var(--orange);
	box-shadow: 0 0 0 3px rgba(232, 96, 44, 0.1);
}

#askgido-waitlist input::placeholder { color: #B5A99A; }

#askgido-waitlist .submit-btn {
	padding: 16px 28px;
	background: var(--orange);
	color: white;
	border: none;
	border-radius: 12px;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
	letter-spacing: -0.2px;
	white-space: nowrap;
}

#askgido-waitlist .submit-btn:hover {
	background: #D4521F;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(232, 96, 44, 0.3);
}

#askgido-waitlist .submit-btn:active { transform: translateY(0); }

#askgido-waitlist .fine-print {
	font-size: 13px;
	color: var(--ink-light);
	text-align: center;
	line-height: 1.5;
}

#askgido-waitlist .fine-print strong {
	color: var(--orange);
	font-weight: 500;
}

/* ---------- Signup counter ---------- */
#askgido-waitlist .counter {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
}

#askgido-waitlist .avatars { display: flex; }

#askgido-waitlist .avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 2px solid var(--warm-white);
	margin-left: -10px;
	font-family: 'Lora', Georgia, serif;
	font-size: 13px;
	font-weight: 600;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
}

#askgido-waitlist .avatar:first-child { margin-left: 0; }
#askgido-waitlist .avatar.a1 { background: linear-gradient(135deg, #E8602C, #F2845A); }
#askgido-waitlist .avatar.a2 { background: linear-gradient(135deg, #7A9E7E, #A0BFA3); }
#askgido-waitlist .avatar.a3 { background: linear-gradient(135deg, #4A3F35, #7B6B5A); }
#askgido-waitlist .avatar.a4 { background: linear-gradient(135deg, #C5532E, #E89A7B); }
#askgido-waitlist .avatar.a5 { background: linear-gradient(135deg, #1A1410, #4A3F35); }

#askgido-waitlist .counter-text {
	font-size: 14px;
	color: var(--ink-light);
	text-align: left;
	line-height: 1.4;
}

#askgido-waitlist .counter-text strong {
	color: var(--ink);
	font-weight: 600;
}

/* ---------- Success state ---------- */
#askgido-waitlist .success-state {
	text-align: center;
	padding: 8px 0;
}

#askgido-waitlist .success-icon {
	font-size: 48px;
	margin-bottom: 16px;
}

#askgido-waitlist .success-state h2 {
	font-family: 'Lora', Georgia, serif;
	font-size: 24px;
	color: var(--ink);
	margin-bottom: 12px;
	letter-spacing: -0.5px;
}

#askgido-waitlist .success-state p {
	color: var(--ink-light);
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 8px;
}

#askgido-waitlist .success-state strong { color: var(--orange); }

/* ---------- Micro-proof row ---------- */
#askgido-waitlist .proof-row {
	margin-top: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
	opacity: 0;
	animation: askgidoFadeUp 0.6s ease forwards 0.5s;
}

#askgido-waitlist .proof-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--ink-light);
	font-weight: 400;
}

#askgido-waitlist .proof-icon {
	color: var(--sage);
	font-size: 14px;
}

/* ---------- Footer ---------- */
#askgido-waitlist .footer-mini {
	padding: 24px;
	text-align: center;
	font-size: 12px;
	color: #B5A99A;
	position: relative;
	z-index: 2;
}

#askgido-waitlist .footer-mini a {
	color: var(--orange);
	text-decoration: none;
}

/* ---------- Animations ---------- */
@keyframes askgidoFadeUp {
	from { opacity: 0.6; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
	#askgido-waitlist .hero { padding: 40px 16px; }
	#askgido-waitlist .form-wrapper { padding: 24px 20px; }
	#askgido-waitlist .form-row { flex-direction: column; }
	#askgido-waitlist .submit-btn { width: 100%; }
	#askgido-waitlist h1 { font-size: 36px; letter-spacing: -1px; }
	#askgido-waitlist .subheadline { font-size: 17px; }
	#askgido-waitlist .counter { flex-direction: column; gap: 10px; }
	#askgido-waitlist .counter-text { text-align: center; }
	#askgido-waitlist .proof-row { gap: 16px; }
}
