/* KinBé - Stripe-inspired Modern Design */
/* Variables CSS */
:root {
  /* Colores principales - KinBé Brand */
  --primary: #FF8A43;
  --secondary: #FF5BA6;
  --accent: #635BFF;
  --background: #F7F9FC;
  --text: #0A2540;
  --text-light: #425466;
  --text-muted: #8FA5B8;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --success: #22c55e;
  --warning: #f97316;
  
  /* Gradientes - KinBé Brand */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  --gradient-hero: linear-gradient(135deg, #FF8A43 0%, #FF5BA6 50%, #635BFF 100%);
  
  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  
  /* Espaciado */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Tipografía */
  --font-sans: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
  
  /* Radios */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
  
  /* Transiciones */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--text-light);
}

.btn-ghost:hover {
  color: var(--primary);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

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

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-300);
  font-size: 0.875rem;
}

/* Success/warning colors */
.success {
  color: #10B981;
}

.warning {
  color: #F59E0B;
}

/* Features Showcase - Stripe Style */
.features-showcase {
  padding: 6rem 0;
  background: white;
}

.features-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 6rem;
  margin-top: 4rem;
  align-items: start;
}

/* LEFT: Lista vertical */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-tab {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.feature-tab:hover {
  background: rgba(255, 138, 67, 0.03);
  border-left-color: rgba(255, 138, 67, 0.3);
}

.feature-tab.active {
  background: rgba(255, 138, 67, 0.05);
  border-left-color: var(--primary);
}

.tab-icon {
  font-size: 2rem;
  min-width: 48px;
  text-align: center;
}

.tab-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.tab-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* RIGHT: Display area */
.features-display {
  position: relative;
  min-height: 600px;
  padding: 2rem;
}

.feature-display {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0s 0.5s;
}

.feature-display.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: opacity 0.5s ease, visibility 0s 0s;
}

.demo-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
}

/* Responsive */
@media (max-width: 1024px) {
  .features-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .feature-tab {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .features-showcase {
    padding: 4rem 0;
  }
  
  .features-display {
    min-height: 500px;
    padding: 1rem;
  }
  
  .demo-card {
    padding: 2rem;
  }
  
  .tab-icon {
    font-size: 1.5rem;
    min-width: 36px;
  }
  
  .tab-content h4 {
    font-size: 1rem;
  }
  
  .tab-content p {
    font-size: 0.85rem;
  }
}

/* CFDI Visualization */
.invoice-preview {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-100);
}

.badge-sat {
  background: #10B981;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.invoice-number {
  font-weight: 600;
  color: var(--text-muted);
}

.invoice-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.detail-row.total {
  font-weight: 600;
  font-size: 1.1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--gray-100);
  color: var(--primary);
}

.invoice-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #DCFCE7;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #065F46;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-indicator.success {
  background: #10B981;
}

/* WhatsApp Visualization */
.chat-interface {
  background: #ECE5DD;
  border-radius: 12px;
  padding: 1rem;
  min-height: 200px;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #25D366;
  padding: 0.75rem;
  border-radius: 8px 8px 0 0;
  margin: -1rem -1rem 1rem -1rem;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-avatar {
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #25D366;
}

.contact-name {
  color: white;
  font-weight: 600;
}

.online-status {
  color: white;
  font-size: 0.75rem;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.message {
  max-width: 80%;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.message.sent {
  align-self: flex-end;
}

.message.received {
  align-self: flex-start;
}

.message-text {
  background: white;
  padding: 0.75rem;
  border-radius: 12px;
  font-size: 0.9rem;
}

.message.sent .message-text {
  background: #DCF8C6;
}

.message-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0 0.5rem;
}

/* Calendar Visualization */
.calendar-view {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-100);
}

.month-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.sync-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: var(--accent);
  color: white;
  border-radius: 6px;
  font-size: 0.875rem;
}

.sync-icon {
  animation: rotate 2s linear infinite;
}

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

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.day-cell {
  padding: 0.75rem;
  text-align: center;
  background: var(--gray-50);
  border-radius: 8px;
  font-weight: 500;
}

.day-cell.today {
  background: var(--accent);
  color: white;
  font-weight: 600;
}

.appointments-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.appointment-item {
  display: flex;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: 8px;
  border-left: 3px solid var(--primary);
}

.time-badge {
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  height: fit-content;
}

.appointment-info {
  flex: 1;
}

.patient-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.appointment-type {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Patient File Visualization */
.patient-file {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.file-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-100);
}

.patient-avatar {
  width: 48px;
  height: 48px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.patient-details {
  flex: 1;
}

.patient-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.patient-id {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.nom-badge {
  background: var(--accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.file-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: 8px;
}

.stat-value {
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.progress-indicator {
  width: 100%;
  height: 8px;
  background: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 1s ease;
}

/* AI Interface Visualization */
.ai-interface {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ai-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-100);
  font-weight: 600;
}

.ai-status {
  margin-left: auto;
  font-size: 0.75rem;
}

.ai-status.active {
  color: #10B981;
}

.ai-processing {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: 8px;
  font-size: 0.9rem;
}

.process-step.completed {
  background: #DCFCE7;
}

.process-step.processing {
  background: #FEF3C7;
}

.step-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.process-step.processing .step-icon {
  animation: spin 1s linear infinite;
}

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

.ai-accuracy {
  text-align: center;
  padding: 0.75rem;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  font-weight: 600;
}

/* Payment Verification Visualization */
.payment-verification {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.verification-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-100);
  font-weight: 600;
  font-size: 1.1rem;
}

.bank-icon {
  font-size: 1.5rem;
}

.verification-process {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.verification-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: 8px;
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.verification-step span {
  flex: 1;
}

.check-icon {
  color: #10B981;
  font-weight: 600;
  font-size: 1.2rem;
}

.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--gray-300);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.payment-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: 8px;
}

.amount-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.amount-value {
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--primary);
}

.no-fees {
  text-align: center;
  padding: 0.75rem;
  background: #DCFCE7;
  color: #065F46;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Demo Journey */
.journey-section {
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at 10% 20%, rgba(255, 91, 166, 0.08), transparent 55%), #03091f;
  color: white;
}

.journey-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.journey-header h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: white;
}

.journey-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.journey-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.journey-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1rem 1.25rem;
  display: flex;
  gap: 1rem;
  text-align: left;
  color: white;
  align-items: flex-start;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.journey-step .step-index {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.35rem;
}

.journey-step .step-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
}

.journey-step .step-copy {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.journey-step.active {
  background: linear-gradient(120deg, rgba(255, 138, 67, 0.2), rgba(99, 91, 255, 0.2));
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 60px rgba(255, 138, 67, 0.3);
}

.journey-viewport {
  position: relative;
  border-radius: 32px;
  padding: 2rem;
  background: rgba(4, 12, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  min-height: 420px;
}

.journey-neon,
.journey-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.65;
}

.journey-neon {
  background: radial-gradient(circle at 25% 25%, rgba(255, 138, 67, 0.9), transparent 45%),
              radial-gradient(circle at 75% 20%, rgba(99, 91, 255, 0.7), transparent 50%);
}

.journey-aurora {
  background: radial-gradient(circle at 50% 80%, rgba(99, 91, 255, 0.6), transparent 50%);
  animation: auroraPulse 12s ease-in-out infinite;
}

.journey-slide {
  position: absolute;
  inset: 2rem;
  width: calc(100% - 4rem);
  height: calc(100% - 4rem);
  object-fit: contain;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 25px rgba(99, 91, 255, 0.5);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.journey-slide.active {
  opacity: 1;
  transform: scale(1);
}

.journey-overlay {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;
  padding: 1rem 1.3rem;
  background: rgba(5, 11, 30, 0.8);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(6px);
}

.journey-overlay-title {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.5rem 0;
}

.journey-overlay-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.journey-overlay-list li {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.85rem;
}

.journey-section .section-pill {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

@keyframes auroraPulse {
  0%, 100% { transform: scale(1); opacity: 0.65; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

@keyframes demoFloat {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate3d(10px, -15px, 0) scale(1.05); opacity: 1; }
  100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
}

/* Contact AI */
.contact-ai {
  background: var(--gray-50);
}

.contact-ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: start;
}

.contact-ai-copy h2 {
  font-size: 2.75rem;
}

.contact-ai-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text);
}

.contact-ai-email {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
}

.contact-ai-email a {
  color: var(--primary);
  text-decoration: none;
}

.contact-ai-form {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-ai-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
}

.contact-ai-form input,
.contact-ai-form textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: var(--font-sans);
}

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

.contact-ai-form input:focus,
.contact-ai-form textarea:focus {
  outline: 2px solid rgba(255, 138, 67, 0.3);
  border-color: transparent;
}

.form-helper {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .features-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .features-icons-grid {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
  }
}

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

  .journey-section {
    padding-bottom: 3rem;
  }

  .journey-steps {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.75rem;
  }

  .journey-step {
    min-width: 260px;
  }

  .journey-viewport {
    min-height: 360px;
  }

  .contact-ai-grid {
    grid-template-columns: 1fr;
  }

  .features-showcase {
    padding: 4rem 0;
  }
  
  .features-container {
    gap: 3rem;
  }
  
  .features-icons-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1rem;
    padding: 1rem;
  }
  
  .feature-icon {
    padding: 1.5rem 0.5rem;
  }
  
  .feature-icon svg,
  .feature-icon img {
    width: 36px;
    height: 36px;
  }
  
  .feature-icon span {
    font-size: 0.8rem;
  }
  
  .features-content-dynamic {
    min-height: 600px;
    padding: 1rem 0;
  }
  
  .feature-content-item h3 {
    font-size: 2rem;
  }
  
  .feature-content-item p {
    font-size: 1.1rem;
  }
  
  .feature-demo {
    padding: 1.5rem;
  }
  
  .file-stats {
    grid-template-columns: 1fr;
  }
  
  .calendar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
