/* =============================================
   SURFACE PRINT TX — Global Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;600;700;800;900&display=swap');

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

:root {
  --bg-deep: #030712;
  --bg-dark: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.85);
  --bg-card-hover: rgba(25, 38, 65, 0.95);
  --cyan: #06c6e8;
  --cyan-dark: #0891b2;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(148, 163, 184, 0.10);
  --border-glow: rgba(6, 198, 232, 0.25);
  --gradient-cyan: linear-gradient(135deg, #06c6e8, #3b82f6);
  --gradient-orange: linear-gradient(135deg, #f97316, #ef4444);
  --gradient-hero: linear-gradient(135deg, #030712 0%, #0b1830 50%, #091520 100%);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-glow: 0 0 40px rgba(6, 198, 232, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* === DEFENSIVE / FAILSAFE STYLES === */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevent broken image icons from breaking layout */
img[src=""],
img:not([src]),
img[src*="undefined"],
img[src*="null"] {
  visibility: hidden;
  min-height: 200px;
  background: var(--bg-card);
}

/* Text overflow protection */
h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
a,
span {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Ensure containers don't overflow */
.container {
  overflow: visible;
}

/* Prevent empty elements from collapsing strangely */
section:empty,
div:empty {
  display: none;
}

/* Ensure all focusable elements have visible focus state */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* Skip to main content (accessibility) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--cyan);
  color: #fff;
  padding: 12px 24px;
  z-index: 10000;
  font-weight: 600;
}

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

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

p {
  color: var(--text-secondary);
  line-height: 1.75;
}

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

a:hover {
  color: #fff;
}

/* === UTILITIES === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

/* Reduced top padding for sections that follow another section */
.section-no-top {
  padding-top: 32px;
}

.section-no-bottom {
  padding-bottom: 32px;
}

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

.text-cyan {
  color: var(--cyan);
}

.text-orange {
  color: var(--orange);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(6, 198, 232, 0.1);
  border: 1px solid rgba(6, 198, 232, 0.2);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 56px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-cyan);
  color: #ffffff !important;
  box-shadow: 0 4px 24px rgba(6, 198, 232, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(6, 198, 232, 0.5);
  color: #fff !important;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glow);
}

.btn-outline:hover {
  background: rgba(6, 198, 232, 0.08);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 1002;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-cyan);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
}

.nav-logo-icon svg {
  stroke: #fff;
}

.nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

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

.nav-logo-img {
  height: 100px;
  width: auto;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition);
  filter: drop-shadow(0 0 10px rgba(6, 198, 232, 0.15));
}

.nav-logo-img:hover {
  transform: scale(1.05);
}

.footer-brand .nav-logo-img {
  height: 130px;
}

@media (max-width: 768px) {
  .nav-logo-img {
    height: 70px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all var(--transition);
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-links li a.active {
  color: var(--cyan);
}

.nav-cta {
  margin-left: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  border: none;
  background: none;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
  padding-top: 110px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(3, 7, 18, 0.98) 40%, rgba(3, 7, 18, 0.5) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 198, 232, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 198, 232, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 198, 232, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
  bottom: 150px;
  left: -100px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-bottom: 160px;
  /* Space for absolute-positioned stats bar */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 198, 232, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(6, 198, 232, 0.3);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero h1 {
  margin-bottom: 24px;
  color: #fff;
}

.hero h1 span {
  color: var(--cyan);
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 650px;
  line-height: 1.8;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.hero-bullet::before {
  content: '✦';
  color: var(--cyan);
  font-size: 0.8rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}

.hero-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Infinity symbol styling - larger and more prominent */
.stat-num-infinity {
  font-size: 3.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === CARDS === */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* === STEPS === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  transition: all var(--transition);
}

.step-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
}

.step-num {
  width: 64px;
  height: 64px;
  background: var(--gradient-cyan);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(6, 198, 232, 0.3);
}

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

.step-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* === SERVICES === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
}

.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

/* Professional icon box styling */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(6, 198, 232, 0.15), rgba(6, 198, 232, 0.05));
  border: 1px solid rgba(6, 198, 232, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--cyan);
}

.icon-box svg {
  stroke: var(--cyan);
}

.trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(6, 198, 232, 0.12), rgba(6, 198, 232, 0.04));
  border: 1px solid rgba(6, 198, 232, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--cyan);
  font-weight: 700;
}

/* Larger infinity symbol in trust bar */
.trust-icon-infinity {
  font-size: 1.2rem;
  font-weight: 400;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card a {
  font-size: 0.9rem;
  font-weight: 600;
}

/* === GALLERY === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery-item-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.gallery-item:hover .gallery-item-bg {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 7, 18, 0.9), transparent);
  opacity: 0;
  transition: 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Gallery filter transitions */
.gallery-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

/* === PAGE HEADER === */
.page-header {
  position: relative;
  padding: 180px 0 80px;
  background: var(--gradient-hero);
  text-align: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-header-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(6, 198, 232, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 198, 232, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.page-header-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 198, 232, 0.1) 0%, transparent 70%);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--cyan);
}

/* === ABOUT & SUBPAGE GRIDS === */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img-block {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-img-block img {
  width: 100%;
  display: block;
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 7, 18, 0.8), transparent);
}

.about-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(10px);
  padding: 16px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.badge-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.badge-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* === FILTER BAR === */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(6, 198, 232, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* === CTA SECTION === */
.cta-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 198, 232, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* === PRICING GRID === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--cyan);
  transform: translateY(-16px);
  box-shadow: 0 16px 40px rgba(6, 198, 232, 0.15);
}

.featured-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-cyan);
  color: #fff;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-from {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 16px;
}

.price-main {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin: 8px 0;
}

.price-unit {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  gap: 12px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: bold;
  flex-shrink: 0;
}

.pricing-card .btn {
  margin-top: auto;
}

/* Pricing grid mobile fix */
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-card.featured {
    order: -1;
  }
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  background: #030712;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 64px;
  margin-bottom: 80px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  transition: 0.3s;
}

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

.footer h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

/* === RESPONSIVE DESIGN === */

/* Large Tablets / Small Laptops */
@media (max-width: 1200px) {
  .nav-links {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .nav-links.open {
    display: flex !important;
    position: fixed;
    top: 110px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(20px);
    padding: 40px 24px;
    height: calc(100vh - 110px);
    gap: 16px;
    z-index: 1001;
    overflow-y: auto;
  }

  .nav-links.open li {
    width: 100%;
    text-align: center;
  }

  .nav-links.open li a {
    font-size: 1.2rem;
    display: block;
    padding: 12px;
  }

  .nav-links.open .nav-cta {
    margin-left: 0;
    margin-top: 24px;
  }

  .nav-links.open .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .hero-content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .hero-sub {
    margin: 0 auto 36px;
  }

  .hero-bullets {
    align-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

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

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

  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  .pricing-card.featured {
    transform: translateY(0);
  }

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

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

  .stat-item {
    border-right: none;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
  }

  .stat-item:nth-child(even) {
    border-right: none;
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 0;
    padding-top: 20px;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .navbar {
    background: rgba(3, 7, 18, 0.95);
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 0;
  }

  .hero-content {
    padding-top: 20px;
    padding-bottom: 60px;
    flex: 1;
  }

  /* Make stats flow naturally instead of absolute positioning */
  .hero-stats {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: auto;
  }

  .hero-bullets {
    gap: 12px;
    margin-bottom: 32px;
    text-align: left;
    align-items: flex-start;
  }

  .hero-bullet {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
    white-space: normal;
    text-align: center;
  }

  .page-header {
    padding: 120px 0 60px;
  }

  .stat-num {
    font-size: 1.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  .nav-logo-text {
    font-size: 1rem;
  }

  .nav-logo-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
}

/* Very Small Devices */
@media (max-width: 480px) {
  .hero-content {
    padding-bottom: 40px;
  }

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

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

  .hero-stats-inner {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
  }

  .stat-item:last-child {
    border-bottom: none;
  }
}

/* === INTRO BAND === */
.intro-band {
  background: var(--bg-dark);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.intro-band p {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto;
}

/* === TRUST BAR === */
.trust-bar {
  background: var(--gradient-cyan);
  padding: 24px 0;
  overflow: hidden;
}

.trust-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.trust-item {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item span {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .trust-inner {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

/* === FOOTER CONTACT & SOCIAL === */
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-contact li span:first-child {
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-icon {
  color: var(--cyan);
  font-weight: 600;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(6, 198, 232, 0.1);
  border: 1px solid rgba(6, 198, 232, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--cyan);
  color: #fff;
  transform: translateY(-2px);
}

/* === CONTACT FORM === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6, 198, 232, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-deep);
  color: var(--text-primary);
}

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

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  padding: 16px 32px;
  font-size: 1rem;
  margin-top: 8px;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* === CARD ICON === */
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(6, 198, 232, 0.1);
  border: 1px solid rgba(6, 198, 232, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card-icon svg {
  stroke: var(--cyan);
}

.card-icon.orange {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.2);
}

.card-icon.orange svg {
  stroke: var(--orange);
}

/* === PROCESS GRID (Image Creation) === */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.process-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.process-num {
  width: 48px;
  height: 48px;
  background: var(--gradient-cyan);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(6, 198, 232, 0.3);
}

.process-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.process-card p {
  font-size: 0.85rem;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* === TESTIMONIALS === */
.testimonial-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-cyan);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* === HERO BULLETS === */
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.hero-bullets li::before {
  content: '✦';
  color: var(--cyan);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 4px;
}

.hero-bullets li:last-child {
  margin-bottom: 0;
}

/* === SECTION GAP FIXES === */
/* Ensure proper spacing when text-center follows section with reduced padding */
.section .text-center:first-child {
  padding-top: 0;
}

/* Add top gap to .text-center inside sections with style="padding-top:0" */
.section[style*="padding-top:0"] .text-center:first-child,
.section[style*="padding-top: 0"] .text-center:first-child {
  padding-top: 32px;
}

/* Ensure proper spacing after page-header */
.page-header+.section,
.page-header+.section.service-detail {
  padding-top: 80px;
}

/* Fix hero stats overlap on mobile */
@media (max-width: 768px) {
  .hero-bullets li {
    font-size: 0.9rem;
  }

  .testimonials-grid {
    gap: 20px;
  }

  /* Mobile section gap fix */
  .section[style*="padding-top:0"] .text-center:first-child,
  .section[style*="padding-top: 0"] .text-center:first-child {
    padding-top: 24px;
  }
}

/* === SECTION BACKGROUND SEPARATOR === */
/* Add visual separation between sections with same background */
.section:not([style*="background"])+.section:not([style*="background"]) {
  border-top: 1px solid var(--border);
}

/* === FOOTER BOTTOM === */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* === ABOUT TEXT BLOCK LIST === */
.about-text-block ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-text-block ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.about-text-block ul li::before {
  content: '▸';
  color: var(--cyan);
  flex-shrink: 0;
}

/* === BLOG GRID & CARDS === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.blog-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.blog-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

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

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(6, 198, 232, 0.1);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 12px;
  width: fit-content;
}

.blog-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card-body p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary);
  flex: 1;
}

.blog-read-more {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
  display: inline-block;
}

.blog-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* === BLOG ARTICLE PAGE === */
.post-content {
  max-width: 760px;
  margin: 0 auto;
}

.post-content h2 {
  margin: 48px 0 24px;
  font-size: 1.6rem;
  color: var(--text-primary);
}

.post-content h2:first-child {
  margin-top: 0;
}

.post-content h3 {
  margin: 36px 0 16px;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.post-content p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.post-content ul,
.post-content ol {
  margin: 20px 0 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.post-content blockquote {
  border-left: 3px solid var(--cyan);
  padding: 20px 28px;
  margin: 32px 0;
  background: rgba(6, 198, 232, 0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.post-content table {
  margin: 32px 0;
}

.post-content .prep-steps,
.post-content .ideas-grid,
.post-content .do-dont {
  margin: 32px 0;
}

.post-content>div[style*="margin-top"] {
  margin-top: 48px !important;
}

.article-content {
  max-width: 760px;
  margin: 0 auto;
}

.article-content h2 {
  margin: 40px 0 20px;
  font-size: 1.6rem;
}

.article-content h3 {
  margin: 32px 0 16px;
  font-size: 1.25rem;
}

.article-content p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.8;
}

.article-content ul,
.article-content ol {
  margin: 20px 0 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.article-content blockquote {
  border-left: 3px solid var(--cyan);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(6, 198, 232, 0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* === COMPREHENSIVE MOBILE RESPONSIVE === */

/* Deliverables Grid (Image Creation page) */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .deliverables-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .deliverables-grid {
    grid-template-columns: 1fr;
  }
}

/* Deliverable Card styling */
.deliverable-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.deliverable-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.deliverable-card h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.deliverable-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Pricing Rates Grid */
.pricing-rates {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .pricing-rates {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .pricing-rates {
    grid-template-columns: 1fr;
  }
}

/* Rate Card - center icon-box */
.rate-card .icon-box {
  margin: 0 auto 16px;
}

/* Equipment Cards Grid (About page) */
@media (max-width: 768px) {

  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile Typography Improvements */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .container {
    padding: 0 20px;
  }

  /* Better button sizing on mobile */
  .btn {
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  /* Fix CTA actions spacing */
  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Better card padding on mobile */
  .card {
    padding: 24px;
  }

  .pricing-card {
    padding: 28px;
  }

  /* About intro grid image */
  .about-img-block {
    min-height: 300px;
  }
}

/* Very small screens */
@media (max-width: 380px) {
  h1 {
    font-size: 1.75rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .nav-logo-text {
    font-size: 0.9rem;
  }

  .trust-item {
    font-size: 0.85rem;
  }
}

/* Ensure images don't overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Fix overflow issues on mobile */
html,
body {
  overflow-x: hidden;
}

/* Better touch targets */
@media (max-width: 768px) {
  .nav-links.open li a {
    padding: 16px 12px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .filter-btn {
    padding: 12px 20px;
    min-height: 44px;
  }

  .faq-question {
    padding: 20px 24px;
    min-height: 56px;
  }

  /* Infinity symbol responsive sizing */
  .stat-num-infinity {
    font-size: 2.8rem;
  }
}

/* === ADDITIONAL SECURITY & ROBUSTNESS === */

/* Prevent clickjacking attacks via iframe embedding indicator */
.security-indicator {
  display: none;
}

/* Secure form styling */
input[type="password"],
input[type="email"] {
  -webkit-text-security: disc;
}

/* Prevent autofill styling from breaking design */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px rgba(15, 23, 42, 0.9) inset;
  -webkit-text-fill-color: var(--text-primary);
  transition: background-color 5000s ease-in-out 0s;
}

/* Form validation states */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
  border-color: #22c55e;
}

/* Loading state for buttons */
.btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn.loading::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: btn-spinner 0.6s linear infinite;
}

@keyframes btn-spinner {
  to {
    transform: rotate(360deg);
  }
}

/* === ENHANCED MOBILE RESPONSIVE === */

/* Extra small devices (phones, 320px and up) */
@media (max-width: 360px) {
  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: 1.6rem;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 4px 10px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 0.85rem;
  }

  .stat-num {
    font-size: 1.5rem;
  }

  .stat-num-infinity {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .section {
    padding: 48px 0;
  }

  .pricing-card {
    padding: 20px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .step-card {
    padding: 32px 20px;
  }
}

/* Landscape phone adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 100px 0 40px;
  }

  .hero-content {
    padding-bottom: 40px;
  }

  .hero-stats {
    position: relative;
  }

  .nav-links.open {
    height: auto;
    max-height: 80vh;
    overflow-y: auto;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects that don't work well on touch */
  .card:hover,
  .service-card:hover,
  .pricing-card:hover,
  .blog-card:hover {
    transform: none;
  }

  /* Increase touch target sizes */
  .nav-links li a {
    padding: 12px 16px;
  }

  .filter-btn {
    min-width: 44px;
    min-height: 44px;
  }

  /* Better tap feedback */
  .btn:active {
    transform: scale(0.98);
  }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-grid {
    background-size: 30px 30px;
  }
}

/* Reduced motion for 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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Dark mode preference support (already dark theme, but ensure consistency) */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }
}

/* Print styles */
@media print {
  .navbar,
  .hamburger,
  .hero-glow,
  .hero-glow-2,
  .cta-glow,
  .footer-social,
  .btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }
}