/*
Theme Name: Maelorn Theme
Theme URI: https://aiwoo.maelorn.com
Author: Maelorn
Author URI: https://aiwoo.maelorn.com
Description: A modern, clean WordPress child theme for the Maelorn plugin store landing page. Features a professional SaaS-style design with gradient accents, responsive layout, and WooCommerce compatibility.
Template: twentytwentyfive
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maelorn-theme
Tags: custom-background, custom-logo, featured-images, translation-ready, one-column, ecommerce

/* ============================================
   MAELORN THEME - Complete Stylesheet
   Modern SaaS-style landing page for plugin store
   No external dependencies, pure CSS
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary palette */
  --color-primary: #4f46e5;
  --color-primary-dark: #3730a3;
  --color-primary-light: #818cf8;
  --color-secondary: #7c3aed;
  --color-accent: #06b6d4;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4f46e5 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --gradient-cta: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
  --gradient-button: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);

  /* Neutrals */
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 30px rgba(79, 70, 229, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Container */
  --container-max: 1200px;
  --navbar-height: 72px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-800);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-gray-900);
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== NAVBAR ========== */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-navbar.scrolled {
  border-bottom-color: var(--color-gray-200);
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-gray-900);
  letter-spacing: -0.02em;
}

.navbar-brand:hover {
  color: var(--color-primary);
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-button);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.1rem;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar-nav a {
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--color-gray-600);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-button);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.navbar-nav a:hover {
  color: var(--color-primary);
}

.navbar-nav a:hover::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: inherit;
  font-size: 0.938rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-button);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
  color: var(--color-white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-gray-700);
  border: 1.5px solid var(--color-gray-300);
}

.btn-secondary:hover {
  background-color: var(--color-gray-50);
  border-color: var(--color-gray-400);
  color: var(--color-gray-900);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  color: var(--color-primary-dark);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.063rem;
  border-radius: var(--radius-xl);
}

.btn-xl {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: var(--radius-xl);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-gray-700);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO SECTION ========== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--navbar-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  background: var(--color-white);
}

.shape-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -150px;
  opacity: 0.06;
}

.shape-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  opacity: 0.04;
}

.shape-3 {
  width: 250px;
  height: 250px;
  top: 40%;
  left: 55%;
  opacity: 0.05;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: transparent;
}

.shape-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  line-height: 1.08;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #818cf8, #c4b5fd, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  margin-bottom: var(--space-2xl);
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.888rem;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero-meta-item svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Hero floating card decoration */
.hero-float-card {
  position: absolute;
  z-index: 3;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  padding: var(--space-lg);
  display: none;
}

@media (min-width: 1100px) {
  .hero-float-card { display: block; }
}

.float-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.float-card-dots {
  display: flex;
  gap: 6px;
}

.float-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.float-card-body {
  font-family: var(--font-mono);
  font-size: 0.813rem;
  color: var(--color-gray-700);
  line-height: 1.8;
}

.code-line {
  padding: 2px 0;
}

.code-keyword { color: var(--color-primary); }
.code-string { color: #059669; }
.code-comment { color: var(--color-gray-400); }

/* ========== PRODUCTS SECTION ========== */
.products-section {
  padding: var(--space-4xl) 0;
  background-color: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.section-label {
  display: inline-block;
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-md);
}

.section-description {
  font-size: 1.063rem;
  color: var(--color-gray-500);
  line-height: 1.65;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: var(--space-xl);
  max-width: 1040px;
  margin: 0 auto;
}

.product-card {
  position: relative;
  background: var(--gradient-card);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-light);
}

.product-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #ede9fe, #e0e7ff);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.75rem;
}

.product-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-sm);
}

.product-card-desc {
  font-size: 0.938rem;
  color: var(--color-gray-500);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.product-card-desc ul {
  list-style: none;
}

.product-card-desc li {
  padding: var(--space-xs) 0;
  padding-left: 1.25em;
  position: relative;
}

.product-card-desc li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-gray-100);
}

.product-price {
  display: flex;
  flex-direction: column;
}

.price-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-gray-900);
}

.price-period {
  font-size: 0.813rem;
  color: var(--color-gray-400);
}

/* ========== WHY CHOOSE US SECTION ========== */
.features-section {
  padding: var(--space-4xl) 0;
  background-color: var(--color-gray-50);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--space-xl);
  max-width: 1080px;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-gray-100);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, #eef2ff, #ede9fe);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.feature-title {
  font-size: 1.063rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-sm);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  line-height: 1.6;
}

/* ========== CTA SECTION ========== */
.cta-section {
  position: relative;
  padding: var(--space-4xl) 0;
  background: var(--gradient-cta);
  overflow: hidden;
}

.cta-bg-shape {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -200px;
  right: -150px;
}

.cta-bg-shape-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  bottom: -100px;
  left: -80px;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.025em;
  margin-bottom: var(--space-md);
}

.cta-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.063rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-base);
  text-decoration: none;
}

.cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  color: var(--color-primary-dark);
}

.cta-arrow {
  font-size: 1.2rem;
  transition: transform var(--transition-base);
}

.cta-btn:hover .cta-arrow {
  transform: translateX(4px);
}

/* ========== FOOTER ========== */
.site-footer {
  background-color: var(--color-gray-900);
  color: var(--color-gray-400);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: var(--space-xl);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .navbar-brand {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-gray-400);
}

.footer-links {
  display: flex;
  gap: var(--space-3xl);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--color-gray-400);
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--color-white);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-gray-400);
  font-size: 1rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.838rem;
  color: var(--color-gray-500);
}

.footer-bottom a {
  color: var(--color-gray-500);
}

.footer-bottom a:hover {
  color: var(--color-gray-300);
}

/* ========== RESPONSIVE ========== */

/* Tablet & below (<= 1024px) */
@media (max-width: 1024px) {
  .hero-float-card {
    display: none !important;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  }
}

/* Mobile nav (<= 768px) */
@media (max-width: 768px) {
  :root {
    --navbar-height: 64px;
  }

  .menu-toggle {
    display: flex;
  }

  .navbar-nav {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    padding: var(--space-xl);
    gap: var(--space-md);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    z-index: 999;
    align-items: flex-start;
  }

  .navbar-nav.open {
    transform: translateX(0);
  }

  .navbar-nav a {
    font-size: 1.125rem;
    padding: var(--space-sm) 0;
  }

  .navbar-actions .btn-primary {
    display: none;
  }

  .hero-section {
    padding-top: calc(var(--navbar-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
    min-height: auto;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-meta {
    flex-direction: column;
    gap: var(--space-md);
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Small mobile (<= 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.875rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .product-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .btn-lg {
    width: 100%;
  }
}

/* ========== SCROLL ANIMATIONS (minimal JS-triggered) ========== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger-children > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children > *:nth-child(2) { transition-delay: 80ms; }
.stagger-children > *:nth-child(3) { transition-delay: 160ms; }
.stagger-children > *:nth-child(4) { transition-delay: 240ms; }

/* ========== WOOCOMMERCE COMPATIBILITY OVERRIDES ========== */
/* Ensure our styles don't break WooCommerce pages */
.woocommerce-page .site-navbar,
.woocommerce-cart .site-navbar,
.woocommerce-checkout .site-navbar {
  position: relative;
}

.woocommerce-page .hero-section,
.woocommerce-cart .hero-section,
.woocommerce-checkout .hero-section {
  display: none;
}

/* Fix for potential conflicts with parent theme */
.maelorn-theme body {
  /* Reset any aggressive parent styles */
}
