/**
 * MigraWP Theme - Main Styles
 * Inspired by Apple/Jony Ive minimal design
 *
 * @package MigraWP
 * @since 1.0
 */

/* ==========================================================================
   CSS Variables - Theme System
   ========================================================================== */
:root {
  /* Primary Colors */
  --color-primary: #14C996;
  --color-primary-dark: #0fa07a;
  --color-primary-light: #5eddb8;

  /* Secondary Colors */
  --color-secondary: #054760;
  --color-secondary-dark: #043649;
  --color-secondary-light: #0a5f7f;

  /* Neutral Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --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: "Ubuntu", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

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

  /* 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 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-weight: 300;
  color: var(--color-gray-800);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 300;
  letter-spacing: -0.025em;
}

.font-ubuntu {
  font-family: var(--font-family);
}

/* ==========================================================================
   Primary Color Utilities
   ========================================================================== */
.text-primary {
  color: var(--color-primary);
}

.bg-primary {
  background-color: var(--color-primary);
}

.border-primary {
  border-color: var(--color-primary);
}

.hover\:bg-primary-dark:hover {
  background-color: var(--color-primary-dark);
}

.shadow-primary {
  box-shadow: 0 10px 40px -10px rgba(20, 201, 150, 0.3);
}

/* ==========================================================================
   Secondary Color Utilities
   ========================================================================== */
.text-secondary {
  color: var(--color-secondary);
}

.bg-secondary {
  background-color: var(--color-secondary);
}

.border-secondary {
  border-color: var(--color-secondary);
}

.hover\:bg-secondary-dark:hover {
  background-color: var(--color-secondary-dark);
}

.shadow-secondary {
  box-shadow: 0 10px 40px -10px rgba(5, 71, 96, 0.3);
}

/* ==========================================================================
   Navigation Enhancements
   ========================================================================== */
#main-nav {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#main-nav.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

/* Header Buttons */
.header-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}

.header-btn-primary:hover {
  background-color: var(--color-primary-dark);
}

.header-btn-outline {
  background-color: transparent;
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}

.header-btn-outline:hover {
  background-color: var(--color-secondary);
  color: #fff;
}

/* Header User (Logged In) */
.header-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-user-profile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.header-user-profile:hover {
  opacity: 0.8;
}

.header-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.header-user-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
}

.header-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--color-gray-400);
  transition: all 0.2s ease;
}

.header-logout:hover {
  background-color: var(--color-gray-100);
  color: var(--color-gray-600);
}

.header-logout-icon {
  width: 20px;
  height: 20px;
}

/* Hide user name on mobile */
@media (max-width: 640px) {
  .header-user-name {
    display: none;
  }
}

/* Custom Logo Styling */
.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo {
  max-height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* Logo wrapper for additional control */
.custom-logo-wrapper {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.custom-logo-wrapper img {
  max-height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* Menu Styling */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline-block;
  margin: 0;
}

nav ul li a {
  text-decoration: none;
  transition: color 0.2s ease;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */
a {
  text-decoration: none;
  transition: all 0.2s ease;
}

button, .button, a.button {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button:focus, .button:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ==========================================================================
   Button Components - Flat Design (No Gradients)
   ========================================================================== */

/* Primary Button */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.3px;
  transition: var(--transition-base);
  display: inline-block;
  box-shadow: 0 4px 14px 0 rgba(20, 201, 150, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 4px 14px 0 rgba(20, 201, 150, 0.35);
}

.btn-primary:active {
  background-color: var(--color-primary-dark);
  box-shadow: 0 2px 8px 0 rgba(20, 201, 150, 0.2);
}

/* Secondary Button */
.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.3px;
  transition: var(--transition-base);
  display: inline-block;
  box-shadow: 0 4px 14px 0 rgba(5, 71, 96, 0.25);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-dark);
  box-shadow: 0 4px 14px 0 rgba(5, 71, 96, 0.35);
}

.btn-secondary:active {
  background-color: var(--color-secondary-dark);
  box-shadow: 0 2px 8px 0 rgba(5, 71, 96, 0.2);
}

/* Button Sizes */
.btn-sm {
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
}

.btn-lg {
  font-size: 1rem;
  padding: 1rem 3rem;
}

.btn-full {
  width: 100%;
  display: block;
}

/* Outline Button */
.btn-outline-primary {
  background-color: transparent;
  color: var(--color-gray-900);
  border: none;
  font-size: 1rem;
  font-weight: 300;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-align: center;
  transition: var(--transition-base);
  display: inline-block;
}

.btn-outline-primary:hover {
  color: var(--color-gray-600);
}

/* ==========================================================================
   Smooth Animations
   ========================================================================== */
.transition-smooth {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fade in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Container
   ========================================================================== */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

/* ==========================================================================
   Custom Scrollbar (WebKit)
   ========================================================================== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

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

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
  #main-nav,
  footer {
    display: none;
  }

  body {
    font-size: 12pt;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }
}

/* ==========================================================================
   WordPress Core Classes
   ========================================================================== */
.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.5rem;
  text-align: center;
}

.sticky {
  /* Styling for sticky posts */
}

.bypostauthor {
  /* Styling for post author */
}

/* ==========================================================================
   Footer Styles - Apple/Jony Ive Style
   ========================================================================== */
.site-footer {
  background-color: var(--color-gray-900);
  color: var(--color-gray-400);
  padding: 3rem 0 1.5rem;
  font-size: 0.75rem;
  line-height: 1.33337;
}

/* Footer Logo */
.footer-logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  max-height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* Footer Links Grid */
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-gray-800);
}

@media (min-width: 768px) {
  .footer-links {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
}

/* Footer Group */
.footer-group {
  min-width: 0;
}

.footer-group-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 0.6rem 0;
  letter-spacing: -0.01em;
}

.footer-group-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-group-links li {
  margin-bottom: 0.4rem;
}

.footer-group-links li:last-child {
  margin-bottom: 0;
}

.footer-group-links a {
  color: var(--color-gray-500);
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Divider */
.footer-divider {
  display: none;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding-top: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--color-gray-500);
  margin: 0;
}

/* Legal Links in Bottom */
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-legal-links a {
  color: var(--color-gray-500);
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-separator {
  color: var(--color-gray-600);
  font-size: 0.75rem;
}

/* Footer Social Links */
.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-500);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  color: var(--color-white);
  transform: scale(1.1);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Hero Video Player - 16:9 Aspect Ratio
   ========================================================================== */
.hero-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
}

.hero-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #111827;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-video-container:hover {
  transform: scale(1.01);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
}

/* Thumbnail Layer */
.hero-video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.hero-video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-thumbnail-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

/* Play Button Overlay */
.hero-video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

.hero-video-thumbnail:hover .hero-video-play-overlay {
  background-color: rgba(0, 0, 0, 0.2);
}

.hero-video-play-button {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-video-thumbnail:hover .hero-video-play-button {
  transform: scale(1.1);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
}

.hero-video-play-button svg {
  width: 32px;
  height: 32px;
  color: #111827;
  margin-left: 4px; /* Optical centering for play icon */
}

@media (min-width: 768px) {
  .hero-video-play-button {
    width: 96px;
    height: 96px;
  }

  .hero-video-play-button svg {
    width: 40px;
    height: 40px;
  }
}

/* Video iframe */
.hero-video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 1rem;
}

.hero-video-iframe.hidden {
  display: none;
}

/* Placeholder when no video */
.hero-video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f9fafb;
}

.hero-video-placeholder-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0.1;
}

.hero-video-placeholder-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-video-placeholder-logo {
  width: 96px;
  height: 96px;
  opacity: 0.8;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hero-video-placeholder-text {
  margin-top: 1rem;
  color: #9ca3af;
  font-weight: 500;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* Glow Effect Behind Video */
.hero-video-glow {
  position: absolute;
  top: -1rem;
  left: -1rem;
  right: -1rem;
  bottom: -1rem;
  background: linear-gradient(180deg, rgba(20, 201, 150, 0.2) 0%, transparent 50%, transparent 100%);
  filter: blur(48px);
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}

/* ==========================================================================
   Hero CTA Section
   ========================================================================== */
.hero-cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Botão principal de compra */
.hero-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 1.25rem 2.5rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 10px 40px -10px rgba(20, 201, 150, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta-button:hover {
  background: var(--color-primary-dark);
  transform: scale(1.02);
  box-shadow: 0 15px 50px -10px rgba(20, 201, 150, 0.6);
}

.hero-cta-button-text {
  font-weight: 500;
}

.hero-cta-button-price {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-cta-price-old {
  text-decoration: line-through;
  opacity: 0.6;
  font-size: 0.875rem;
  font-weight: 400;
}

.hero-cta-price-current {
  font-weight: 700;
}

/* Nota abaixo do botão */
.hero-cta-note {
  color: var(--color-gray-500);
  font-size: 0.875rem;
  margin: 0;
}

/* ==========================================================================
   Features Section - Steve Jobs Philosophy
   ========================================================================== */
.features-section {
  background: var(--color-primary);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

/* Subtle pattern overlay */
.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(5, 71, 96, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(5, 71, 96, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.features-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.features-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.15;
}

.features-title-emphasis {
  font-weight: 400;
  color: rgba(5, 71, 96, 0.7);
}

/* Main Features - The Big Three */
.features-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .features-main {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

/* Main Feature Card */
.feature-main-card {
  background: rgba(5, 71, 96, 0.08);
  border: 1px solid rgba(5, 71, 96, 0.12);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.feature-main-card:hover {
  background: rgba(5, 71, 96, 0.12);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(5, 71, 96, 0.15);
}

.feature-main-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(5, 71, 96, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.05em;
}

.feature-main-content {
  position: relative;
}

.feature-main-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.02em;
}

.feature-main-description {
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(5, 71, 96, 0.75);
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

.feature-main-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.feature-main-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-secondary);
}

.feature-main-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: rgba(5, 71, 96, 0.6);
}

.feature-main-list li span {
  font-weight: 500;
}

/* Features More - Apple Style Statement */
.features-more {
  text-align: center;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(5, 71, 96, 0.1);
  position: relative;
  z-index: 1;
}

.features-more-text {
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(5, 71, 96, 0.5);
  margin: 0;
  letter-spacing: -0.01em;
}

.features-more-text span {
  color: var(--color-secondary);
  font-weight: 600;
}

/* Legacy support - keep old classes working */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.feature-card {
  background: rgba(5, 71, 96, 0.08);
  border: 1px solid rgba(5, 71, 96, 0.12);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(5, 71, 96, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(5, 71, 96, 0.15);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(5, 71, 96, 0.1);
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.01em;
}

.feature-description {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(5, 71, 96, 0.75);
  margin: 0;
  line-height: 1.6;
}

/* Quote Section */
.features-quote {
  text-align: center;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(5, 71, 96, 0.1);
  position: relative;
  z-index: 1;
}

.features-quote p {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-secondary);
  margin: 0 0 0.75rem 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.features-quote span {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(5, 71, 96, 0.6);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Pricing Section - Jony Ive Style
   ========================================================================== */
.pricing-section {
  background: var(--color-secondary);
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

/* Elegant gradient overlay */
.pricing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(20, 201, 150, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 100%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.pricing-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Header */
.pricing-header {
  margin-bottom: 3rem;
}

.pricing-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.pricing-title-light {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
}

/* Price Display */
.pricing-display {
  margin-bottom: 3rem;
}

.pricing-original {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.pricing-original-label {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}

.pricing-original-value {
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
}

.pricing-current {
  margin-bottom: 1rem;
}

.pricing-current-value {
  font-size: clamp(4rem, 10vw, 6rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-note {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  letter-spacing: 0.02em;
}

/* Pricing Highlights - Apple/Jony Ive Style */
.pricing-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.pricing-highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(20, 201, 150, 0.12);
  border-radius: 14px;
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 300;
  flex-shrink: 0;
}

.pricing-highlight-icon svg {
  width: 22px;
  height: 22px;
}

.pricing-highlight-text {
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
}

.pricing-highlight-text strong {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.pricing-highlight-text span {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}

/* CTA Button */
.pricing-cta {
  margin-bottom: 2rem;
}

.pricing-button {
  display: inline-block;
  background: #fff;
  color: var(--color-secondary);
  font-size: 1.125rem;
  font-weight: 600;
  padding: 1.25rem 3.5rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-button:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.4);
}

.pricing-button:active {
  transform: scale(0.98);
}

/* Trust Elements */
.pricing-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pricing-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}

.pricing-trust-item svg {
  opacity: 0.7;
}

.pricing-trust-divider {
  color: rgba(255, 255, 255, 0.3);
}

/* Quote at Bottom */
.pricing-quote {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.pricing-quote p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto 0.75rem;
  max-width: 500px;
  line-height: 1.5;
}

.pricing-quote span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Compatibility Section - Compact Jony Ive Style
   ========================================================================== */
.compat-section {
  background: #fff;
  padding: 3rem 0;
  border-top: 1px solid var(--color-gray-100);
  border-bottom: 1px solid var(--color-gray-100);
}

.compat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .compat-content {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
  }
}

.compat-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gray-900);
  margin: 0;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.compat-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .compat-grid {
    gap: 2rem;
  }
}

.compat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compat-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.compat-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-600);
  white-space: nowrap;
}

/* ==========================================================================
   Guarantee Section - Steve Jobs Style
   ========================================================================== */
.guarantee-section {
  background: var(--color-gray-50);
  padding: 5rem 0;
  border-top: 1px solid var(--color-gray-100);
}

.guarantee-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.guarantee-statement {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--color-gray-500);
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.guarantee-highlight {
  display: block;
  font-weight: 700;
  color: var(--color-gray-900);
}

.guarantee-terms {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-gray-400);
  margin: 0;
  letter-spacing: 0.01em;
}

.guarantee-terms a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.guarantee-terms a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   WooCommerce Auth Pages - Jony Ive Style
   ========================================================================== */

/* Full-width auth page wrapper */
.migrawp-auth-page {
  margin: 0;
  padding: 0;
}

.migrawp-auth-page .woocommerce {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Body class for WooCommerce login page */
.wc-account-login .site-footer {
  margin-top: 0;
}

.wc-account-login .migrawp-auth-page {
  min-height: calc(100vh - 64px);
}

.migrawp-auth {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(180deg, #f5f5f7 0%, #fff 100%);
  width: 100%;
}

.migrawp-auth-container {
  width: 100%;
  max-width: 400px;
}

/* Logo */
.migrawp-auth-logo {
  text-align: center;
  margin-bottom: 2.5rem;
}

.migrawp-auth-logo img {
  max-height: 40px;
  width: auto;
}

/* Tabs */
.migrawp-auth-tabs {
  display: flex;
  background: var(--color-gray-100);
  border-radius: 9999px;
  padding: 4px;
  margin-bottom: 2rem;
}

.migrawp-auth-tab {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-600);
  background: transparent;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.migrawp-auth-tab:hover {
  color: var(--color-gray-900);
}

.migrawp-auth-tab.active {
  background: #fff;
  color: var(--color-gray-900);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Auth Title */
.migrawp-auth-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gray-900);
  text-align: center;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

.migrawp-auth-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-gray-500);
  text-align: center;
  margin: 0 0 2rem 0;
}

/* Auth Panels */
.migrawp-auth-panel {
  display: none;
}

.migrawp-auth-panel.active {
  display: block;
}

/* Form Groups */
.migrawp-form-group {
  margin-bottom: 1.25rem;
}

.migrawp-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
  margin-bottom: 0.5rem;
}

.migrawp-form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-gray-900);
  background: #fff;
  border: 1px solid var(--color-gray-200);
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  outline: none;
}

.migrawp-form-input::placeholder {
  color: var(--color-gray-400);
}

.migrawp-form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(20, 201, 150, 0.1);
}

/* Form Row Flex */
.migrawp-form-row-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

/* Custom Checkbox */
.migrawp-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-gray-600);
}

.migrawp-checkbox input {
  display: none;
}

.migrawp-checkbox-mark {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--color-gray-300);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.migrawp-checkbox input:checked + .migrawp-checkbox-mark {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.migrawp-checkbox input:checked + .migrawp-checkbox-mark::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.migrawp-checkbox-label {
  user-select: none;
}

/* Link */
.migrawp-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.migrawp-link:hover {
  color: var(--color-primary-dark);
}

/* Submit Button */
.migrawp-btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.migrawp-btn-submit:hover {
  background: var(--color-primary-dark);
}

.migrawp-btn-submit:active {
  transform: scale(0.98);
}

/* Form Note */
.migrawp-form-note {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin: 0 0 1.5rem 0;
  padding: 1rem;
  background: var(--color-gray-50);
  border-radius: 0.75rem;
}

/* Auth Footer */
.migrawp-auth-footer {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin-top: 2rem;
}

.migrawp-auth-footer a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
}

.migrawp-auth-footer a:hover {
  color: var(--color-primary-dark);
}

/* Hide WooCommerce default notices in auth */
.migrawp-auth .woocommerce-notices-wrapper {
  margin-bottom: 1.5rem;
}

.migrawp-auth .woocommerce-message,
.migrawp-auth .woocommerce-error,
.migrawp-auth .woocommerce-info {
  padding: 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  margin: 0 0 1rem 0;
  list-style: none;
}

.migrawp-auth .woocommerce-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.migrawp-auth .woocommerce-message {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.migrawp-auth .woocommerce-info {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

/* Minimal Footer for Auth Pages */
.migrawp-auth-footer-minimal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  text-align: center;
  background: transparent;
}

.migrawp-auth-footer-minimal p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--color-gray-400);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   WooCommerce Dashboard - Minimal Jony Ive Style
   ========================================================================== */

/* Dashboard Page Container */
.migrawp-dashboard-page {
  background: linear-gradient(180deg, #f5f5f7 0%, #fff 100%);
  min-height: calc(100vh - 64px);
}

/* Minimal Account Wrapper */
.migrawp-account-minimal {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Minimal Dashboard */
.migrawp-dashboard-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}

/* Downloads Section */
.migrawp-downloads-section {
  width: 100%;
}

.migrawp-download-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 1rem;
}

.migrawp-download-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 201, 150, 0.1);
  color: var(--color-primary);
  border-radius: 1rem;
  flex-shrink: 0;
}

.migrawp-download-info {
  flex: 1;
  min-width: 0;
}

.migrawp-download-info h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-gray-900);
}

.migrawp-download-info p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.migrawp-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.migrawp-download-btn:hover {
  background: var(--color-primary-dark);
  transform: scale(1.02);
}

/* No Downloads State */
.migrawp-no-downloads {
  text-align: center;
  padding: 4rem 2rem;
}

.migrawp-no-downloads-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gray-100);
  color: var(--color-gray-400);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.migrawp-no-downloads h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-gray-900);
}

.migrawp-no-downloads p {
  margin: 0 0 2rem 0;
  font-size: 1rem;
  color: var(--color-gray-500);
}

.migrawp-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.migrawp-buy-btn:hover {
  background: var(--color-primary-dark);
  transform: scale(1.02);
}

/* WooCommerce Content Styling */
.migrawp-account-minimal .woocommerce-message,
.migrawp-account-minimal .woocommerce-error,
.migrawp-account-minimal .woocommerce-info {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  margin: 0 0 1.5rem 0;
  list-style: none;
}

.migrawp-account-minimal .woocommerce-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.migrawp-account-minimal .woocommerce-message {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.migrawp-account-minimal .woocommerce-info {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

/* Mobile Responsive for Dashboard */
@media (max-width: 640px) {
  .migrawp-download-card {
    flex-direction: column;
    text-align: center;
  }

  .migrawp-download-info {
    text-align: center;
  }
}

/* ==========================================================================
   WooCommerce Checkout - Minimal Jony Ive Style
   ========================================================================== */

/* Checkout Page Container */
.migrawp-checkout-page {
  background: linear-gradient(180deg, #f5f5f7 0%, #fff 100%);
  min-height: calc(100vh - 64px);
}

.migrawp-checkout-page .woocommerce {
  max-width: none;
  margin: 0;
  padding: 0;
}

.migrawp-checkout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.migrawp-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

/* Checkout Fields Column */
.migrawp-checkout-fields {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.migrawp-checkout-section {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.migrawp-checkout-section-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-gray-900);
}

.migrawp-checkout-section-desc {
  margin: 0 0 1.5rem 0;
  font-size: 0.9375rem;
  color: var(--color-gray-500);
}

/* Checkout User Info (when logged in) */
.migrawp-checkout-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-gray-50);
  border-radius: 0.75rem;
}

.migrawp-checkout-user img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.migrawp-checkout-user-info {
  display: flex;
  flex-direction: column;
}

.migrawp-checkout-user-name {
  font-weight: 500;
  color: var(--color-gray-900);
}

.migrawp-checkout-user-email {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

/* Checkout Form Inputs */
.migrawp-checkout .migrawp-form-group {
  margin-bottom: 1.25rem;
}

.migrawp-checkout .migrawp-form-group:last-child {
  margin-bottom: 0;
}

.migrawp-checkout .migrawp-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
  margin-bottom: 0.5rem;
}

.migrawp-checkout .migrawp-form-label .required {
  color: #dc2626;
}

.migrawp-checkout .migrawp-form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-gray-900);
  background: var(--color-gray-50);
  border: 2px solid transparent;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.migrawp-checkout .migrawp-form-input:focus {
  outline: none;
  background: #fff;
  border-color: var(--color-primary);
}

.migrawp-checkout .migrawp-form-input::placeholder {
  color: var(--color-gray-400);
}

.migrawp-checkout .migrawp-form-hint {
  margin: 0.5rem 0 0 0;
  font-size: 0.8125rem;
  color: var(--color-gray-400);
}

/* Payment Methods */
.migrawp-checkout .wc_payment_methods {
  list-style: none;
  margin: 0;
  padding: 0;
}

.migrawp-checkout .wc_payment_method {
  margin-bottom: 0.75rem;
  border: 2px solid var(--color-gray-200);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.migrawp-checkout .wc_payment_method:last-child {
  margin-bottom: 0;
}

.migrawp-checkout .wc_payment_method.payment_method_selected,
.migrawp-checkout .wc_payment_method:has(input:checked) {
  border-color: var(--color-primary);
  background: rgba(20, 201, 150, 0.04);
}

.migrawp-checkout .wc_payment_method label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--color-gray-700);
}

.migrawp-checkout .wc_payment_method input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
}

.migrawp-checkout .wc_payment_method img {
  max-height: 24px;
  width: auto;
}

.migrawp-checkout .payment_box {
  padding: 1rem;
  background: var(--color-gray-50);
  font-size: 0.875rem;
  color: var(--color-gray-600);
}

/* Checkout Button */
.migrawp-btn-checkout {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1.5rem;
}

.migrawp-btn-checkout:hover {
  background: var(--color-primary-dark);
  transform: scale(1.01);
}

.migrawp-btn-checkout:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Order Summary Sidebar */
.migrawp-checkout-summary {
  position: sticky;
  top: 80px;
}

.migrawp-checkout-summary-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.migrawp-checkout-summary-title {
  margin: 0 0 1.25rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-gray-900);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-gray-100);
}

/* Order Review Table */
.migrawp-checkout .woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
}

.migrawp-checkout .woocommerce-checkout-review-order-table th,
.migrawp-checkout .woocommerce-checkout-review-order-table td {
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  border: none;
}

.migrawp-checkout .woocommerce-checkout-review-order-table thead th {
  font-weight: 500;
  color: var(--color-gray-500);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.migrawp-checkout .woocommerce-checkout-review-order-table .cart_item td {
  border-bottom: 1px solid var(--color-gray-100);
}

.migrawp-checkout .woocommerce-checkout-review-order-table .product-name {
  color: var(--color-gray-900);
  font-weight: 500;
}

.migrawp-checkout .woocommerce-checkout-review-order-table .product-total {
  text-align: right;
  color: var(--color-gray-700);
}

.migrawp-checkout .woocommerce-checkout-review-order-table tfoot th {
  font-weight: 500;
  color: var(--color-gray-600);
}

.migrawp-checkout .woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
}

.migrawp-checkout .woocommerce-checkout-review-order-table .order-total th,
.migrawp-checkout .woocommerce-checkout-review-order-table .order-total td {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gray-900);
  padding-top: 1rem;
  border-top: 1px solid var(--color-gray-200);
}

/* Terms */
.migrawp-checkout .woocommerce-terms-and-conditions-wrapper {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

.migrawp-checkout .woocommerce-terms-and-conditions-wrapper a {
  color: var(--color-primary);
}

/* Messages */
.migrawp-checkout-message {
  text-align: center;
  padding: 3rem 2rem;
}

.migrawp-checkout-message p {
  margin: 0 0 1.5rem 0;
  font-size: 1rem;
  color: var(--color-gray-600);
}

.migrawp-checkout .woocommerce-error,
.migrawp-checkout .woocommerce-message,
.migrawp-checkout .woocommerce-info {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  margin: 0 0 1.5rem 0;
  list-style: none;
}

.migrawp-checkout .woocommerce-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.migrawp-checkout .woocommerce-message {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

/* Hide unnecessary elements */
.migrawp-checkout #customer_details,
.migrawp-checkout .woocommerce-billing-fields,
.migrawp-checkout .woocommerce-shipping-fields,
.migrawp-checkout #order_review_heading,
.migrawp-checkout .woocommerce-additional-fields,
.migrawp-checkout .woocommerce-form-login-toggle,
.migrawp-checkout .woocommerce-form-coupon-toggle,
.migrawp-checkout .woocommerce-info,
.woocommerce-checkout > .woocommerce-notices-wrapper,
.woocommerce-checkout > .woocommerce-form-login,
.woocommerce-checkout > .woocommerce-form-coupon,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout > h1,
.woocommerce-checkout > h2,
.page-title,
.entry-title {
  display: none !important;
}

/* Remove page title on checkout */
.woocommerce-checkout .entry-header {
  display: none !important;
}

/* Payment Methods - Custom Style */
.migrawp-payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.migrawp-payment-method {
  border: 2px solid var(--color-gray-200);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.migrawp-payment-method.selected {
  border-color: var(--color-primary);
  background: rgba(20, 201, 150, 0.04);
}

.migrawp-payment-method > label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  cursor: pointer;
  margin: 0;
}

.migrawp-payment-method input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
  margin: 0;
}

.migrawp-payment-method-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--color-gray-700);
}

.migrawp-payment-method-label img {
  max-height: 24px;
  width: auto;
}

.migrawp-payment-method-content {
  padding: 1rem;
  background: var(--color-gray-50);
  border-top: 1px solid var(--color-gray-100);
}

.migrawp-payment-method-content p {
  margin: 0 0 1rem 0;
  font-size: 0.875rem;
  color: var(--color-gray-600);
}

.migrawp-payment-method-content p:last-child {
  margin-bottom: 0;
}

/* Payment method fields */
.migrawp-payment-method-content input,
.migrawp-payment-method-content select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--color-gray-900);
  background: #fff;
  border: 1px solid var(--color-gray-200);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

.migrawp-payment-method-content input:focus,
.migrawp-payment-method-content select:focus {
  outline: none;
  border-color: var(--color-primary);
}

.migrawp-payment-method-content label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-gray-600);
  margin-bottom: 0.375rem;
}

/* Order Table */
.migrawp-order-table {
  width: 100%;
  border-collapse: collapse;
}

.migrawp-order-table th,
.migrawp-order-table td {
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  text-align: left;
  border: none;
}

.migrawp-order-table thead th {
  font-weight: 500;
  color: var(--color-gray-500);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--color-gray-100);
}

.migrawp-order-table tbody td {
  border-bottom: 1px solid var(--color-gray-100);
}

.migrawp-order-table .product-name {
  color: var(--color-gray-900);
  font-weight: 500;
}

.migrawp-order-table .product-quantity {
  color: var(--color-gray-500);
  font-weight: 400;
}

.migrawp-order-table .product-total {
  text-align: right;
  color: var(--color-gray-700);
}

.migrawp-order-table tfoot th {
  font-weight: 500;
  color: var(--color-gray-600);
}

.migrawp-order-table tfoot td {
  text-align: right;
  color: var(--color-gray-700);
}

.migrawp-order-table .order-total th,
.migrawp-order-table .order-total td {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gray-900);
  padding-top: 1rem;
  border-top: 2px solid var(--color-gray-200);
}

/* Coupon Section */
.migrawp-coupon-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-gray-100);
}

.migrawp-coupon-btn {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.migrawp-coupon-btn:hover {
  color: var(--color-primary-dark);
}

.migrawp-coupon-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.migrawp-coupon-form .migrawp-form-input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.migrawp-coupon-apply {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  background: rgba(20, 201, 150, 0.1);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.migrawp-coupon-apply:hover {
  background: rgba(20, 201, 150, 0.2);
}

/* Checkout Terms */
.migrawp-checkout-terms {
  margin: 1.5rem 0;
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

.migrawp-checkout-terms a {
  color: var(--color-primary);
}

.migrawp-checkout-terms .woocommerce-terms-and-conditions-checkbox-text {
  font-size: 0.8125rem;
}

.migrawp-privacy-text {
  font-size: 0.75rem;
  color: var(--color-gray-400);
  line-height: 1.5;
  margin: 12px 0 0;
}

.migrawp-privacy-text a {
  color: var(--color-gray-500);
  text-decoration: underline;
}

.migrawp-privacy-text a:hover {
  color: var(--color-primary);
}

/* Mobile Responsive for Checkout */
@media (max-width: 900px) {
  .migrawp-checkout-grid {
    grid-template-columns: 1fr;
  }

  .migrawp-checkout-summary {
    position: static;
    order: -1;
  }
}

@media (max-width: 640px) {
  .migrawp-checkout {
    padding: 1rem;
  }

  .migrawp-checkout-section {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   Legal Pages (Termos, Privacidade) - Jony Ive Style
   ========================================================================== */

.legal-page {
  background: linear-gradient(180deg, var(--color-gray-50) 0%, #fff 100%);
  min-height: calc(100vh - 64px);
}

/* Legal Hero */
.legal-hero {
  padding: 5rem 0 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
}

.legal-hero .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.legal-hero .hero-title {
  font-size: 2.75rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.02em;
}

.legal-hero .hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Legal Content */
.legal-content {
  padding: 0 0 5rem;
}

.legal-content .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.legal-content .content-wrapper {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

/* Legal Sidebar */
.legal-sidebar {
  position: sticky;
  top: 80px;
}

.legal-nav {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-top: 3px solid var(--color-primary);
}

.legal-nav h3 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem 0;
}

.legal-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal-nav li {
  margin: 0;
}

.legal-nav a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--color-gray-600);
  text-decoration: none;
  transition: color 0.2s ease;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  margin-left: -0.75rem;
}

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

.legal-nav a.active {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  font-weight: 500;
}

/* Legal Article */
.legal-article {
  background: #fff;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.legal-article .intro-text {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-gray-100);
}

.legal-article .intro-text p {
  font-size: 1.0625rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin: 0;
}

/* Legal Sections */
.legal-section {
  padding-top: 2rem;
  margin-bottom: 2rem;
}

.legal-section:last-of-type {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin: 0 0 1rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-primary);
}

.legal-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin: 1.5rem 0 0.75rem 0;
}

.legal-section p {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin: 0 0 1rem 0;
}

.legal-section ul {
  margin: 0 0 1rem 0;
  padding-left: 1.25rem;
}

.legal-section li {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.legal-section li strong {
  color: var(--color-secondary);
}

.legal-section a {
  color: var(--color-primary);
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

/* List with icons */
.legal-list-icons {
  list-style: none;
  padding-left: 0;
}

.legal-list-icons li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.legal-list-icons .icon-success {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-list-icons .icon-error {
  color: #dc2626;
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-list-icons .icon-warning {
  color: #f59e0b;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, rgba(20, 201, 150, 0.08) 0%, rgba(5, 71, 96, 0.05) 100%);
  border-left: 4px solid var(--color-primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 0.75rem 0.75rem 0;
  margin: 1.5rem 0;
}

/* Contact Info */
.contact-info {
  background: linear-gradient(135deg, rgba(5, 71, 96, 0.03) 0%, rgba(20, 201, 150, 0.03) 100%);
  border: 1px solid rgba(5, 71, 96, 0.1);
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin: 1rem 0;
}

.contact-info a {
  color: var(--color-primary);
  font-weight: 500;
}

.contact-info p {
  margin: 0.5rem 0;
}

.contact-info p:first-child {
  margin-top: 0;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

/* Legal Footer */
.legal-article .legal-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--color-primary);
  text-align: center;
  background: linear-gradient(180deg, rgba(20, 201, 150, 0.03) 0%, transparent 100%);
  padding: 2rem;
  border-radius: 0 0 1rem 1rem;
  margin-left: -2.5rem;
  margin-right: -2.5rem;
  margin-bottom: -2.5rem;
}

.legal-article .legal-footer p {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  margin: 0.25rem 0;
}

.legal-article .legal-footer p strong {
  color: var(--color-secondary);
}

/* ==========================================================================
   Guarantee Page - Jony Ive Style
   ========================================================================== */

.guarantee-page {
  background: linear-gradient(180deg, var(--color-gray-50) 0%, #fff 100%);
}

/* Guarantee Hero */
.guarantee-hero {
  padding: 5rem 0 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
}

.guarantee-hero .container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.guarantee-title {
  font-size: 2.75rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}

.guarantee-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

/* Guarantee Badge */
.guarantee-badge-section {
  padding: 0 0 4rem;
}

.guarantee-badge-wrapper {
  max-width: 400px;
  margin: -3rem auto 0;
  text-align: center;
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--color-primary);
}

.guarantee-badge-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(20, 201, 150, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guarantee-badge-icon svg {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
}

.guarantee-badge-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin: 0 0 0.75rem 0;
}

.guarantee-badge-text {
  font-size: 1rem;
  color: var(--color-gray-600);
  margin: 0;
}

/* Guarantee Conditions */
.guarantee-conditions {
  padding: 4rem 0;
  background: #fff;
}

.guarantee-conditions .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-align: center;
  margin: 0 0 3rem 0;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.guarantee-column {
  background: var(--color-gray-50);
  border-radius: 1rem;
  overflow: hidden;
}

.guarantee-column-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
}

.guarantee-column-header svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.guarantee-column-header h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.guarantee-column-header.guarantee-valid {
  background: linear-gradient(135deg, rgba(20, 201, 150, 0.15) 0%, rgba(20, 201, 150, 0.08) 100%);
  color: var(--color-primary-dark);
  border-bottom: 2px solid var(--color-primary);
}

.guarantee-column-header.guarantee-invalid {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.guarantee-list {
  list-style: none;
  margin: 0;
  padding: 1rem 1.5rem 1.5rem;
}

.guarantee-list-item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-gray-200);
}

.guarantee-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.guarantee-list-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}

.guarantee-list-icon.guarantee-check {
  background: rgba(20, 201, 150, 0.2);
  color: var(--color-primary-dark);
}

.guarantee-list-icon.guarantee-cross {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.guarantee-list-item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 0.25rem;
}

.guarantee-list-item p {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.5;
  margin: 0;
}

/* Guarantee Process */
.guarantee-process {
  padding: 4rem 0;
}

.guarantee-process .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.process-step {
  flex: 1 1 180px;
  max-width: 200px;
  text-align: center;
}

.process-number {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.process-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin: 0 0 0.5rem 0;
}

.process-description {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.5;
  margin: 0;
}

.process-cta {
  text-align: center;
}

.process-cta-note {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin: 1rem 0 0 0;
}

/* Guarantee Notes */
.guarantee-notes {
  padding: 4rem 0;
  background: #fff;
}

.guarantee-notes .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.note-card {
  text-align: center;
  padding: 1.5rem;
}

.note-icon {
  width: 48px;
  height: 48px;
  background: rgba(20, 201, 150, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.note-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.note-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin: 0 0 0.5rem 0;
}

.note-text {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.5;
  margin: 0;
}

/* Guarantee FAQ */
.guarantee-faq {
  padding: 4rem 0;
}

.guarantee-faq .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-left: 3px solid var(--color-primary);
}

.faq-question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin: 0 0 0.75rem 0;
}

.faq-answer {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.6;
  margin: 0;
}

/* Guarantee CTA */
.guarantee-cta {
  padding: 4rem 0;
  background: var(--color-secondary);
}

.guarantee-cta .container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cta-wrapper {
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 1rem 0;
}

.cta-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 2rem 0;
}

.cta-buttons {
  margin-bottom: 1rem;
}

.cta-note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Button Styles for Pages */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: scale(1.02);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

/* Mobile Responsive for Legal/Guarantee Pages */
@media (max-width: 900px) {
  .legal-content .content-wrapper {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
    display: none;
  }

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

  .notes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .legal-hero .hero-title,
  .guarantee-title {
    font-size: 2rem;
  }

  .legal-article {
    padding: 1.5rem;
  }

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

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-step {
    max-width: 280px;
  }

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

/* ==========================================================================
   Mobile Optimizations
   ========================================================================== */
@media (max-width: 768px) {
  /* Larger touch targets for mobile */
  button, a.button, nav a {
    min-height: 44px;
    min-width: 44px;
  }

  /* Prevent text size adjust on orientation change */
  html {
    -webkit-text-size-adjust: 100%;
  }
}
