/* ============================================
   Professional Redesign - LiveCast.Pro
   Based on industry best practices
   ============================================ */

:root {
  /* Professional Color Palette */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --secondary: #f59e0b;
  --accent: #10b981;
  --accent-red: #ef4444;
  
  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Text Colors */
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-tertiary: #6b7280;
  --text-inverse: #ffffff;
  
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --bg-dark: #111827;
  
  /* Borders */
  --border-light: #e5e7eb;
  --border-medium: #d1d5db;
  
  /* Shadows - Professional */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Spacing System */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Typography Scale */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  
  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base Styles
   ============================================ */

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

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

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

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

input,
button,
textarea,
select {
  font: inherit;
}

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

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

p {
  margin-bottom: var(--space-4);
}

/* ============================================
   Layout & Container
   ============================================ */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
  box-sizing: border-box;
  overflow: visible;
}

@media (min-width: 640px) {
  .container {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: var(--space-12);
    padding-right: var(--space-12);
  }
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: all var(--transition-base);
  width: 100%;
  max-width: 100%;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
  z-index: 1001;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: white;
  transition: color var(--transition-base);
  z-index: 1001;
  position: relative;
  flex-shrink: 0;
}

.navbar.scrolled .logo {
  color: var(--primary);
}

.logo-icon-wrapper {
  width: 36px;
  height: 36px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
  position: relative;
}

.logo-icon {
  height: 36px;
  width: 36px;
  object-fit: cover;
  object-position: left top;
  display: block;
}

.logo-text {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: white;
  transition: color var(--transition-base);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.navbar.scrolled .logo-text {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-menu a {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-menu a:hover {
  color: white;
}

.navbar.scrolled .nav-menu a {
  color: var(--text-secondary);
}

.navbar.scrolled .nav-menu a:hover {
  color: var(--text-primary);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-base);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu .btn-primary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-lg);
  font-weight: var(--font-semibold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-base);
}

.nav-menu .btn-primary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-menu .btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.navbar.scrolled .nav-menu .btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.nav-menu .btn-primary::after {
  display: none;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.hero-cta-row .btn {
  flex-shrink: 0;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.free-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f59e0b; /* Fallback solid color */
  background-image: linear-gradient(135deg, #f59e0b 0%, #d97706 25%, #f59e0b 50%, #d97706 75%, #f59e0b 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  animation: gradient-shift 3s ease-in-out infinite;
  color: white;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  overflow: hidden;
  width: 100%;
  text-align: center;
  min-width: 0;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.free-badge::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  z-index: -1;
}

.free-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.free-badge:hover::before {
  opacity: 1;
}

.free-badge-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  text-align: center;
  border-radius: 0;
}

.free-badge-text::before {
  content: '✨';
  font-size: 18px;
  animation: sparkle 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes sparkle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 0.8;
  }
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  z-index: 10002;
  position: relative;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
  flex-shrink: 0;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: white;
  transition: all var(--transition-base);
  border-radius: 2px;
  display: block;
}

.navbar.scrolled .mobile-menu-toggle span {
  background: var(--text-primary);
}

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

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }
  
  .hero-cta-row .btn {
    width: 100%;
  }
  
  .cta-note {
    text-align: left;
  }
  
  .hero-cta-wrapper {
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }
  
  .btn-large {
    width: 100%;
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
    -webkit-tap-highlight-color: rgba(37, 99, 235, 0.2);
  }
  
  .free-badge {
    font-size: 12px;
    padding: 12px var(--space-4);
    justify-content: center;
    width: 100%;
    white-space: normal;
    line-height: 1.5;
    min-height: 50px;
    word-break: break-word;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
  }
  
  .free-badge-text {
    font-size: 12px;
    text-align: center;
    line-height: 1.5;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  
  .free-badge-text::before {
    font-size: 16px;
    flex-shrink: 0;
    margin: 0;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-4);
    width: 100%;
  }
  
  .feature-badge-wrapper {
    max-width: 100%;
    min-width: auto;
    width: 100%;
    box-sizing: border-box;
  }
  
  .feature-badge {
    width: 100%;
    justify-content: center;
    padding: var(--space-3) var(--space-4);
    white-space: normal;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
  }
  
  .feature-badge svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  
  .feature-badge-description {
    font-size: 11px;
    padding: 0 var(--space-2);
    word-break: break-word;
    line-height: 1.5;
    box-sizing: border-box;
  }
  
  .mobile-menu-toggle {
    display: flex !important;
    z-index: 10002 !important;
    position: relative !important;
    pointer-events: auto !important;
    -webkit-user-select: none !important;
    user-select: none !important;
  }
  
  /* Hide desktop menu on mobile by default */
  .nav-menu {
    display: none !important;
  }
  
  /* Show mobile menu when active */
  .nav-menu.active {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    background: white !important;
    flex-direction: column !important;
    padding: 80px var(--space-6) var(--space-6) !important;
    gap: var(--space-6) !important;
    box-shadow: var(--shadow-xl) !important;
    transform: translateX(0) !important;
    transition: all 0.3s ease !important;
    z-index: 10000 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    list-style: none !important;
    margin: 0 !important;
    align-items: flex-start !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-sizing: border-box !important;
  }
  
  /* Change logo color when menu is open */
  .navbar.menu-open .logo {
    color: var(--primary) !important;
  }
  
  .navbar.menu-open .logo-text {
    color: var(--primary) !important;
  }
  
  .navbar.menu-open .mobile-menu-toggle span {
    background: var(--text-primary) !important;
  }
  
  .nav-menu.active li {
    width: 100% !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .nav-menu.active a {
    display: flex !important;
    padding: var(--space-4) !important;
    min-height: 48px !important;
    align-items: center !important;
    border-radius: var(--radius-lg) !important;
    font-size: var(--text-base) !important;
    text-decoration: none !important;
    color: #1f2937 !important;
    font-weight: 500 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .nav-menu.active a:hover,
  .nav-menu.active a:active {
    background-color: var(--gray-50) !important;
    color: var(--primary) !important;
  }
  
  .nav-menu.active .btn,
  .nav-menu.active .btn-primary {
    width: 100% !important;
    justify-content: center !important;
    margin: 0 !important;
  }
  
  .nav-menu.active a::after {
    display: none !important;
  }
  
  /* Ensure mobile menu toggle is visible and clickable */
  .mobile-menu-toggle {
    cursor: pointer !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1) !important;
    pointer-events: auto !important;
    -webkit-user-select: none !important;
    user-select: none !important;
  }
  
  /* Ensure logo is clickable and visible */
  .logo {
    pointer-events: auto !important;
    z-index: 10001 !important;
    position: relative !important;
  }
  
  .nav-wrapper {
    pointer-events: auto !important;
  }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  line-height: 1;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  min-height: 52px;
}

.btn-block {
  width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: var(--space-20);
  overflow: visible;
  background: linear-gradient(135deg, #4c63d2 0%, #5a3d91 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

.hero-wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: var(--space-16);
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  box-sizing: border-box;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  color: white;
  width: 100%;
  box-sizing: border-box;
  animation: fadeInLeft 0.8s ease-out;
  padding-right: var(--space-8);
  max-width: 100%;
  margin: 0;
  min-width: 0;
}

.hero-screenshots {
  position: relative;
  width: 100%;
  height: 650px;
  max-width: 100%;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  perspective: 1200px;
  min-width: 0;
  overflow: visible;
  box-sizing: border-box;
}

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

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

.hero-title {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
  letter-spacing: -0.04em;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.hero-title .highlight {
  background: linear-gradient(120deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-6);
  opacity: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

/* Features Checklist */
.hero-features-list {
  margin-bottom: var(--space-8);
}

.hero-features-title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: white;
  margin-bottom: var(--space-4);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.features-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.features-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: white;
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.features-checklist li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #10b981;
  width: 20px;
  height: 20px;
}

.hero-cta {
  margin-bottom: var(--space-6);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.hero-cta-row .btn {
  flex-shrink: 0;
}

.cta-note {
  margin: 0;
  font-size: var(--text-sm);
  opacity: 1;
  font-weight: var(--font-medium);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
}

/* Free Features Section */
.hero-free-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
}

.free-feature-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.free-feature-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.free-feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: var(--radius-md);
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.free-feature-icon svg {
  width: 24px;
  height: 24px;
}

.free-feature-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1;
  min-width: 0;
}

.free-feature-title {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.free-feature-subtitle {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--leading-normal);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: var(--space-8);
  margin-bottom: 0;
}

/* Hero Screenshots - композиция как на втором изображении */
.hero-screenshots {
  position: relative;
  width: 100%;
  height: 650px;
  max-width: 100%;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  perspective: 1200px;
}

.screenshot-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-2xl);
  padding: var(--space-3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  animation: fadeInRight 0.8s ease-out backwards;
  cursor: pointer;
  user-select: none;
}

.screenshot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.screenshot-card:hover {
  z-index: 10 !important;
  transform: translateY(-15px) scale(1.03) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.screenshot-card:hover::before {
  opacity: 1;
}

/* Первый скриншот - верхний правый квадрант, САМЫЙ БОЛЬШОЙ, горизонтально */
.screenshot-card-1 {
  top: 0;
  right: 0;
  left: auto;
  width: 90%;
  max-width: 550px;
  z-index: 1;
  animation-delay: 0.1s;
  opacity: 0.9;
  transform: rotate(-1deg);
}

.screenshot-card-1:hover {
  transform: rotate(-0.5deg) translateY(-15px) scale(1.03) !important;
}

/* Второй скриншот - перекрывает нижний правый угол первого, простирается дальше вправо, немного меньше */
.screenshot-card-2 {
  top: 35%;
  right: -5%;
  left: auto;
  width: 75%;
  max-width: 450px;
  z-index: 2;
  animation-delay: 0.2s;
  opacity: 0.95;
  transform: rotate(1.5deg);
}

.screenshot-card-2:hover {
  transform: rotate(1deg) translateY(-15px) scale(1.03) !important;
}

/* Третий скриншот - перекрывает нижний левый угол первого и верхний левый угол второго, простирается вниз */
.screenshot-card-3 {
  top: 50%;
  left: 10%;
  right: auto;
  width: 80%;
  max-width: 480px;
  z-index: 3;
  animation-delay: 0.3s;
  opacity: 1;
  transform: rotate(-1.5deg);
}

.screenshot-card-3:hover {
  transform: rotate(-1deg) translateY(-15px) scale(1.03) !important;
}

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

.screenshot-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease;
  position: relative;
  z-index: 0;
}

.screenshot-card:hover .screenshot-image {
  transform: scale(1.02);
}

.screenshot-label {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  right: var(--space-4);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-align: center;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 2;
  transform: translateY(10px);
}

.screenshot-card:hover .screenshot-label {
  opacity: 1;
  transform: translateY(0);
}

.feature-badge-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  max-width: 300px;
  flex: 1 1 auto;
  min-width: 0;
}

.feature-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: white;
  white-space: nowrap;
  min-width: 0;
  flex-shrink: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.feature-badge-description {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  line-height: 1.4;
  margin: 0;
  max-width: 100%;
  word-break: break-word;
  hyphens: auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-stats {
  display: flex;
  gap: var(--space-12);
  justify-content: center;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-number {
  font-size: var(--text-3xl);
  font-weight: var(--font-extrabold);
  color: white;
  line-height: var(--leading-none);
  margin-bottom: var(--space-1);
}

.stat-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 1200px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  
  .hero-content {
    text-align: center;
    padding-right: 0;
    animation: fadeInUp 0.8s ease-out;
  }
  
  .hero-title {
    white-space: normal;
  }
  
  .hero-subtitle {
    white-space: normal;
  }
  
  .features-checklist {
    align-items: flex-start;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .hero-free-features {
    flex-direction: column;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-features {
    justify-content: center;
  }
  
  .hero-screenshots {
    height: 600px;
    max-width: 700px;
    margin: 0 auto;
    justify-content: center;
  }
  
  .screenshot-card-1 {
    width: 85%;
    max-width: 500px;
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(-1deg);
    top: 0;
  }
  
  .screenshot-card-2 {
    width: 70%;
    max-width: 420px;
    left: 50%;
    right: auto;
    transform: translateX(-30%) rotate(1.5deg);
    top: 38%;
  }
  
  .screenshot-card-3 {
    width: 75%;
    max-width: 450px;
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(-1.5deg);
    top: 55%;
  }
}

@media (max-width: 1024px) {
  .hero-wrapper {
    gap: var(--space-8);
  }
  
  .hero-title {
    white-space: normal;
  }
  
  .hero-subtitle {
    white-space: normal;
  }
  
  .hero-free-features {
    flex-direction: column;
  }
  
  .free-feature-item {
    width: 100%;
  }
  
  .hero-screenshots {
    height: 550px;
    max-width: 600px;
  }
  
  .screenshot-card-1 {
    width: 80%;
    max-width: 450px;
  }
  
  .screenshot-card-2 {
    width: 65%;
    max-width: 380px;
  }
  
  .screenshot-card-3 {
    width: 70%;
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding-top: 0;
  }
  
  .nav-wrapper {
    height: 64px;
    padding: 0;
  }
  
  .logo {
    font-size: var(--text-lg);
    gap: var(--space-2);
    max-width: calc(100% - 60px);
  }
  
  .logo-icon-wrapper {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  
  .logo-icon {
    height: 32px;
    width: 32px;
    min-width: 32px;
  }
  
  .logo-text {
    font-size: var(--text-lg);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .mobile-menu-toggle {
    z-index: 10002 !important;
    position: relative !important;
  }
  
  .hero {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 40px;
  }
  
  .hero-content {
    padding: 0 20px;
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    white-space: normal;
  }
  
  .hero-subtitle {
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 20px;
    white-space: normal;
  }
  
  .hero-features-list {
    margin-bottom: 30px;
  }
  
  .hero-features-title {
    font-size: 15px;
    margin-bottom: 12px;
  }
  
  .features-checklist {
    gap: 10px;
  }
  
  .features-checklist li {
    font-size: 14px;
  }
  
  .hero-free-features {
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-6);
  }
  
  .free-feature-item {
    flex-direction: row;
    width: 100%;
  }
  
  .hero-cta {
    margin-bottom: 40px;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .hero-screenshots {
    display: none !important;
  }
  
  .screenshots-preview-wrapper {
    margin-top: var(--space-8) !important;
  }
  
  .screenshot-label {
    opacity: 1;
    position: static;
    margin-top: var(--space-2);
    background: rgba(0, 0, 0, 0.7);
    border-radius: var(--radius-md);
    transform: none !important;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-6);
  }
}

/* ============================================
   Section Headers
   ============================================ */

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  letter-spacing: -0.03em;
  line-height: var(--leading-tight);
}

.section-subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-weight: var(--font-normal);
}

@media (max-width: 768px) {
  .section-title {
    font-size: var(--text-3xl);
  }
  
  .section-subtitle {
    font-size: var(--text-lg);
  }
  
  .section-header {
    margin-bottom: var(--space-12);
  }
}

/* ============================================
   Use Cases Section
   ============================================ */

.use-cases {
  padding: var(--space-20) 0;
  background: var(--bg-secondary);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.use-case-card {
  background: white;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.card-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--accent-red);
  color: white;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
  width: fit-content;
}

.use-case-image {
  width: 100%;
  height: 200px;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  border: 2px solid var(--gray-300);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.use-case-image::before {
  content: 'LIVE';
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  background: var(--accent-red);
  color: white;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.use-case-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
  z-index: 1;
}

.use-case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 0;
  opacity: 0.9;
}

.use-case-image:hover img {
  opacity: 1;
}

.use-case-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
  line-height: var(--leading-snug);
}

.use-case-card p {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  flex-grow: 1;
}

/* ============================================
   Core Services Section
   ============================================ */

.core-services {
  padding: var(--space-20) 0;
  background: var(--bg-secondary);
}

.section-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--primary);
  border-radius: var(--radius-full);
}

.core-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.core-service-card {
  text-align: center;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  background: white;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border-light);
}

.core-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.core-service-image {
  width: 100%;
  height: 200px;
  margin: 0 auto var(--space-6);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.core-service-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.core-service-card h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
  color: var(--text-primary);
  line-height: var(--leading-tight);
}

.core-service-card p {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  flex-grow: 1;
}

/* ============================================
   Features Section
   ============================================ */

.features {
  padding: var(--space-20) 0;
  background: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}

.feature-card {
  text-align: center;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  background: white;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border-light);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feature-image {
  width: 100%;
  height: 180px;
  margin: 0 auto var(--space-5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.feature-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
  line-height: var(--leading-snug);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
}

/* ============================================
   How It Works Section
   ============================================ */

.how-it-works {
  padding: var(--space-20) 0;
  background: var(--bg-primary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.step-card {
  text-align: center;
  padding: var(--space-6);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin: 0 auto var(--space-4);
}

.step-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.step-card p {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
}

/* ============================================
   Integrations Section
   ============================================ */

.integrations {
  padding: var(--space-20) 0;
  background: var(--bg-secondary);
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.integration-item {
  text-align: center;
  padding: var(--space-6);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.integration-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.integration-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--primary);
}

.integration-item h4 {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin: 0;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials {
  padding: var(--space-20) 0;
  background: var(--bg-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-card {
  background: white;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.testimonial-content {
  flex-grow: 1;
  margin-bottom: var(--space-5);
}

.testimonial-content p {
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
  font-style: italic;
  margin: 0;
  position: relative;
  padding-left: var(--space-6);
}

.testimonial-content p::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: var(--text-4xl);
  color: var(--primary-light);
  font-family: Georgia, serif;
}

.testimonial-author {
  border-top: 1px solid var(--border-light);
  padding-top: var(--space-4);
}

.author-name {
  font-weight: var(--font-bold);
  color: var(--text-primary);
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.author-role {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

/* ============================================
   Platform Screenshots
   ============================================ */

.platform-screenshots {
  padding: var(--space-20) 0;
  background: var(--bg-primary);
}

.screenshot-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-bottom: var(--space-16);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.screenshot-wrapper:last-child {
  margin-bottom: 0;
}

.screenshot-reverse {
  direction: rtl;
}

.screenshot-reverse > * {
  direction: ltr;
}

.screenshot-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: white;
  padding: var(--space-2);
}

.screenshot-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.screenshot-content h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
  color: var(--text-primary);
  line-height: var(--leading-tight);
}

.screenshot-content p {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
}

.screenshot-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.screenshot-features li {
  padding: var(--space-2) 0;
  color: var(--text-primary);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  font-weight: var(--font-medium);
}

@media (max-width: 968px) {
  .screenshot-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .screenshot-reverse {
    direction: ltr;
  }
  
  .screenshot-image {
    order: -1;
  }
}

/* ============================================
   Video Demo Section
   ============================================ */

.video-demo {
  padding: var(--space-20) 0;
  background: var(--bg-secondary);
}

.video-wrapper {
  max-width: 1000px;
  margin: var(--space-12) auto 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--bg-dark);
}

.demo-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
}

/* ============================================
   TV & QR Features
   ============================================ */

.tv-qr-features {
  padding: var(--space-20) 0;
  background: var(--bg-primary);
}

.tv-qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  max-width: 1000px;
  margin: 0 auto;
}

.tv-qr-card {
  text-align: center;
  padding: var(--space-8);
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  border: 1px solid var(--border-light);
}

.tv-qr-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tv-qr-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.tv-qr-icon img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.tv-qr-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.tv-qr-card p {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
}

/* ============================================
   Platform Features
   ============================================ */

.platform-features {
  padding: var(--space-20) 0;
  background: var(--bg-secondary);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.platform-card {
  background: white;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--border-light);
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.platform-icon {
  display: inline-block;
  padding: var(--space-2) var(--space-5);
  background: var(--primary);
  color: white;
  border-radius: var(--radius-lg);
  font-weight: var(--font-bold);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.platform-card h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.platform-card p {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

.benefit-item {
  padding: var(--space-5);
  background: white;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
  border: 1px solid var(--border-light);
}

.benefit-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.benefit-item h4 {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing {
  padding: var(--space-20) 0;
  padding-top: calc(var(--space-20) + var(--space-4));
  background: var(--bg-primary);
  overflow: visible;
}

/* Free Plan Block */
.free-plan-block {
  max-width: 1200px;
  margin: 0 auto var(--space-12);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.free-plan-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

.free-plan-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.free-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.free-plan-icon {
  font-size: 18px;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 0.8;
  }
}

.free-plan-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-extrabold);
  margin-bottom: var(--space-3);
  color: white;
}

.free-plan-description {
  font-size: var(--text-lg);
  opacity: 0.95;
  margin-bottom: var(--space-6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: white;
}

.free-plan-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.free-plan-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-align: left;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-base);
}

.free-plan-feature-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.free-plan-feature-item svg {
  flex-shrink: 0;
  color: #fbbf24;
  width: 20px;
  height: 20px;
}

.free-plan-feature-item span {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
}

.free-plan-feature-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.free-plan-feature-title {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: white;
  line-height: var(--leading-tight);
}

.free-plan-feature-subtitle {
  font-size: var(--text-sm);
  font-weight: var(--font-normal);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--leading-normal);
}

.free-plan-cta {
  font-size: var(--text-lg);
  padding: var(--space-4) var(--space-8);
  min-height: 56px;
  font-weight: var(--font-bold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.free-plan-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .free-plan-block {
    padding: var(--space-6);
    margin-bottom: var(--space-8);
  }
  
  .free-plan-title {
    font-size: var(--text-2xl);
  }
  
  .free-plan-description {
    font-size: var(--text-base);
  }
  
  .free-plan-features {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  
  .free-plan-feature-item {
    padding: var(--space-3);
  }
  
  .free-plan-cta {
    width: 100%;
    padding: var(--space-4) var(--space-6);
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  max-width: 1400px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.pricing-card.featured {
  border-color: var(--primary);
  border-width: 3px;
  box-shadow: var(--shadow-md);
  background: white;
  position: relative;
  overflow: visible;
}

@media (min-width: 769px) {
  .pricing-card.featured {
    transform: scale(1.03);
  }
}

.pricing-card.featured:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--shadow-xl);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 20;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

.pricing-image {
  width: 100%;
  height: 160px;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
}

.pricing-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-light);
}

.pricing-header h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
  color: var(--text-primary);
  line-height: var(--leading-snug);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-1);
}

.currency {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--text-secondary);
}

.amount {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  color: var(--text-primary);
  line-height: var(--leading-none);
  letter-spacing: -0.02em;
}

.period {
  font-size: var(--text-lg);
  color: var(--text-secondary);
}

.pricing-features {
  margin-bottom: var(--space-6);
  flex-grow: 1;
  padding: 0;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--text-primary);
  position: relative;
  padding-left: 1.25rem;
  font-size: var(--text-base);
  line-height: 1.35;
  font-weight: var(--font-normal);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--accent);
  font-weight: var(--font-bold);
  font-size: var(--text-base);
  line-height: 1.35;
}

.pricing-features li.pricing-divider {
  padding: 0;
  margin: 0.625rem 0;
  height: 1px;
  background: var(--border-light);
  list-style: none;
}

.pricing-features li.pricing-divider::before {
  display: none;
}

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

@media (max-width: 768px) {
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* ============================================
   Values Section
   ============================================ */

.values {
  padding: var(--space-20) 0;
  background: var(--bg-secondary);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.value-card {
  text-align: center;
  padding: var(--space-6);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--border-light);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-xl);
  color: white;
  flex-shrink: 0;
}

.value-icon svg {
  width: 40px;
  height: 40px;
}

.value-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
  line-height: var(--leading-snug);
}

.value-card p {
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
}

/* ============================================
   Clients Section
   ============================================ */

.clients {
  padding: var(--space-20) 0;
  background: var(--bg-primary);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-6);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
  height: 100px;
  border: 1px solid var(--border-light);
}

.client-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.client-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--transition-base);
}

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

/* ============================================
   FAQ Section
   ============================================ */

.faq {
  padding: var(--space-20) 0;
  background: var(--bg-secondary);
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--border-light);
  margin-bottom: var(--space-4);
  overflow: hidden;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  line-height: var(--leading-snug);
  transition: all var(--transition-base);
}

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

.faq-question span {
  flex: 1;
  padding-right: var(--space-4);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--text-secondary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 var(--space-6);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 var(--space-6) var(--space-5) var(--space-6);
}

.faq-answer p {
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  margin: 0;
  padding-top: var(--space-4);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--bg-dark);
  color: white;
  padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-section h4,
.footer-section h5 {
  margin-bottom: var(--space-4);
  font-weight: var(--font-bold);
  color: white;
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
  font-size: var(--text-sm);
}

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

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.newsletter {
  margin-top: var(--space-4);
}

.newsletter h5 {
  margin-bottom: var(--space-2);
}

.newsletter p {
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}

.newsletter-form {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: var(--text-base);
  font-family: var(--font-sans);
  outline: none;
  transition: all var(--transition-base);
  min-height: 44px;
}

.newsletter-form input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  white-space: nowrap;
  min-height: 44px;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-sm);
}

/* ============================================
   Animations
   ============================================ */

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

/* ============================================
   Responsive Adjustments
   ============================================ */

@media (max-width: 768px) {
  .use-case-image {
    height: 180px;
  }
  
  .feature-image,
  .pricing-image {
    height: 160px;
    padding: var(--space-3);
  }
  
  .use-cases,
  .features,
  .platform-features,
  .pricing,
  .faq,
  .values,
  .clients {
    padding: var(--space-12) 0;
  }
}

/* iPhone specific styles */
@supports (-webkit-touch-callout: none) {
  .nav-wrapper {
    height: 64px;
  }
  
  .hero {
    padding-top: max(100px, calc(env(safe-area-inset-top) + 90px));
    padding-bottom: max(var(--space-12), calc(env(safe-area-inset-bottom) + 20px));
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  
  .navbar {
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  
  .container {
    padding-left: max(var(--space-6), env(safe-area-inset-left));
    padding-right: max(var(--space-6), env(safe-area-inset-right));
  }
  
  @media (max-width: 480px) {
    .nav-wrapper {
      height: 60px !important;
    }
    
    .hero {
      padding-top: max(95px, calc(env(safe-area-inset-top) + 85px)) !important;
    }
    
    .container {
      padding-left: max(var(--space-4), env(safe-area-inset-left));
      padding-right: max(var(--space-4), env(safe-area-inset-right));
    }
  }
}

/* Complete mobile rewrite - using !important to override all */
@media (max-width: 480px) {
  .hero-wrapper {
    grid-template-columns: 1fr !important;
    gap: var(--space-4) !important;
  }
  
  .hero-screenshots {
    display: none !important;
  }
  
  .screenshots-preview-wrapper {
    margin-top: var(--space-8) !important;
  }
  
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  .navbar {
    padding-top: 0 !important;
  }
  
  .nav-wrapper {
    height: 60px !important;
  }
  
  .hero {
    padding-top: 90px !important;
    padding-bottom: 30px !important;
    min-height: auto !important;
  }
  
  .hero-wrapper {
    grid-template-columns: 1fr !important;
    gap: var(--space-4) !important;
  }
  
  .hero-screenshots {
    display: none !important;
  }
  
  .screenshots-preview-wrapper {
    margin-top: var(--space-8) !important;
  }
  
  .hero-content {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .container {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .hero-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
    margin-bottom: 16px !important;
    letter-spacing: -0.01em !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }
  
  .hero-subtitle {
    font-size: 15px !important;
    line-height: 1.35 !important;
    margin-bottom: 16px !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }
  
  .hero-features-list {
    margin-bottom: 24px !important;
  }
  
  .hero-features-title {
    font-size: 14px !important;
    margin-bottom: 12px !important;
  }
  
  .features-checklist {
    gap: 10px !important;
  }
  
  .features-checklist li {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  
  .features-checklist li svg {
    width: 18px !important;
    height: 18px !important;
  }
  
  .hero-free-features {
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 24px !important;
  }
  
  .free-feature-item {
    flex-direction: row !important;
    padding: 12px !important;
    width: 100% !important;
  }
  
  .free-feature-icon {
    width: 40px !important;
    height: 40px !important;
  }
  
  .free-feature-icon svg {
    width: 20px !important;
    height: 20px !important;
  }
  
  .free-feature-title {
    font-size: 14px !important;
  }
  
  .free-feature-subtitle {
    font-size: 12px !important;
  }
  
  .hero-cta {
    margin-bottom: 28px !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .hero-cta-row {
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
    align-items: stretch !important;
  }
  
  .hero-cta-row .btn {
    width: 100% !important;
  }
  
  .cta-note {
    text-align: left !important;
    margin: 0 !important;
  }
  
  .hero-cta-wrapper {
    gap: 14px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
    align-items: stretch !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
  }
  
  .btn-large {
    width: 100% !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    min-height: 50px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  
  .free-badge {
    font-size: 11px !important;
    padding: 13px 16px !important;
    letter-spacing: 0.1px !important;
    white-space: normal !important;
    line-height: 1.45 !important;
    min-height: 46px !important;
    word-break: break-word !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    border-radius: 10px !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
  
  .free-badge-text {
    font-size: 11px !important;
    text-align: center !important;
    width: 100% !important;
    flex-wrap: wrap !important;
    line-height: 1.45 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  
  .free-badge-text::before {
    font-size: 13px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
  }
  
  .cta-note {
    font-size: 12px !important;
    line-height: 1.5 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
  }
  
  .hero-cta-row {
    flex-direction: column !important;
    gap: 12px !important;
  }
  
  .hero-cta-row .btn {
    width: 100% !important;
  }
  
  .hero-features {
    gap: 18px !important;
    margin-bottom: 32px !important;
    padding: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .feature-badge-wrapper {
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
  
  .feature-badge {
    font-size: 13px !important;
    padding: 13px 16px !important;
    white-space: normal !important;
    line-height: 1.4 !important;
    min-height: 46px !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
  
  .feature-badge svg {
    width: 17px !important;
    height: 17px !important;
    flex-shrink: 0 !important;
  }
  
  .feature-badge-description {
    font-size: 12px !important;
    word-break: break-word !important;
    line-height: 1.5 !important;
    margin-top: 4px !important;
    padding: 0 !important;
  }
}

/* Specific fix for 474px width (iPhone) - override with !important */
@media (min-width: 470px) and (max-width: 480px) {
  .hero-title {
    font-size: 23px !important;
    line-height: 1.3 !important;
    margin-bottom: 14px !important;
  }
  
  .hero-subtitle {
    font-size: 16px !important;
    line-height: 1.35 !important;
    margin-bottom: 14px !important;
  }
  
  .hero-description {
    font-size: 13px !important;
    padding: 0 10px !important;
    margin-bottom: 26px !important;
  }
  
  .free-badge {
    font-size: 11px !important;
    padding: 13px 18px !important;
    min-height: 46px !important;
  }
  
  .free-badge-text {
    font-size: 11px !important;
  }
  
  .btn-large {
    padding: 15px 22px !important;
    min-height: 50px !important;
  }
  
  .feature-badge {
    font-size: 13px !important;
    padding: 13px 18px !important;
    min-height: 46px !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .free-badge {
    font-size: 11px;
    padding: var(--space-3) var(--space-4);
    white-space: normal;
    line-height: 1.4;
  }
  
  .free-badge-text {
    font-size: 11px;
  }
  
  .free-badge-text::before {
    font-size: 14px;
  }
  
  .hero-features {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .feature-badge-wrapper {
    max-width: 100%;
    flex: 1 1 calc(50% - var(--space-3));
    min-width: 200px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .free-badge {
    font-size: var(--text-xs);
    white-space: normal;
    line-height: 1.4;
  }
  
  .free-badge-text {
    font-size: var(--text-xs);
  }
  
  .feature-badge-wrapper {
    max-width: 280px;
    flex: 1 1 auto;
  }
}

@media (min-width: 1025px) {
  .free-badge {
    font-size: var(--text-sm);
    white-space: nowrap;
  }
  
  .free-badge-text {
    font-size: var(--text-sm);
  }
  
  .feature-badge-wrapper {
    max-width: 300px;
    flex: 1 1 auto;
  }
}

/* Removed duplicate @media (max-width: 480px) - using the one with !important above */

@media (min-width: 481px) and (max-width: 768px) {
  .free-badge {
    font-size: 11px;
    padding: var(--space-2) var(--space-4);
  }
  
  .feature-badge-wrapper {
    max-width: 240px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .free-badge {
    font-size: var(--text-xs);
  }
  
  .feature-badge-wrapper {
    max-width: 260px;
  }
}

@media (min-width: 1025px) {
  .free-badge {
    font-size: var(--text-sm);
  }
  
  .feature-badge-wrapper {
    max-width: 280px;
  }
}

/* ============================================
   Screenshots Preview
   ============================================ */
.screenshots-preview-wrapper {
  position: relative;
  width: 100%;
  margin-top: var(--space-16);
  padding-top: var(--space-12);
  padding-bottom: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Тонкие индикаторы прокрутки */
.screenshots-preview-wrapper::before,
.screenshots-preview-wrapper::after {
  display: none;
}

.screenshots-preview {
  display: flex;
  gap: var(--space-6);
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: var(--space-4) var(--space-6);
  margin: 0 auto;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 1;
}

/* Скрыть скроллбар для WebKit браузеров (Chrome, Safari, Edge) */
.screenshots-preview::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
  background: transparent;
}

.preview-item {
  position: relative;
  width: 160px;
  height: 100px;
  min-width: 160px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.preview-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.preview-item:hover {
  transform: translateY(-8px) scale(1.08);
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.preview-item:hover::before {
  opacity: 1;
}

.preview-item:hover .preview-overlay {
  opacity: 1;
  transform: scale(1);
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.preview-item:hover .preview-image {
  transform: scale(1.1);
}

.preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  pointer-events: none;
}

.preview-overlay svg {
  width: 48px;
  height: 48px;
  color: white;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

@media (max-width: 768px) {
  .screenshots-preview-wrapper {
    margin-top: var(--space-12);
    padding-top: var(--space-8);
  }
  
  .screenshots-preview-wrapper::before,
  .screenshots-preview-wrapper::after {
    height: 30px;
    left: var(--space-3);
    right: var(--space-3);
  }
  
  .screenshots-preview {
    gap: var(--space-4);
    padding: var(--space-4) var(--space-4);
  }
  
  .preview-item {
    width: 140px;
    min-width: 140px;
    height: 88px;
  }
}

@media (max-width: 640px) {
  .screenshots-preview-wrapper::before,
  .screenshots-preview-wrapper::after {
    height: 25px;
    left: var(--space-2);
    right: var(--space-2);
  }
  
  .screenshots-preview {
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
  }
  
  .preview-item {
    width: 120px;
    min-width: 120px;
    height: 75px;
  }
}

/* ============================================
   Lightbox Modal
   ============================================ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
  box-sizing: border-box;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: fixed;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10000;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10000;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.lightbox-prev {
  left: 15px;
}

.lightbox-next {
  right: 15px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
  .screenshots-preview {
    gap: var(--space-3);
    margin-top: var(--space-6);
  }

  .preview-item {
    width: 100px;
    height: 67px;
  }

  .lightbox-content {
    max-width: 100vw;
    max-height: 100vh;
    padding: 60px 15px 20px;
    touch-action: pan-y pinch-zoom;
  }

  .lightbox-image {
    max-width: 100%;
    max-height: calc(100vh - 80px);
    touch-action: pan-y pinch-zoom;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
    font-size: 24px;
    top: 50%;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .lightbox-content {
    padding: 50px 10px 15px;
    touch-action: pan-y pinch-zoom;
  }

  .lightbox-image {
    max-height: calc(100vh - 70px);
    touch-action: pan-y pinch-zoom;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
    top: 50%;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

/* ============================================
   Accessibility
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
