/*
Theme Name: New Servication
Theme URI: https://servication.co
Author: Rifie / Servication
Description: Retrofuturistic Premium Dark Theme for Servication Digital Agency.
Version: 1.0.0
Text Domain: new-servication
*/

/* -------------------------------------------------------------
 * SERVICATION PREMIUM STYLESHEET — RETROFUTURISTIC DARK THEME (EMERALD & ROSE PINK)
 * Designed with a deep slate background, vibrant tactile elements,
 * monospace metadata accents, and mechanical neo-brutalist hovers.
 * ------------------------------------------------------------- */

/* Custom properties / Design tokens */
:root {
  /* Color Scheme: Deep Slate Background with Retro-Futuristic Dual Accents */
  --bg-primary: hsl(220, 25%, 6%);      /* Deep space black-slate */
  --bg-secondary: hsl(220, 25%, 10%);    /* Card slate */
  --bg-tertiary: hsl(220, 25%, 14%);     /* Tag/Badge slate */
  
  --accent-primary: hsl(142, 70%, 45%);   /* Emerald Terminal Green */
  --accent-secondary: hsl(330, 85%, 60%); /* Retro Hot Pink / Magenta */
  --accent-secondary-rgb: 244, 63, 94;
  --accent-hover: hsl(330, 85%, 68%);
  
  --text-main: hsl(210, 40%, 98%);        /* High-contrast slate white */
  --text-muted: hsl(215, 20%, 65%);       /* Dimmed slate gray */
  --text-dark: hsl(220, 25%, 4%);
  
  --border-color: hsl(220, 20%, 18%);     /* Sharp structural borders */
  --border-light: hsl(220, 20%, 30%);
  
  --glass-bg: hsla(220, 25%, 10%, 0.8);
  --glass-border: hsla(210, 40%, 98%, 0.08);
  
  /* Retrofuturism: Solid offset shadows instead of blurry ones */
  --shadow-sm: 2px 2px 0px rgba(0, 0, 0, 0.8);
  --shadow-md: 4px 4px 0px rgba(0, 0, 0, 0.9);
  --shadow-lg: 6px 6px 0px rgba(0, 0, 0, 0.95);
  
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', Courier, monospace;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease;
  
  --container-width: 1200px;
  
  /* Adaptive UI support */
  color-scheme: dark;
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
@supports (scrollbar-color: auto) {
  html {
    scrollbar-color: var(--border-light) var(--bg-primary);
    scrollbar-width: thin;
  }
}

@supports not (scrollbar-color: auto) {
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  ::-webkit-scrollbar-track {
    background: var(--bg-primary);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 0px; /* Sharp retro edges */
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
  }
}

/* Typography elements */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

p {
  color: var(--text-muted);
}

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

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

/* Core Layout Containers */
.section-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-secondary);
  margin-bottom: 20px;
  border: 1px solid var(--accent-secondary);
  background-color: rgba(244, 63, 94, 0.06);
  padding: 4px 14px;
  border-radius: 4px; /* Slightly rounded terminal box */
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
  font-weight: 800;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 48px;
}

/* Button UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 4px; /* Sharp retro buttons */
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: var(--text-dark);
  border-color: var(--accent-primary);
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.8);
}

.btn-primary:hover {
  background-color: hsl(142, 70%, 55%);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.9);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border-color: var(--border-light);
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.8);
}

.btn-secondary:hover {
  border-color: var(--accent-secondary);
  background-color: rgba(244, 63, 94, 0.05);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--accent-secondary);
}

.btn-cta {
  background-color: var(--accent-secondary);
  color: var(--text-light);
  border-color: var(--accent-secondary);
  padding: 8px 20px;
  font-size: 14px;
}

.btn-cta:hover {
  background-color: var(--accent-hover);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.9);
}

/* Header & Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
}

/* Header state when sticky/scrolled */
.main-header.is-sticky {
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 28px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.nav-link:hover {
  color: var(--accent-secondary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 24px;
  cursor: pointer;
}

/* Mobile Drawer Styles */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
}

.drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background-color: var(--bg-secondary);
  border-left: 2px solid var(--border-color);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer[aria-hidden="false"] .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.drawer-logo {
  height: 24px;
}

.drawer-close {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 24px;
  cursor: pointer;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-link {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-muted);
}

.drawer-link:hover {
  color: var(--accent-secondary);
}

.drawer-cta {
  margin-top: 16px;
  text-align: center;
  background-color: var(--accent-secondary);
  color: var(--text-light);
  padding: 12px;
  border-radius: 4px;
  font-weight: 600;
}

/* Hero Section with Retro CRT Glow Effects */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px 24px;
  background: radial-gradient(circle at 80% 20%, hsla(142, 70%, 45%, 0.07), transparent 50%),
              radial-gradient(circle at 20% 80%, hsla(330, 85%, 60%, 0.06), transparent 45%),
              var(--bg-primary);
}

.hero-content {
  max-width: 860px;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--text-main);
}

.waving-hand {
  display: inline-block;
  animation: wave-hand 2.5s infinite;
  transform-origin: 70% 70%;
}

@keyframes wave-hand {
  0% { transform: rotate( 0.0deg) }
  10% { transform: rotate(14.0deg) }
  20% { transform: rotate(-8.0deg) }
  30% { transform: rotate(14.0deg) }
  40% { transform: rotate(-4.0deg) }
  50% { transform: rotate(10.0deg) }
  60% { transform: rotate( 0.0deg) }
  100% { transform: rotate( 0.0deg) }
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 40px auto;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 40px;
  border-radius: 8px; /* Sharp retro card edges */
  background-color: var(--bg-primary);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translate(-6px, -6px);
  border-color: var(--accent-secondary);
  box-shadow: 8px 8px 0px var(--accent-secondary); /* Solid mechanical offset shadow */
}

.service-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 16px;
  font-weight: 800;
}

.service-description {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 4px; /* Monospace terminal tags */
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.tag:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background-color: rgba(34, 197, 94, 0.05);
}

.service-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-illustration img {
  max-height: 180px;
  width: auto;
  border-radius: 6px;
  transition: var(--transition-smooth);
  filter: grayscale(20%) contrast(110%);
}

.service-card:hover .service-illustration img {
  transform: scale(1.02);
}

/* How We Work Section */
.how-we-work-section {
  padding: 120px 0;
  background-color: var(--bg-primary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 100px;
}

.step-card {
  padding: 32px;
  background-color: var(--bg-secondary);
  border-radius: 8px;
  border: 2px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.step-card:hover {
  transform: translate(-4px, -4px);
  border-color: var(--border-light);
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.8);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
  display: block;
}

.step-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}

.step-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Tech / Tools Cloud area */
.tech-tools-area {
  padding-top: 60px;
  border-top: 2px solid var(--border-color);
  text-align: center;
}

.tech-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
}

.tech-description {
  max-width: 780px;
  margin: 0 auto;
  font-size: 16px;
}

/* Works / Portfolio Section */
.works-section {
  padding: 120px 0;
  background-color: var(--bg-secondary);
  border-top: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.portfolio-card {
  background-color: var(--bg-primary);
  border-radius: 8px;
  border: 2px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.portfolio-card:hover {
  transform: translate(-6px, -6px);
  border-color: var(--accent-secondary);
  box-shadow: 8px 8px 0px var(--accent-secondary);
}

.portfolio-image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-bottom: 2px solid var(--border-color);
}

.portfolio-image-container {
  width: 100%;
  height: 100%;
  background-color: var(--bg-secondary);
  position: relative;
}

.portfolio-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-image-container img {
  transform: scale(1.03);
}

.portfolio-info {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.portfolio-project-title {
  font-size: 22px;
  font-weight: 800;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 4px;
  background-color: rgba(244, 63, 94, 0.08);
  color: var(--accent-secondary);
  border: 1px solid rgba(244, 63, 94, 0.2);
}

.portfolio-project-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.more-works-cta {
  text-align: center;
  padding-top: 40px;
}

.more-works-text {
  font-size: 16px;
  margin-bottom: 16px;
}

/* Pricing Section */
.pricing-section {
  padding: 120px 0;
  background-color: var(--bg-primary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
  align-items: stretch;
}

.pricing-card {
  padding: 40px 24px;
  background-color: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  transform: translate(-6px, -6px);
  border-color: var(--border-light);
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.8);
}

/* Highlighting the Featured/Popular plan in mechanical retro style */
.pricing-card.featured {
  border-color: var(--accent-secondary);
  border-width: 2px;
  background: radial-gradient(circle at 100% 0%, hsla(330, 85%, 60%, 0.08), transparent 60%),
              var(--bg-secondary);
}

.pricing-card.featured:hover {
  border-color: var(--accent-secondary);
  box-shadow: 8px 8px 0px var(--accent-secondary);
}

.popular-tag {
  position: absolute;
  top: -14px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  background-color: var(--accent-secondary);
  color: var(--text-light);
  border: 1px solid var(--border-color);
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.pricing-header {
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 24px;
}

.plan-name {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.plan-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  height: 38px;
  overflow: hidden;
}

.plan-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 16px;
}

.plan-price-info {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-secondary);
  font-weight: 700;
  margin-top: 4px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.plan-features i {
  color: var(--accent-primary);
  font-size: 12px;
  margin-top: 3px;
  flex-shrink: 0;
}

.plan-features strong {
  color: var(--text-main);
}

.custom-pricing-area {
  text-align: center;
  border-top: 2px solid var(--border-color);
  padding-top: 48px;
}

.custom-pricing-area p {
  font-size: 16px;
  margin-bottom: 16px;
}

/* Contact Section */
.contact-section {
  padding: 120px 0;
  background-color: var(--bg-secondary);
  border-top: 2px solid var(--border-color);
}

.contact-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-method-card {
  padding: 48px;
  background-color: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.contact-method-card:hover {
  transform: translate(-4px, -4px);
  border-color: var(--accent-secondary);
  box-shadow: 6px 6px 0px var(--accent-secondary);
}

.contact-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background-color: rgba(244, 63, 94, 0.08);
  color: var(--accent-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  border: 2px solid rgba(244, 63, 94, 0.2);
}

.contact-method-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-method-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 320px;
}

/* Contact form inputs and textareas */
.custom-contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  width: 100%;
}

.custom-contact-form input,
.custom-contact-form textarea {
  width: 100%;
  padding: 14px 20px;
  background-color: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 14px;
  transition: var(--transition-fast);
}

.custom-contact-form input:focus,
.custom-contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-secondary);
  box-shadow: 3px 3px 0px var(--accent-secondary);
}

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

.w-full {
  width: 100%;
}

/* Footer Section */
.main-footer {
  background-color: var(--bg-primary);
  border-top: 2px solid var(--border-color);
  padding: 80px 0 32px 0;
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px 48px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-logo {
  height: 28px;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  color: var(--text-main);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--accent-secondary);
}

.footer-contact {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact a {
  color: var(--text-main);
}

.footer-contact a:hover {
  color: var(--accent-secondary);
}

.footer-bottom {
  border-top: 2px solid var(--border-color);
  padding-top: 32px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
 * RESPONSIVE BREAKPOINTS (Mobile-First Optimizations)
 * ------------------------------------------------------------- */

@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .portfolio-grid {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    padding: 32px;
    gap: 24px;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-methods-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 580px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .contact-method-card {
    padding: 32px 20px;
  }
}

/* -------------------------------------------------------------
 * NATIVE SCROLL-DRIVEN & REVEAL ANIMATIONS
 * Progressive Enhancement using CSS supports queries
 * ------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  /* Scroll reveal base classes for IntersectionObserver fallback */
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Native Scroll-Driven Animations (where supported) */
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-in {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .scroll-reveal {
      /* Reset fallback properties since native handles it */
      opacity: 1;
      transform: none;
      transition: none;
      
      /* Apply native scroll timeline */
      animation: reveal-in auto linear forwards;
      animation-timeline: view();
      animation-range: entry 10% cover 30%;
    }
  }
}
