/*
Theme Name: ISSOTOM Spirituality
Theme URI: https://issotom.org
Description: Thème WordPress moderne pour écoles de spiritualité - Transmission de la science sacrée
Version: 2.0.0
Author: ISSOTOM Studios
Author URI: https://issotom.org
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: issotom-spirituality
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

/* ================================================================
   RESET & BASE STYLES
   ================================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.7;
  color: #2d3748;
  background-color: #ffffff;
  overflow-x: hidden;
  font-size: 16px;
  letter-spacing: -0.5px;
}

/* ================================================================
   VARIABLES & COLORS
   ================================================================ */
:root {
  --primary-color: #7C3AED;
  --primary-dark: #6D28D9;
  --primary-light: #A78BFA;
  --secondary-color: #DB2777;
  --secondary-light: #EC4899;
  --accent-color: #F59E0B;
  --accent-light: #FBBF24;
  
  --dark-bg: #0F172A;
  --dark-bg-secondary: #1E293B;
  --light-bg: #F8FAFC;
  --light-bg-secondary: #F1F5F9;
  
  --text-dark: #1E293B;
  --text-light: #64748B;
  --text-lighter: #94A3B8;
  
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;
  
  --success-color: #10B981;
  --warning-color: #F59E0B;
  --danger-color: #EF4444;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(124, 58, 237, 0.15);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.12);
  --shadow-2xl: 0 40px 80px rgba(124, 58, 237, 0.1);
  
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 4rem;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 900;
}

h2 {
  font-size: 2.75rem;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
  font-weight: 700;
}

h5 {
  font-size: 1.25rem;
  font-weight: 700;
}

h6 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.8;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
}

a:hover {
  color: var(--primary-dark);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn,
button,
input[type="button"],
input[type="submit"] {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  pointer-events: none;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
  background-color: var(--light-bg-secondary);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-weight: 700;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9375rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.125rem;
  border-radius: 14px;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ================================================================
   CONTAINER & LAYOUT
   ================================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-lg {
  max-width: 1400px;
}

.container-md {
  max-width: 960px;
}

/* ================================================================
   HEADER & NAVIGATION
   ================================================================ */
header {
  background: white;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition-fast);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 3rem;
}

nav a {
  color: var(--text-dark);
  font-weight: 600;
  position: relative;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: var(--transition-fast);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: var(--transition-fast);
  border-radius: 2px;
}

nav a:hover {
  color: var(--primary-color);
}

nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-secondary) 50%, var(--primary-dark) 100%);
  color: white;
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 25s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  animation: slideInUp 0.8s ease-out;
}

.hero h1 {
  color: white;
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
  animation: slideInUp 0.8s ease-out 0.1s both;
}

.hero p {
  font-size: 1.375rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideInUp 0.8s ease-out 0.3s both;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================================================
   SECTIONS & SPACING
   ================================================================ */
section {
  padding: 100px 0;
  position: relative;
}

section.light-bg {
  background-color: var(--light-bg);
}

section.dark-bg {
  background-color: var(--dark-bg);
  color: white;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.1875rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ================================================================
   CARDS
   ================================================================ */
.card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  overflow: hidden;
  position: relative;
  height: 100%;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
}

.card-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.75rem;
  display: block;
  transition: var(--transition);
}

.card:hover .card-image {
  transform: scale(1.05);
}

.card-title {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.card-meta {
  font-size: 0.875rem;
  color: var(--text-lighter);
  margin-bottom: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-description {
  color: var(--text-light);
  margin-bottom: 1.75rem;
  line-height: 1.8;
}

/* ================================================================
   GRID
   ================================================================ */
.grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (max-width: 768px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   FEATURES / SERVICES
   ================================================================ */
.feature-box {
  text-align: center;
  padding: 2.5rem 2rem;
  transition: var(--transition);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-box:hover {
  background: rgba(124, 58, 237, 0.05);
  transform: translateY(-8px);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(219, 39, 119, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.feature-box:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-title {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.feature-description {
  color: var(--text-light);
  line-height: 1.8;
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonial {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  border-left: 5px solid var(--primary-color);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 4rem;
  color: var(--primary-light);
  opacity: 0.5;
}

.testimonial:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.75rem;
  color: var(--text-dark);
  line-height: 1.9;
  font-size: 1.0625rem;
}

.testimonial-author {
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--text-lighter);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stars {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* ================================================================
   PRICING
   ================================================================ */
.pricing-card {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}

.pricing-card:hover::before {
  transform: scaleX(1);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1), var(--shadow-xl);
  transform: scale(1.05);
}

.pricing-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.pricing-period {
  color: var(--text-lighter);
  margin-bottom: 2rem;
  font-weight: 600;
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-light);
  font-weight: 500;
}

.pricing-features li::before {
  content: '✓ ';
  color: var(--success-color);
  font-weight: 900;
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-secondary) 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 5rem 0 2rem;
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 4rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1.75rem;
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 1rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition-fast);
  font-weight: 500;
}

.footer-section a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid transparent;
  border-radius: 50%;
  transition: var(--transition);
  color: white;
  font-weight: 600;
}

.social-links a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

/* ================================================================
   FORMS & INPUT
   ================================================================ */
form {
  max-width: 600px;
}

.form-group {
  margin-bottom: 2rem;
}

label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.9375rem;
  letter-spacing: 0.3px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background-color: white;
  color: var(--text-dark);
  transition: var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.15);
  background-color: rgba(124, 58, 237, 0.02);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input[type="checkbox"],
input[type="radio"] {
  margin-right: 0.5rem;
  cursor: pointer;
}

.form-error {
  color: #DC2626;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  font-weight: 600;
  display: none;
}

input.error,
textarea.error {
  border-color: #DC2626;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.15);
}

input.error ~ .form-error {
  display: block;
}

.form-success {
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid #22C55E;
  color: #15803D;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  font-weight: 600;
  display: none;
}

.form-success.show {
  display: block;
  animation: slideInDown 0.4s ease-out;
}

/* ================================================================
   ANIMATIONS & TRANSITIONS
   ================================================================ */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.slide-in-up {
  animation: slideInUp 0.6s ease-out;
}

.slide-in-down {
  animation: slideInDown 0.6s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

.bounce-in {
  animation: bounceIn 0.6s ease-out;
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* ================================================================
   RESPONSIVE DESIGN
   ================================================================ */
@media (max-width: 1024px) {
  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .pricing-card.featured {
    transform: scale(1.02);
  }

  .grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    font-size: 15px;
  }

  h1 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
  }

  h2 {
    font-size: 1.875rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1rem;
  }

  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 60px 0 50px;
    min-height: 500px;
  }

  .hero::before,
  .hero::after {
    width: 300px;
    height: 300px;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1.0625rem;
    margin-bottom: 1.75rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    padding: 8px 12px;
  }

  nav ul {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: calc(100% + 1rem);
    left: 20px;
    right: 20px;
    background: white;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    z-index: 200;
  }

  nav ul.active {
    display: flex;
  }

  nav a {
    font-size: 1rem;
  }

  nav a::after {
    display: none;
  }

  nav a.active {
    color: var(--primary-color);
    font-weight: 700;
  }

  section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .card {
    padding: 2rem;
  }

  .card-image {
    height: 220px;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .feature-box {
    padding: 2rem 1.5rem;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 2.5rem;
  }

  .feature-title {
    font-size: 1.25rem;
  }

  .pricing-card {
    padding: 2rem;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-price {
    font-size: 2.75rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-section h3 {
    font-size: 1rem;
  }

  .testimonial {
    padding: 2rem;
  }

  .testimonial::before {
    font-size: 3rem;
    top: -15px;
    left: 20px;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="date"],
  textarea,
  select {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .btn,
  button,
  input[type="button"],
  input[type="submit"] {
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
  }

  .btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
  }

  .social-links {
    gap: 0.75rem;
  }

  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  :root {
    font-size: 14px;
  }

  .container {
    padding: 0 16px;
  }

  .container-lg,
  .container-md {
    padding: 0 16px;
  }

  h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  h4 {
    font-size: 1.125rem;
  }

  p {
    font-size: 0.9375rem;
  }

  .hero {
    padding: 40px 0;
    min-height: 350px;
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.9375rem;
  }

  .hero-buttons {
    gap: 0.75rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  nav ul {
    left: 16px;
    right: 16px;
    padding: 1.25rem;
  }

  section {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.9375rem;
  }

  .card {
    padding: 1.5rem;
  }

  .card-image {
    height: 180px;
    margin-bottom: 1rem;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-description {
    font-size: 0.9rem;
  }

  .feature-box {
    padding: 1.5rem 1rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .feature-title {
    font-size: 1.1rem;
  }

  .feature-description {
    font-size: 0.9rem;
  }

  .pricing-card {
    padding: 1.5rem 1.25rem;
  }

  .pricing-title {
    font-size: 1.25rem;
  }

  .pricing-price {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
  }

  .pricing-features li {
    padding: 0.75rem 0;
    font-size: 0.9rem;
  }

  .testimonial {
    padding: 1.5rem;
  }

  .testimonial-text {
    font-size: 0.9375rem;
  }

  .btn,
  button,
  input[type="button"],
  input[type="submit"] {
    padding: 10px 20px;
    font-size: 0.9375rem;
    border-radius: 8px;
  }

  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="date"],
  textarea,
  select {
    padding: 10px 12px;
    font-size: 1rem;
  }

  label {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }

  .header-inner {
    padding: 1rem 0;
  }

  .footer-section h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .footer-section ul li {
    margin-bottom: 0.75rem;
  }

  .social-links {
    gap: 0.5rem;
  }

  .social-links a {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .mb-1 { margin-bottom: 0.375rem; }
  .mb-2 { margin-bottom: 0.75rem; }
  .mb-3 { margin-bottom: 1rem; }
  .mb-4 { margin-bottom: 1.5rem; }
  .mb-5 { margin-bottom: 2rem; }

  .mt-1 { margin-top: 0.375rem; }
  .mt-2 { margin-top: 0.75rem; }
  .mt-3 { margin-top: 1rem; }
  .mt-4 { margin-top: 1.5rem; }
  .mt-5 { margin-top: 2rem; }

  .p-1 { padding: 0.375rem; }
  .p-2 { padding: 0.75rem; }
  .p-3 { padding: 1rem; }
  .p-4 { padding: 1.5rem; }
  .p-5 { padding: 2rem; }
}

/* ================================================================
   UTILITY CLASSES
   ================================================================ */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.text-muted {
  color: var(--text-light);
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }
.rounded-full { border-radius: 9999px; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

/* ================================================================
   WORDPRESS CLASSES
   ================================================================ */
.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

img {
  max-width: 100%;
  height: auto;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}
