/* ========================================
   KENNELXCONNECT — STYLE ENGINE
   The World's #1 Dog Platform
   Built by DONDA ENGINE / 78 Agents
   Grade: A++ BEST IN THE UNIVERSE
   ======================================== */

/* ===== VARIABLES — BOLD GREEN / WHITE / ORANGE PALETTE ===== */
:root {
  /* Deep Dark Backgrounds — rich depth */
  --bg-primary: #050a05;
  --bg-secondary: #0a1a0a;
  --bg-tertiary: #0f2010;
  --bg-card: #0c180c;
  --bg-card-hover: #142814;
  --surface: #1a2e1a;
  /* Refined Borders */
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.14);
  --border-accent: rgba(0,230,64,0.25);
  /* Typography — Clean White hierarchy */
  --text-primary: #ffffff;
  --text-secondary: #c8e6c8;
  --text-muted: #5a8a5a;
  /* Accent Colors — BOLD GREEN + ORANGE + WHITE */
  --accent-orange: #FF6A00;
  --accent-emerald: #00E640;
  --accent-purple: #00CC33;
  --accent-teal: #00FF55;
  --accent-gold: #FF8C00;
  --accent-red: #FF4500;
  --accent-pink: #FF7B00;
  --accent-blue: #33FF66;
  --accent-platinum: #FFFFFF;
  /* Gradients — BOLD Green to Orange */
  --gradient-primary: linear-gradient(135deg, #FF6A00 0%, #FF8C00 50%, #00E640 100%);
  --gradient-hero: linear-gradient(135deg, #00E640 0%, #00FF55 40%, #FF8C00 70%, #FF6A00 100%);
  --gradient-secondary: linear-gradient(135deg, #00CC33 0%, #00E640 100%);
  --gradient-teal: linear-gradient(135deg, #00FF55 0%, #00E640 100%);
  --gradient-gold: linear-gradient(135deg, #FF8C00 0%, #FF6A00 100%);
  --gradient-mesh: radial-gradient(ellipse at 20% 50%, rgba(0,230,64,0.10) 0%, transparent 50%),
                   radial-gradient(ellipse at 80% 20%, rgba(255,106,0,0.08) 0%, transparent 50%),
                   radial-gradient(ellipse at 50% 80%, rgba(0,255,85,0.06) 0%, transparent 50%);
  /* Glass Effects — Dark green tint */
  --glass: rgba(5, 10, 5, 0.88);
  --glass-strong: rgba(5, 10, 5, 0.94);
  --glass-border: rgba(0,230,64,0.10);
  --glass-glow: rgba(0,230,64,0.12);
  /* Shadows — Green glow depth */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 60px rgba(0,230,64,0.12);
  --shadow-glow-purple: 0 0 40px rgba(0,230,64,0.15);
  /* Borders */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;
  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
  /* Motion */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
button { border: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ===== MESH BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
  z-index: 0;
}

/* ===== SCROLLBAR — Platinum ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent-emerald), var(--accent-teal)); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-emerald); }

/* ===== CUSTOM CURSOR — Futuristic ===== */
.cursor {
  width: 20px; height: 20px;
  border: 2px solid var(--accent-emerald);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99999;
  transition: transform 0.15s ease, opacity 0.15s ease;
  mix-blend-mode: difference;
  box-shadow: 0 0 12px rgba(0,230,64,0.4);
}
.cursor-trail {
  width: 8px; height: 8px;
  background: var(--accent-orange);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99998;
  transition: transform 0.08s ease;
  opacity: 0.5;
}
@media (max-width: 768px) { .cursor, .cursor-trail { display: none; } }

/* ===== UTILITIES ===== */
.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-green { color: var(--accent-emerald) !important; }
.text-orange { color: var(--accent-orange) !important; }
.text-teal { color: var(--accent-teal) !important; }
.text-purple { color: var(--accent-purple) !important; }
.text-blue { color: var(--accent-blue) !important; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600; border-radius: var(--radius-md);
  transition: var(--transition); position: relative; overflow: hidden;
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary {
  background: linear-gradient(135deg, #34D399 0%, #06B6D4 100%); color: #000; font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,230,64,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,230,64,0.35); }
.btn-secondary {
  background: var(--gradient-secondary); color: #fff; font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,230,64,0.25);
}
.btn-outline {
  background: transparent; color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.10);
}
.btn-outline:hover { border-color: var(--accent-emerald); color: var(--accent-emerald); }
.btn-glass {
  background: rgba(12, 14, 26, 0.6); color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.btn-glass:hover { background: rgba(0,230,64,0.08); border-color: rgba(0,230,64,0.3); }

/* ===== LOADING SCREEN ===== */
#loader {
  position: fixed; inset: 0; z-index: 100000;
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { text-align: center; }
.loader-paw {
  font-size: 3rem; color: var(--accent-orange);
  animation: pawBounce 1s ease-in-out infinite;
  margin-bottom: 20px;
}
@keyframes pawBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(10deg); }
}
.loader-logo {
  font-family: var(--font-display); font-size: 3rem; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 24px;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translateZ(0);
  will-change: transform;
  text-shadow: 0 0 1px rgba(255,255,255,0.1);
}
.loader-logo span { color: var(--accent-orange); }
.loader-bar {
  width: 200px; height: 4px; background: var(--bg-tertiary);
  border-radius: 2px; margin: 0 auto 16px; overflow: hidden;
}
.loader-fill {
  height: 100%; width: 0; background: var(--gradient-primary);
  border-radius: 2px; animation: loaderFill 2s ease forwards;
}
@keyframes loaderFill { to { width: 100%; } }
.loader-text { color: var(--text-muted); font-size: 0.85rem; }

/* ===== NAVIGATION ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: rgba(5,10,5,0.7);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
#navbar.scrolled { padding: 10px 0; border-bottom-color: var(--border); background: rgba(5,10,5,0.95); }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translateZ(0);
  letter-spacing: -0.01em;
}
.nav-logo i { color: var(--accent-orange); font-size: 1.6rem; filter: drop-shadow(0 0 4px rgba(255,106,0,0.4)); }
.nav-logo strong { background: var(--gradient-teal); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 1px rgba(0,230,64,0.3)); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 0.9rem; color: var(--text-secondary); font-weight: 500;
  transition: var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--accent-orange); transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-search-btn, .nav-theme-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.05); color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); font-size: 0.9rem;
}
.nav-search-btn:hover, .nav-theme-btn:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; padding: 4px;
}
.nav-hamburger span {
  width: 22px; height: 2px; background: var(--text-primary);
  transition: var(--transition); border-radius: 2px;
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Search Overlay */
.search-overlay {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: var(--transition);
}
.search-overlay.active { max-height: 400px; opacity: 1; }
.search-container {
  max-width: 700px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-tertiary); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px 18px;
}
.search-container i { color: var(--text-muted); }
.search-container input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text-primary); font-size: 1rem;
}
.search-container input::placeholder { color: var(--text-muted); }
.search-container kbd {
  font-family: var(--font-mono); font-size: 0.7rem;
  padding: 2px 8px; border-radius: 4px;
  background: var(--bg-primary); color: var(--text-muted);
  border: 1px solid var(--border);
}
.search-suggestions { max-width: 700px; margin: 16px auto 0; }
.suggestion-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 8px; }
.suggestion-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: var(--radius-sm);
  color: var(--text-secondary); font-size: 0.9rem;
  transition: var(--transition);
}
.suggestion-item:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.suggestion-item i { color: var(--accent-orange); font-size: 0.8rem; }

/* ===== HERO ===== */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(0,230,64,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(255,106,0,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(0,230,64,0.06) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(0,255,85,0.04) 0%, transparent 30%);
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-particles { position: absolute; inset: 0; }
.hero-particle {
  position: absolute; width: 3px; height: 3px;
  background: var(--accent-emerald); border-radius: 50%;
  opacity: 0.3; animation: particleFloat 8s ease-in-out infinite;
}
@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  50% { transform: translateY(-40px) translateX(20px); opacity: 0.6; }
}
#hero .section-inner, #hero > * { position: relative; }
.hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-direction: column;
  flex: 1;
}
#hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1280px; margin: 0 auto; padding: 120px 24px 80px; min-height: 100vh; align-items: center; position: relative; }
.hero-content { z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,230,64,0.06); border: 1px solid rgba(0,230,64,0.15);
  border-radius: 100px; padding: 8px 20px;
  font-size: 0.82rem; color: var(--accent-emerald); font-weight: 500;
  margin-bottom: 28px; width: fit-content;
  animation: badgePulse 3s ease-in-out infinite;
  backdrop-filter: blur(12px);
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,230,64,0.15); }
  50% { box-shadow: 0 0 0 10px rgba(0,230,64,0); }
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-line { display: block; }
.hero-subtitle {
  font-size: 1.15rem; color: var(--text-secondary); line-height: 1.7;
  max-width: 540px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 16px; }
.hero-avatars { display: flex; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; color: #000;
  border: 2px solid var(--bg-primary);
  margin-right: -8px;
}
.hero-trust-text { font-size: 0.9rem; color: var(--text-secondary); }
.hero-trust-text strong { color: var(--text-primary); }
.hero-stars { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.hero-stars i { color: var(--accent-gold); font-size: 0.75rem; }
.hero-stars span { font-size: 0.8rem; color: var(--text-muted); margin-left: 4px; }

/* Hero Phone */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; z-index: 2; }
.hero-phone { position: relative; }
.phone-frame {
  width: 280px; height: 560px;
  background: var(--bg-card);
  border-radius: 36px;
  border: 2px solid var(--border-hover);
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0,230,64,0.1);
  overflow: hidden; position: relative;
}
.phone-notch {
  width: 120px; height: 28px;
  background: var(--bg-primary);
  border-radius: 0 0 16px 16px;
  margin: 0 auto 12px;
}
.phone-screen { display: flex; flex-direction: column; height: calc(100% - 40px); }
.phone-header {
  text-align: center; font-family: var(--font-display); font-size: 0.85rem;
  font-weight: 600; padding: 8px 0; color: var(--accent-orange);
}
.phone-map {
  flex: 1; background: var(--bg-tertiary); border-radius: var(--radius-md);
  position: relative; overflow: hidden; margin: 0 4px;
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
}
.map-dot {
  position: absolute; width: 32px; height: 32px;
  background: rgba(0,230,64,0.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-orange); font-size: 0.75rem;
  animation: dotPulse 2s ease-in-out infinite;
}
.dot-1 { top: 30%; left: 25%; }
.dot-2 { top: 55%; left: 60%; animation-delay: 0.5s; }
.dot-3 { top: 40%; left: 45%; animation-delay: 1s; }
@keyframes dotPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.map-pulse {
  position: absolute; width: 80px; height: 80px;
  border: 2px solid rgba(0,230,64,0.15);
  border-radius: 50%; animation: pulseFade 3s ease-out infinite;
}
.pulse-1 { top: 25%; left: 35%; }
.pulse-2 { top: 50%; left: 55%; animation-delay: 1.5s; }
@keyframes pulseFade {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}
.phone-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 8px; margin: 8px 4px;
  background: var(--bg-card); border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.phone-card-avatar { font-size: 1.5rem; }
.phone-card-info strong { font-size: 0.8rem; display: block; }
.phone-card-info span { font-size: 0.65rem; color: var(--text-muted); }
.phone-card-status { width: 10px; height: 10px; border-radius: 50%; margin-left: auto; }
.phone-card-status.online { background: var(--accent-teal); box-shadow: 0 0 8px var(--accent-teal); }
.phone-nav {
  display: flex; justify-content: space-around;
  padding: 10px 4px; border-top: 1px solid var(--border); margin-top: auto;
}
.phone-nav-item { color: var(--text-muted); font-size: 0.85rem; transition: var(--transition); }
.phone-nav-item.active { color: var(--accent-orange); }

/* Floating Cards */
.hero-floating-cards { position: absolute; inset: 0; pointer-events: none; }
.float-card {
  position: absolute;
  background: var(--glass); backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); padding: 12px 18px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; color: var(--text-secondary);
  animation: floatCard 6s ease-in-out infinite;
  white-space: nowrap;
}
.float-card i { color: var(--accent-orange); }
.float-card strong { color: var(--text-primary); }
.fc-1 { top: 10%; right: -20px; animation-delay: 0s; }
.fc-2 { bottom: 30%; left: -30px; animation-delay: 2s; }
.fc-3 { bottom: 10%; right: 10px; animation-delay: 4s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== STATS ===== */
#stats {
  padding: 40px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.stat-item { text-align: center; flex: 1; }
.stat-number {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: var(--accent-orange);
}
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ===== SECTIONS COMMON ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600;
  color: var(--accent-orange); text-transform: uppercase; letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--text-secondary); max-width: 600px;
  margin: 0 auto; line-height: 1.6;
}
section { padding: 100px 0; }

/* ===== FEATURES ===== */
#features { background: var(--bg-primary); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-primary); opacity: 0; transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--border-hover); background: var(--bg-card-hover); }
.feature-card:hover::before { opacity: 1; }
.feature-card-wide { grid-column: span 3; }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: rgba(0,230,64,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--accent-orange);
  margin-bottom: 20px; transition: var(--transition);
}
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-card h3 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  margin-bottom: 10px;
}
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.feature-link {
  font-size: 0.85rem; color: var(--accent-orange); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.feature-link:hover { gap: 10px; }

/* ===== KENNEL FINDER ===== */
#kennel-finder { background: var(--bg-secondary); }
.kennel-finder-container {
  display: grid; grid-template-columns: 380px 1fr; gap: 24px;
  height: 600px;
}
.kennel-sidebar { display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.kennel-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px 16px;
}
.kennel-search i { color: var(--text-muted); }
.kennel-search input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text-primary); font-size: 0.9rem;
}
.kennel-search input::placeholder { color: var(--text-muted); }
.kennel-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-pill {
  padding: 6px 14px; border-radius: 100px; font-size: 0.8rem;
  background: var(--bg-card); color: var(--text-secondary);
  border: 1px solid var(--border); transition: var(--transition);
}
.filter-pill.active, .filter-pill:hover {
  background: var(--accent-orange); color: #000; border-color: var(--accent-orange);
}
.kennel-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding-right: 4px; }
.kennel-card {
  display: flex; gap: 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px;
  cursor: pointer; transition: var(--transition);
}
.kennel-card:hover { border-color: var(--accent-orange); background: var(--bg-card-hover); }
.kennel-card-img {
  width: 64px; height: 64px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.3rem; flex-shrink: 0;
}
.kennel-card-info { flex: 1; min-width: 0; }
.kennel-card-info h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.kennel-rating { display: flex; align-items: center; gap: 4px; font-size: 0.8rem; color: var(--accent-gold); margin-bottom: 4px; }
.kennel-rating span { color: var(--text-muted); }
.kennel-address { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 6px; }
.kennel-tags { display: flex; gap: 6px; margin-bottom: 6px; }
.kennel-tags span {
  font-size: 0.7rem; padding: 2px 8px; border-radius: 4px;
  background: rgba(0,230,64,0.1); color: var(--accent-orange);
}
.kennel-price { font-size: 0.82rem; color: var(--text-secondary); }
.kennel-price strong { color: var(--text-primary); font-size: 1rem; }

/* Kennel Map */
.kennel-map { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.map-placeholder {
  width: 100%; height: 100%;
  background: var(--bg-tertiary);
  position: relative; overflow: hidden;
}
.map-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-pin {
  position: absolute; display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: var(--transition);
}
.map-pin i { font-size: 1.8rem; color: var(--accent-orange); filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.map-pin span {
  font-size: 0.7rem; background: var(--bg-card); padding: 2px 8px;
  border-radius: 4px; margin-top: 4px; white-space: nowrap;
  border: 1px solid var(--border); opacity: 0; transition: var(--transition);
}
.map-pin:hover span { opacity: 1; }
.map-pin:hover { transform: scale(1.2); }
.pin-1 { top: 25%; left: 30%; }
.pin-2 { top: 40%; left: 55%; }
.pin-3 { top: 60%; left: 35%; }
.pin-4 { top: 30%; left: 70%; }
.pin-5 { top: 65%; left: 65%; }
.map-center-dot {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent-blue); font-size: 1.2rem;
}
.map-radius {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 200px; height: 200px;
  border: 2px dashed rgba(91,134,229,0.3);
  border-radius: 50%;
}
.map-controls {
  position: absolute; bottom: 16px; right: 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.map-controls button {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); display: flex; align-items: center;
  justify-content: center; transition: var(--transition);
}
.map-controls button:hover { background: var(--accent-orange); color: #000; }

/* ===== MARKETPLACE ===== */
#marketplace { background: var(--bg-primary); }
.marketplace-tabs {
  display: flex; gap: 12px; justify-content: center; margin-bottom: 24px;
}
.mp-tab {
  padding: 10px 24px; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
  display: flex; align-items: center; gap: 8px; transition: var(--transition);
}
.mp-tab.active, .mp-tab:hover {
  background: var(--accent-orange); color: #000; border-color: var(--accent-orange);
}
.marketplace-filters {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 32px; justify-content: center;
}
.mp-filter-group select, .mp-filter-group input {
  padding: 8px 14px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-primary); font-size: 0.85rem; outline: none;
  cursor: pointer;
}
.mp-filter-group select:focus { border-color: var(--accent-orange); }
.mp-view-toggle { display: flex; gap: 4px; margin-left: 8px; }
.view-btn {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--bg-card); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); transition: var(--transition);
}
.view-btn.active { background: var(--accent-orange); color: #000; border-color: var(--accent-orange); }
.marketplace-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.mp-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition);
}
.mp-card:hover { transform: translateY(-6px); border-color: var(--border-hover); box-shadow: var(--shadow-lg); }
.mp-card-img {
  height: 200px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.mp-card-emoji { font-size: 4rem; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)); }
.mp-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 600;
}
.mp-badge.verified { background: rgba(0,212,170,0.2); color: var(--accent-teal); }
.mp-badge-price {
  position: absolute; bottom: 12px; left: 12px;
  padding: 6px 14px; border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.6); backdrop-filter: blur(10px);
  color: white; font-weight: 700; font-size: 1.1rem;
}
.mp-fav {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(10px);
  color: white; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.mp-fav:hover { background: var(--accent-red); }
.mp-fav.liked { background: var(--accent-red); }
.mp-fav.liked i { font-weight: 900; }
.mp-card-body { padding: 18px; }
.mp-card-body h4 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.mp-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.mp-location { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.mp-seller { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; }
.mp-seller-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: #000;
}
.mp-seller-rating { margin-left: auto; color: var(--accent-gold); font-weight: 600; }
.marketplace-cta { text-align: center; margin-top: 40px; }

/* ===== GPS TRACKER ===== */
#gps-tracker { background: var(--bg-secondary); }
.gps-dashboard {
  display: grid; grid-template-columns: 340px 1fr; gap: 24px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  height: 550px;
}
.gps-sidebar {
  padding: 24px; border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 16px; overflow-y: auto;
}
.gps-dog-card {
  display: flex; gap: 12px; padding: 14px;
  border-radius: var(--radius-md); border: 1px solid var(--border);
  cursor: pointer; transition: var(--transition);
}
.gps-dog-card.active, .gps-dog-card:hover {
  background: rgba(0,230,64,0.05); border-color: var(--accent-orange);
}
.gps-dog-avatar { font-size: 2rem; }
.gps-dog-info h4 { font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.gps-status {
  font-size: 0.65rem; padding: 2px 8px; border-radius: 100px; font-weight: 600;
}
.gps-status.online { background: rgba(0,212,170,0.15); color: var(--accent-teal); }
.gps-status.away { background: rgba(255,215,0,0.15); color: var(--accent-gold); }
.gps-dog-info p { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.gps-dog-stats { display: flex; gap: 12px; margin-top: 6px; font-size: 0.72rem; color: var(--text-muted); }
.gps-metrics {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto;
}
.gps-metric {
  display: flex; align-items: center; gap: 10px; padding: 12px;
  background: var(--bg-tertiary); border-radius: var(--radius-sm);
}
.gps-metric i { color: var(--accent-orange); font-size: 0.9rem; }
.gps-metric strong { display: block; font-size: 0.9rem; }
.gps-metric span { font-size: 0.7rem; color: var(--text-muted); }

/* GPS Map Area */
.gps-map-area { display: flex; flex-direction: column; }
.gps-map-display {
  flex: 1; position: relative; background: var(--bg-tertiary); overflow: hidden;
}
.gps-map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}
.gps-geofence {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 250px; height: 250px;
  border: 2px dashed rgba(0,212,170,0.3);
  border-radius: 50%;
  animation: geofencePulse 4s ease-in-out infinite;
}
@keyframes geofencePulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.gps-trail {
  position: absolute; top: 40%; left: 30%;
  width: 200px; height: 100px;
  border-bottom: 2px dashed rgba(0,230,64,0.3);
  border-right: 2px dashed rgba(0,230,64,0.3);
  border-radius: 0 0 40px 0;
}
.gps-dog-marker {
  position: absolute; top: 45%; left: 55%;
  transform: translate(-50%, -50%);
}
.gps-marker-pulse {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: rgba(0,230,64,0.15);
  border-radius: 50%;
  animation: markerPulse 2s ease-out infinite;
}
@keyframes markerPulse {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}
.gps-marker-dot {
  position: relative; width: 44px; height: 44px;
  background: var(--accent-orange);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 20px rgba(0,230,64,0.5);
  z-index: 2;
}
.gps-info-overlay {
  position: absolute; top: 16px; left: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.gps-coords, .gps-speed, .gps-zone {
  background: var(--glass); backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); padding: 8px 14px;
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--text-secondary);
}
.gps-coords { display: flex; gap: 16px; }
.gps-speed i, .gps-zone i { color: var(--accent-orange); margin-right: 6px; }
.gps-zone i { color: var(--accent-teal); }
.gps-map-controls {
  position: absolute; bottom: 16px; right: 16px;
  display: flex; gap: 6px;
}
.gps-ctrl {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--glass); backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border); color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.gps-ctrl:hover, .gps-ctrl.active { background: var(--accent-orange); color: #000; }
.gps-alert-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; background: rgba(0,212,170,0.05);
  border-top: 1px solid var(--border);
  font-size: 0.85rem; color: var(--text-secondary);
}
.gps-alert-bar i { color: var(--accent-teal); }
.gps-alert-bar .btn { margin-left: auto; }

/* ===== DOGGRAM ===== */
#doggram { background: var(--bg-primary); }
.doggram-stories {
  display: flex; gap: 18px; margin-bottom: 32px;
  overflow-x: auto; padding-bottom: 8px;
}
.story-item { text-align: center; cursor: pointer; flex-shrink: 0; }
.story-ring {
  width: 68px; height: 68px; border-radius: 50%;
  padding: 3px; background: var(--bg-card);
  border: 2px solid var(--border);
  margin-bottom: 6px;
}
.story-ring.active { border-color: transparent; background: var(--gradient-primary); }
.story-avatar {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--bg-card); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.story-item.add .story-avatar {
  font-size: 1.5rem; color: var(--accent-orange); font-weight: 300;
}
.story-item span { font-size: 0.72rem; color: var(--text-muted); }
.doggram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.doggram-post {
  border-radius: var(--radius-md); overflow: hidden;
  position: relative; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.doggram-post.post-large { grid-row: span 2; }
.post-emoji { font-size: 4rem; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)); }
.post-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.doggram-post:hover .post-overlay { opacity: 1; }
.post-stats { display: flex; gap: 20px; color: white; font-weight: 600; font-size: 0.9rem; }
.post-stats span { display: flex; align-items: center; gap: 6px; }
.doggram-cta { text-align: center; margin-top: 32px; }

/* ===== VET SERVICES ===== */
#vet-services { background: var(--bg-secondary); }
.vet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.vet-feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: var(--transition);
}
.vet-feature-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.vf-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: rgba(0,230,64,0.1); color: var(--accent-orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 18px;
}
.vet-feature-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 10px; }
.vet-feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 18px; }
.vf-stats { display: flex; gap: 20px; margin-bottom: 18px; font-size: 0.82rem; color: var(--text-muted); }
.vf-stats i { color: var(--accent-teal); margin-right: 4px; }
.vf-emergency-list { display: flex; flex-direction: column; gap: 10px; }
.vf-vet-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; background: var(--bg-tertiary); border-radius: var(--radius-sm);
  font-size: 0.85rem;
}
.vf-vet-status {
  font-size: 0.65rem; padding: 2px 8px; border-radius: 4px; font-weight: 700;
}
.vf-vet-status.open { background: rgba(0,212,170,0.15); color: var(--accent-teal); }
.vf-vet-item strong { flex: 1; }
.vf-vet-item span:last-child { color: var(--text-muted); font-size: 0.78rem; }
.vf-record-list { display: flex; flex-direction: column; gap: 8px; }
.vf-record {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; background: var(--bg-tertiary); border-radius: var(--radius-sm);
  font-size: 0.85rem;
}
.vf-record i { color: var(--accent-purple); }
.vf-record span { margin-left: auto; font-size: 0.78rem; font-weight: 600; }
.health-score-display { display: flex; gap: 24px; align-items: center; }
.health-ring { position: relative; width: 100px; height: 100px; flex-shrink: 0; }
.health-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--bg-tertiary); stroke-width: 8; }
.ring-fill {
  fill: none; stroke: var(--accent-teal); stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: calc(314 - (314 * var(--score)) / 100);
  transition: stroke-dashoffset 1.5s ease;
}
.health-number {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 700;
  color: var(--accent-teal);
}
.health-bars { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.hbar { display: flex; align-items: center; gap: 10px; }
.hbar span { font-size: 0.78rem; color: var(--text-muted); width: 60px; }
.hbar-track { flex: 1; height: 6px; background: var(--bg-tertiary); border-radius: 3px; overflow: hidden; }
.hbar-fill { height: 100%; border-radius: 3px; transition: width 1.5s ease; }

/* ===== BREEDING ===== */
#breeding { background: var(--bg-primary); }
.breeding-showcase {
  display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 32px; align-items: center;
}
.breed-profile {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 32px; text-align: center;
}
.breed-avatar { font-size: 4rem; margin-bottom: 12px; }
.breed-profile h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 4px; }
.breed-profile > p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
.breed-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.bs {
  background: var(--bg-tertiary); border-radius: var(--radius-sm); padding: 10px;
}
.bs span { font-size: 0.72rem; color: var(--text-muted); display: block; }
.bs strong { font-size: 0.9rem; }
.breed-badges { display: flex; flex-direction: column; gap: 6px; }
.bb {
  font-size: 0.78rem; padding: 6px 12px; border-radius: var(--radius-sm);
  background: rgba(0,212,170,0.1); color: var(--accent-teal);
  display: flex; align-items: center; gap: 6px;
}
.breed-match-center { text-align: center; }
.match-animation { margin-bottom: 28px; position: relative; }
.match-heart {
  font-size: 3rem; color: var(--accent-red);
  animation: heartbeat 1.5s ease-in-out infinite;
  margin-bottom: 16px;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.15); }
  30% { transform: scale(1); }
  45% { transform: scale(1.1); }
}
.match-score { margin-bottom: 16px; }
.match-number {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.match-label { font-size: 0.9rem; color: var(--text-muted); }
.match-dna-helix { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; }
.helix-strand {
  width: 4px; height: 40px; border-radius: 2px;
  background: var(--gradient-primary);
  animation: helixSpin 2s ease-in-out infinite;
}
.helix-strand.s2 { animation-delay: 0.3s; }
.helix-strand.s3 { animation-delay: 0.6s; }
@keyframes helixSpin {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(1.5); opacity: 1; }
}
.match-metrics { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.mm { display: flex; align-items: center; gap: 12px; }
.mm span { font-size: 0.82rem; color: var(--text-muted); width: 140px; text-align: left; }
.mm-bar { flex: 1; height: 8px; background: var(--bg-tertiary); border-radius: 4px; overflow: hidden; }
.mm-fill { height: 100%; background: var(--gradient-primary); border-radius: 4px; transition: width 1.5s ease; }
.mm strong { font-size: 0.85rem; width: 40px; text-align: right; color: var(--accent-orange); }

/* ===== TRAINING ===== */
#training { background: var(--bg-secondary); }
.training-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.training-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition);
}
.training-card:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.training-card.featured { border-color: var(--accent-purple); }
.tc-header {
  padding: 28px 24px; text-align: center; position: relative;
}
.tc-level {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  background: rgba(255,255,255,0.2); color: white;
  font-size: 0.75rem; font-weight: 600; margin-bottom: 12px;
}
.tc-badge {
  position: absolute; top: 10px; right: 10px;
  padding: 4px 10px; border-radius: 100px;
  background: var(--accent-gold); color: #000;
  font-size: 0.7rem; font-weight: 700;
}
.tc-emoji { font-size: 2.5rem; }
.tc-body { padding: 24px; }
.tc-body h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 8px; }
.tc-body p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 14px; }
.tc-meta { display: flex; gap: 16px; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px; }
.tc-rating { font-size: 0.78rem; color: var(--accent-gold); margin-bottom: 14px; }
.tc-rating span { color: var(--text-muted); }
.tc-price { margin-bottom: 14px; }
.tc-original { text-decoration: line-through; color: var(--text-muted); font-size: 0.85rem; }
.tc-price strong { font-size: 1.5rem; margin-left: 6px; }

/* ===== PRICING ===== */
#pricing { background: var(--bg-primary); }
.pricing-toggle {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 48px;
}
.pt-label { font-size: 0.9rem; color: var(--text-muted); transition: var(--transition); }
.pt-label.active { color: var(--text-primary); font-weight: 600; }
.pt-switch {
  width: 56px; height: 30px; border-radius: 100px;
  background: var(--bg-tertiary); border: 1px solid var(--border);
  position: relative; padding: 3px; transition: var(--transition);
}
.pt-knob {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-orange); transition: var(--transition);
}
.pt-switch.yearly .pt-knob { transform: translateX(26px); }
.save-badge {
  font-size: 0.7rem; padding: 2px 8px; border-radius: 100px;
  background: rgba(0,212,170,0.15); color: var(--accent-teal);
  font-weight: 600; margin-left: 6px;
}
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px 28px;
  transition: var(--transition); position: relative;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.price-card.popular {
  border-color: var(--accent-orange);
  box-shadow: 0 0 40px rgba(0,230,64,0.15);
}
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 6px 18px; border-radius: 100px;
  background: var(--gradient-primary); color: #000;
  font-size: 0.78rem; font-weight: 700; white-space: nowrap;
}
.pc-header { margin-bottom: 28px; }
.pc-header h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 12px; }
.pc-price { display: flex; align-items: baseline; margin-bottom: 6px; }
.pc-currency { font-size: 1.3rem; font-weight: 600; color: var(--text-muted); }
.pc-amount { font-family: var(--font-display); font-size: 3rem; font-weight: 700; }
.pc-period { font-size: 0.9rem; color: var(--text-muted); margin-left: 4px; }
.pc-header p { font-size: 0.85rem; color: var(--text-muted); }
.pc-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pc-features li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-secondary); }
.pc-features li i { font-size: 0.8rem; }
.pc-features li i.fa-check { color: var(--accent-teal); }
.pc-features li i.fa-xmark { color: var(--text-muted); }
.pc-features li.disabled { color: var(--text-muted); }

/* ===== TESTIMONIALS ===== */
#testimonials { background: var(--bg-secondary); }
.testimonial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-2px); border-color: var(--border-hover); }
.tc-stars { color: var(--accent-gold); font-size: 0.85rem; margin-bottom: 14px; }
.testimonial-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 18px; font-style: italic; }
.tc-author { display: flex; align-items: center; gap: 10px; }
.tc-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: #000;
}
.tc-author strong { display: block; font-size: 0.9rem; }
.tc-author span { font-size: 0.78rem; color: var(--text-muted); }

/* ===== DOWNLOAD ===== */
#download { background: var(--bg-primary); }
.download-container {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 60px;
  position: relative; overflow: hidden;
}
.download-container::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,230,64,0.1) 0%, transparent 60%);
}
.download-content { position: relative; }
.download-content h2 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 14px; }
.download-content p { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 28px; }
.download-buttons { display: flex; gap: 14px; margin-bottom: 28px; }
.download-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px; border-radius: var(--radius-md);
  background: var(--text-primary); color: var(--bg-primary);
  transition: var(--transition);
}
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,255,255,0.1); }
.download-btn i { font-size: 1.5rem; }
.download-btn span { font-size: 0.72rem; display: block; }
.download-btn strong { font-size: 1rem; }
.download-stats { display: flex; gap: 28px; }
.ds { font-size: 0.9rem; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
.ds i { color: var(--accent-orange); }
.download-visual { display: flex; justify-content: center; position: relative; }
.dp-frame {
  width: 240px; height: 480px;
  background: var(--bg-tertiary);
  border-radius: 32px; border: 2px solid var(--border);
  padding: 10px; overflow: hidden;
}
.dp-notch {
  width: 100px; height: 24px;
  background: var(--bg-primary);
  border-radius: 0 0 14px 14px;
  margin: 0 auto 16px;
}
.dp-screen { text-align: center; }
.dp-app-icon { font-size: 3rem; color: var(--accent-orange); margin-bottom: 8px; }
.dp-app-name {
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 600;
  margin-bottom: 24px; color: var(--accent-orange);
}
.dp-features-list { display: flex; flex-direction: column; gap: 10px; padding: 0 8px; }
.dp-feat {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: var(--bg-card); border-radius: var(--radius-sm);
  font-size: 0.8rem; border: 1px solid var(--border);
}
.dp-feat i { color: var(--accent-orange); font-size: 0.85rem; }

/* ===== FOOTER ===== */
#footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 2fr; gap: 60px; margin-bottom: 48px; }
.footer-logo {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin-bottom: 14px;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translateZ(0);
  letter-spacing: -0.01em;
}
.footer-logo i { color: var(--accent-orange); filter: drop-shadow(0 0 4px rgba(255,106,0,0.4)); }
.footer-logo strong { color: var(--accent-orange); }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-tertiary); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: var(--transition);
}
.footer-socials a:hover { background: var(--accent-orange); color: #000; border-color: var(--accent-orange); }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 600;
  margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 0.85rem; color: var(--text-muted);
  margin-bottom: 10px; transition: var(--transition);
}
.footer-col a:hover { color: var(--accent-orange); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-badges { display: flex; gap: 16px; }
.footer-badges span {
  font-size: 0.78rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
}
.footer-badges i { color: var(--accent-teal); }

/* ===== AUTH MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px;
  max-width: 440px; width: 90%;
  transform: translateY(20px); transition: var(--transition);
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-tertiary); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--accent-red); color: white; }
.auth-modal { position: relative; }
.auth-tabs { display: flex; gap: 4px; margin-bottom: 28px; }
.auth-tab {
  flex: 1; padding: 10px; text-align: center;
  border-radius: var(--radius-sm);
  background: transparent; color: var(--text-muted);
  font-weight: 600; transition: var(--transition);
}
.auth-tab.active { background: var(--bg-tertiary); color: var(--text-primary); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; }
.form-group input, .form-group select {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-md);
  background: var(--bg-tertiary); border: 1px solid var(--border);
  color: var(--text-primary); font-size: 0.9rem; outline: none;
  transition: var(--transition);
}
.form-group input:focus, .form-group select:focus { border-color: var(--accent-orange); }
.form-group input::placeholder { color: var(--text-muted); }
.auth-divider {
  text-align: center; margin: 20px 0; position: relative;
  font-size: 0.82rem; color: var(--text-muted);
}
.auth-divider::before, .auth-divider::after {
  content: ''; position: absolute; top: 50%; width: calc(50% - 60px); height: 1px;
  background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }
.auth-socials { display: flex; gap: 10px; justify-content: center; }
.social-btn {
  width: 50px; height: 50px; border-radius: var(--radius-md);
  background: var(--bg-tertiary); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.social-btn:hover { border-color: var(--accent-orange); color: var(--text-primary); }

/* ===== TOAST ===== */
#toastContainer {
  position: fixed; top: 80px; right: 20px; z-index: 99999;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  padding: 14px 20px; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-primary); font-size: 0.9rem;
  display: flex; align-items: center; gap: 10px;
  animation: toastIn 0.3s ease;
  min-width: 300px;
}
.toast.success { border-left: 4px solid var(--accent-teal); }
.toast.error { border-left: 4px solid var(--accent-red); }
.toast.info { border-left: 4px solid var(--accent-blue); }
.toast i { font-size: 1rem; }
.toast.success i { color: var(--accent-teal); }
.toast.error i { color: var(--accent-red); }
.toast.info i { color: var(--accent-blue); }
@keyframes toastIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient-primary); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; opacity: 0; visibility: hidden;
  transition: var(--transition); box-shadow: 0 4px 20px rgba(0,230,64,0.3);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-wide { grid-column: span 2; }
  .marketplace-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .training-grid { grid-template-columns: repeat(2, 1fr); }
  .breeding-showcase { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; text-align: center; padding-top: 100px; min-height: auto; padding-bottom: 60px; }
  .hero-content { align-items: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; flex-wrap: wrap; }
  .hero-visual { display: none; }
  .kennel-finder-container { grid-template-columns: 1fr; height: auto; }
  .kennel-map { height: 350px; }
  .gps-dashboard { grid-template-columns: 1fr; height: auto; }
  .gps-sidebar { border-right: none; border-bottom: 1px solid var(--border); }
  .gps-map-area { min-height: 350px; }
  .vet-grid { grid-template-columns: 1fr; }
  .download-container { grid-template-columns: 1fr; }
  .download-visual { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .health-score-display { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.active {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px; gap: 16px;
    z-index: 999;
  }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: span 1; }
  .marketplace-grid { grid-template-columns: repeat(2, 1fr); }
  .doggram-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .training-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .stat-divider { display: none; }
  .stat-item { min-width: 120px; }
  .marketplace-tabs { flex-wrap: wrap; }
  .marketplace-filters { flex-direction: column; align-items: stretch; }
  .download-container { padding: 32px 20px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  #loginBtn { display: none; }
  /* GPS mobile fixes */
  .gps-dashboard { border-radius: var(--radius-lg); }
  .gps-sidebar { padding: 16px; }
  .gps-dog-card { padding: 10px; }
  .gps-metrics { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gps-info-overlay { top: 8px; left: 8px; }
  .gps-coords { flex-direction: column; gap: 4px; }
  .gps-geofence { width: 180px; height: 180px; }
  /* Kennel finder mobile */
  .kennel-sidebar { gap: 12px; }
  .kennel-card { padding: 10px; gap: 10px; }
  .kennel-card-img { width: 52px; height: 52px; font-size: 1.1rem; }
  .kennel-map { height: 300px; }
  /* Breeding mobile */
  .breeding-showcase { grid-template-columns: 1fr; gap: 20px; }
  .breed-profile { padding: 24px; }
  .match-number { font-size: 2.8rem; }
  /* Marketplace cards */
  .mp-card-img { height: 140px; }
  /* Vet services */
  .vet-feature-card { padding: 24px; }
  .vf-stats { flex-wrap: wrap; gap: 10px; }
  /* Stories horizontal scroll */
  .doggram-stories { gap: 12px; }
  .story-ring { width: 56px; height: 56px; }
  /* Loader */
  .loader-logo { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .marketplace-grid { grid-template-columns: 1fr; }
  .doggram-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .doggram-post.post-large { grid-row: span 1; }
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .download-buttons { flex-direction: column; }
  .gps-metrics { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .section-inner { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  #hero { padding: 90px 16px 48px; }
  .stats-inner { padding: 0 16px; }
  .stat-item { min-width: 100px; }
  .stat-number { font-size: 1.5rem; }
  .stat-label { font-size: 0.72rem; }
  /* GPS on small phones */
  .gps-map-area { min-height: 300px; }
  .gps-sidebar { padding: 12px; }
  .gps-metric { padding: 8px; gap: 8px; }
  .gps-metric strong { font-size: 0.82rem; }
  .gps-alert-bar { padding: 10px 12px; font-size: 0.78rem; flex-wrap: wrap; gap: 8px; }
  .gps-alert-bar .btn { margin-left: 0; width: 100%; justify-content: center; }
  /* Kennel finder small */
  .kennel-finder-container { gap: 16px; }
  .kennel-map { height: 250px; }
  .kennel-search { padding: 10px 12px; }
  .filter-pill { padding: 5px 10px; font-size: 0.72rem; }
  /* Breeding small */
  .breed-profile { padding: 20px; }
  .breed-avatar { font-size: 3rem; }
  .breed-profile h3 { font-size: 1.1rem; }
  .breed-stats-grid { gap: 6px; }
  .match-dna-helix { gap: 6px; }
  .match-heart { font-size: 2.2rem; }
  /* Marketplace small */
  .mp-card-body { padding: 14px; }
  .mp-card-img { height: 160px; }
  .mp-card-title { font-size: 0.95rem; }
  /* Vet small */
  .vet-feature-card { padding: 18px; }
  .vet-feature-card h3 { font-size: 1.05rem; }
  .vf-icon { width: 44px; height: 44px; font-size: 1.1rem; }
  .vf-vet-item { padding: 8px; font-size: 0.78rem; flex-wrap: wrap; }
  .health-ring { width: 80px; height: 80px; }
  .health-number { font-size: 1.4rem; }
  /* Doggram small */
  .doggram-stories { gap: 10px; }
  .story-ring { width: 50px; height: 50px; }
  .post-emoji { font-size: 2.8rem; }
  /* Pricing small */
  .pricing-grid { max-width: 100%; }
  .training-grid { max-width: 100%; }
  /* Footer small */
  .footer-inner { padding: 0 16px; }
  .footer-logo { font-size: 1.3rem; }
  .footer-top { gap: 32px; }
  /* Download small */
  .download-container { padding: 24px 16px; border-radius: var(--radius-lg); }
  /* Loader small */
  .loader-logo { font-size: 1.8rem; }
  /* Buttons */
  .btn { padding: 12px 20px; font-size: 0.88rem; }
  .btn-lg { padding: 14px 24px; font-size: 0.95rem; }
}

/* ===== EXTRA SMALL — 360px and below ===== */
@media (max-width: 360px) {
  .hero-title { font-size: 1.7rem; }
  .section-title { font-size: 1.4rem; }
  .hero-badge { font-size: 0.72rem; padding: 6px 14px; }
  .hero-subtitle { font-size: 0.95rem; }
  .nav-logo { font-size: 1.2rem; gap: 8px; }
  .nav-logo i { font-size: 1.3rem; }
  .stat-item { min-width: 80px; }
  .stat-number { font-size: 1.3rem; }
  .marketplace-grid { gap: 12px; }
  .kennel-card-img { width: 44px; height: 44px; font-size: 0.9rem; }
  .gps-geofence { width: 140px; height: 140px; }
  .breed-stats-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   UNIVERSAL RESPONSIVE FIX — SAME EXPERIENCE ON ALL DEVICES
   Desktop · Tablet · Mobile — identical content & layout
   ═══════════════════════════════════════════════════════════ */

/* ── FLUID TYPOGRAPHY — scales smoothly on all screens ── */
:root {
  --hero-title-size: clamp(2rem, 5vw, 4.5rem);
  --section-title-size: clamp(1.6rem, 3.5vw, 3rem);
  --body-size: clamp(0.9rem, 1.5vw, 1.05rem);
}
.hero-title { font-size: var(--hero-title-size) !important; }
.section-title { font-size: var(--section-title-size) !important; }

/* ── NAV: fix clipping on mobile — hide search/theme on small screens ── */
@media (max-width: 768px) {
  .nav-inner {
    padding: 0 12px;
    gap: 8px;
    overflow: visible;
  }
  .nav-search-btn,
  .nav-theme-btn {
    display: none !important;
  }
  .nav-actions {
    gap: 6px;
    flex-shrink: 0;
  }
  #signupBtn {
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
    white-space: nowrap;
  }
  .nav-logo {
    font-size: 1.15rem;
    gap: 8px;
    flex-shrink: 0;
  }
  .nav-logo i { font-size: 1.3rem; }
}

/* ── STATS BAR — consistent 3-col grid on all screens ── */
@media (max-width: 768px) {
  .stats-inner {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    flex-wrap: unset !important;
    gap: 0 !important;
    padding: 0 !important;
  }
  .stat-divider { display: none !important; }
  .stat-item {
    min-width: unset !important;
    padding: 20px 8px !important;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
  }
  .stat-item:nth-child(6),
  .stat-item:nth-child(7) { border-right: none; }
  .stat-number { font-size: clamp(1.4rem, 5vw, 2rem) !important; }
  .stat-label  { font-size: 0.7rem !important; }
}

/* ── HERO — show visual on tablet, hide only on small phones ── */
@media (min-width: 600px) and (max-width: 900px) {
  #hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding-top: 110px !important;
  }
  .hero-visual {
    display: flex !important;
    justify-content: center;
    margin-top: 32px;
    transform: scale(0.75);
    transform-origin: top center;
  }
}
@media (max-width: 599px) {
  .hero-visual { display: none !important; }
}

/* ── FEATURES GRID — 2 col on tablet, 1 col on mobile ── */
@media (min-width: 601px) and (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .feature-card-wide { grid-column: span 2 !important; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr !important; }
  .feature-card-wide { grid-column: span 1 !important; }
}

/* ── MARKETPLACE — consistent card sizing ── */
@media (max-width: 768px) {
  .marketplace-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .mp-filter-group select,
  .mp-filter-group button { width: 100% !important; }
  .mp-view-toggle { display: none; }
  .marketplace-filters { gap: 10px !important; }
}
@media (max-width: 480px) {
  .marketplace-grid { grid-template-columns: 1fr !important; }
}

/* ── PRICING — stack cleanly on all screens ── */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 100% !important;
  }
}
@media (max-width: 560px) {
  .pricing-grid {
    grid-template-columns: 1fr !important;
    max-width: 380px !important;
    margin: 0 auto !important;
  }
}

/* ── TRAINING — always 2 cols on tablet ── */
@media (min-width: 601px) and (max-width: 900px) {
  .training-grid { grid-template-columns: repeat(2, 1fr) !important; max-width: 100% !important; }
}

/* ── TESTIMONIALS — 2 cols on tablet, 1 on mobile ── */
@media (min-width: 601px) and (max-width: 900px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .testimonial-grid { grid-template-columns: 1fr !important; }
}

/* ── VET GRID — 2 cols on tablet ── */
@media (min-width: 601px) and (max-width: 900px) {
  .vet-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── KENNEL FINDER — full width map on mobile ── */
@media (max-width: 900px) {
  .kennel-finder-container { grid-template-columns: 1fr !important; }
  .kennel-map { height: 320px !important; border-radius: var(--radius-lg) !important; }
}

/* ── GPS DASHBOARD — full width on mobile ── */
@media (max-width: 900px) {
  .gps-dashboard { grid-template-columns: 1fr !important; }
  .gps-sidebar { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .gps-map-area { min-height: 320px !important; }
}

/* ── DOWNLOAD — hide visual, center content ── */
@media (max-width: 900px) {
  .download-container { grid-template-columns: 1fr !important; text-align: center !important; }
  .download-visual { display: none !important; }
  .download-content { align-items: center !important; }
  .download-buttons { justify-content: center !important; }
  .download-stats { justify-content: center !important; }
}
@media (max-width: 480px) {
  .download-buttons { flex-direction: column !important; align-items: stretch !important; }
  .download-btn { width: 100% !important; justify-content: center !important; }
}

/* ── FOOTER — responsive columns ── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr !important; gap: 32px !important; }
  .footer-links { grid-template-columns: repeat(2, 1fr) !important; gap: 24px !important; }
}
@media (max-width: 480px) {
  .footer-links { grid-template-columns: repeat(2, 1fr) !important; }
  .footer-bottom { flex-direction: column !important; gap: 12px !important; text-align: center !important; }
  .footer-badges { flex-wrap: wrap !important; justify-content: center !important; gap: 8px !important; }
}

/* ── SECTION PADDING — consistent vertical rhythm ── */
@media (max-width: 900px) {
  section { padding: 64px 0 !important; }
  .section-inner { padding: 0 20px !important; }
  .section-header { margin-bottom: 40px !important; }
}
@media (max-width: 480px) {
  section { padding: 48px 0 !important; }
  .section-inner { padding: 0 16px !important; }
}

/* ── HERO ACTIONS — always full width on small screens ── */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column !important; width: 100% !important; }
  .hero-actions .btn { width: 100% !important; justify-content: center !important; }
}

/* ── CARDS — consistent min height on all screens ── */
.feature-card,
.price-card,
.training-card,
.testimonial-card {
  height: 100%;
}

/* ── MOBILE MENU — full screen overlay ── */
@media (max-width: 768px) {
  .nav-links.active {
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(5,10,5,0.98) !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 28px !important;
    font-size: 1.3rem !important;
    z-index: 9999 !important;
    padding: 40px 24px !important;
    border-bottom: none !important;
  }
  .nav-links.active a {
    font-size: 1.3rem !important;
    color: var(--text-primary) !important;
  }
}

/* ── TABLET BREAKPOINT (600–1100px) — add padding ── */
@media (min-width: 601px) and (max-width: 1100px) {
  .nav-inner { padding: 0 20px; }
  .section-inner { padding: 0 24px; }
}

/* ── PREVENT HORIZONTAL SCROLL GLOBALLY ── */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* ========== TRUSTED PARTNERS / AFFILIATES ========== */
#partners {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
}
#partners::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  text-decoration: none;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.partner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,230,64,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.partner-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.partner-card:hover::before { opacity: 1; }

.partner-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-emerald);
  border: 1px solid rgba(0,230,64,0.3);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 24px;
  width: fit-content;
}

.partner-logo-wrap {
  margin-bottom: 20px;
}
.partner-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--pc) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--pc) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--pc);
}

.partner-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text-primary);
}
.partner-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin: 0 0 24px;
}
.partner-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-emerald);
  transition: gap 0.2s ease;
}
.partner-card:hover .partner-cta { gap: 12px; }

.affiliate-disclaimer {
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .partners-grid { grid-template-columns: 1fr; gap: 16px; }
  .partner-card { padding: 24px 20px; }
}
