/*
Theme Name: A Moment With - March 2026
Theme URI: https://amomentwith.com/
Author: A Moment With Pty Ltd
Author URI: https://amomentwith.com/
Description: A Moment With — standalone storytelling platform theme. Premium FSE block theme for memory preservation.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 2.0.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amw-theme
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, wide-blocks, block-styles, accessibility-ready, blog
*/

/* ═══════════════════════════════════════════
   GLOBAL / RESET
   ═══════════════════════════════════════════ */

html { scroll-behavior: smooth; }

*, *::before, *::after { box-sizing: border-box; }

body, p, li, a, span, div, input, textarea, select, button,
.wp-block-paragraph, .wp-block-list, .wp-block-navigation {
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}
h1,h2,h3,h4,h5,h6,.wp-block-heading {
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════ */

@keyframes amw-fadeUp {
	from { opacity: 0; transform: translateY(40px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes amw-fadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@keyframes amw-scaleIn {
	from { opacity: 0; transform: scale(0.92); }
	to   { opacity: 1; transform: scale(1); }
}
@keyframes amw-slideLeft {
	from { opacity: 0; transform: translateX(60px); }
	to   { opacity: 1; transform: translateX(0); }
}
@keyframes amw-slideRight {
	from { opacity: 0; transform: translateX(-60px); }
	to   { opacity: 1; transform: translateX(0); }
}
@keyframes amw-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}
@keyframes amw-pulse-glow {
	0%, 100% { box-shadow: 0 0 20px rgba(123,94,198,0.15); }
	50% { box-shadow: 0 0 40px rgba(123,94,198,0.35); }
}
@keyframes amw-gradient-shift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}
@keyframes amw-counter {
	from { opacity: 0; transform: scale(0.5); }
	to { opacity: 1; transform: scale(1); }
}

/* Scroll-reveal classes */
.amw-reveal {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.amw-reveal.visible {
	opacity: 1;
	transform: translateY(0);
}
.amw-reveal-delay-1 { transition-delay: 0.1s; }
.amw-reveal-delay-2 { transition-delay: 0.2s; }
.amw-reveal-delay-3 { transition-delay: 0.3s; }
.amw-reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════
   HEADER — Glassmorphism Nav
   ═══════════════════════════════════════════ */

.amw-header {
	background: rgba(255,255,255,0.92) !important;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 1px 0 rgba(45,20,65,0.06);
	position: sticky;
	top: 0;
	z-index: 1000;
	transition: box-shadow 0.3s ease, background 0.3s ease;
}
.amw-header.scrolled {
	box-shadow: 0 4px 30px rgba(45,20,65,0.1);
	background: rgba(255,255,255,0.97) !important;
}
.amw-header .wp-block-site-logo img,
.amw-header .custom-logo {
	max-height: 48px !important;
	width: auto !important;
	transition: transform 0.3s ease;
}
.amw-header .wp-block-site-logo img:hover {
	transform: scale(1.05);
}

/* Nav links */
.amw-header .wp-block-navigation-item a {
	position: relative;
	padding: 8px 0 !important;
	transition: color 0.3s ease !important;
}
.amw-header .wp-block-navigation-item a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #503AA8, #7B5EC6);
	transition: width 0.3s ease, left 0.3s ease;
	border-radius: 2px;
}
.amw-header .wp-block-navigation-item a:hover::after {
	width: 100%;
	left: 0;
}
.amw-header .wp-block-navigation-item a:hover {
	color: #503AA8 !important;
}

/* CTA button in nav */
.amw-header .wp-block-button__link {
	background: linear-gradient(135deg, #2D1441, #503AA8) !important;
	transition: all 0.3s ease !important;
	box-shadow: 0 4px 15px rgba(45,20,65,0.2);
}
.amw-header .wp-block-button__link:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 25px rgba(45,20,65,0.35) !important;
}

/* ═══════════════════════════════════════════
   HERO — Cinematic gradient + particles
   ═══════════════════════════════════════════ */

.amw-hero {
	background: linear-gradient(135deg,#1a0a2e 0%,#2D1441 25%,#503AA8 60%,#7B5EC6 100%) !important;
	background-size: 200% 200% !important;
	animation: amw-gradient-shift 15s ease infinite;
	min-height: 92vh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}
.amw-hero::before {
	content:'';
	position:absolute;
	top:-50%;right:-20%;
	width:80%;height:200%;
	background:radial-gradient(ellipse,rgba(255,255,255,0.04) 0%,transparent 70%);
	pointer-events:none;
}
.amw-hero::after {
	content:'';
	position:absolute;
	bottom:0;left:0;right:0;
	height:120px;
	background: linear-gradient(to top, rgba(249,245,252,1) 0%, transparent 100%);
	pointer-events:none;
	z-index:1;
}
.amw-hero,
.amw-hero *,
.amw-hero p,
.amw-hero h1,
.amw-hero h2,
.amw-hero .wp-block-heading,
.amw-hero .wp-block-paragraph {
	color: #FFFFFF !important;
}
.amw-hero h1 {
	animation: amw-fadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.2s both;
}
.amw-hero .wp-block-paragraph {
	animation: amw-fadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.4s both;
}
.amw-hero .wp-block-buttons,
.amw-hero .wp-block-image {
	animation: amw-fadeUp 1s cubic-bezier(0.16,1,0.3,1) 0.6s both;
}

/* Hero image float effect */
.amw-hero-screenshot img {
	animation: amw-float 6s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   SECTION HEADERS — Consistent styling
   ═══════════════════════════════════════════ */

.amw-section-label {
	font-size: 0.8rem !important;
	font-weight: 700 !important;
	letter-spacing: 3px !important;
	text-transform: uppercase !important;
	color: #7B5EC6 !important;
	margin-bottom: 8px !important;
}

.amw-section-title {
	font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	color: #1a0a2e !important;
	margin-bottom: 16px !important;
}

.amw-section-subtitle {
	font-size: 1.1rem !important;
	color: #666 !important;
	line-height: 1.7 !important;
	max-width: 640px;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ═══════════════════════════════════════════
   FEATURE CARDS — Modern glass cards
   ═══════════════════════════════════════════ */

.amw-feature-card {
	background: #FFF;
	border-radius: 20px;
	padding: 40px 28px;
	box-shadow: 0 4px 24px rgba(45,20,65,0.06);
	transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
	text-align: center;
	border: 1px solid rgba(232,213,245,0.5);
	position: relative;
	overflow: hidden;
}
.amw-feature-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, #503AA8, #7B5EC6);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s ease;
}
.amw-feature-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 60px rgba(45,20,65,0.12);
}
.amw-feature-card:hover::before {
	transform: scaleX(1);
}

/* ═══════════════════════════════════════════
   APP SCREENSHOTS — Polished carousel
   ═══════════════════════════════════════════ */

.amw-screenshots-wrapper{position:relative;margin:40px 0}
.amw-screenshots-track{display:flex;gap:24px;padding:24px 0;transition:transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);will-change:transform}
.amw-screenshot-item{flex:0 0 calc(33.333% - 16px);text-align:center;min-width:0;transition:transform 0.3s ease}
.amw-screenshot-item:hover{transform:scale(1.03)}
.amw-screenshot-item img{width:100%;max-width:220px;height:auto;border-radius:28px;box-shadow:0 12px 40px rgba(45,20,65,0.18);display:block;margin:0 auto;transition:box-shadow 0.3s ease}
.amw-screenshot-item:hover img{box-shadow:0 20px 60px rgba(45,20,65,0.25)}
.amw-screenshot-caption{margin-top:14px;font-size:0.85rem;font-weight:600;color:#555;letter-spacing:0.3px}
.amw-screenshot-controls{display:flex;justify-content:center;gap:16px;margin-top:24px}
.amw-screenshot-btn{width:48px;height:48px;border:2px solid #E8D5F5;background:#FFF;color:#2D1441;border-radius:50%;cursor:pointer;font-size:22px;font-weight:300;transition:all 0.3s;display:flex;align-items:center;justify-content:center}
.amw-screenshot-btn:hover{background:#2D1441;color:#FFF;border-color:#2D1441;transform:scale(1.1)}
.amw-screenshot-dots{display:flex;justify-content:center;gap:8px;margin-top:24px;flex-wrap:wrap}
.amw-dot{width:10px;height:10px;border-radius:50%;background:#E8D5F5;cursor:pointer;transition:all 0.3s}
.amw-dot.active{background:#503AA8;width:28px;border-radius:5px}
.amw-dot:hover{background:#7B5EC6}
@media(max-width:900px){.amw-screenshot-item{flex:0 0 calc(50% - 12px)}}
@media(max-width:601px){.amw-screenshot-item{flex:0 0 100%}.amw-screenshot-controls{gap:12px}.amw-screenshot-btn{width:42px;height:42px;font-size:20px}}

/* ═══════════════════════════════════════════
   BLOG CAROUSEL
   ═══════════════════════════════════════════ */

.amw-carousel-wrapper{position:relative;overflow:hidden}
.amw-carousel-track{display:flex;gap:28px;transition:transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94)}
.amw-carousel-slide{flex:0 0 calc(33.333% - 19px);min-width:0}
.amw-blog-card{background:#FFF;border-radius:20px;overflow:hidden;box-shadow:0 4px 20px rgba(45,20,65,0.06);transition:all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);height:100%;display:flex;flex-direction:column;border:1px solid rgba(232,213,245,0.4)}
.amw-blog-card:hover{transform:translateY(-6px);box-shadow:0 16px 48px rgba(45,20,65,0.12)}
.amw-blog-card-thumb{width:100%;height:220px;overflow:hidden;position:relative}
.amw-blog-card-thumb img{width:100%;height:220px;object-fit:cover;transition:transform 0.6s ease}
.amw-blog-card:hover .amw-blog-card-thumb img{transform:scale(1.08)}
.amw-blog-card-body{padding:28px;flex:1;display:flex;flex-direction:column}
.amw-blog-card-cat{font-size:0.72rem;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:#7B5EC6;margin-bottom:10px}
.amw-blog-card-title{font-size:1.05rem;font-weight:700;color:#1a0a2e;line-height:1.45;margin-bottom:12px;text-decoration:none!important;display:block;transition:color 0.3s}
.amw-blog-card-title:hover{color:#503AA8!important}
.amw-blog-card-excerpt{font-size:0.88rem;color:#666;line-height:1.7;flex:1}
.amw-blog-card-link{display:inline-flex;align-items:center;gap:6px;margin-top:16px;font-size:0.88rem;font-weight:600;color:#503AA8!important;text-decoration:none!important;transition:gap 0.3s}
.amw-blog-card-link:hover{gap:10px;color:#2D1441!important}
.amw-carousel-btn{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;background:#fff;color:#2D1441;border:2px solid #E8D5F5;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1.2rem;box-shadow:0 4px 20px rgba(45,20,65,0.1);transition:all 0.3s;z-index:10}
.amw-carousel-btn:hover{background:#2D1441;color:#FFF;border-color:#2D1441;box-shadow:0 8px 30px rgba(45,20,65,0.2)}
.amw-carousel-btn-prev{left:-24px}
.amw-carousel-btn-next{right:-24px}
.amw-carousel-dots{display:flex;justify-content:center;gap:8px;margin-top:28px}
.amw-carousel-dot{width:8px;height:8px;border-radius:50%;background:#E8D5F5;cursor:pointer;border:none;padding:0;transition:all 0.3s}
.amw-carousel-dot.active{background:#503AA8;transform:scale(1.4)}

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */

.amw-testimonial{background:#FFF;border-radius:20px;padding:36px;box-shadow:0 4px 24px rgba(45,20,65,0.05);border:1px solid rgba(232,213,245,0.4);position:relative;transition:all 0.4s ease}
.amw-testimonial:hover{transform:translateY(-4px);box-shadow:0 12px 40px rgba(45,20,65,0.1)}
.amw-testimonial::before{content:'\201C';font-size:72px;color:#E8D5F5;position:absolute;top:8px;left:24px;line-height:1;font-family:Georgia,serif}

/* ═══════════════════════════════════════════
   FAQ — Smooth accordion
   ═══════════════════════════════════════════ */

.amw-faq-item{border-bottom:1px solid #f0eaf5;padding:24px 0;transition:background 0.3s}
.amw-faq-item summary{cursor:pointer;font-weight:600;font-size:1.05rem;color:#1a0a2e;list-style:none;display:flex;justify-content:space-between;align-items:center;padding-right:8px;transition:color 0.3s}
.amw-faq-item summary:hover{color:#503AA8}
.amw-faq-item summary::-webkit-details-marker{display:none}
.amw-faq-item summary::after{content:'+';font-size:1.5rem;font-weight:300;color:#7B5EC6;flex-shrink:0;margin-left:12px;transition:transform 0.3s ease}
.amw-faq-item[open] summary::after{content:'\2212';transform:rotate(180deg)}
.amw-faq-item p{margin-top:16px;color:#666;line-height:1.8;font-size:0.95rem}

/* ═══════════════════════════════════════════
   AGED CARE CARDS
   ═══════════════════════════════════════════ */

.amw-standard-card{background:#FFF;border-radius:20px;padding:32px 24px;box-shadow:0 4px 20px rgba(45,20,65,0.05);border:1px solid rgba(232,213,245,0.3);border-top:4px solid #2D6A4F;transition:all 0.4s cubic-bezier(0.25,0.46,0.45,0.94)}
.amw-standard-card:hover{transform:translateY(-6px);box-shadow:0 16px 48px rgba(45,20,65,0.1)}
.amw-standard-num{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#2D6A4F,#40916C);color:#FFF!important;font-size:0.9rem;font-weight:700;margin-bottom:14px}
.amw-standard-card h4{font-size:1.05rem;font-weight:700;margin-bottom:8px;color:#1a0a2e}
.amw-standard-card p{font-size:0.88rem;color:#666;line-height:1.7}

/* ═══════════════════════════════════════════
   FORMS — Modern inputs
   ═══════════════════════════════════════════ */

.amw-form-group{margin-bottom:24px}
.amw-form-group label{display:block;font-size:0.88rem;font-weight:600;color:#1a0a2e;margin-bottom:8px}
.amw-form-group input,
.amw-form-group textarea,
.amw-form-group select{width:100%;padding:14px 18px;border:2px solid #f0eaf5;border-radius:12px;font-size:0.95rem;font-family:'Poppins',sans-serif!important;color:#1a0a2e;background:#FFF;transition:all 0.3s;outline:none;-webkit-appearance:none}
.amw-form-group input:focus,
.amw-form-group textarea:focus,
.amw-form-group select:focus{border-color:#503AA8;box-shadow:0 0 0 4px rgba(80,58,168,0.1)}
.amw-form-group textarea{min-height:120px;resize:vertical}
.amw-form-submit{display:inline-flex;align-items:center;gap:8px;padding:16px 40px;background:linear-gradient(135deg,#2D1441,#503AA8);color:#FFF;border:none;border-radius:50px;font-size:1rem;font-weight:600;cursor:pointer;font-family:'Poppins',sans-serif!important;transition:all 0.3s;box-shadow:0 4px 20px rgba(45,20,65,0.2)}
.amw-form-submit:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(45,20,65,0.3)}

/* ═══════════════════════════════════════════
   BUTTONS — Polished
   ═══════════════════════════════════════════ */

.amw-btn{display:inline-flex;align-items:center;gap:8px;padding:16px 36px;border-radius:50px;font-weight:600;font-size:1rem;text-decoration:none!important;transition:all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);cursor:pointer}
.amw-btn-white{background:#FFF;color:#2D1441!important;box-shadow:0 4px 20px rgba(0,0,0,0.1)}
.amw-btn-white:hover{background:#F3EAFA;transform:translateY(-3px);box-shadow:0 8px 30px rgba(0,0,0,0.15)}
.amw-btn-outline{background:transparent;color:#FFF!important;border:2px solid rgba(255,255,255,0.4)}
.amw-btn-outline:hover{border-color:#FFF;background:rgba(255,255,255,0.1);transform:translateY(-2px)}
.amw-btn-purple{background:linear-gradient(135deg,#2D1441,#503AA8);color:#FFF!important;box-shadow:0 4px 20px rgba(45,20,65,0.2)}
.amw-btn-purple:hover{transform:translateY(-3px);box-shadow:0 8px 30px rgba(45,20,65,0.35)}

/* ═══════════════════════════════════════════
   IMAGE SECTIONS — Unsplash hero images
   ═══════════════════════════════════════════ */

.amw-img-section {
	position: relative;
	overflow: hidden;
	min-height: 500px;
}
.amw-img-section img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0; left: 0;
}
.amw-img-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(135deg, rgba(45,20,65,0.85) 0%, rgba(80,58,168,0.75) 100%);
	z-index: 1;
}
.amw-img-content {
	position: relative;
	z-index: 2;
}

/* Photo cards with hover zoom */
.amw-photo-card {
	border-radius: 20px;
	overflow: hidden;
	position: relative;
	height: 300px;
}
.amw-photo-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.amw-photo-card:hover img {
	transform: scale(1.08);
}
.amw-photo-card-overlay {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	padding: 28px;
	background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
	color: #fff;
}

/* ═══════════════════════════════════════════
   AI PLATFORM SECTION
   ═══════════════════════════════════════════ */

.amw-ai-section {
	background: linear-gradient(135deg, #1a0a2e 0%, #2D1441 40%, #503AA8 100%) !important;
	position: relative;
	overflow: hidden;
}
.amw-ai-section::before {
	content: '';
	position: absolute;
	top: -50%; left: -50%;
	width: 200%; height: 200%;
	background: radial-gradient(circle at 30% 50%, rgba(123,94,198,0.12) 0%, transparent 50%),
	            radial-gradient(circle at 80% 20%, rgba(232,213,245,0.06) 0%, transparent 40%);
	pointer-events: none;
}

.amw-ai-card {
	background: rgba(255,255,255,0.06);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 24px;
	padding: 44px 32px;
	transition: all 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
	position: relative;
	overflow: hidden;
}
.amw-ai-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, #7B5EC6, #E8D5F5, #7B5EC6);
	opacity: 0;
	transition: opacity 0.4s ease;
}
.amw-ai-card:hover {
	background: rgba(255,255,255,0.12);
	transform: translateY(-8px);
	box-shadow: 0 24px 64px rgba(0,0,0,0.3);
	border-color: rgba(255,255,255,0.2);
}
.amw-ai-card:hover::before { opacity: 1; }

/* ═══════════════════════════════════════════
   PRICING — Premium cards
   ═══════════════════════════════════════════ */

.amw-pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	max-width: 1100px;
	margin: 0 auto;
	align-items: start;
}
.amw-pricing-card {
	background: #FFF;
	border-radius: 24px;
	padding: 44px 32px;
	text-align: center;
	border: 1px solid rgba(232,213,245,0.5);
	transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
	position: relative;
	overflow: hidden;
}
.amw-pricing-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 60px rgba(45,20,65,0.12);
}
.amw-pricing-featured {
	border: 2px solid #503AA8;
	box-shadow: 0 8px 40px rgba(80,58,168,0.15);
	transform: scale(1.05);
}
.amw-pricing-featured:hover {
	transform: scale(1.05) translateY(-6px);
	box-shadow: 0 24px 70px rgba(80,58,168,0.22);
}
.amw-pricing-badge {
	position: absolute;
	top: 0; left: 0; right: 0;
	background: linear-gradient(135deg, #503AA8, #7B5EC6);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 10px 0;
}
.amw-pricing-featured .amw-pricing-header { margin-top: 28px; }
.amw-pricing-plan-name { font-size: 1.3rem; font-weight: 700; color: #1a0a2e; margin: 0 0 8px 0; }
.amw-pricing-price { font-size: 3.2rem; font-weight: 800; color: #1a0a2e; line-height: 1.1; margin-bottom: 4px; }
.amw-pricing-period { font-size: 0.95rem; font-weight: 400; color: #888; }
.amw-pricing-features { list-style: none; padding: 0; margin: 28px 0 32px 0; text-align: left; }
.amw-pricing-features li { padding: 12px 0; border-bottom: 1px solid #f5f0fa; font-size: 0.9rem; color: #555; position: relative; padding-left: 32px; }
.amw-pricing-features li::before { content: '\2713'; position: absolute; left: 0; color: #2D6A4F; font-weight: 700; font-size: 1.1rem; }
.amw-pricing-features li:last-child { border-bottom: none; }
.amw-pricing-btn { display:inline-block; width:100%; padding:16px 24px; border-radius:50px; font-size:1rem; font-weight:600; text-decoration:none; text-align:center; transition:all 0.3s; box-sizing:border-box; background:#f5f0fa; color:#503AA8; border:none; }
.amw-pricing-btn:hover { background:#E8D5F5; color:#2D1441; transform:translateY(-2px); box-shadow:0 4px 20px rgba(80,58,168,0.15); }
.amw-pricing-btn-featured { background:linear-gradient(135deg,#503AA8,#7B5EC6); color:#fff; }
.amw-pricing-btn-featured:hover { background:linear-gradient(135deg,#2D1441,#503AA8); color:#fff; box-shadow:0 8px 30px rgba(80,58,168,0.3); }
@media(max-width:900px){
	.amw-pricing-grid{grid-template-columns:1fr;max-width:420px}
	.amw-pricing-featured{transform:scale(1);order:-1}
	.amw-pricing-featured:hover{transform:translateY(-4px)}
}

/* ═══════════════════════════════════════════
   STATS COUNTER
   ═══════════════════════════════════════════ */

.amw-stat-number {
	font-size: clamp(2.4rem, 4vw, 3.6rem);
	font-weight: 800;
	background: linear-gradient(135deg, #503AA8, #7B5EC6);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	line-height: 1.1;
}

/* ═══════════════════════════════════════════
   FOOTER — Modern dark
   ═══════════════════════════════════════════ */

.amw-footer{background:#0f0818!important;color:#FFF}
.amw-footer a{color:#c4b0d9!important;text-decoration:none!important;transition:color 0.3s}
.amw-footer a:hover{color:#FFF!important}

/* ═══════════════════════════════════════════
   PAGE HERO — For subpages
   ═══════════════════════════════════════════ */

.amw-page-hero {
	min-height: 60vh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}
.amw-page-hero img.amw-hero-bg {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	z-index: 0;
}
.amw-page-hero-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 1;
}
.amw-page-hero-content {
	position: relative;
	z-index: 2;
}

/* ═══════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════ */

.amw-gradient-text {
	background: linear-gradient(135deg, #503AA8, #7B5EC6);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.amw-glass {
	background: rgba(255,255,255,0.06);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255,255,255,0.1);
}

/* 404 */
.amw-404{text-align:center;padding:80px 20px;min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center}
.amw-404-number{font-size:clamp(120px,20vw,240px);font-weight:900;background:linear-gradient(135deg,#2D1441,#7B5EC6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;line-height:1}

/* Coming Soon */
@keyframes amw-pulse{0%,100%{opacity:.7}50%{opacity:1}}

/* ═══════════════════════════════════════════
   RESPONSIVE OVERRIDES
   ═══════════════════════════════════════════ */

@media(max-width:900px){
	.amw-carousel-slide{flex:0 0 calc(100% - 0px)}
	.amw-carousel-btn{display:none}
	.amw-hero{min-height:auto;padding:60px 0!important}
	.amw-page-hero{min-height:50vh}
	.amw-ai-card{padding:32px 24px}
}
@media(min-width:601px) and (max-width:900px){
	.amw-carousel-slide{flex:0 0 calc(50% - 14px)}
}
@media(max-width:600px){
	.amw-section-title{font-size:1.6rem!important}
	.amw-feature-card{padding:28px 20px}
}

/* ═══════════════════════════════════════════
   FULL-WIDTH LAYOUT SUPPORT
   ═══════════════════════════════════════════ */

/* Allow alignfull blocks to break out to viewport width */
.wp-block-post-content > .alignfull,
.wp-block-post-content > .wp-block-group.alignfull,
.entry-content > .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

/* Ensure page hero groups fill viewport */
.amw-page-hero,
.wp-block-cover.alignfull {
	width: 100% !important;
	max-width: 100% !important;
}

/* Single post cover hero */
.wp-block-cover.alignfull {
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	width: 100vw !important;
}

/* Constrain post body content for readability */
.wp-block-post-content .wp-block-post-content {
	max-width: 100%;
}

/* Responsive: full-width page sections inside post-content */
@media (max-width: 768px) {
	.wp-block-cover.alignfull {
		min-height: 60vh !important;
	}
	.amw-page-hero {
		min-height: 60vh !important;
	}
}

/* Global dark background — consistent on all pages */
body {
  background-color: #080412;
}

/* Ensure wp-block-post-content doesn't clip custom HTML sections */
.wp-block-post-content {
  max-width: 100% !important;
  padding: 0 !important;
}

/* Full-bleed custom HTML blocks escape the post content constraint */
.wp-block-post-content > .wp-block-html,
.wp-block-post-content > figure.wp-block-html {
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}
