/* ==========================================================================
   GifGun Craftwork Redesign - Light & Dark Theme Support
   ========================================================================== */

/* --- CSS VARIABLES - LIGHT THEME (Default) --- */
:root {
  /* Colors - Light Mode Palette */
  --bg-main: #FFFFFF;
  --bg-card: #F8F9FA;
  --bg-card-hover: #F0F1F3;
  --bg-elevated: #FFFFFF;
  --border-color: #E5E7EB;
  --border-subtle: #F3F4F6;
  
  --text-main: #111111;
  --text-secondary: #374151;
  --text-muted: #6B7280;
  --text-dim: #9CA3AF;
  
  /* Accent - Vibrant Lime */
  --accent-lime: #84CC16;
  --accent-lime-hover: #65A30D;
  --accent-lime-dim: rgba(132, 204, 22, 0.12);
  
  /* Semantic Colors */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;
  
  /* Spacing */
  --container-width: 1200px;
  --container-padding: 20px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* Shadows - Light */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(132, 204, 22, 0.25);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
}

/* --- DARK THEME --- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-main: #111111;
    --bg-card: #1C1C1C;
    --bg-card-hover: #252525;
    --bg-elevated: #1a1a1a;
    --border-color: #2A2A2A;
    --border-subtle: #222222;
    --text-main: #FFFFFF;
    --text-secondary: #E5E5E5;
    --text-muted: #9CA3AF;
    --text-dim: #6B7280;
    --accent-lime: #D4FF00;
    --accent-lime-hover: #bce600;
    --accent-lime-dim: rgba(212, 255, 0, 0.15);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(212, 255, 0, 0.2);
  }
}

/* --- RESET & BASE --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px;
}

body.redesign {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Inter', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

::selection {
  background: var(--accent-lime);
  color: #000;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-base);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-sm);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 2rem + 3vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
}

h3 {
  font-size: clamp(1.25rem, 1rem + 0.5vw, 1.5rem);
}

p {
  max-width: 65ch;
}

/* --- UTILITIES --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-muted {
  color: var(--text-muted);
}

.text-accent {
  color: var(--accent-lime);
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-base);
}

.section-link:hover {
  color: var(--accent-lime);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  font-family: inherit;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--accent-lime);
  color: #000;
  box-shadow: 0 2px 8px rgba(212, 255, 0, 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-lime-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 255, 0, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  border-color: #444;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid #444;
}

.btn-outline:hover {
  border-color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.05);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-muted);
  padding: 8px 16px;
}

.btn-ghost:hover {
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.05);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
}

/* --- HEADER --- */
.header-redesign {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-main);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo-redesign {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-main);
}

.logo-redesign:hover {
  color: var(--accent-lime);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  width: 20px;
  height: 20px;
  border-radius: 0;
}

.nav-links-redesign {
  display: flex;
  gap: 32px;
}

.nav-links-redesign a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-base);
}

.nav-links-redesign a:hover {
  color: var(--text-main);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-cta {
  padding: 8px 16px;
  font-size: 0.875rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: all var(--transition-base);
}

.header-cta:hover {
  border-color: var(--accent-lime);
  color: var(--accent-lime);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: all var(--transition-base);
}

/* --- HERO SECTION --- */
.hero {
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--accent-lime-dim);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--accent-lime);
  margin-bottom: 20px;
}

/* Pricing Card */
.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: var(--radius-lg);
  transition: all var(--transition-slow);
}

.pricing-card:hover {
  border-color: #444;
  box-shadow: var(--shadow-lg);
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.pricing-card > p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.price-box {
  background-color: var(--bg-card-hover);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.price-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.price-icon svg {
  stroke: var(--text-main);
}

.price-details {
  flex: 1;
}

.price-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-large {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.info-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  cursor: help;
  color: var(--text-muted);
  opacity: 0.6;
  transition: opacity 0.2s;
}

.info-tooltip:hover {
  opacity: 1;
}

.info-tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 100;
}

.info-tooltip-text::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--border-color);
}

.info-tooltip:hover .info-tooltip-text {
  visibility: visible;
  opacity: 1;
}

.pricing-features {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-feature svg {
  color: var(--accent-lime);
  flex-shrink: 0;
}

.pricing-card .btn-primary {
  width: 100%;
  padding: 16px 28px;
}

/* --- FEATURES GRID --- */
.features-section {
  padding: 60px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all var(--transition-base);
  cursor: default;
}

.feature-card:hover {
  background-color: var(--bg-card-hover);
  transform: translateY(-2px);
  border-color: #3a3a3a;
}

.icon-box {
  width: 52px;
  height: 52px;
  background-color: rgba(212, 255, 0, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-lime);
  flex-shrink: 0;
}

.feature-info {
  flex: 1;
}

.feature-info h4 {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 1rem;
}

.feature-info span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- SHOWCASE SECTION --- */
.showcase-section {
  padding: 60px 0 100px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.product-card {
  background-color: transparent;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition-base);
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-image {
  aspect-ratio: 16/10;
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
}

.product-image img,
.product-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.product-image .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Subtle elegant gradients from uiGradients */
.placeholder.gradient-1 {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); /* Moonlit Asteroid */
}

.placeholder.gradient-2 {
  background: linear-gradient(135deg, #4b6cb7, #182848); /* Royal */
}

.placeholder.gradient-3 {
  background: linear-gradient(135deg, #654ea3, #eaafc8); /* Cosmic Fusion */
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.product-author {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-badge {
  font-weight: 700;
  color: var(--accent-lime);
  font-size: 0.9rem;
}

/* --- TESTIMONIALS --- */
.testimonials-section {
  padding: 60px 0;
  background: linear-gradient(180deg, transparent, rgba(212, 255, 0, 0.02));
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 28px;
  border-radius: var(--radius-lg);
}

.testimonial-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--accent-lime);
  font-size: 1.1rem;
}

.testimonial-info h5 {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- FAQ SECTION --- */
.faq-section {
  padding: 60px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background-color var(--transition-base);
}

.faq-question:hover {
  background-color: var(--bg-card-hover);
}

.faq-question svg {
  transition: transform var(--transition-base);
  color: var(--text-muted);
}

.faq-item[open] .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--accent-lime);
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* --- DOWNLOADS SECTION --- */
.downloads-section {
  padding: 60px 0;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.download-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-base);
}

.download-card:hover {
  border-color: var(--accent-lime);
  box-shadow: var(--shadow-glow);
}

.download-icon {
  margin-bottom: 20px;
  color: var(--text-main);
}

.download-card h3 {
  margin-bottom: 8px;
}

.download-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.download-card .btn-primary {
  width: 100%;
  margin-bottom: 12px;
}

.system-note {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --- FOOTER --- */
.footer-redesign {
  border-top: 1px solid var(--border-color);
  padding: 48px 0 32px;
  margin-top: 80px;
  background-color: var(--bg-main);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-brand a {
  color: var(--text-main);
  font-weight: 600;
}

.footer-brand a:hover {
  color: var(--accent-lime);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background-color: var(--bg-card);
  color: var(--text-muted);
  transition: all var(--transition-base);
}

.footer-socials a:hover {
  background-color: var(--bg-card-hover);
  color: var(--text-main);
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0 auto;
}

/* --- LICENSE INFO SECTION --- */
.license-section {
  padding: 60px 0;
}

.license-card-redesign {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.license-card-redesign h3 {
  margin-bottom: 16px;
  color: var(--accent-lime);
}

.license-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.license-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.license-list li svg {
  color: var(--accent-lime);
  flex-shrink: 0;
}

.license-note {
  background-color: var(--bg-card-hover);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-top: 20px;
}

.license-note h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.license-note p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.license-note a {
  color: var(--accent-lime);
}

/* --- CTA SECTION --- */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(212, 255, 0, 0.03));
  margin-bottom: -80px;
}

.cta-section + .footer-redesign {
  margin-top: 0;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- VIDEO SECTION --- */
.video-section {
  padding: 40px 0;
}

.video-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.video-wrapper video {
  width: 100%;
  display: block;
  border-radius: 0;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .pricing-card {
    max-width: 450px;
  }
  
  .license-card-redesign {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 20px;
  }
  
  .hero {
    padding: 40px 0;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .pricing-card {
    padding: 28px;
    max-width: 100%;
  }
  
  .header-left {
    gap: 0;
  }
  
  .nav-links-redesign {
    display: none;
  }
  
  .header-right {
    gap: 8px;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .feature-card {
    padding: 16px;
    text-align: center;
  }
  
  .feature-card .feature-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .feature-card .icon-box {
    margin: 0 auto 12px;
  }
  
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .downloads-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .download-card {
    padding: 24px 16px;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
  }
  
  .section-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 16px;
  }
  
  .hero-content h1 {
    font-size: 1.875rem;
  }
  
  .price-box {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .price-row {
    justify-content: center;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .feature-card {
    flex-direction: column;
    text-align: center;
  }
  
  .icon-box {
    margin: 0 auto;
  }
  
  .video-wrapper {
    margin: 0 -8px;
    border-radius: var(--radius-md);
  }
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Staggered animations for grids */
.features-grid .feature-card,
.showcase-grid .product-card,
.testimonials-grid .testimonial-card {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.features-grid .feature-card:nth-child(1) { animation-delay: 0.1s; }
.features-grid .feature-card:nth-child(2) { animation-delay: 0.15s; }
.features-grid .feature-card:nth-child(3) { animation-delay: 0.2s; }
.features-grid .feature-card:nth-child(4) { animation-delay: 0.25s; }
.features-grid .feature-card:nth-child(5) { animation-delay: 0.3s; }
.features-grid .feature-card:nth-child(6) { animation-delay: 0.35s; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Print styles */
@media print {
  .header-redesign,
  .footer-redesign,
  .btn,
  video {
    display: none !important;
  }
  
  body.redesign {
    background: white;
    color: black;
  }
}
