/* =====================================================
   Daily Local Website - Professional CSS Architecture
   ===================================================== */

/* CSS Custom Properties (Design Tokens) */
:root {
  /* Colors */
  --color-primary: #667eea;
  --color-secondary: #764ba2;
  --color-primary-light: #8b97f3;
  --color-primary-dark: #4c63d2;
  
  /* Text Colors */
  --color-text-primary: #1a202c;
  --color-text-secondary: #4a5568;
  --color-text-muted: #718096;
  --color-text-inverse: #ffffff;
  
  /* Background Colors */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f7fafc;
  --color-bg-muted: #edf2f7;
  
  /* Status Colors */
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  --gradient-light: linear-gradient(135deg, #f8faff 0%, #e8f2ff 100%);
  
  /* Typography */
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  /* Font Sizes (Fluid Typography) */
  --font-size-xs: clamp(0.75rem, 0.5vw + 0.65rem, 0.875rem);
  --font-size-sm: clamp(0.875rem, 0.5vw + 0.775rem, 1rem);
  --font-size-base: clamp(1rem, 0.5vw + 0.9rem, 1.125rem);
  --font-size-lg: clamp(1.125rem, 0.75vw + 1rem, 1.25rem);
  --font-size-xl: clamp(1.25rem, 1vw + 1.1rem, 1.5rem);
  --font-size-2xl: clamp(1.5rem, 2vw + 1.2rem, 2rem);
  --font-size-3xl: clamp(2rem, 3vw + 1.5rem, 2.5rem);
  --font-size-4xl: clamp(2.5rem, 4vw + 2rem, 3.5rem);
  
  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;
  --space-5xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition-fast: 0.15s ease-out;
  --transition-base: 0.3s ease-out;
  --transition-slow: 0.5s ease-out;
  
  /* Container Widths */
  --container-xs: 480px;
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-2xl: 1400px;
  
  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Utility Classes */
.container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-sm { max-width: var(--container-sm); }
.container-md { max-width: var(--container-md); }
.container-lg { max-width: var(--container-lg); }
.container-2xl { max-width: var(--container-2xl); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  margin-bottom: var(--space-md);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.text-lg { font-size: var(--font-size-lg); }
.text-sm { font-size: var(--font-size-sm); }
.text-xs { font-size: var(--font-size-xs); }

.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

.text-primary { color: var(--color-text-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-muted { color: var(--color-text-muted); }

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px var(--space-xl);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 44px; /* Touch target */
  user-select: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px var(--space-2xl);
  font-size: var(--font-size-lg);
}

.btn-sm {
  padding: 10px var(--space-lg);
  font-size: var(--font-size-sm);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Card System */
.card {
  background: var(--color-bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-body {
  padding: var(--space-2xl);
}

.card-featured {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
}

/* Badge System */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-full);
}

.badge-primary {
  background: var(--gradient-primary);
  color: var(--color-text-inverse);
}

.badge-success {
  background: #dcfce7;
  color: #166534;
}

.badge-info {
  background: #dbeafe;
  color: #1e40af;
}

.badge-muted {
  background: var(--color-bg-muted);
  color: var(--color-text-muted);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

.grid-auto-fit {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-auto-fill {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* Flexbox Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

/* Spacing Utilities */
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

/* Section Layouts */
.section {
  padding: var(--space-5xl) 0;
}

.section-sm {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* =====================================================
   Component Styles
   ===================================================== */

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-text-primary);
  text-decoration: none;
}

.logo a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-primary);
  text-decoration: none;
  font-size: inherit;
  font-weight: inherit;
}

.logo a:hover,
.logo a:visited,
.logo a:focus {
  color: var(--color-text-primary);
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  list-style: none;
}

.nav-links a {
  color: var(--color-text-primary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-base);
}

.nav-links a:hover {
  color: var(--color-primary);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 3px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* Hero Section */
.hero {
  padding: 120px 0 var(--space-5xl);
  background: var(--gradient-light);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: top;
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.app-badges {
  display: flex;
  gap: var(--space-md);
}

.app-badges img {
  height: 60px;
  width: auto;
  transition: transform var(--transition-base);
}

.app-badges img:hover {
  transform: scale(1.05);
}

.app-badge-wrapper {
  position: relative;
  display: inline-block;
}

.app-badge-wrapper.coming-soon {
  cursor: not-allowed;
}

.coming-soon-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.hero-wave svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Section */
.features {
  padding: var(--space-5xl) 0;
}

.feature-category {
  margin-bottom: var(--space-5xl);
}

.category-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.category-header i {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.category-header h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-sm);
}

.category-header p {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
}

.features-grid.compact {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.feature-card {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--color-bg-primary);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid transparent;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-card.featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.features-grid.compact .feature-card {
  padding: var(--space-xl) var(--space-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 2rem;
  color: var(--color-text-inverse);
}

.features-grid.compact .feature-icon {
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
}

.feature-card h3 {
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.feature-card p {
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.feature-checklist {
  list-style: none;
  margin: var(--space-md) 0;
  text-align: left;
}

.feature-checklist li {
  padding: var(--space-sm) 0;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.feature-checklist i {
  color: var(--color-success);
  font-size: var(--font-size-sm);
}

.feature-tags {
  margin-top: var(--space-md);
}

.features-cta {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  background: var(--gradient-light);
  border-radius: var(--radius-lg);
  margin-top: var(--space-3xl);
}

.features-cta h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-md);
}

.features-cta p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2xl);
  color: var(--color-text-secondary);
}

/* Subscription Benefits Section */
.subscription-benefits {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-primary);
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-bottom: var(--space-3xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg-primary);
  font-size: var(--font-size-base);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-lg);
  text-align: center;
  border-bottom: 1px solid var(--color-bg-muted);
}

.comparison-table th {
  background: var(--color-bg-secondary);
  font-weight: var(--font-weight-semibold);
}

.feature-name {
  text-align: left !important;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
}

.plan-header {
  vertical-align: top;
}

.plan-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.plan-price {
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
}

.plan-badge {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.plan-header.community {
  background: #f0f7ff;
}

.plan-header.business {
  background: #e8f2ff;
}

.category-row td {
  background: var(--color-bg-secondary);
  font-weight: var(--font-weight-semibold);
  text-align: left !important;
  color: var(--color-text-primary);
}

.text-green {
  color: var(--color-success);
}

.text-gray {
  color: var(--color-text-muted);
}

.badge-green {
  background: #dcfce7;
  color: #166534;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
}

.badge-blue {
  background: #dbeafe;
  color: #1e40af;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
}

/* Mobile Subscription Cards */
.subscription-cards-mobile {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
}

.subscription-card {
  background: var(--color-bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-bg-muted);
  position: relative;
  transition: all var(--transition-base);
}

.subscription-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.subscription-card h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-sm);
}

.subscription-card .price {
  font-size: var(--font-size-xl);
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-2xl);
}

.subscription-card ul {
  list-style: none;
  margin-bottom: var(--space-2xl);
}

.subscription-card li {
  padding: var(--space-sm) 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-secondary);
}

.subscription-card i {
  color: var(--color-success);
  font-size: var(--font-size-sm);
}

.subscription-card.featured {
  border-color: var(--color-success);
}

.subscription-card.premium {
  border-color: var(--color-primary);
}

.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--color-text-inverse);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

.subscription-button {
  display: flex;
  width: 100%;
  padding: 16px var(--space-xl);
  background: var(--gradient-primary);
  color: var(--color-text-inverse);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-semibold);
  transition: all var(--transition-base);
  text-align: center;
  justify-content: center;
  min-height: 44px;
}

.subscription-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Pricing Section */
.pricing {
  padding: var(--space-5xl) 0;
  background: var(--gradient-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-2xl);
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--color-primary);
  transform: scale(1.02);
}

.pricing-card.premium {
  border-color: var(--color-secondary);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--color-text-inverse);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

.pricing-header h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-md);
}

.price {
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-xs);
}

.currency {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
}

.amount {
  font-size: 3rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
}

.period {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
}

.pricing-description {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.pricing-button {
  display: flex;
  width: 100%;
  padding: 16px var(--space-xl);
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-semibold);
  transition: all var(--transition-base);
  justify-content: center;
  min-height: 44px;
}

.pricing-button:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  transform: translateY(-2px);
}

.pricing-card.featured .pricing-button {
  background: var(--gradient-primary);
  color: var(--color-text-inverse);
  border-color: transparent;
}

.pricing-footer {
  text-align: center;
  margin-top: var(--space-3xl);
}

.pricing-footer p {
  display: inline-block;
  margin: 0 var(--space-lg);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.pricing-footer i {
  color: var(--color-primary);
  margin-right: var(--space-sm);
}

/* How It Works Section */
.how-it-works {
  padding: var(--space-5xl) 0;
  background: var(--gradient-light);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
}

.step {
  text-align: center;
  padding: var(--space-xl);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: var(--color-text-inverse);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin: 0 auto var(--space-md);
}

.step h3 {
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.step p {
  color: var(--color-text-secondary);
}

/* Stats Section */
.stats {
  padding: var(--space-4xl) 0;
  background: var(--gradient-primary);
  color: var(--color-text-inverse);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-2xl);
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: var(--font-weight-extrabold);
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: var(--font-size-lg);
  opacity: 0.9;
}

/* Footer */
.footer {
  background: var(--color-text-primary);
  color: var(--color-text-inverse);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-section h4 {
  margin-bottom: var(--space-md);
  color: var(--color-text-inverse);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--space-sm);
}

.footer-section ul li a {
  color: #a0aec0;
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-section ul li a:hover {
  color: var(--color-primary);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-extrabold);
  margin-bottom: var(--space-md);
}

.footer-logo img {
  width: 40px;
  height: 40px;
}

.footer-section p {
  color: #a0aec0;
  margin-bottom: var(--space-lg);
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-links a {
  width: 44px;
  height: 44px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-inverse);
  text-decoration: none;
  transition: all var(--transition-base);
}

.social-links a:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: var(--space-xl);
  text-align: center;
  color: #a0aec0;
}

/* Download Section */
.download {
  padding: var(--space-5xl) 0;
  background: var(--gradient-primary);
  color: var(--color-text-inverse);
  text-align: center;
}

.download-content h2 {
  color: var(--color-text-inverse);
  margin-bottom: var(--space-md);
}

.download-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
  font-size: var(--font-size-lg);
}

.download-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
}

.download-badges img {
  height: 60px;
  width: auto;
  transition: transform var(--transition-base);
}

.download-badges img:hover {
  transform: scale(1.05);
}

/* =====================================================
   Responsive Design
   ===================================================== */

/* Large Tablets (1024px and down) */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .hero-content {
    gap: var(--space-2xl);
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

/* Tablets (768px and down) */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .app-badges {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  
  .feature-category {
    margin-bottom: var(--space-4xl);
  }
  
  .category-header h3 {
    font-size: var(--font-size-xl);
  }
  
  .feature-checklist {
    text-align: center;
  }
  
  .comparison-table-wrapper {
    display: none;
  }
  
  .subscription-cards-mobile {
    display: grid;
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .download-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-footer p {
    display: block;
    margin: var(--space-sm) 0;
  }
}

/* Large Mobile (640px and down) */
@media (max-width: 640px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .section {
    padding: var(--space-4xl) 0;
  }
  
  .hero {
    padding: 100px 0 var(--space-4xl);
  }
  
  .btn {
    padding: 12px var(--space-lg);
    font-size: var(--font-size-sm);
  }
  
  .btn-lg {
    padding: 14px var(--space-xl);
    font-size: var(--font-size-base);
  }
  
  .hero-cta {
    gap: var(--space-md);
  }
  
  .features-grid.compact {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    padding: var(--space-xl) var(--space-lg);
  }
  
  .category-header i {
    font-size: 2.5rem;
  }
  
  .features-cta {
    padding: var(--space-2xl) var(--space-lg);
  }
  
  .subscription-card {
    padding: var(--space-xl);
  }
  
  .pricing-card {
    padding: var(--space-xl);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* Small Mobile (480px and down) */
@media (max-width: 480px) {
  .category-header h3 {
    font-size: var(--font-size-lg);
  }
  
  .features-cta h3 {
    font-size: var(--font-size-xl);
  }
  
  .app-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .app-badges img {
    height: 50px;
  }
  
  .download-badges img {
    height: 50px;
  }
  
  .comparison-table {
    font-size: var(--font-size-sm);
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: var(--space-sm);
  }
}

/* =====================================================
   Animations & Interactions
   ===================================================== */

/* Scroll Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Focus Styles */
.btn:focus-visible,
.nav-links a:focus-visible,
.pricing-button:focus-visible,
.subscription-button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Reduced Motion Support */
@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;
  }
  
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .btn-primary {
    border: 2px solid var(--color-text-inverse);
  }
  
  .feature-card {
    border: 2px solid var(--color-text-primary);
  }
  
  .card {
    border: 1px solid var(--color-text-primary);
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg-primary: #1a202c;
    --color-bg-secondary: #2d3748;
    --color-bg-muted: #4a5568;
    --color-text-primary: #f7fafc;
    --color-text-secondary: #e2e8f0;
    --color-text-muted: #a0aec0;
  }
  
  .navbar {
    background: rgba(26, 32, 44, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  
  .hero {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
  }
}

/* Print Styles */
@media print {
  .navbar,
  .mobile-menu-toggle,
  .hero-cta,
  .app-badges,
  .download-badges,
  .social-links {
    display: none !important;
  }
  
  * {
    color: #000 !important;
    background: #fff !important;
    box-shadow: none !important;
  }
  
  .container {
    max-width: none !important;
    padding: 0 !important;
  }
}