/*
Theme Name: SubItUp Landing Page - Deploy 2026-02-23 v4
Theme URI: https://subitup.com
Author: SubItUp
Description: A custom WordPress theme for SubItUp landing page - Performance & Responsive Optimized
Version: 4.0.0-deploy
License: GNU General Public License v2 or later
Text Domain: subitup
Last Updated: 2026-02-23
*/

/* ==================== CSS Variables ==================== */
:root {
  /* Colors */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(220, 13%, 18%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(220, 13%, 18%);
  --primary: hsl(195, 100%, 28%);
  --primary-foreground: hsl(0, 0%, 100%);
  --brand-red: hsl(351, 90%, 59%);
  --brand-yellow: hsl(49, 98%, 57%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(187, 100%, 34%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(214, 32%, 95%);
  --muted-foreground: hsl(220, 13%, 46%);
  --accent: hsl(270, 45%, 58%);
  --accent-foreground: hsl(0, 0%, 100%);
  --destructive: hsl(0, 84%, 60%);
  --destructive-foreground: hsl(0, 0%, 100%);
  --border: hsl(214, 32%, 91%);
  --radius: 0.75rem;
  
  /* Brand Colors */
  --brand-orange: hsl(32, 95%, 54%);
  --brand-teal: hsl(187, 100%, 34%);
  --brand-blue: hsl(195, 100%, 28%);
  --brand-blue-light: hsl(214, 32%, 95%);
  --brand-purple: hsl(270, 45%, 58%);
  --brand-pink: hsl(336, 84%, 58%);
  --brand-green: hsl(162, 63%, 41%);
  --brand-cyan: hsl(194, 100%, 50%);
  
  /* Fluid Typography Scale */
  --font-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --font-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --font-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --font-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
  --font-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --font-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --font-3xl: clamp(1.875rem, 1.4rem + 2.4vw, 3rem);
  --font-4xl: clamp(2.25rem, 1.6rem + 3.25vw, 4rem);
  
  /* Fluid Spacing Scale */
  --space-xs: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --space-sm: clamp(0.75rem, 0.6rem + 0.75vw, 1rem);
  --space-md: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  --space-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --space-xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --space-2xl: clamp(3rem, 2rem + 5vw, 5rem);
  --space-3xl: clamp(4rem, 2.5rem + 7.5vw, 8rem);
}

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

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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-size: var(--font-base);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
  max-width: 65ch;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ==================== Accessibility ==================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .logo-scroll {
    animation: none !important;
  }
}

*:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

/* ADA Compliance: Minimum touch target */
button,
[role="button"],
a {
  min-height: 44px;
  min-width: 44px;
}

/* Exception for inline links */
p a,
li a,
.footer-links a {
  min-height: auto;
  min-width: auto;
}

/* Skip Link */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
}

.skip-to-content:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 1rem 1.5rem;
  background: var(--brand-blue);
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary: hsl(32, 100%, 45%);
    --border: hsl(0, 0%, 0%);
  }
}

/* ==================== Container ==================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding-inline: var(--space-md);
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: var(--font-sm);
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-primary {
  background-color: var(--brand-orange);
  color: white;
}

.btn-primary:hover {
  background-color: hsl(32, 95%, 45%);
}

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

.btn-secondary:hover {
  background-color: hsl(187, 100%, 28%);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-teal {
  background-color: var(--brand-teal);
  color: white;
}

.btn-teal:hover {
  background-color: hsl(187, 100%, 28%);
}

.btn-lg {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-base);
}

/* ==================== Cards ==================== */
.card {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-content {
  padding: var(--space-md);
}

.card-header {
  padding: var(--space-md) var(--space-md) 0;
}

.card-title {
  font-size: var(--font-xl);
  font-weight: 700;
}

/* ==================== Header ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(56px, 8vw, 72px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.logo {
  height: clamp(24px, 4vw, 36px);
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: none;
  gap: clamp(1rem, 2vw, 1.5rem);
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
}

.main-nav a {
  font-size: var(--font-sm);
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.5rem;
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header-right .desktop-only {
  display: inline-flex;
  padding: 0.5rem 1rem;
  font-size: var(--font-xs);
}

@media (min-width: 640px) {
  .header-right .desktop-only {
    padding: 0.625rem 1.25rem;
    font-size: var(--font-sm);
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 5px;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--foreground);
  transition: transform 0.3s ease, opacity 0.3s ease;
  will-change: transform, opacity;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile Menu Panel */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(280px, 85vw);
  height: 100vh;
  height: 100dvh;
  background-color: var(--background);
  z-index: 100;
  transform: translateX(100%);
  pointer-events: none;
  transition: transform 0.3s ease;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  will-change: transform;
}

.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: var(--space-3xl) var(--space-md) var(--space-lg);
  gap: 0.25rem;
}

.mobile-nav a {
  font-size: var(--font-lg);
  font-weight: 500;
  padding: var(--space-sm) 0;
  transition: color 0.2s;
  border-bottom: 1px solid var(--border);
}

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

.mobile-nav .mobile-cta {
  margin-top: var(--space-md);
  width: 100%;
  text-align: center;
  border-bottom: none;
}

/* ==================== Hero Section ==================== */
.hero {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue) 50%, hsl(195, 100%, 22%) 100%);
  padding: var(--space-2xl) 0 var(--space-3xl);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

.hero-content {
  color: white;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
  }
}

.hero h1 {
  font-size: var(--font-4xl);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.hero-description {
  font-size: var(--font-lg);
  margin-bottom: var(--space-lg);
  opacity: 0.9;
  max-width: 42rem;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .hero-description {
    font-size: var(--font-xl);
    margin-inline: 0;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero-buttons {
    justify-content: flex-start;
  }
}

.hero-visual {
  position: relative;
  max-width: 32rem;
  margin: 0 auto;
  width: 100%;
}

.hero-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  background-color: hsl(220, 13%, 18%);
}

.hero-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Video facade (lite YouTube embed) */
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-facade:hover .video-play-btn svg {
  opacity: 1;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.video-play-btn svg {
  opacity: 0.85;
  transition: opacity 0.2s;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

/* ==================== Section Styles ==================== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  font-size: var(--font-3xl);
  margin-bottom: var(--space-sm);
}

.section-header p {
  font-size: var(--font-lg);
  color: var(--muted-foreground);
  max-width: 42rem;
  margin-inline: auto;
}

/* ==================== Problem/Solution Section ==================== */
.problem-solution {
  padding: var(--space-2xl) 0;
  background-color: var(--brand-blue-light);
}

.ps-grid {
  display: grid;
  gap: var(--space-lg);
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .ps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.problems-card,
.solutions-card {
  border-radius: 1rem;
  padding: var(--space-lg);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.problems-card {
  background-color: white;
}

.solutions-card {
  background: linear-gradient(135deg, var(--secondary), var(--brand-teal));
  color: white;
}

.problems-card h3,
.solutions-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-xl);
  margin-bottom: var(--space-md);
}

.problems-card .icon {
  color: var(--destructive);
  flex-shrink: 0;
}

.solutions-card .check-header {
  color: #4ade80;
  flex-shrink: 0;
}

.ps-list {
  list-style: none;
}

.ps-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
  font-size: var(--font-sm);
}

.ps-list .bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--destructive);
  margin-top: 8px;
  flex-shrink: 0;
}

.ps-list .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #4ade80;
}

/* ==================== Social Proof Section ==================== */
.social-proof {
  padding: var(--space-2xl) 0;
  background-color: var(--background);
}

.logo-gallery {
  overflow: hidden;
  margin-bottom: var(--space-2xl);
  -webkit-mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.logo-scroll {
  display: flex;
  animation: scroll 40s linear infinite;
  will-change: transform;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-item {
  flex-shrink: 0;
  width: clamp(120px, 15vw, 180px);
  height: clamp(80px, 10vw, 120px);
  margin: 0 clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(1);
  transition: opacity 0.3s, filter 0.3s;
}

.logo-item img:hover {
  opacity: 1;
  filter: grayscale(0);
}

.stats-grid {
  display: grid;
  gap: var(--space-md);
  max-width: 64rem;
  margin: 0 auto var(--space-2xl);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stat-card {
  text-align: center;
  padding: var(--space-md);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--card);
}

.stat-number {
  font-size: var(--font-3xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-sublabel {
  color: var(--muted-foreground);
  font-size: var(--font-xs);
}

.stat-label {
  color: var(--muted-foreground);
  font-size: var(--font-sm);
}

.testimonials-grid {
  display: grid;
  gap: var(--space-lg);
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.testimonial-card {
  padding: var(--space-lg);
  border-radius: var(--radius);
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card.teal {
  background-color: var(--brand-teal);
}

.testimonial-card.purple {
  background-color: var(--brand-purple);
}

.testimonial-quote {
  font-size: var(--font-lg);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 600;
  font-size: var(--font-sm);
}

.verticals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  max-width: 64rem;
  margin: var(--space-xl) auto 0;
}

@media (min-width: 768px) {
  .verticals-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
  }
}

.vertical-link {
  display: block;
  overflow: hidden;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.vertical-link:hover {
  transform: scale(1.03);
}

.vertical-link img {
  width: 100%;
  height: auto;
}

.section-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ==================== Features Section ==================== */
.features {
  padding: var(--space-2xl) 0;
  background-color: var(--brand-blue-light);
}

.features-grid {
  display: grid;
  gap: var(--space-md);
  max-width: 72rem;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

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

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: white;
  border-radius: var(--radius);
  padding: var(--space-md);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.feature-icon {
  width: clamp(36px, 5vw, 48px);
  height: clamp(36px, 5vw, 48px);
  margin-bottom: var(--space-sm);
}

.feature-icon.primary { color: var(--primary); }
.feature-icon.secondary { color: var(--secondary); }
.feature-icon.pink { color: var(--brand-pink); }
.feature-icon.green { color: var(--brand-green); }
.feature-icon.purple { color: var(--brand-purple); }
.feature-icon.cyan { color: var(--brand-cyan); }
.feature-icon.orange { color: var(--brand-orange); }
.feature-icon.yellow { color: var(--brand-yellow); }
.feature-icon.red { color: var(--brand-red); }
.feature-icon.teal { color: var(--brand-teal); }

.feature-card h3 {
  font-size: var(--font-lg);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted-foreground);
  font-size: var(--font-sm);
}

/* ==================== FAQ Section ==================== */
.faq {
  padding: var(--space-2xl) 0;
  background-color: var(--background);
}

.faq-list {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-md) 0;
  font-size: var(--font-base);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  color: var(--foreground);
  transition: color 0.2s;
}

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

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: var(--muted-foreground);
  font-size: var(--font-sm);
}

.faq-answer p {
  max-width: 100%;
}

.faq-answer a {
  color: var(--brand-blue);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer a:hover {
  color: hsl(195, 100%, 22%);
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: var(--space-md);
}

/* ==================== Lead Form Section ==================== */
.lead-form-section {
  padding: var(--space-2xl) 0;
  background-color: var(--primary);
  color: white;
}

.lead-form-section .section-header h2,
.lead-form-section .section-header p {
  color: white;
}

.lead-form-section .section-header p {
  opacity: 0.9;
}

.form-card {
  max-width: 56rem;
  margin: 0 auto;
  background-color: white;
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.form-card h3 {
  font-size: var(--font-xl);
  color: var(--foreground);
  margin-bottom: var(--space-md);
}

.form-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--foreground);
}

.form-group input,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--font-base);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px hsla(195, 100%, 28%, 0.15);
}

.form-submit {
  grid-column: 1 / -1;
  margin-top: var(--space-sm);
}

.form-submit .btn {
  width: 100%;
}

/* ==================== Footer ==================== */
.site-footer {
  background-color: var(--foreground);
  color: var(--background);
  padding: var(--space-xl) 0;
}

.footer-grid {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(4, 1fr);
  }
}

.footer-brand img {
  height: clamp(24px, 4vw, 32px);
  width: auto;
  object-fit: contain;
  margin-bottom: var(--space-sm);
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: var(--font-sm);
  opacity: 0.7;
}

.footer-links h4 {
  font-weight: 700;
  margin-bottom: var(--space-sm);
  font-size: var(--font-sm);
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  font-size: var(--font-xs);
  opacity: 0.7;
  transition: opacity 0.2s;
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-lg);
  text-align: center;
  font-size: var(--font-xs);
  opacity: 0.7;
}

/* ==================== HubSpot Form Styling ==================== */
#hubspot-form-container {
  min-height: 300px;
}

#hubspot-form-container .hs-form {
  font-family: 'DM Sans', sans-serif;
}

#hubspot-form-container .hs-form-field {
  margin-bottom: var(--space-sm);
}

#hubspot-form-container .hs-form-field label {
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  display: block;
}

#hubspot-form-container .hs-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--font-base);
}

#hubspot-form-container .hs-input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px hsla(195, 100%, 28%, 0.15);
}

#hubspot-form-container .hs-button {
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: var(--radius);
  font-size: var(--font-base);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

#hubspot-form-container .hs-button:hover {
  background-color: hsl(32, 95%, 45%);
}

/* ==================== Animations ==================== */
.animate-target {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-target.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== Section Badge ==================== */
.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background-color: hsla(195, 100%, 28%, 0.1);
  color: var(--primary);
  font-size: var(--font-sm);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

/* ==================== City Seals Gallery ==================== */
.city-seal-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid hsla(214, 32%, 91%, 0.5);
  min-width: 140px;
  margin: 0 0.75rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.city-seal-item:hover {
  border-color: hsla(195, 100%, 28%, 0.3);
  box-shadow: 0 10px 25px -5px hsla(195, 100%, 28%, 0.05);
}

.city-seal-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, hsla(195, 100%, 28%, 0.2), hsla(195, 100%, 28%, 0.05));
  border: 1px solid hsla(195, 100%, 28%, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.city-seal-item:hover .city-seal-icon {
  transform: scale(1.05);
}

.city-seal-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.city-seal-state {
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--primary);
}

.city-seal-name {
  font-size: var(--font-xs);
  color: var(--muted-foreground);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==================== Job Types ==================== */
.job-types-section {
  margin-bottom: var(--space-2xl);
}

.job-types-heading {
  font-size: var(--font-2xl);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.text-purple {
  color: var(--brand-purple);
}

.job-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .job-types-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .job-types-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.job-type-card {
  text-align: center;
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid hsla(214, 32%, 91%, 0.5);
  transition: all 0.3s;
}

.job-type-card:hover {
  border-color: hsla(195, 100%, 28%, 0.3);
  box-shadow: 0 10px 25px -5px hsla(195, 100%, 28%, 0.05);
  transform: translateY(-4px);
}

.job-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, hsla(270, 45%, 58%, 0.2), hsla(270, 45%, 58%, 0.05));
  margin-bottom: 0.75rem;
}

.job-type-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--brand-purple);
}

.job-type-card h4 {
  font-size: var(--font-sm);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.job-type-card p {
  font-size: var(--font-xs);
  color: var(--muted-foreground);
  display: none;
}

@media (min-width: 640px) {
  .job-type-card p {
    display: block;
  }
}

/* ==================== Feature Benefits ==================== */
.feature-benefit {
  display: inline-block;
  font-size: var(--font-xs);
  font-weight: 600;
  color: var(--primary);
  background-color: hsla(195, 100%, 28%, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-top: var(--space-sm);
}

/* ==================== Recreation Center Tools ==================== */
.rec-center-tools {
  margin-top: var(--space-2xl);
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, var(--primary), hsla(195, 100%, 22%, 1));
  color: white;
  border-radius: var(--radius);
  padding: var(--space-lg);
}

.rec-center-tools h3 {
  font-size: var(--font-xl);
  text-align: center;
  margin-bottom: var(--space-md);
}

.rec-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .rec-tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.rec-tool-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--brand-orange);
}

.rec-tool-item span {
  font-size: var(--font-sm);
}

/* ==================== Footer Social Links ==================== */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: var(--space-sm);
}

.footer-social a {
  color: hsla(0, 0%, 100%, 0.7);
  transition: color 0.2s;
  padding: 0.5rem;
  margin: -0.5rem;
  border-radius: 0.25rem;
}

.footer-social a:hover {
  color: white;
}

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

/* ==================== Print Styles ==================== */
@media print {
  .site-header,
  .mobile-menu,
  .mobile-menu-overlay,
  .hero-video-wrapper,
  .logo-gallery {
    display: none !important;
  }
  
  .hero {
    background: white !important;
    color: black !important;
  }
  
  .hero-content {
    color: black !important;
  }
}
