/* ============================================
   MODERN UMICARE MARKETING SITE
   ============================================ */

:root {
  /* Colors */
  --color-bg: #fdfcfb;
  --color-bg-alt: #fff;
  --color-text: #0a0e27;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  
  /* Brand Colors */
  --color-primary: #ff9fb5;
  --color-primary-dark: #f57492;
  --color-secondary: #e74980;
  --color-accent: #ffd4e0;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #ff9fb5 0%, #f57492 100%);
  --gradient-secondary: linear-gradient(135deg, #e74980 0%, #c73760 100%);
  --gradient-brand: linear-gradient(135deg, #ff9fb5 0%, #e74980 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255, 159, 181, 0.1) 0%, rgba(231, 73, 128, 0.1) 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-brand: 0 20px 40px -10px rgba(255, 159, 181, 0.3);
  --shadow-brand-hover: 0 25px 50px -12px rgba(255, 159, 181, 0.4);
  
  /* Spacing */
  --spacing-unit: 8px;
  --container-max: 1280px;
  --container-padding: 24px;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Cabinet Grotesk', 'Inter', sans-serif;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */

.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 159, 181, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(231, 73, 128, 0.08) 0%, transparent 50%);
  z-index: -2;
  pointer-events: none;
}

.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--gradient-primary);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--gradient-secondary);
  top: 50%;
  right: -150px;
  animation-delay: 7s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: var(--gradient-brand);
  bottom: -100px;
  left: 30%;
  animation-delay: 14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-50px, 50px) scale(0.9); }
}

/* ============================================
   LAYOUT
   ============================================ */

.page {
  position: relative;
  z-index: 1;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 251, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-image {
  height: 36px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition-base);
}

.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

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

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

.btn-primary:active {
  transform: translateY(0);
}

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

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

.btn-secondary {
  background: rgba(0, 0, 0, 0.04);
  color: var(--color-text);
  border-color: rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.btn-light {
  background: white;
  color: var(--color-primary);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-lg);
}

.btn-light:hover {
  box-shadow: var(--shadow-brand-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-text);
}

.btn-full {
  width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding: 80px 0 60px;
}

.hero-image {
  padding-bottom: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(231, 73, 128, 0.1);
  border: 1px solid rgba(231, 73, 128, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-secondary);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--color-text);
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.trust-indicators {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-item svg {
  flex-shrink: 0;
  color: var(--color-secondary);
  margin-top: 2px;
}

.trust-item strong {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
  margin-bottom: 2px;
}

.trust-item span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Hero Visual / Mockup */
.hero-visual {
  position: relative;
  animation: float-gentle 12s ease-in-out infinite;
}

.hero-photo {
  width: 100%;
  min-height: 320px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  position: relative;
  background-color: #0a0e27;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.4), rgba(231, 73, 128, 0.15));
  pointer-events: none;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.hero-photo-portrait {
  min-height: unset;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.app-mockup {
  background: white;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.mockup-header {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9fb5, #7cc6b8);
  opacity: 0.3;
}

.mockup-content {
  display: grid;
  gap: 16px;
}

.activity-card {
  background: var(--gradient-soft);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 16px;
  animation: slideInRight 0.6s ease-out backwards;
}

.activity-card[data-delay="100"] { animation-delay: 0.1s; }
.activity-card[data-delay="200"] { animation-delay: 0.2s; }
.activity-card[data-delay="300"] { animation-delay: 0.3s; }

.activity-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.activity-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-icon.feeding {
  background: rgba(255, 159, 181, 0.2);
  color: var(--color-primary-dark);
}

.activity-icon.sleep {
  background: rgba(231, 73, 128, 0.2);
  color: var(--color-secondary);
}

.activity-icon.diaper {
  background: rgba(255, 212, 224, 0.3);
  color: var(--color-primary);
}

.activity-info {
  flex: 1;
}

.activity-info strong {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.activity-info span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.activity-badge {
  background: rgba(255, 159, 181, 0.15);
  color: var(--color-primary-dark);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.activity-body {
  margin-bottom: 12px;
}

.activity-detail {
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 6px;
}

.activity-insight {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

.activity-chart {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 40px;
  margin-top: 12px;
}

.chart-bar {
  flex: 1;
  background: rgba(231, 73, 128, 0.2);
  border-radius: 4px 4px 0 0;
  transition: all var(--transition-base);
}

.chart-bar.active {
  background: var(--gradient-brand);
}

.progress-ring {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.progress-ring span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--color-text);
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.floating-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: white;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  animation: float-gentle 3s ease-in-out infinite;
  max-width: 220px;
}

.floating-badge[data-delay="400"] {
  animation-delay: 0.4s;
}

.badge-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-emoji {
  font-size: 1.5rem;
}

.badge-content strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.badge-content small {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

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

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

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
  padding: 60px 0;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  text-align: center;
}

.stat-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-slow);
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}

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

/* ============================================
   SECTION STYLES
   ============================================ */

section {
  padding: 100px 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 60px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

.gradient-tag {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 640px;
}

.section-header.center .section-description {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   WHY UMI SECTION
   ============================================ */

.why-section {
  background: var(--color-bg-alt);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.why-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  opacity: 0;
  transform: translateY(30px);
}

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

.why-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.why-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--gradient-soft);
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.why-icon svg {
  width: 34px;
  height: 34px;
}

.why-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.why-card p {
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
  background: var(--color-bg);
}

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

.feature-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: block;
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: rgba(255, 159, 181, 0.2);
}

.feature-large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.feature-highlight {
  background: var(--gradient-soft);
  border-color: rgba(255, 159, 181, 0.2);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary-dark);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.feature-list li {
  padding-left: 24px;
  position: relative;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: 700;
}

.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-log-demo {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.log-button {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid rgba(0, 0, 0, 0.06);
  background: white;
  cursor: pointer;
  transition: all var(--transition-base);
}

.log-button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.log-button span {
  font-size: 2rem;
}

.log-button small {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.ai-chat-demo {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: var(--gradient-soft);
  border-radius: var(--radius-lg);
  max-width: 400px;
}

.chat-message {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  animation: slideInChat 0.4s ease-out backwards;
}

.chat-message.user-message {
  flex-direction: row-reverse;
}

.message-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.ai-message .message-avatar {
  background: var(--gradient-brand);
}

.message-bubble {
  background: white;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-width: 280px;
}

.user-message .message-bubble {
  background: var(--gradient-soft);
  border: 1px solid rgba(255, 159, 181, 0.2);
}

.message-bubble p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text);
}

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

.chat-message.user-message {
  animation-delay: 0.2s;
}

.chat-message.ai-message {
  animation-delay: 0.6s;
}

/* Family Sync Demo Styles */
.family-sync-demo {
  display: flex;
  gap: 12px;
  padding: 20px;
  background: var(--gradient-soft);
  border-radius: var(--radius-lg);
  max-width: 400px;
}

.sync-card {
  flex: 1;
  background: white;
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInScale 0.5s ease-out backwards;
}

.sync-card:nth-child(1) {
  animation-delay: 0.2s;
}

.sync-card:nth-child(2) {
  animation-delay: 0.4s;
}

.sync-card:nth-child(3) {
  animation-delay: 0.6s;
}

.sync-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.sync-info {
  text-align: center;
}

.sync-info strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.sync-info small {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.sync-status {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  margin-top: 4px;
}

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

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-top: 12px;
  transition: gap var(--transition-base);
}

.feature-link:hover {
  gap: 10px;
}

/* ============================================
   INSIGHTS SECTION
   ============================================ */

.insights-section {
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.insights-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.insights-features {
  margin: 32px 0 40px;
  display: grid;
  gap: 24px;
}

.insight-item {
  display: flex;
  gap: 16px;
}

.insight-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary-dark);
}

.insight-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.insight-item p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.testimonial {
  background: var(--gradient-soft);
  border-left: 4px solid var(--color-primary);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-top: 32px;
}

.testimonial p {
  font-size: 1rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.7;
}

.testimonial cite {
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  color: var(--color-text-muted);
}

.insights-visual {
  position: relative;
}

.insight-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
}

.insight-header {
  background: var(--gradient-soft);
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-secondary);
  animation: pulse 2s ease-in-out infinite;
}

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

@keyframes glow {
  0%, 100% { box-shadow: var(--shadow-2xl); }
  50% { box-shadow: 0 22px 60px -10px rgba(255, 159, 181, 0.35); }
}

.insight-content-area {
  padding: 24px;
}

.insight-message {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.message-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.message-body h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.message-body p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.trend-chart {
  background: var(--gradient-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.chart-header span:first-child {
  font-weight: 600;
  color: var(--color-text);
}

.trend-up {
  color: var(--color-secondary);
  font-weight: 700;
}

.chart-bars {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  height: 120px;
}

.bar {
  flex: 1;
  background: rgba(231, 73, 128, 0.3);
  border-radius: 6px 6px 0 0;
  position: relative;
  transition: all var(--transition-base);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
}

.bar.active {
  background: var(--gradient-brand);
}

.bar span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.bar.active span {
  color: white;
}

.insight-actions {
  display: flex;
  gap: 12px;
}

.insight-action-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-base);
  background: var(--gradient-brand);
  color: white;
}

.insight-action-btn.secondary {
  background: rgba(0, 0, 0, 0.04);
  color: var(--color-text);
}

.insight-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-it-works-section {
  background: var(--color-bg);
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(30px);
}

.step-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

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

.step-icon {
  margin: 0 auto 24px;
  color: var(--color-primary-dark);
  opacity: 0.6;
}

.step-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.step-divider {
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-20px);
  transition: all var(--transition-slow);
}

.step-divider.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--color-bg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(30px);
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card.featured {
  background: var(--gradient-soft);
  border-color: rgba(255, 159, 181, 0.2);
}

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

.stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-section {
  background: var(--color-bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(30px);
}

.pricing-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-card.featured {
  border-color: var(--color-primary);
  border-width: 2px;
  box-shadow: var(--shadow-brand);
  transform: scale(1.05);
}

.pricing-card.featured.visible {
  transform: scale(1.05);
}

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

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: white;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.plan-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.price {
  margin-bottom: 12px;
}

.amount {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-display);
  line-height: 1;
}

.period {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.plan-header p {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  display: grid;
  gap: 16px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.plan-features svg {
  flex-shrink: 0;
  color: var(--color-secondary);
  margin-top: 2px;
}

.trial-note {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  padding: 100px 0;
  background: var(--color-bg);
}

.cta-card {
  background: var(--gradient-brand);
  border-radius: var(--radius-2xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
  box-shadow: var(--shadow-2xl);
  position: relative;
  overflow: hidden;
  animation: glow 12s ease-in-out infinite;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-content > p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.waitlist-form {
  max-width: 500px;
}

.form-group {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.email-input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  transition: all var(--transition-base);
}

.email-input:focus {
  outline: none;
  border-color: white;
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.email-input::placeholder {
  color: var(--color-text-muted);
}

.form-note {
  font-size: 0.875rem;
  color: white;
  margin: 0;
}

.cta-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.trust-badge {
  background: white;
  padding: 24px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  gap: 16px;
  align-items: center;
}

.trust-badge strong {
  display: block;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.trust-badge span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto 60px;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-question {
  width: 100%;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-base);
}

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding-bottom: 24px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.faq-cta {
  text-align: center;
  padding-top: 40px;
}

.faq-cta p {
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 20px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 32px;
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  column-gap: 32px;
  row-gap: 24px;
  margin-bottom: 60px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand {
  max-width: 360px;
}

.footer-tagline {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  color: rgba(255, 255, 255, 0.6);
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-2px);
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 24px 32px;
  justify-self: end;
  text-align: right;
  justify-items: end;
  width: max-content;
  margin-left: auto;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-column ul {
  display: grid;
  gap: 12px;
}

.footer-column a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 0.875rem;
  gap: 20px;
  text-align: right;
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */

[data-animate] {
  opacity: 0;
  transition: all var(--transition-slow);
}

[data-animate="fade-up"] {
  transform: translateY(30px);
}

[data-animate="fade-left"] {
  transform: translateX(30px);
}

[data-animate="fade-right"] {
  transform: translateX(-30px);
}

[data-animate="scale-up"] {
  transform: scale(0.95);
}

[data-animate].visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

[data-delay="0"] { transition-delay: 0ms; }
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .hero-grid,
  .insights-layout,
  .cta-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .feature-large {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    column-gap: 24px;
    row-gap: 32px;
  }
  
  .footer-links-group {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    justify-items: start;
    text-align: left;
    margin-left: 0;
    width: 100%;
    max-width: none;
  }
  
  .steps-grid {
    flex-direction: column;
  }
  
  .step-divider {
    transform: rotate(90deg);
  }
  
}

@media (max-width: 768px) {
  :root {
    --container-padding: 20px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .hero {
    padding: 60px 0 40px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .nav {
    position: fixed;
    top: 72px;
    right: var(--container-padding);
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    min-width: 200px;
  }
  
  .nav.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .features-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-indicators {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
.cta-card {
  padding: 40px 24px;
}

.form-group {
  flex-direction: column;
}

/* Blog post layout */
   
  .footer-links-group {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: right;
    align-items: flex-end;
  }
  
  .floating-badge {
    display: none;
  }
}

@media (max-width: 768px) {
  .footer-links-group {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 16px 24px;
    justify-items: start;
    text-align: left;
  }
  
  .footer-column a {
    color: rgba(255, 255, 255, 0.92);
  }
}

@media (max-width: 560px) {
  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  /* Keep the AI insights copy from overflowing on very small screens */
  .insights-content .section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    line-height: 1.25;
    word-break: break-word;
    hyphens: auto;
  }
  
  .insights-content .section-description {
    font-size: 1rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
}
