/* CSS Variables */
:root {
  --font-size: 14px;
  --background: #ffffff;
  --foreground: #2d2d2d;
  --brand-primary: #FC5967;
  --brand-secondary: #f8f9fa;
  --brand-gray: #6c757d;
  --brand-light-gray: #f1f3f4;
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1 {
  font-size: 3.5rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}

p {
  font-size: 1.125rem;
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
}

button {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  border: none;
  background: none;
}

.brand-text {
  color: var(--brand-primary);
  position: relative;
}

.font-bold {
  font-weight: var(--font-weight-bold);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--brand-gray);
  max-width: 600px;
  margin: 0 auto;
}

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

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

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

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

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

@keyframes drawLine {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes scaleX {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  animation: slideInFromTop 0.5s ease-out;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  position: relative;
  width: 40px;
  height: 40px;
  background: var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

.heart-icon {
  width: 20px;
  height: 20px;
  color: white;
}

.orbit-circle {
  position: absolute;
  border: 2px solid var(--brand-primary);
  border-radius: 50%;
}

.orbit-1 {
  width: 16px;
  height: 16px;
  top: -4px;
  right: -4px;
  animation: rotate 8s linear infinite;
}

.orbit-2 {
  width: 12px;
  height: 12px;
  bottom: -4px;
  left: -4px;
  animation: rotate 6s linear infinite reverse;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--foreground);
}

/* Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  position: relative;
  color: var(--brand-gray);
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: var(--brand-primary);
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: width 0.2s ease;
}

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

.cta-button {
  padding: 8px 24px;
  border-radius: 25px;
  background: var(--brand-primary);
  color: white;
  transition: all 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(252, 89, 103, 0.4);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: var(--brand-gray);
  transition: all 0.3s ease;
}

.mobile-nav {
  display: none;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-nav-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav .nav-link {
  text-align: left;
  padding: 8px 0;
}

.mobile-nav .cta-button {
  margin-top: 1rem;
  text-align: center;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding-top: 64px;
  position: relative;
}

.hero-content {
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

.hero-text {
  margin-bottom: 3rem;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-title .brand-text::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-primary);
  opacity: 0.3;
  animation: scaleX 0.8s ease-out 1s both;
}

.hero-subtitle {
  color: var(--brand-gray);
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Ecosystem Visualization */
.ecosystem-viz {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 3rem;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.ecosystem-container {
  position: relative;
  height: 400px;
  width: 100%;
}

.connection-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.connection-line {
  stroke: var(--brand-primary);
  stroke-width: 1;
  opacity: 0.6;
  stroke-dasharray: 5, 5;
  animation: drawLine 0.8s ease-out 1.2s both;
}

.ecosystem-node {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  animation: fadeInUp 0.5s ease-out both;
}

.ecosystem-node:nth-child(2) { animation-delay: 0.2s; }
.ecosystem-node:nth-child(3) { animation-delay: 0.4s; }
.ecosystem-node:nth-child(4) { animation-delay: 0.6s; }
.ecosystem-node:nth-child(5) { animation-delay: 0.8s; }
.ecosystem-node:nth-child(6) { animation-delay: 1.0s; }

.node-icon {
  width: 64px;
  height: 64px;
  background: var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(252, 89, 103, 0.3);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.node-icon:nth-child(1) { animation-delay: 0s; }
.node-icon:nth-child(2) { animation-delay: 0.5s; }
.node-icon:nth-child(3) { animation-delay: 1s; }
.node-icon:nth-child(4) { animation-delay: 1.5s; }
.node-icon:nth-child(5) { animation-delay: 2s; }

.ecosystem-node:hover .node-icon {
  transform: scale(1.2);
  box-shadow: 0 8px 30px rgba(252, 89, 103, 0.5);
}

.node-icon svg {
  width: 32px;
  height: 32px;
}

.node-tooltip {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--foreground);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.ecosystem-node:hover .node-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.pulse-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--brand-primary);
  opacity: 0.2;
  animation: ripple 4s ease-in-out infinite;
}

/* Hero CTA */
.hero-cta {
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 1.5s both;
}

.main-cta-button {
  padding: 16px 48px;
  border-radius: 50px;
  background: var(--brand-primary);
  color: white;
  font-size: 1.25rem;
  box-shadow: 0 8px 30px rgba(252, 89, 103, 0.3);
  transition: all 0.3s ease;
  animation: bounce 2s ease-in-out 3s infinite;
}

.main-cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(252, 89, 103, 0.5);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeIn 1s ease-out 2s both;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--brand-gray);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-dot {
  width: 4px;
  height: 12px;
  background: var(--brand-gray);
  border-radius: 2px;
  margin-top: 8px;
  animation: pulse 2s ease-in-out infinite;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.feature-card:hover {
  background: #f8f9fa;
  transform: translateY(-8px);
}

.feature-animation {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

/* Feature Animations */
.prescription-paper {
  position: absolute;
  inset: 0;
  background: #f0f0f0;
  border-radius: 8px;
  transition: all 0.6s ease;
}

.feature-card:hover .prescription-paper {
  transform: scale(1.1);
}

.prescription-header {
  width: 100%;
  height: 12px;
  background: #e0e0e0;
  border-radius: 8px 8px 0 0;
}

.prescription-line {
  width: 80%;
  height: 8px;
  background: #d0d0d0;
  border-radius: 4px;
  margin: 8px auto;
  transition: all 1s ease;
}

.prescription-line.short {
  width: 60%;
}

.feature-card:hover .prescription-line {
  width: 60%;
}

.feature-card:hover .prescription-line.short {
  width: 40%;
}

.prescription-icon {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.8s ease;
}

.feature-card:hover .prescription-icon {
  transform: scale(1.2) rotate(180deg);
}

.prescription-icon svg {
  width: 12px;
  height: 12px;
}

/* Lab Animation */
.lab-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.test-tube {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 48px;
  background: #e0e0e0;
  border-radius: 16px 16px 0 0;
  transition: all 0.8s ease;
}

.liquid {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 32px;
  background: var(--brand-primary);
  border-radius: 12px 12px 0 0;
  opacity: 0.6;
  transition: all 1s ease;
}

.feature-card:hover .test-tube {
  height: 56px;
}

.feature-card:hover .liquid {
  height: 40px;
  opacity: 1;
}

.lab-report {
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 24px;
  background: #f0f0f0;
  border-radius: 4px;
  border: 2px solid #d0d0d0;
  transition: all 1.2s ease;
}

.feature-card:hover .lab-report {
  transform: translate(-80px, 40px);
}

.report-line {
  width: 24px;
  height: 4px;
  background: #c0c0c0;
  margin: 4px auto;
  border-radius: 2px;
}

.report-line.short {
  width: 16px;
}

/* Billing Animation */
.billing-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.credit-card {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 32px;
  background: #e0e0e0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s ease;
}

.feature-card:hover .credit-card {
  transform: translateY(-50%) scale(1.1);
}

.credit-card svg {
  width: 16px;
  height: 16px;
  color: var(--brand-gray);
}

.receipt {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 40px;
  background: white;
  border: 2px solid #d0d0d0;
  border-radius: 4px;
  transition: all 0.8s ease;
}

.feature-card:hover .receipt {
  transform: translateY(-50%) translate(-20px, 0) scale(1.1);
}

.receipt-line {
  width: 16px;
  height: 2px;
  background: #c0c0c0;
  margin: 4px auto;
  border-radius: 1px;
}

.receipt-line.short {
  width: 12px;
}

.payment-dot {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--brand-primary);
  border-radius: 50%;
  opacity: 0;
  transition: all 1.5s ease;
}

.feature-card:hover .payment-dot {
  opacity: 1;
  transform: translateX(-50%) translateY(-120px);
}

/* Privacy Animation */
.privacy-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.lock-icon {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 24px;
  border: 2px solid var(--brand-gray);
  border-radius: 12px 12px 0 0;
  transition: all 1.5s ease;
}

.feature-card:hover .lock-icon {
  border-color: var(--brand-primary);
}

.lock-icon svg {
  width: 12px;
  height: 12px;
  color: var(--brand-gray);
  transition: all 1.5s ease;
}

.feature-card:hover .lock-icon svg {
  color: var(--brand-primary);
}

.shield-base {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 32px;
  background: #e0e0e0;
  border-radius: 4px;
  transition: all 0.8s ease;
}

.feature-card:hover .shield-base {
  transform: translateX(-50%) scale(1.1);
}

.security-dot {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--brand-primary);
  border-radius: 50%;
  opacity: 0;
  transition: all 1s ease;
}

.feature-card:hover .security-dot {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.protection-ring {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border: 2px solid var(--brand-primary);
  border-radius: 50%;
  opacity: 0;
  transition: all 1.2s ease;
}

.feature-card:hover .protection-ring {
  opacity: 0.5;
  transform: translateX(-50%) scale(1.2);
}

.feature-title {
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.feature-description {
  color: var(--brand-gray);
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Desktop Timeline */
.timeline-desktop {
  display: block;
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e0e0e0;
}

.timeline-progress {
  position: absolute;
  top: 80px;
  left: 0;
  height: 2px;
  background: var(--brand-primary);
  width: 0;
  transition: width 2s ease;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.timeline-step {
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.timeline-step:hover {
  transform: translateY(-8px);
}

.step-number {
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--brand-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  border: 4px solid white;
  box-shadow: 0 4px 15px rgba(252, 89, 103, 0.3);
  z-index: 10;
  transition: all 0.3s ease;
}

.timeline-step:hover .step-number {
  transform: translateX(-50%) scale(1.2);
}

.step-animation {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
}

/* Calendar Animation */
.calendar {
  position: relative;
  width: 56px;
  height: 48px;
  background: white;
  border: 2px solid #d0d0d0;
  border-radius: 8px;
  margin: 0 auto;
}

.calendar-header {
  width: 100%;
  height: 12px;
  background: #e0e0e0;
  border-radius: 6px 6px 0 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 4px;
  margin-top: 4px;
}

.calendar-day {
  width: 8px;
  height: 8px;
  background: #e0e0e0;
  border-radius: 2px;
  transition: all 1s ease;
}

.calendar-day.active {
  background: var(--brand-primary);
  transition: all 1s ease;
}

.timeline-step:hover .calendar-day.active {
  transform: scale(1.3);
  background: #ff7a85;
}

.calendar-ring {
  position: absolute;
  top: -4px;
  width: 4px;
  height: 12px;
  background: var(--brand-gray);
  border-radius: 2px;
  transition: all 0.8s ease;
}

.calendar-ring.left { left: 12px; }
.calendar-ring.right { right: 12px; }

.timeline-step:hover .calendar-ring {
  transform: translateY(-8px);
}

.calendar-pulse {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 12px;
  height: 12px;
  background: var(--brand-primary);
  border-radius: 50%;
  opacity: 0;
  transition: all 1.5s ease;
}

.timeline-step:hover .calendar-pulse {
  opacity: 1;
  animation: ripple 1.5s ease-in-out infinite;
}

/* Doctor Animation */
.doctor-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.prescription-pad {
  position: relative;
  width: 48px;
  height: 32px;
  background: #f0f0f0;
  border-radius: 8px;
  margin: 0 auto;
  transition: all 0.8s ease;
}

.timeline-step:hover .prescription-pad {
  transform: scale(1.05);
}

.pad-line {
  width: 40px;
  height: 4px;
  background: #d0d0d0;
  border-radius: 2px;
  margin: 4px auto;
}

.pad-line.short {
  width: 32px;
}

.doctor-pen {
  position: absolute;
  top: 8px;
  right: -4px;
  width: 12px;
  height: 24px;
  background: var(--brand-primary);
  border-radius: 6px;
  transition: all 2s ease;
}

.timeline-step:hover .doctor-pen {
  transform: translate(-32px, 0) rotate(-15deg);
}

.check-mark {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background: white;
  border: 2px solid var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 1s ease;
}

.timeline-step:hover .check-mark {
  opacity: 1;
  transform: scale(1.2);
}

.check-mark svg {
  width: 8px;
  height: 8px;
  color: var(--brand-primary);
}

/* Pharmacy Animation */
.pharmacy-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.pill-bottle {
  position: relative;
  width: 32px;
  height: 40px;
  background: #f0f0f0;
  border-radius: 8px;
  margin: 0 auto;
  transition: all 0.6s ease;
}

.timeline-step:hover .pill-bottle {
  transform: scale(1.05);
}

.pharmacy-icon {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: white;
  border: 2px solid #d0d0d0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 1.5s ease;
}

.timeline-step:hover .pharmacy-icon {
  border-color: var(--brand-primary);
  transform: translateX(-50%) scale(1.1);
}

.pharmacy-icon svg {
  width: 12px;
  height: 12px;
  color: var(--brand-gray);
  transition: all 1.5s ease;
}

.timeline-step:hover .pharmacy-icon svg {
  color: var(--brand-primary);
}

.transfer-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--brand-primary);
  border-radius: 50%;
  opacity: 0;
  transition: all 2s ease;
}

.timeline-step:hover .transfer-dot {
  opacity: 1;
  transform: translate(160px, 80px);
}

.received-indicator {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--brand-primary);
  border-radius: 50%;
  opacity: 0;
  transition: all 1s ease;
}

.timeline-step:hover .received-indicator {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Reports Animation */
.reports-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.lab-report-doc {
  position: relative;
  width: 32px;
  height: 40px;
  background: #f0f0f0;
  border-radius: 4px;
  border-left: 4px solid var(--brand-primary);
  margin: 0 auto;
  transition: all 0.8s ease;
}

.timeline-step:hover .lab-report-doc {
  transform: scale(1.05);
}

.doc-line {
  width: 24px;
  height: 4px;
  background: #d0d0d0;
  border-radius: 2px;
  margin: 4px auto;
}

.doc-line.short {
  width: 20px;
}

.phone-device {
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  width: 24px;
  height: 32px;
  background: #e0e0e0;
  border-radius: 4px;
  transition: all 1s ease;
}

.timeline-step:hover .phone-device {
  transform: translateY(-50%) translateX(20px);
}

.phone-line {
  width: 16px;
  height: 4px;
  background: #c0c0c0;
  border-radius: 2px;
  margin: 4px auto;
}

.phone-line.short {
  width: 12px;
}

.delivery-pulse {
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: var(--brand-primary);
  border-radius: 50%;
  opacity: 0;
  transition: all 2s ease;
}

.timeline-step:hover .delivery-pulse {
  opacity: 1;
  animation: ripple 2s ease-in-out infinite;
}

.step-title {
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.step-description {
  color: var(--brand-gray);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Mobile Timeline */
.timeline-mobile {
  display: none;
}

.mobile-steps-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1.5rem;
  scroll-snap-type: x mandatory;
}

.mobile-step {
  flex-shrink: 0;
  width: 250px;
  text-align: center;
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  scroll-snap-align: center;
  transition: all 0.3s ease;
}

.mobile-step:active {
  transform: scale(0.95);
}

.mobile-step-number {
  width: 48px;
  height: 48px;
  background: var(--brand-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  margin: 0 auto 1rem;
}

.mobile-step-animation {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
}

.mobile-step-title {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.mobile-step-description {
  color: var(--brand-gray);
  font-size: 0.875rem;
  line-height: 1.5;
}

.mobile-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.mobile-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d0d0;
  transition: all 0.2s ease;
  cursor: pointer;
}

.mobile-indicator.active {
  width: 32px;
  background: var(--brand-primary);
  border-radius: 4px;
}

/* Privacy Section */
.privacy-section {
  padding: 80px 0;
  background: white;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.privacy-title {
  margin-bottom: 1.5rem;
}

.privacy-viz {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 3rem;
  cursor: pointer;
}

.privacy-container {
  position: relative;
  height: 300px;
  width: 100%;
}

.central-shield {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 96px;
  background: var(--brand-primary);
  border-radius: 40px 40px 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(252, 89, 103, 0.3);
}

.privacy-viz:hover .central-shield {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 40px rgba(252, 89, 103, 0.5);
}

.shield-icon {
  width: 40px;
  height: 40px;
  color: white;
}

.security-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
}

.orbit-1 {
  animation: rotate 20s linear infinite;
}

.orbit-2 {
  animation: rotate 15s linear infinite reverse;
}

.orbit-3 {
  animation: rotate 25s linear infinite;
}

.privacy-viz:hover .orbit-1 {
  animation: rotate 3s linear infinite;
}

.privacy-viz:hover .orbit-2 {
  animation: rotate 3s linear infinite reverse;
}

.privacy-viz:hover .orbit-3 {
  animation: rotate 3s linear infinite;
}

.security-icon {
  position: absolute;
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #f0f0f0;
  transition: all 0.3s ease;
}

.orbit-1 .security-icon {
  top: -24px;
  left: calc(50% - 24px);
}

.orbit-2 .security-icon {
  top: calc(50% - 24px);
  right: -24px;
}

.orbit-3 .security-icon {
  bottom: -24px;
  left: calc(50% - 24px);
}

.privacy-viz:hover .security-icon {
  transform: scale(1.2);
  border-color: var(--brand-primary);
}

.security-icon svg {
  width: 20px;
  height: 20px;
  color: var(--brand-gray);
}

.encryption-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--brand-primary);
  border-radius: 50%;
  opacity: 0.6;
  top: 50%;
  left: 50%;
}

.privacy-viz:hover .particle:nth-child(1) {
  animation: particleMove1 2s ease-out infinite;
}

.privacy-viz:hover .particle:nth-child(2) {
  animation: particleMove2 2s ease-out infinite 0.2s;
}

.privacy-viz:hover .particle:nth-child(3) {
  animation: particleMove3 2s ease-out infinite 0.4s;
}

.privacy-viz:hover .particle:nth-child(4) {
  animation: particleMove4 2s ease-out infinite 0.6s;
}

.privacy-viz:hover .particle:nth-child(5) {
  animation: particleMove5 2s ease-out infinite 0.8s;
}

.privacy-viz:hover .particle:nth-child(6) {
  animation: particleMove6 2s ease-out infinite 1s;
}

.privacy-viz:hover .particle:nth-child(7) {
  animation: particleMove7 2s ease-out infinite 1.2s;
}

.privacy-viz:hover .particle:nth-child(8) {
  animation: particleMove8 2s ease-out infinite 1.4s;
}

@keyframes particleMove1 {
  to {
    transform: translate(100px, -50px);
    opacity: 0;
    transform: scale(0);
  }
}

@keyframes particleMove2 {
  to {
    transform: translate(-100px, 50px);
    opacity: 0;
    transform: scale(0);
  }
}

@keyframes particleMove3 {
  to {
    transform: translate(50px, 100px);
    opacity: 0;
    transform: scale(0);
  }
}

@keyframes particleMove4 {
  to {
    transform: translate(-50px, -100px);
    opacity: 0;
    transform: scale(0);
  }
}

@keyframes particleMove5 {
  to {
    transform: translate(120px, 30px);
    opacity: 0;
    transform: scale(0);
  }
}

@keyframes particleMove6 {
  to {
    transform: translate(-120px, -30px);
    opacity: 0;
    transform: scale(0);
  }
}

@keyframes particleMove7 {
  to {
    transform: translate(80px, 80px);
    opacity: 0;
    transform: scale(0);
  }
}

@keyframes particleMove8 {
  to {
    transform: translate(-80px, -80px);
    opacity: 0;
    transform: scale(0);
  }
}

.protection-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 120px;
  height: 120px;
}

.ring-2 {
  width: 200px;
  height: 200px;
}

.ring-3 {
  width: 280px;
  height: 280px;
}

.privacy-viz:hover .protection-ring {
  border-color: var(--brand-primary);
  animation: ringPulse 2s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.6;
  }
}

.hover-instruction {
  color: var(--brand-gray);
  font-size: 0.875rem;
  margin-top: 1rem;
  transition: opacity 0.3s ease;
}

.privacy-viz:hover .hover-instruction {
  opacity: 0.5;
}

.privacy-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.privacy-feature {
  text-align: center;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.privacy-feature:hover {
  transform: translateY(-5px);
}

.privacy-feature .feature-title {
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.privacy-feature .feature-description {
  color: var(--brand-gray);
  line-height: 1.6;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.trust-badge:hover {
  transform: scale(1.05);
}

.trust-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
  animation: rotate 20s linear infinite;
}

.trust-text {
  color: var(--foreground);
  font-weight: var(--font-weight-medium);
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
}

.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-main {
  position: relative;
  height: 300px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.testimonial-content {
  position: absolute;
  inset: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  opacity: 1;
  transition: all 0.5s ease;
}

.testimonial-quote {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: 2rem;
  line-height: 1.4;
  font-style: italic;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.star {
  color: #fbbf24;
  font-size: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--brand-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  transition: all 0.3s ease;
}

.author-avatar:hover {
  transform: scale(1.1);
}

.author-info {
  text-align: left;
}

.author-name {
  font-weight: var(--font-weight-bold);
  color: var(--foreground);
}

.author-role {
  color: var(--brand-gray);
  font-size: 0.875rem;
}

.testimonial-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.testimonial-nav {
  padding: 0.75rem;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.testimonial-nav:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-nav:active {
  transform: scale(0.95);
}

.testimonial-nav svg {
  width: 24px;
  height: 24px;
  color: var(--brand-gray);
}

.testimonial-dots {
  display: flex;
  gap: 0.75rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d0d0d0;
  transition: all 0.2s ease;
  cursor: pointer;
}

.testimonial-dot:hover {
  transform: scale(1.2);
}

.testimonial-dot:active {
  transform: scale(0.9);
}

.testimonial-dot.active {
  width: 32px;
  background: var(--brand-primary);
  border-radius: 6px;
}

.autoplay-control {
  text-align: center;
}

.autoplay-control button {
  color: var(--brand-gray);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.autoplay-control button:hover {
  color: var(--foreground);
}

.testimonial-bg-elements {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--brand-primary);
  border-radius: 50%;
  opacity: 0.2;
}

.bg-particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation: float 3s ease-in-out infinite;
}

.bg-particle:nth-child(2) {
  top: 60%;
  right: 15%;
  animation: float 3s ease-in-out infinite 1s;
}

.bg-particle:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation: float 3s ease-in-out infinite 2s;
}

.bg-particle:nth-child(4) {
  top: 40%;
  right: 30%;
  animation: float 3s ease-in-out infinite 0.5s;
}

.bg-particle:nth-child(5) {
  bottom: 60%;
  right: 10%;
  animation: float 3s ease-in-out infinite 1.5s;
}

/* Footer */
.footer {
  position: relative;
  background: #1a1a1a;
  color: white;
  overflow: hidden;
}

.wave-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.wave-svg {
  width: 100%;
  height: 64px;
}

.footer-content {
  position: relative;
  padding-top: 80px;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-main {
  animation: fadeInUp 0.8s ease-out;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotate 20s linear infinite;
}

.footer-logo-icon .heart-icon {
  width: 24px;
  height: 24px;
  color: white;
}

.footer-logo-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.footer-logo-text p {
  color: #a0a0a0;
  font-size: 0.875rem;
}

.footer-description {
  color: #a0a0a0;
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 1.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #a0a0a0;
  transition: all 0.3s ease;
}

.contact-item:hover {
  color: white;
  transform: translateX(5px);
}

.contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.contact-item span {
  font-size: 0.875rem;
}

.footer-nav {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.footer-nav h4 {
  margin-bottom: 1.5rem;
  color: white;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #a0a0a0;
  font-size: 0.875rem;
  text-align: left;
  position: relative;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: white;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: width 0.2s ease;
}

.footer-link:hover::after {
  width: 100%;
}

.footer-social {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.footer-social h4 {
  margin-bottom: 1.5rem;
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0a0a0;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--brand-primary);
  color: white;
  transform: translateY(-2px) scale(1.1);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.app-store-badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.app-badge {
  width: 100%;
  height: 48px;
  background: #333;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.app-badge:hover {
  background: #444;
  transform: translateX(5px) scale(1.05);
}

.app-badge span {
  color: #a0a0a0;
  font-size: 0.875rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #333;
  padding-top: 2rem;
  animation: fadeInUp 0.8s ease-out 1s both;
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-copyright span {
  color: #a0a0a0;
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.trust-indicators {
  display: flex;
  gap: 1rem;
}

.trust-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #a0a0a0;
  font-size: 0.875rem;
}

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

.status-dot.green {
  background: #10b981;
  animation: pulse 3s ease-in-out infinite;
}

.status-dot.blue {
  background: #3b82f6;
  animation: pulse 3s ease-in-out infinite 1.5s;
}

.footer-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.footer-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--brand-primary);
  border-radius: 50%;
  opacity: 0.3;
}

.footer-particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation: float 4s ease-in-out infinite;
}

.footer-particle:nth-child(2) {
  top: 60%;
  right: 15%;
  animation: float 4s ease-in-out infinite 1s;
}

.footer-particle:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation: float 4s ease-in-out infinite 2s;
}

.footer-particle:nth-child(4) {
  top: 40%;
  right: 30%;
  animation: float 4s ease-in-out infinite 0.5s;
}

.footer-particle:nth-child(5) {
  bottom: 60%;
  right: 10%;
  animation: float 4s ease-in-out infinite 1.5s;
}

.footer-particle:nth-child(6) {
  top: 80%;
  left: 50%;
  animation: float 4s ease-in-out infinite 3s;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }
  p { font-size: 1rem; }

  .container {
    padding: 0 16px;
  }

  /* Header */
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-nav.active {
    display: block;
  }

  /* Hero */
  .hero-section {
    padding: 64px 0 40px;
  }

  .hero-text {
    margin-bottom: 2rem;
  }

  .ecosystem-container {
    height: 300px;
  }

  .node-icon {
    width: 48px;
    height: 48px;
  }

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

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Timeline */
  .timeline-desktop {
    display: none;
  }

  .timeline-mobile {
    display: block;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-copyright {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }

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

@media (max-width: 480px) {
  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .container {
    padding: 0 12px;
  }

  /* Hero */
  .hero-title {
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .main-cta-button {
    padding: 12px 32px;
    font-size: 1rem;
  }

  /* Testimonials */
  .testimonial-content {
    padding: 2rem 1.5rem;
  }

  .testimonial-quote {
    font-size: 1.25rem;
  }

  /* Mobile steps */
  .mobile-step {
    width: 200px;
    padding: 1rem;
  }
}

/* Utility Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Animation */
.loading {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.loading.hide {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 64px;
  height: 64px;
  border: 4px solid #e0e0e0;
  border-top: 4px solid var(--brand-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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