/* Responsive Styles - AgentOja */

/* ========================================
   ANIMATIONS & KEYFRAMES
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

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

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes wave {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

/* Animation Utility Classes */
.animate-fade-in {
  animation: fadeIn var(--transition-base) ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp var(--transition-slow) ease-out;
}

.animate-fade-in-down {
  animation: fadeInDown var(--transition-slow) ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft var(--transition-slow) ease-out;
}

.animate-slide-in-right {
  animation: slideInRight var(--transition-slow) ease-out;
}

.animate-scale-in {
  animation: scaleIn var(--transition-base) ease-out;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-bounce {
  animation: bounce 1s ease-in-out infinite;
}

/* Staggered Animation Delays */
.stagger-1 { animation-delay: 100ms; }
.stagger-2 { animation-delay: 200ms; }
.stagger-3 { animation-delay: 300ms; }
.stagger-4 { animation-delay: 400ms; }
.stagger-5 { animation-delay: 500ms; }
.stagger-6 { animation-delay: 600ms; }

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

/* Extra Large Devices (1280px and up) */
@media (max-width: 1280px) {
  :root {
    --container-padding: var(--space-6);
  }
  
  .hero__title {
    font-size: var(--font-size-5xl);
  }
}

/* Large Devices (1024px and down) */
@media (max-width: 1024px) {
  :root {
    --font-size-6xl: 3rem;
    --font-size-5xl: 2.5rem;
    --font-size-4xl: 2rem;
  }
  
  .hero__container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .hero__visual {
    order: -1;
  }
  
  .hero__content {
    text-align: center;
  }
  
  .hero__cta-group {
    justify-content: center;
  }
  
  .hero__trust-indicators {
    justify-content: center;
  }
  
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* Medium Devices (768px and down) */
@media (max-width: 768px) {
  :root {
    --container-padding: var(--space-4);
    --space-24: 4rem;
    --space-20: 3.5rem;
  }
  
  /* Header */
  .header__nav {
    display: none;
  }
  
  .header__menu-toggle {
    display: flex;
  }
  
  /* Hero */
  .hero {
    padding-top: calc(73px + var(--space-12));
    padding-bottom: var(--space-12);
  }
  
  .hero__title {
    font-size: var(--font-size-4xl);
  }
  
  .hero__subtitle {
    font-size: var(--font-size-lg);
  }
  
  .hero__cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .hero__cta-group .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Features */
  .features__grid {
    grid-template-columns: 1fr;
  }
  
  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  /* Download CTA */
  .download-cta__title {
    font-size: var(--font-size-4xl);
  }
  
  .download-cta__subtitle {
    font-size: var(--font-size-lg);
  }
  
  .download-cta__buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .download-cta__buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Footer */
  .footer__container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer__legal {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  /* Section Headers */
  .section-header__title {
    font-size: var(--font-size-3xl);
  }
  
  /* Cards */
  .card {
    padding: var(--space-6);
  }
  
  /* Voice Demo */
  .voice-demo__interactive {
    padding: var(--space-6);
  }
}

/* Small Devices (640px and down) */
@media (max-width: 640px) {
  :root {
    --font-size-6xl: 2.5rem;
    --font-size-5xl: 2rem;
    --font-size-4xl: 1.75rem;
    --font-size-3xl: 1.5rem;
  }
  
  .hero__title {
    font-size: var(--font-size-3xl);
  }
  
  .section-header__title {
    font-size: var(--font-size-2xl);
  }
  
  .section-header__subtitle {
    font-size: var(--font-size-base);
  }
  
  .download-cta__title {
    font-size: var(--font-size-3xl);
  }
  
  .trust-bar__logos {
    flex-direction: column;
    gap: var(--space-4);
  }
  
  .stat {
    text-align: center;
  }
  
  .stat__value {
    font-size: var(--font-size-3xl);
  }
}

/* Extra Small Devices (480px and down) */
@media (max-width: 480px) {
  :root {
    --container-padding: var(--space-3);
  }
  
  .hero__logo {
    height: 36px;
  }
  
  .header__logo {
    height: 40px;
  }
  
  .btn {
    padding: var(--space-3) var(--space-5);
    font-size: var(--font-size-sm);
  }
  
  .btn--lg {
    padding: var(--space-4) var(--space-6);
    font-size: var(--font-size-base);
  }
}

/* ========================================
   TABLET LANDSCAPE OPTIMIZATION
   ======================================== */

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .hero {
    padding-top: calc(73px + var(--space-12));
    padding-bottom: var(--space-12);
  }
  
  .hero__container {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero__visual {
    order: 0;
  }
  
  .hero__content {
    text-align: left;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .header,
  .mobile-menu,
  .hero__cta-group,
  .download-cta,
  .footer__bottom {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
  }
  
  .hero,
  .features,
  .how-it-works {
    page-break-inside: avoid;
  }
}

/* ========================================
   ACCESSIBILITY & MOTION PREFERENCES
   ======================================== */

/* Reduce Motion for Users Who Prefer It */
@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;
  }
  
  .particle,
  .animate-pulse,
  .animate-bounce {
    animation: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #FF5500;
    --color-neutral-600: #555;
    --color-neutral-700: #333;
  }
  
  .btn {
    border-width: var(--border-width-medium);
  }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATIONS
   ======================================== */

@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets for mobile */
  .btn,
  .header__link,
  .footer__list a {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
  }
  
  /* Remove hover effects on touch devices */
  .btn:hover,
  .card:hover,
  .feature-card:hover {
    transform: none;
  }
  
  /* Show focus states more prominently */
  .btn:focus-visible,
  .header__link:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
  }
}

/* ========================================
   CONTAINER QUERIES (Modern Browsers)
   ======================================== */

@supports (container-type: inline-size) {
  .card-container {
    container-type: inline-size;
    container-name: card;
  }
  
  @container card (max-width: 400px) {
    .card__title {
      font-size: var(--font-size-lg);
    }
    
    .card__description {
      font-size: var(--font-size-sm);
    }
  }
}

/* ========================================
   UTILITY RESPONSIVE CLASSES
   ======================================== */

/* Hide/Show by Breakpoint */
.hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: initial;
  }
  
  .hide-desktop {
    display: none;
  }
}

/* Responsive Text Alignment */
.text-center-mobile {
  text-align: center;
}

@media (min-width: 768px) {
  .text-center-mobile {
    text-align: left;
  }
}

/* Responsive Spacing */
.stack-mobile {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .stack-mobile {
    flex-direction: row;
  }
}

/* ========================================
   MOBILE FIRST APPROACH
   Base styles are mobile, then scale up
   ======================================== */

/* ========================================
   SMALL DEVICES (Phones, up to 640px)
   ======================================== */

@media (max-width: 639px) {
  /* Container */
  .container {
    padding: 0 var(--space-4);
  }

  /* Typography */
  .hero__title {
    font-size: 2rem;
  }

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

  /* Header */
  .header__nav,
  .header__cta {
    display: none;
  }

  /* Hero */
  .hero {
    padding: 120px var(--space-4) 60px;
    min-height: auto;
  }

  .hero__cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero__cta-group .btn {
    width: 100%;
  }

  /* Features Grid */
  .features__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  /* Stats */
  .stats__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  /* Steps */
  .steps__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  /* Voice Demo */
  .voice-demo__interactive {
    padding: var(--space-6);
  }

  .voice-demo__mic {
    width: 100px;
    height: 100px;
  }

  /* Footer */
  .footer__container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  /* App Store Buttons */
  .app-store-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn--app-store {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   MEDIUM DEVICES (Tablets, 640px - 1023px)
   ======================================== */

@media (min-width: 640px) and (max-width: 1023px) {
  /* Container */
  .container {
    padding: 0 var(--space-6);
  }

  /* Typography */
  .hero__title {
    font-size: 2.5rem;
  }

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

  /* Hero */
  .hero__content {
    max-width: 600px;
    margin: 0 auto;
  }

  /* Features Grid */
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  /* Stats */
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }

  /* Steps */
  .steps__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  /* Footer */
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   LARGE DEVICES (Desktops, 1024px and up)
   ======================================== */

@media (min-width: 1024px) {
  /* Container */
  .container {
    padding: 0 var(--space-8);
  }

  /* Header - Show desktop nav */
  .header__nav {
    display: flex;
  }

  .header__cta {
    display: inline-flex;
  }

  .header__menu-toggle {
    display: none;
  }

  /* Hero */
  .hero__container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero__content {
    text-align: left;
  }

  .hero__cta-group {
    justify-content: flex-start;
  }

  .hero__trust-indicators {
    justify-content: flex-start;
  }

  /* Features Grid */
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Stats */
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Steps */
  .steps__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer */
  .footer__container {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ========================================
   EXTRA LARGE DEVICES (1280px and up)
   ======================================== */

@media (min-width: 1280px) {
  /* Typography */
  .hero__title {
    font-size: 3.5rem;
  }

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

  /* Spacing */
  .section {
    padding: var(--space-24) var(--space-4);
  }
}

/* ========================================
   LANDSCAPE ORIENTATION
   ======================================== */

@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 100px var(--space-4) 40px;
  }

  .mobile-menu {
    width: 240px;
  }
}

/* ========================================
   HIGH RESOLUTION DISPLAYS
   ======================================== */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optimize images for retina displays */
  .hero__logo-img,
  .footer__logo-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .header,
  .mobile-menu,
  .footer,
  .scroll-indicator,
  .btn {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: black;
    background: white;
  }

  .section {
    page-break-inside: avoid;
  }
}

/* ========================================
   REDUCED MOTION PREFERENCES
   ======================================== */

@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;
  }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATIONS
   ======================================== */

@media (hover: none) and (pointer: coarse) {
  /* Increase touch targets */
  .btn,
  .header__link,
  .mobile-menu__link {
    min-height: 44px;
    min-width: 44px;
  }

  /* Remove hover states on touch devices */
  .btn:hover,
  .feature-card:hover,
  .step-card:hover {
    transform: none;
  }

  /* Adjust hover effects for touch */
  .btn:active {
    transform: scale(0.98);
  }
}

/* ========================================
   GRID UTILITIES
   ======================================== */

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

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

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

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

  .grid-cols-md-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .grid-cols-lg-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   RESPONSIVE VISIBILITY UTILITIES
   ======================================== */

/* Hide on mobile */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

/* Hide on tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .hide-tablet {
    display: none !important;
  }
}

/* Hide on desktop */
@media (min-width: 1024px) {
  .hide-desktop {
    display: none !important;
  }
}

/* Show only on mobile */
@media (min-width: 768px) {
  .show-mobile-only {
    display: none !important;
  }
}

/* Show only on tablet */
@media (max-width: 767px), (min-width: 1024px) {
  .show-tablet-only {
    display: none !important;
  }
}

/* Show only on desktop */
@media (max-width: 1023px) {
  .show-desktop-only {
    display: none !important;
  }
}

/* ========================================
   CONTAINER QUERIES (Modern Browsers)
   ======================================== */

@supports (container-type: inline-size) {
  .feature-card {
    container-type: inline-size;
  }

  @container (min-width: 400px) {
    .feature-card__icon {
      font-size: var(--font-size-6xl);
    }
  }
}

/* ========================================
   RESPONSIVE IMAGES
   ======================================== */

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

.hero__phone-mockup {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero__phone-mockup {
    max-width: 350px;
  }
}

@media (min-width: 1024px) {
  .hero__phone-mockup {
    max-width: 400px;
  }
}

/* ========================================
   RESPONSIVE TYPOGRAPHY
   ======================================== */

.responsive-text-sm {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
}

.responsive-text-base {
  font-size: clamp(0.875rem, 2.5vw, 1rem);
}

.responsive-text-lg {
  font-size: clamp(1rem, 3vw, 1.125rem);
}

.responsive-text-xl {
  font-size: clamp(1.125rem, 3.5vw, 1.25rem);
}

.responsive-text-2xl {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
}

.responsive-text-3xl {
  font-size: clamp(1.5rem, 5vw, 1.875rem);
}

.responsive-text-4xl {
  font-size: clamp(1.875rem, 6vw, 2.25rem);
}

.responsive-text-5xl {
  font-size: clamp(2.25rem, 7vw, 3rem);
}

/* ========================================
   SAFE AREA INSETS (iOS Notch Support)
   ======================================== */

@supports (padding: max(0px)) {
  .header {
    padding-left: max(var(--space-4), env(safe-area-inset-left));
    padding-right: max(var(--space-4), env(safe-area-inset-right));
  }

  .mobile-menu {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .footer {
    padding-bottom: max(var(--space-8), env(safe-area-inset-bottom));
  }
}

/* ========================================
   ASPECT RATIO UTILITIES
   ======================================== */

.aspect-square {
  aspect-ratio: 1 / 1;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.aspect-phone {
  aspect-ratio: 9 / 19.5;
}

/* Fallback for older browsers */
@supports not (aspect-ratio: 1 / 1) {
  .aspect-square::before {
    content: '';
    display: block;
    padding-top: 100%;
  }

  .aspect-video::before {
    content: '';
    display: block;
    padding-top: 56.25%;
  }
}

/* ========================================
   BREAKPOINTS
   - Mobile: < 768px (base styles)
   - Tablet: 768px - 1023px
   - Desktop: 1024px - 1439px
   - Large Desktop: >= 1440px
   ======================================== */

/* ========================================
   TABLET (768px and up)
   ======================================== */

@media (max-width: 1023px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .hero__visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero__content {
    text-align: center;
    margin: 0 auto;
  }

  .hero__cta-group {
    justify-content: center;
  }

  .hero__trust-indicators {
    justify-content: center;
  }

  .footer__container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* ========================================
   MOBILE (< 768px)
   ======================================== */

@media (max-width: 767px) {
  /* Typography */
  .hero__title {
    font-size: var(--font-size-4xl);
  }

  .hero__subtitle {
    font-size: var(--font-size-lg);
  }

  .section-title {
    font-size: var(--font-size-3xl);
  }

  .section-subtitle {
    font-size: var(--font-size-lg);
  }

  .download-cta__title {
    font-size: var(--font-size-3xl);
  }

  .download-cta__subtitle {
    font-size: var(--font-size-lg);
  }

  /* Header */
  .header__container {
    padding: var(--space-3) var(--space-4);
  }

  .header__nav {
    display: none;
  }

  .header__menu-toggle {
    display: flex;
  }

  .header__cta {
    display: none;
  }

  /* Hero */
  .hero {
    padding: calc(60px + var(--space-12)) var(--space-4) var(--space-12);
    min-height: auto;
  }

  .hero__title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-4);
  }

  .hero__subtitle {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-6);
  }

  .hero__cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero__cta-group .btn {
    width: 100%;
  }

  .hero__visual {
    max-width: 280px;
  }

  .phone-placeholder {
    width: 240px;
    height: 480px;
  }

  /* Sections */
  .features,
  .voice-demo,
  .how-it-works,
  .download-cta {
    padding: var(--space-16) var(--space-4);
  }

  .section-header {
    margin-bottom: var(--space-12);
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  .section-subtitle {
    font-size: var(--font-size-base);
  }

  /* Features Grid */
  .features__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  /* Steps Grid */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  /* Trust Bar */
  .trust-bar {
    padding: var(--space-8) var(--space-4);
  }

  .trust-bar__logos {
    gap: var(--space-4);
  }

  /* Voice Demo */
  .voice-demo__instruction {
    font-size: var(--font-size-base);
  }

  .voice-demo__language-selector {
    gap: var(--space-2);
  }

  .btn-language {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
  }

  .voice-demo__results {
    padding: var(--space-6);
  }

  /* Download CTA */
  .download-cta__title {
    font-size: var(--font-size-2xl);
  }

  .download-cta__subtitle {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-8);
  }

  .download-cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-badge img {
    height: 50px;
  }

  .download-cta__stats {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  /* Footer */
  .footer {
    padding: var(--space-12) var(--space-4) var(--space-8);
  }

  .footer__container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__brand {
    grid-column: 1;
  }

  /* Cards */
  .card {
    padding: var(--space-6);
  }

  .feature-card {
    padding: var(--space-6);
  }

  .step-card {
    padding: var(--space-6);
  }

  /* Badges */
  .badge {
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-xs);
  }

  /* Stats */
  .stat__value {
    font-size: var(--font-size-3xl);
  }

  /* Trust Indicators */
  .trust-indicator {
    font-size: var(--font-size-xs);
  }

  .trust-indicator__icon {
    font-size: var(--font-size-xl);
  }

  /* Buttons */
  .btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-size-base);
  }
}

/* ========================================
   EXTRA SMALL MOBILE (< 375px)
   ======================================== */

@media (max-width: 374px) {
  .hero__title {
    font-size: var(--font-size-2xl);
  }

  .section-title {
    font-size: var(--font-size-xl);
  }

  .phone-placeholder {
    width: 200px;
    height: 400px;
  }

  .btn {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
  }
}

/* ========================================
   DESKTOP (1024px and up)
   ======================================== */

@media (min-width: 1024px) {
  /* Enhanced hover effects */
  .feature-card:hover {
    transform: translateY(-8px);
  }

  .step-card:hover {
    transform: translateY(-4px);
  }

  /* Larger spacing */
  .hero {
    padding: calc(72px + var(--space-24)) var(--container-padding) var(--space-24);
  }

  .features,
  .voice-demo,
  .how-it-works,
  .download-cta {
    padding: var(--space-32) var(--container-padding);
  }
}

/* ========================================
   LARGE DESKTOP (1440px and up)
   ======================================== */

@media (min-width: 1440px) {
  .hero__title {
    font-size: var(--font-size-7xl);
  }

  .section-title {
    font-size: var(--font-size-6xl);
  }

  .phone-placeholder {
    width: 350px;
    height: 700px;
  }
}

/* ========================================
   LANDSCAPE MOBILE
   ======================================== */

@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: calc(60px + var(--space-8)) var(--space-4) var(--space-8);
  }

  .hero__visual {
    display: none;
  }

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

/* ========================================
   TOUCH DEVICES
   ======================================== */

@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .feature-card:hover,
  .step-card:hover,
  .btn:hover,
  .hover-lift:hover {
    transform: none;
  }

  /* Larger tap targets */
  .btn {
    min-height: 48px;
  }

  .header__link {
    padding: var(--space-2) 0;
  }

  .mobile-menu__link {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .header,
  .mobile-menu,
  .header__menu-toggle,
  .download-cta,
  .footer,
  .btn,
  .voice-demo__interactive {
    display: none !important;
  }

  .hero,
  .features,
  .how-it-works {
    page-break-inside: avoid;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
  }

  a {
    text-decoration: underline;
  }

  .section-title,
  .hero__title {
    page-break-after: avoid;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Hide on mobile */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

/* Hide on tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .hide-tablet {
    display: none !important;
  }
}

/* Hide on desktop */
@media (min-width: 1024px) {
  .hide-desktop {
    display: none !important;
  }
}

/* Show only on mobile */
.show-mobile {
  display: none !important;
}

@media (max-width: 767px) {
  .show-mobile {
    display: block !important;
  }
}

/* Show only on tablet */
.show-tablet {
  display: none !important;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .show-tablet {
    display: block !important;
  }
}

/* Show only on desktop */
.show-desktop {
  display: none !important;
}

@media (min-width: 1024px) {
  .show-desktop {
    display: block !important;
  }
}

/* ========================================
   CONTAINER QUERIES (Modern Browsers)
   ======================================== */

@container (max-width: 400px) {
  .feature-card__title {
    font-size: var(--font-size-lg);
  }

  .step-card__title {
    font-size: var(--font-size-lg);
  }
}

/* ========================================
   ACCESSIBILITY - HIGH CONTRAST MODE
   ======================================== */

@media (prefers-contrast: high) {
  .btn-primary {
    border: 2px solid currentColor;
  }

  .btn-secondary {
    border: 2px solid currentColor;
  }

  .card,
  .feature-card,
  .step-card {
    border: 2px solid var(--color-neutral-300);
  }
}

/* ========================================
   DARK MODE (Future Enhancement)
   ======================================== */

@media (prefers-color-scheme: dark) {
  /* Dark mode styles can be added here */
  /* For now, we'll respect the user's preference but maintain light theme */
}
