/*
Theme Name: PetBiz Pro
Theme URI: https://petbizpro.com
Author: AHDECH LLC
Author URI: https://petbizpro.com
Description: A modern, professional WordPress theme for PetBiz Pro SaaS platform — the all-in-one software for pet business owners.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: petbiz-pro
Tags: saas, business, responsive, custom-menu, featured-images, threaded-comments
*/

/* ===================================================================
   CSS CUSTOM PROPERTIES
=================================================================== */
:root {
  --primary:       #6C3FC5;
  --primary-dark:  #5530A8;
  --primary-light: #8B5CF6;
  --secondary:     #FF6B6B;
  --secondary-dark:#E85555;
  --accent:        #4ECDC4;
  --accent-dark:   #3BBDB4;
  --white:         #FFFFFF;
  --off-white:     #F8F7FF;
  --light-gray:    #F3F4F6;
  --mid-gray:      #9CA3AF;
  --dark-gray:     #4B5563;
  --text:          #1F2937;
  --text-light:    #6B7280;
  --border:        #E5E7EB;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:        0 4px 16px rgba(108,63,197,.12);
  --shadow-lg:     0 20px 40px rgba(108,63,197,.18);
  --shadow-xl:     0 25px 60px rgba(108,63,197,.22);
  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --radius-full:   9999px;
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition:    all .25s cubic-bezier(.4, 0, .2, 1);
  --transition-slow: all .4s cubic-bezier(.4, 0, .2, 1);
  --max-width:     1200px;
  --nav-height:    72px;
}

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

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

body {
  font-family: var(--font);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

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

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: .875rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ===================================================================
   UTILITY CLASSES
=================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

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

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(108,63,197,.1);
  padding: .35rem .85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ===================================================================
   BUTTONS
=================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(108,63,197,.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108,63,197,.45);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
  box-shadow: 0 4px 15px rgba(255,107,107,.35);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,107,107,.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  box-shadow: 0 4px 15px rgba(0,0,0,.15);
}
.btn-white:hover {
  background: var(--off-white);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
}

.btn-ghost {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.25);
  color: var(--white);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}

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

.btn-sm {
  padding: .5rem 1.25rem;
  font-size: .875rem;
}

/* ===================================================================
   NAVIGATION
=================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 2rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(108,63,197,.35);
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
}

.logo-text span { color: var(--primary); }

/* Primary Navigation */
.primary-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.primary-nav a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text);
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.primary-nav a:hover,
.primary-nav a.current {
  color: var(--primary);
  background: rgba(108,63,197,.07);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-login {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text);
}
.header-login:hover { color: var(--primary); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--white);
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
  z-index: 999;
  border-top: 1px solid var(--border);
}

.mobile-menu.open { display: block; }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-bottom: 1.5rem;
}

.mobile-menu nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding: .75rem 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.mobile-menu nav a:hover {
  background: var(--off-white);
  color: var(--primary);
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.mobile-menu-actions .btn { width: 100%; justify-content: center; }

/* ===================================================================
   HERO SECTION
=================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0F0A1E 0%, #1A0E3D 40%, #2D1666 70%, #1E1040 100%);
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(108,63,197,.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(78,205,196,.2) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 60% 80%, rgba(255,107,107,.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
  padding: 5rem 0 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
}

.hero-badge .badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.72);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-note span::before {
  content: '✓ ';
  color: var(--accent);
}

/* Hero Stats */
.hero-stats {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 860px;
  margin: 3rem auto 0;
}

.hero-stat {
  text-align: center;
  padding: .5rem;
}

.hero-stat-number {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: .3rem;
}

.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}

.hero-stat + .hero-stat {
  border-left: 1px solid rgba(255,255,255,.1);
}

/* ===================================================================
   FEATURES SECTION
=================================================================== */
.features {
  padding: 6rem 0;
  background: var(--white);
}

.features-intro {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(108,63,197,.12), rgba(78,205,196,.12));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .6rem;
  color: var(--text);
}

.feature-card p {
  font-size: .9375rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}

.feature-card .feature-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1rem;
  transition: var(--transition);
}

.feature-card .feature-link:hover { gap: .6rem; }

/* ===================================================================
   HOW IT WORKS
=================================================================== */
.how-it-works {
  padding: 6rem 0;
  background: var(--off-white);
}

.how-intro {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(16.6% + 28px);
  right: calc(16.6% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
  margin-inline: auto;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(108,63,197,.35);
  transition: var(--transition);
}

.step-card:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(108,63,197,.5);
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: .6rem;
}

.step-card p {
  font-size: .9375rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ===================================================================
   PRICING SECTION
=================================================================== */
.pricing {
  padding: 6rem 0;
  background: var(--white);
}

.pricing-intro {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-light);
}

.pricing-toggle .toggle-switch {
  position: relative;
  width: 52px; height: 28px;
  background: var(--primary);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.pricing-toggle .toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.pricing-toggle .save-badge {
  background: var(--secondary);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: var(--radius-full);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  transition: var(--transition-slow);
  position: relative;
}

.pricing-card.popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(108,63,197,.04) 0%, var(--white) 100%);
  box-shadow: 0 0 0 4px rgba(108,63,197,.12), var(--shadow-lg);
  transform: scale(1.03);
}

.pricing-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-6px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem 1.25rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(108,63,197,.4);
}

.pricing-plan-name {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: .25rem;
  margin-bottom: .5rem;
}

.pricing-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.04em;
  line-height: 1;
}

.pricing-period {
  font-size: .9rem;
  color: var(--text-light);
  font-weight: 500;
}

.pricing-desc {
  font-size: .9375rem;
  color: var(--text-light);
  margin-bottom: 1.75rem;
  line-height: 1.55;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .9375rem;
  color: var(--dark-gray);
  margin-bottom: .65rem;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: rgba(108,63,197,.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 900;
  margin-top: .1rem;
}

.pricing-features li.unavailable {
  color: var(--mid-gray);
  text-decoration: line-through;
}

.pricing-features li.unavailable::before {
  content: '✗';
  background: rgba(156,163,175,.15);
  color: var(--mid-gray);
}

.pricing-cta { width: 100%; justify-content: center; }

/* ===================================================================
   TESTIMONIALS
=================================================================== */
.testimonials {
  padding: 6rem 0;
  background: var(--off-white);
}

.testimonials-intro {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-slow);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.testimonial-stars {
  display: flex;
  gap: .2rem;
  margin-bottom: 1rem;
  color: #FBBF24;
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: .975rem;
  color: var(--dark-gray);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: .9375rem;
  color: var(--text);
  margin-bottom: .15rem;
}

.testimonial-role {
  font-size: .825rem;
  color: var(--text-light);
}

/* ===================================================================
   CTA BANNER
=================================================================== */
.cta-banner {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, #4B2A96 40%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(78,205,196,.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(255,107,107,.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cta-note {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}

/* ===================================================================
   FAQ SECTION
=================================================================== */
.faq {
  padding: 6rem 0;
  background: var(--white);
}

.faq-intro {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.faq-grid {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,63,197,.1);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover { color: var(--primary); }

.faq-icon {
  width: 24px; height: 24px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--primary);
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: .9375rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===================================================================
   FOOTER
=================================================================== */
.site-footer {
  background: #0F0A1E;
  color: rgba(255,255,255,.7);
  padding-top: 5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .site-logo { margin-bottom: 1.25rem; }

.footer-brand .logo-text { color: var(--white); }

.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.footer-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: .25rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  margin-bottom: .75rem;
}

.footer-contact-item .icon {
  font-size: .9rem;
  margin-top: .1rem;
  flex-shrink: 0;
  color: var(--primary-light);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-left {
  font-size: .825rem;
  color: rgba(255,255,255,.35);
}

.footer-bottom-right {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-right a {
  font-size: .825rem;
  color: rgba(255,255,255,.35);
  transition: var(--transition);
}

.footer-bottom-right a:hover { color: rgba(255,255,255,.7); }

/* ===================================================================
   PAGE HERO (inner pages)
=================================================================== */
.page-hero {
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  background: linear-gradient(135deg, #0F0A1E 0%, #1A0E3D 60%, #2D1666 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(108,63,197,.3) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.72);
  max-width: 600px;
  margin-inline: auto;
}

/* ===================================================================
   FEATURES PAGE
=================================================================== */
.features-detailed {
  padding: 5rem 0;
}

.feature-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.feature-section:last-child { border-bottom: none; }

.feature-section.reverse { direction: rtl; }
.feature-section.reverse > * { direction: ltr; }

.feature-detail-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(108,63,197,.35);
}

.feature-detail-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-detail-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1.75rem;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9375rem;
  color: var(--dark-gray);
}

.feature-bullets li::before {
  content: '→';
  color: var(--primary);
  font-weight: 700;
}

.feature-mockup {
  background: linear-gradient(135deg, var(--off-white), rgba(108,63,197,.08));
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--primary);
}

.feature-mockup-icon { font-size: 3rem; }
.feature-mockup span {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-light);
}

/* Comparison Table */
.comparison-section {
  padding: 5rem 0;
  background: var(--off-white);
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: .9375rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text);
}

.comparison-table thead th {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .04em;
}

.comparison-table thead th:first-child {
  color: var(--white);
  background: #5530A8;
}

.comparison-table tbody tr:hover td {
  background: rgba(108,63,197,.03);
}

.comparison-table .check { color: var(--primary); font-size: 1.1rem; }
.comparison-table .cross { color: var(--mid-gray); font-size: 1.1rem; }

/* ===================================================================
   ABOUT PAGE
=================================================================== */
.about-story {
  padding: 5rem 0;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.about-stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.about-stat:hover {
  background: linear-gradient(135deg, rgba(108,63,197,.08), rgba(78,205,196,.08));
  transform: translateY(-3px);
}

.about-stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -.03em;
}

.about-stat-lbl {
  font-size: .825rem;
  color: var(--text-light);
  margin-top: .25rem;
}

.about-image-placeholder {
  background: linear-gradient(135deg, rgba(108,63,197,.1), rgba(78,205,196,.1));
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--primary);
}

.about-image-placeholder .icon { font-size: 4rem; }

.mission-section {
  padding: 5rem 0;
  background: var(--off-white);
}

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

.mission-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition-slow);
}

.mission-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.mission-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.mission-card h3 { margin-bottom: .65rem; }
.mission-card p {
  font-size: .9375rem;
  color: var(--text-light);
  margin: 0;
}

.team-section {
  padding: 5rem 0;
}

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

.team-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition-slow);
}

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

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-inline: auto;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 18px rgba(108,63,197,.3);
}

.team-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .25rem;
}

.team-role {
  font-size: .875rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: .75rem;
}

.team-bio {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}

/* ===================================================================
   CONTACT PAGE
=================================================================== */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 44px; height: 44px;
  background: rgba(108,63,197,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-info strong {
  display: block;
  font-size: .875rem;
  color: var(--text);
  margin-bottom: .2rem;
}

.contact-detail-info span {
  font-size: .9rem;
  color: var(--text-light);
}

.contact-form-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9375rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,63,197,.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.map-placeholder {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--text-light);
  font-size: .9rem;
  margin-top: 2rem;
}

.map-placeholder .icon { font-size: 2.5rem; color: var(--primary); }

/* ===================================================================
   PRICING PAGE SPECIFIC
=================================================================== */
.money-back {
  padding: 3rem 0;
  background: var(--off-white);
}

.money-back-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: center;
}

.money-back-badge {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(78,205,196,.35);
  flex-shrink: 0;
}

.money-back-text strong {
  display: block;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: .25rem;
}

.money-back-text p {
  font-size: .9375rem;
  color: var(--text-light);
  margin: 0;
}

/* ===================================================================
   LEGAL PAGES (Privacy/Terms)
=================================================================== */
.legal-content {
  padding: 4rem 0 6rem;
}

.legal-body {
  max-width: 820px;
  margin-inline: auto;
}

.legal-body h2 {
  font-size: 1.5rem;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--border);
}

.legal-body h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin: 1.5rem 0 .6rem;
}

.legal-body p {
  font-size: .9375rem;
  color: var(--dark-gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-body ul li {
  font-size: .9375rem;
  color: var(--dark-gray);
  line-height: 1.8;
  margin-bottom: .4rem;
}

.legal-info-box {
  background: rgba(108,63,197,.06);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.legal-info-box p { margin: 0; color: var(--text); }

/* ===================================================================
   BLOG / ARCHIVE
=================================================================== */
.blog-section {
  padding: 4rem 0 6rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-slow);
}

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

.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, rgba(108,63,197,.1), rgba(78,205,196,.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .85rem;
}

.blog-cat {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(108,63,197,.1);
  padding: .25rem .65rem;
  border-radius: var(--radius-full);
}

.blog-date {
  font-size: .8rem;
  color: var(--text-light);
}

.blog-card h3 {
  font-size: 1.05rem;
  margin-bottom: .65rem;
  line-height: 1.4;
}

.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--primary); }

.blog-card p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.blog-card .read-more {
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: var(--transition);
}

.blog-card .read-more:hover { gap: .55rem; }

/* Single Post */
.single-post {
  padding: 4rem 0 6rem;
}

.post-header {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  font-size: .875rem;
  color: var(--text-light);
}

.post-meta .blog-cat { font-size: .75rem; }

.post-content {
  max-width: 800px;
  margin-inline: auto;
}

.post-content p { font-size: 1.0625rem; line-height: 1.85; margin-bottom: 1.5rem; }
.post-content h2 { margin: 2.5rem 0 1rem; }
.post-content h3 { margin: 2rem 0 .75rem; }
.post-content ul, .post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.post-content li { font-size: 1.0625rem; line-height: 1.85; margin-bottom: .5rem; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 3rem;
}

.page-link {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.page-link:hover,
.page-link.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ===================================================================
   404 PAGE
=================================================================== */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
  padding-top: calc(var(--nav-height) + 4rem);
}

.error-page .error-number {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.error-page h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.error-page p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

/* ===================================================================
   ANIMATIONS
=================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  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 scaleIn {
  from { opacity: 0; transform: scale(.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.animate-fade-in { animation: fadeIn .7s ease both; }
.animate-slide-up { animation: slideUp .7s ease both; }
.animate-scale-in { animation: scaleIn .5s ease both; }
.animate-float { animation: float 4s ease-in-out infinite; }

.delay-100 { animation-delay: .1s; }
.delay-200 { animation-delay: .2s; }
.delay-300 { animation-delay: .3s; }
.delay-400 { animation-delay: .4s; }
.delay-500 { animation-delay: .5s; }
.delay-600 { animation-delay: .6s; }

/* Scroll-triggered */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   WORDPRESS DEFAULTS
=================================================================== */
.wp-block-image { margin-bottom: 1.5rem; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { text-align: center; margin-inline: auto; }

.site-main { padding-top: var(--nav-height); }

.page-content {
  padding: 4rem 0 6rem;
}

.page-content .container p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--dark-gray);
  margin-bottom: 1.25rem;
}

/* Comments */
.comments-area {
  max-width: 800px;
  margin-inline: auto;
  padding: 3rem 0;
}

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

/* Large Desktop */
@media (min-width: 1400px) {
  :root { --max-width: 1320px; }
}

/* Tablet Landscape */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .pricing-card.popular { transform: scale(1.01); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .about-story-grid { gap: 3rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet Portrait */
@media (max-width: 900px) {
  .primary-nav { display: none; }
  .header-login { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat + .hero-stat:nth-child(3) { border-left: none; }
  .hero-stat + .hero-stat:nth-child(2) { border-left: 1px solid rgba(255,255,255,.1); }

  .steps-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps-grid::before { display: none; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .pricing-card.popular { transform: none; }

  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; }

  .feature-section { grid-template-columns: 1fr; gap: 2rem; }
  .feature-section.reverse { direction: ltr; }

  .about-story-grid { grid-template-columns: 1fr; }
  .about-image-placeholder { aspect-ratio: 16/9; max-height: 300px; }
  .about-stats-row { grid-template-columns: repeat(2, 1fr); }

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

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

  .footer-top { grid-template-columns: 1fr 1fr; }

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

/* Mobile */
@media (max-width: 640px) {
  :root { --nav-height: 64px; }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.25rem;
    gap: .75rem;
  }

  .hero-stat + .hero-stat { border-left: none; }
  .hero-stat:nth-child(2) { border-left: 1px solid rgba(255,255,255,.1); }
  .hero-stat:nth-child(3) { border-top: 1px solid rgba(255,255,255,.1); }
  .hero-stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.1); border-left: 1px solid rgba(255,255,255,.1); }

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

  .mission-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }

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

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }

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

  .form-row { grid-template-columns: 1fr; }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }

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

  .comparison-table th,
  .comparison-table td { padding: .75rem; font-size: .825rem; }

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

  .money-back-inner { flex-direction: column; }
}

/* Very small */
@media (max-width: 380px) {
  .pricing-amount { font-size: 2.5rem; }
  .hero-note { flex-direction: column; gap: .5rem; }
}

/* Print */
@media print {
  .site-header, .site-footer, .cta-banner, .hero-cta { display: none; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}
