/* style.css - Ailfreda | Modern Nordic-Inspired Redesign | v3 Mobile-First */

/* ------------------------------ */
/* ----- 1. ROOT & VARIABLES ---- */
/* ------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700;800&display=swap');

:root {
  --primary-brand: #31326f;
  --secondary-accent: #ff4c60;
  --bg-main: #f4f7fc;
  --bg-white: #ffffff;
  --text-dark: #121826;
  --text-light: #5a6474;
  --border-color: #e2e8f0;
  --gradient-bg: linear-gradient(170deg, #ffffff 0%, #4587ff 100%);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(37, 43, 54, 0.05), 0 4px 6px -4px rgba(37, 43, 54, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(37, 43, 54, 0.08), 0 8px 10px -6px rgba(37, 43, 54, 0.08);
  --border-radius: 16px;
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ------------------------------ */
/* ----- 2. GENERAL 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: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #383980;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  line-height: 1.2;
}

p {
  color: var(--text-light);
  font-weight: 500;
}

section {
  padding: 80px 0;
  width: 100%;
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------ */
/* ----- 3. HEADER & HERO ------- */
/* ------------------------------ */
header {
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--primary-brand), #4c4fae);
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  top: -400px;
  left: -200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

header .logo {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  position: relative;
}

/* Rotating ring effect */
header .logo .logo-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border: 2px solid;
  border-image: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3)) 1;
  border-radius: 50%;
  z-index: 0;
  animation: logoRing 8s linear infinite;
}

@keyframes logoRing {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0.4;
  }

  50% {
    opacity: 0.7;
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
    opacity: 0.4;
  }
}

header .logo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 70%, transparent 100%);
  border-radius: 50%;
  z-index: 1;
  animation: logoGlow 4s ease-in-out infinite;
}

header .logo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border-radius: 50%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  z-index: 2;
}

header .logo img {
  max-width: 170px;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
  transition: all var(--transition);
  border-radius: 87%;
}

header .logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
}

@keyframes logoGlow {

  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  max-width: 945px;
  margin: 80px auto 30px;
  color: #e2c1ff;
}

header .subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px;
  margin: 0 auto 32px;
  color: goldenrod;
}

.lang-selector {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: rgba(255, 255, 255, 0.7);
  color: var(--text-dark);
  padding: 8px 16px;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 600;
  border: 1px solid var(--border-color);
  border-radius: 99px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color var(--transition);
}

.dropbtn:hover {
  background-color: var(--bg-white);
}

.dropbtn img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.dropbtn::after {
  content: '▾';
  font-size: 1rem;
  margin-left: 4px;
  color: var(--text-light);
  transition: transform var(--transition);
}

.dropdown-content {
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility 0s var(--transition);
  transition-delay: 0s, 0s, 0.3s;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background-color: var(--bg-white);
  min-width: 180px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  padding: 8px;
  z-index: 100;
  overflow: hidden;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.dropdown:hover .dropbtn::after {
  transform: rotate(180deg);
}

.dropdown-content a {
  color: var(--text-dark);
  padding: 10px 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color var(--transition), color var(--transition);
}

.dropdown-content a:hover {
  background-color: var(--bg-main);
  color: var(--primary-brand);
}

.dropdown-content a img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-buttons a.cta {
  background: var(--primary-brand);
  color: var(--bg-white);
  padding: 16px 32px;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-md);
}

.cta-buttons a.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(49, 50, 111, 0.4);
}

.store-btn img {
  height: 54px;
  transition: transform var(--transition);
}

.store-btn img:hover {
  transform: scale(1.05) translateY(-2px);
  filter: brightness(0) saturate(100%) invert(87%) sepia(51%) saturate(1624%) hue-rotate(340deg) brightness(105%) contrast(100%);
}

/* ------------------------------ */
/* ----- 4. CLAIM SECTION ------- */
/* ------------------------------ */
.claim {
  padding: 140px 0;
  background: var(--bg-white);
  width: 100%;
  position: relative;
  z-index: 1;
}

.claim-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.claim-image {
  flex-basis: 50%;
  max-width: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.claim-image img {
  width: 100%;
  max-width: 250px;
  height: auto;
  filter: drop-shadow(0 25px 35px rgba(37, 43, 54, 0.15));
}

.claim-content {
  flex-basis: 50%;
  text-align: center;
}

.claim-content .section-header {
  margin-bottom: 32px;
}

.claim-content .cta-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary-brand);
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  border: 2px solid var(--primary-brand);
  transition: all var(--transition);
  margin: 20px auto;
  width: auto;
  min-width: 200px;
  text-align: center;
}

.claim-content .cta-secondary:hover {
  background: var(--primary-brand);
  color: var(--bg-white);
  transform: translateY(-3px);
}

/* Reusable animation keyframes */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ------------------------------ */
/* ----- 5. FEATURES SECTION ---- */
/* ------------------------------ */
.features {
  background: var(--bg-white);
  width: 100%;
}

.section-header {
  text-align: center;
  margin: 0 auto 60px;
  max-width: 850px;
}

.section-header .eyebrow-title {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-brand);
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 16px;
}

/* Mobile-First Grid: Single column by default */
.features .grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
}

.feature {
  background: var(--bg-white);
  padding: 40px 32px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(37, 43, 54, 0.08);
  text-align: center;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-brand), var(--secondary-accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 43, 54, 0.12);
  border-color: rgba(49, 50, 111, 0.2);
}

.feature:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.feature-icon span {
  font-size: 2.2rem;
  position: relative;
  z-index: 2;
}

.feature-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-content p {
  color: var(--text-light);
  font-weight: 500;
  line-height: 1.65;
  font-size: 1rem;
}

/* Feature Platform Logos */
.feature-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(49, 50, 111, 0.04), rgba(49, 50, 111, 0.08));
  border-radius: 12px;
  flex-wrap: wrap;
  border: 1px solid rgba(49, 50, 111, 0.1);
}

.platform-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.85;
  transition: all var(--transition);
  border-radius: 6px;
}

.platform-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

.platform-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-brand);
  background: rgba(49, 50, 111, 0.12);
  padding: 6px 12px;
  border-radius: 8px;
  transition: all var(--transition);
}

.platform-text:hover {
  background: rgba(49, 50, 111, 0.18);
  transform: translateY(-1px);
}

/* Platform Showcase */
.platform-showcase {
  margin-top: 40px;
  text-align: center;
}

.platform-intro {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 20px;
}

.platform-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  justify-items: center;
  align-items: center;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all var(--transition);
  min-width: 80px;
}

.platform-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--bg-white);
}

.platform-showcase-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.platform-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.platform-icon.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
}

.platform-icon.email {
  background: linear-gradient(135deg, #4285f4, #34a853);
  color: white;
}

.platform-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Individual Icon Gradients - Nordic Style */
.grid-container .feature:nth-child(1) .feature-icon {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 2px solid rgba(49, 50, 111, 0.1);
}

.grid-container .feature:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, #fef7ff 0%, #f3e8ff 100%);
  border: 2px solid rgba(168, 85, 247, 0.15);
}

.grid-container .feature:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
  border: 2px solid rgba(16, 185, 129, 0.15);
}

.grid-container .feature:nth-child(4) .feature-icon {
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  border: 2px solid rgba(249, 115, 22, 0.15);
}

/* ------------------------------ */
/* ---- 6. HOW IT WORKS SECTION ---- */
/* ------------------------------ */
.how-it-works {
  background: var(--bg-white);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-white) 100%);
  z-index: 1;
}

.how-it-works .section-header {
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* AI Assistant Highlight Block */
.ai-assistant-highlight {
  margin: 60px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.8);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 60px;
  margin-bottom: 60px;
}

.ai-assistant-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.ai-highlight-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 48px 32px;
  position: relative;
  z-index: 2;
  align-items: center;
}

.ai-highlight-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ai-highlight-text h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.ai-highlight-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-light);
  font-weight: 500;
}

.ai-highlight-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.highlight-feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.6);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
  width: fit-content;
}

.feature-badge.featured {
  background: linear-gradient(135deg, var(--primary-brand), #4c4fae);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(49, 50, 111, 0.25);
}

.feature-badge:not(.featured):hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.badge-icon {
  font-size: 1.2rem;
}

.badge-text {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.feature-badge.featured .badge-text {
  color: white;
}

.highlight-feature p {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
  margin-left: 16px;
}

/* AI Visual Demo */
.ai-highlight-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.conversation-demo {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(10px);
  text-align: center;
  max-width: 350px;
  position: relative;
}

.voice-wave {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 4px;
  height: 60px;
  margin-bottom: 24px;
}

.wave-bar {
  width: 4px;
  background: linear-gradient(180deg, var(--primary-brand), var(--secondary-accent));
  border-radius: 2px;
  animation: wave 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(1) {
  height: 20px;
  animation-delay: 0s;
}

.wave-bar:nth-child(2) {
  height: 35px;
  animation-delay: 0.1s;
}

.wave-bar:nth-child(3) {
  height: 50px;
  animation-delay: 0.2s;
}

.wave-bar:nth-child(4) {
  height: 30px;
  animation-delay: 0.3s;
}

.wave-bar:nth-child(5) {
  height: 25px;
  animation-delay: 0.4s;
}

@keyframes wave {

  0%,
  100% {
    transform: scaleY(0.5);
    opacity: 0.7;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.conversation-text p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.4;
  position: relative;
}

.conversation-text p::before {
  content: '"';
  font-size: 2rem;
  color: var(--primary-brand);
  position: absolute;
  left: -16px;
  top: -8px;
  font-family: serif;
}

.conversation-text p::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary-brand);
  position: absolute;
  right: -16px;
  bottom: -16px;
  font-family: serif;
}

/* Workflow Grid - Mobile First */
.workflow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.workflow-card {
  background: var(--bg-white);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.workflow-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-brand);
}

/* Workflow Image Container */
.workflow-image {
  position: relative;
  height: 250px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.placeholder-image {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-brand), #4c4fae);
  color: white;
}

/* Step Number Badge */
.step-number {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: var(--secondary-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
  box-shadow: 0 4px 12px rgba(255, 76, 96, 0.4);
  z-index: 10;
}

/* Image Content Styles */
.image-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Step 1: Social Icons */
.phone-mockup {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 30px 20px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icons {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  animation: float 3s ease-in-out infinite;
}

.social-icon img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.social-icon.ig {
  animation-delay: 0s;
}

.social-icon.tt {
  animation-delay: 0.5s;
}

.social-icon.wa {
  animation-delay: 1s;
}

/* Step 2: Strategy Visual */
.strategy-visual {
  text-align: center;
}

.chat-bubble {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-brand);
  padding: 12px 20px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

.calendar-grid {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.calendar-day {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: white;
  font-size: 0.9rem;
}

.calendar-day.active {
  background: var(--secondary-accent);
  animation: glow 2s ease-in-out infinite;
}

/* Step 3: Content Creation */
.content-creation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.ai-brain {
  font-size: 3rem;
  animation: think 2s ease-in-out infinite;
}

.content-items {
  display: flex;
  gap: 15px;
}

.content-item {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  animation: bounce 1.5s ease-in-out infinite;
}

.content-item:nth-child(1) {
  animation-delay: 0s;
}

.content-item:nth-child(2) {
  animation-delay: 0.3s;
}

.content-item:nth-child(3) {
  animation-delay: 0.6s;
}

/* Step 4: Review Interface */
.review-interface {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.draft-preview {
  width: 80px;
  height: 120px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: float 3s ease-in-out infinite;
}

.edit-controls {
  display: flex;
  gap: 20px;
}

.voice-icon,
.text-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  animation: pulse 2s ease-in-out infinite;
}

.voice-icon {
  animation-delay: 0s;
}

.text-icon {
  animation-delay: 1s;
}

/* Step 5: Engagement Hub */
.engagement-hub {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.dm-notifications {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notification,
.auto-reply {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-brand);
  padding: 10px 16px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  animation: slideIn 1.5s ease-in-out infinite;
}

.auto-reply {
  animation-delay: 1s;
  background: var(--secondary-accent);
  color: white;
}

/* Step 6: Analytics Dashboard */
.analytics-dashboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.chart-line {
  font-size: 3rem;
  animation: grow 2s ease-in-out infinite;
}

.stats-grid {
  display: flex;
  gap: 15px;
}

.stat {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-brand);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  animation: countUp 2s ease-in-out infinite;
}

.stat:nth-child(1) {
  animation-delay: 0s;
}

.stat:nth-child(2) {
  animation-delay: 0.5s;
}

.stat:nth-child(3) {
  animation-delay: 1s;
}

/* Workflow Content */
.workflow-content {
  padding: 32px;
  text-align: center;
}

.workflow-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.workflow-content p {
  color: var(--text-light);
  font-weight: 500;
  line-height: 1.6;
}

/* Workflow CTA */
.workflow-cta {
  text-align: center;
  margin: 60px auto 0;
  padding: 40px 24px;
  background: linear-gradient(135deg, var(--primary-brand), #4c4fae);
  border-radius: 20px;
  color: white;
  max-width: 800px;
}

.workflow-cta h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: white;
}

.workflow-cta p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
}

.workflow-cta-btn {
  background: var(--secondary-accent);
  color: white;
  padding: 16px 32px;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  display: inline-block;
  transition: all var(--transition);
  box-shadow: 0 8px 20px rgba(255, 76, 96, 0.3);
}

.workflow-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 76, 96, 0.4);
}

/* Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 5px rgba(255, 76, 96, 0.5);
  }

  50% {
    box-shadow: 0 0 20px rgba(255, 76, 96, 0.8);
  }
}

@keyframes think {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-5deg);
  }

  75% {
    transform: rotate(5deg);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }

  50% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0.7;
    transform: translateX(20px);
  }
}

@keyframes grow {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

@keyframes countUp {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}

/* ------------------------------ */
/* ---- 7. MOBILE APP DOWNLOAD ---- */
/* ------------------------------ */
.mobile-app-download {
  text-align: center;
  margin: 40px auto 0;
  padding: 48px 32px;
  background: linear-gradient(135deg, var(--primary-brand), #4c4fae);
  border-radius: 24px;
  max-width: 600px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(49, 50, 111, 0.15);
}

.mobile-app-download::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.mobile-app-download h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.mobile-app-download p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.app-store-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.app-store-buttons .store-btn img {
  height: 56px;
  transition: all var(--transition);
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.app-store-buttons .store-btn img:hover {
  transform: scale(1.05) translateY(-2px);
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.workflow-app-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

/* ------------------------------ */
/* ---- 8. MCP INTEGRATION SECTION ---- */
/* ------------------------------ */
.mcp-integration {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 100px 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.mcp-integration::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.mcp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

.mcp-content .section-header {
  text-align: left;
  margin-bottom: 40px;
}

.mcp-content .eyebrow-title {
  color: #60a5fa;
}

.mcp-content h2 {
  color: white;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.mcp-content .section-subtitle {
  color: #cbd5e1;
  font-size: 1.2rem;
}

.mcp-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.mcp-feature {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.mcp-feature:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
}

.mcp-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
}

.cursor-icon {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.eclair-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.api-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.icon-container {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.mcp-feature h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.mcp-feature p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* MCP Visual Diagram */
.mcp-visual {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mcp-diagram {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.ai-tools-stack {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.tool-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 80px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition);
}

.tool-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

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

.tool-card span {
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
}

.connection-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
}

.connection-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  flex: 1;
  animation: dataFlow 3s ease-in-out infinite;
}

.mcp-badge {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.ailfreda-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hub-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.hub-logo {
  width: 50px;
  height: auto;
  filter: brightness(0) invert(1);
}

.hub-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
}

/* Code Preview */
.mcp-code-preview {
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
}

.code-header {
  background: #1e293b;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-dots {
  display: flex;
  gap: 6px;
}

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

.dot.red {
  background: #ef4444;
}

.dot.yellow {
  background: #f59e0b;
}

.dot.green {
  background: #10b981;
}

.code-title {
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 500;
}

.code-content {
  padding: 16px;
}

.code-line {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 4px;
}

.code-keyword {
  color: #c084fc;
}

.code-function {
  color: #60a5fa;
}

.code-string {
  color: #34d399;
}

.code-variable {
  color: #fbbf24;
}

/* ------------------------------ */
/* ---- 9. CUSTOMER REVIEWS SECTION ---- */
/* ------------------------------ */
.reviews {
  background: var(--bg-main);
  padding: 100px 0;
  width: 100%;
  overflow: hidden;
}

.reviews .section-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 24px;
}

.reviews-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.reviews-track {
  display: flex;
  gap: 24px;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.review-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-color);
  width: 350px;
  flex-shrink: 0;
  transition: all var(--transition);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-brand);
}

.review-content {
  margin-bottom: 24px;
}

.stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  font-weight: 500;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-brand), #4c4fae);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Scroll Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-350px * 6 - 24px * 5));
  }
}

/* Pause animation on hover */
.reviews-container:hover .reviews-track {
  animation-play-state: paused;
}

/* ------------------------------ */
/* ----- 10. PRICING SECTION ----- */
/* ------------------------------ */
.pricing {
  text-align: center;
  background: var(--gradient-bg);
  width: 100%;
}

.pricing h2 {
  margin-bottom: 50px;
}

.pricing-desc {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: var(--text-light);
}

/* Pricing Toggle Styles */
.pricing-toggle-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.toggle-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.toggle-label,
.yearly-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color var(--transition);
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #e2e8f0;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 32px;
  border: 2px solid transparent;
}

.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 2px;
  bottom: 2px;
  background: white;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

input:checked+.slider {
  background: var(--primary-brand);
  border-color: var(--primary-brand);
}

input:checked+.slider:before {
  transform: translateX(28px);
  box-shadow: 0 4px 12px rgba(49, 50, 111, 0.3);
}

.yearly-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.best-value-tag {
  background: linear-gradient(135deg, var(--secondary-accent), #ff6b7d);
  color: white;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 76, 96, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.savings-message {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-brand);
  text-align: center;
  padding: 8px 16px;
  background: rgba(49, 50, 111, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(49, 50, 111, 0.2);
}

/* Toggle Animation for Yearly */
input:checked~.yearly-container .yearly-label {
  color: var(--primary-brand);
  font-weight: 700;
}

input:not(:checked)~.toggle-label {
  color: var(--primary-brand);
  font-weight: 700;
}

/* Price Animation */
.price {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pricing .plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.plan {
  border: 2px solid var(--border-color);
  border-radius: 20px;
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.plan:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-brand);
}

/* Plan Header Styling */
.plan-header {
  padding: 32px 32px 24px;
  border-bottom: 2px solid var(--border-color);
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

.plan-header h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.plan-header .price {
  font-size: 3.5rem;
  color: var(--primary-brand);
  font-weight: 900;
  margin: 0;
  line-height: 1;
}

/* Popular Badge */
.popular-badge {
  position: absolute;
  top: -1px;
  right: 32px;
  background: linear-gradient(135deg, var(--secondary-accent), #ff6b7d);
  color: white;
  padding: 8px 20px;
  border-radius: 0 0 12px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 76, 96, 0.3);
}

/* Plan Features */
.plan-features {
  list-style: none;
  padding: 32px;
  margin: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-features li {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.plan-features li::before {
  content: '✓';
  color: var(--primary-brand);
  font-weight: 900;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Featured Plan Styling */
.featured-plan {
  border-color: var(--primary-brand);
  box-shadow: 0 20px 40px rgba(49, 50, 111, 0.15);
  transform: scale(1.02);
}

.featured-plan .plan-header {
  background: linear-gradient(135deg, var(--primary-brand), #4c4fae);
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.featured-plan .plan-header h3 {
  color: white;
}

.featured-plan .plan-header .price {
  color: white;
}

.featured-plan .plan-features li::before {
  color: var(--secondary-accent);
}

/* Pricing Note */
.pricing-note {
  display: none;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 600;
  max-width: 600px;
  margin: 0 auto;
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

/* ------------------------------ */
/* ----- 11. FAQ SECTION --------- */
/* ------------------------------ */
.faq {
  background: var(--bg-white);
  width: 100%;
}

.faq h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 50px;
}

.faq-item {
  max-width: 800px;
  margin: 0 auto 16px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.faq-question {
  background: none;
  border: none;
  font-size: 1.1rem;
  width: 100%;
  text-align: left;
  padding: 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition);
}

.faq-question:hover {
  background-color: var(--bg-main);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform var(--transition);
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 10px 20px 20px;
  color: var(--text-light);
  font-weight: 500;
}

/* ------------------------------ */
/* ----- 12. FOOTER -------------- */
/* ------------------------------ */
footer {
  background: var(--primary-brand);
  color: #e2e8f0;
  padding: 60px 0;
  width: 100%;
  text-align: center;
}

footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  display: flex;
  justify-content: center;
}

.footer-logo-img {
  height: 40px;
  transition: all var(--transition);
}

.footer-logo-img:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

footer a {
  color: var(--bg-white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

footer a:hover {
  color: var(--secondary-accent);
}

footer p {
  font-size: 0.9rem;
  color: #a0aec0;
}

/* ------------------------------ */
/* ----- 13. ANIMATIONS ---------- */
/* ------------------------------ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 5px rgba(255, 76, 96, 0.5);
  }

  50% {
    box-shadow: 0 0 20px rgba(255, 76, 96, 0.8);
  }
}

@keyframes think {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-5deg);
  }

  75% {
    transform: rotate(5deg);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }

  50% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0.7;
    transform: translateX(20px);
  }
}

@keyframes grow {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

@keyframes countUp {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}

@keyframes dataFlow {

  0%,
  100% {
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  }

  50% {
    background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
  }
}

header h1,
header .subtitle,
.cta-buttons {
  animation: slideUp 0.8s ease-out forwards;
}

.feature,
.plan {
  opacity: 0;
  animation: slideUp 0.6s ease-out forwards;
  animation-delay: calc(var(--i, 0) * 100ms);
}

/* ------------------------------ */
/* ----- 14. RESPONSIVE STYLES --- */
/* ------------------------------ */

/* Mobile Optimizations */
@media (max-width: 767px) {
  .platform-showcase {
    max-width: 330px;
  }

  .workflow-cta {
    margin: 50px 10px 0;
  }

  .workflow-cta .workflow-app-buttons {
    flex-direction: column;
  }

  .plan-header {
    padding: 24px 24px 20px;
    text-align: center;
  }

  .plan-features {
    padding: 24px;
  }

  .featured-plan {
    transform: none;
  }

  .popular-badge {
    right: 24px;
  }
}

/* Tablet Styles - 768px and up */
@media (min-width: 768px) {
  section {
    padding: 100px 0;
  }

  /* Enhanced logo on larger screens */
  header .logo::before {
    width: 220px;
    height: 220px;
  }

  header .logo::after {
    width: 160px;
    height: 160px;
  }

  header .logo .logo-ring {
    width: 240px;
    height: 240px;
  }

  /* header .logo img {
    max-width: 140px;
  } */

  /* Claim section responsive */
  .claim-content .cta-secondary {
    margin: 20px auto;
    width: auto;
  }

  /* Features section */
  .features .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }

  /* AI Highlight section */
  .ai-highlight-container {
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
  }

  .ai-highlight-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  /* Workflow section */
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .workflow-image {
    height: 280px;
  }

  .workflow-content {
    padding: 40px;
  }

  /* Pricing section */
  .pricing .plans {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
  }

  .plan {
    min-height: 500px;
  }

  .featured-plan {
    transform: scale(1.05);
  }

  /* Platform Showcase */
  .platform-logos {
    grid-template-columns: repeat(3, 1fr);
    max-width: 500px;
  }

  /* MCP Integration */
  .mcp-container {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .mcp-content .section-header {
    text-align: left;
  }

  .mcp-features {
    grid-template-columns: 1fr;
  }

  .ai-tools-stack {
    flex-wrap: nowrap;
  }

  /* Reviews */
  .review-card {
    width: 380px;
  }

  /* Mobile App Download */
  .app-store-buttons {
    gap: 24px;
  }

  .workflow-app-buttons {
    gap: 24px;
  }
}

/* Desktop Styles - 1024px and up */
@media (min-width: 1024px) {

  /* Claim section desktop layout */
  .claim-container {
    flex-direction: row;
    gap: 80px;
  }

  .claim-content {
    text-align: left;
  }

  /* Animate content on desktop */
  .claim-image {
    animation: slideInFromRight 1s ease-out forwards;
    opacity: 0;
  }

  .claim-content {
    animation: slideInFromLeft 1s ease-out forwards;
    opacity: 0;
  }

  /* Features section desktop */
  .feature {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 24px;
  }

  /* AI Highlight section */
  .ai-highlight-container {
    padding: 60px 48px;
  }

  .conversation-demo {
    max-width: 400px;
    padding: 40px;
  }

  /* Workflow section */
  .workflow-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .workflow-image {
    height: 300px;
  }

  .workflow-card:nth-child(4),
  .workflow-card:nth-child(5),
  .workflow-card:nth-child(6) {
    margin-top: 40px;
  }

  /* Platform Showcase */
  .platform-logos {
    gap: 32px;
    max-width: 700px;
    grid-template-columns: repeat(5, 1fr);
  }

  .platform-item {
    padding: 20px;
    min-width: 90px;
  }

  .platform-showcase-logo {
    width: 45px;
    height: 45px;
  }

  .platform-icon {
    width: 45px;
    height: 45px;
  }

  /* MCP Integration */
  .mcp-container {
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
  }

  .mcp-features {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mcp-feature {
    padding: 32px;
  }

  .mcp-diagram {
    padding: 40px;
  }

  /* Reviews */
  .review-card {
    width: 400px;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(calc(-400px * 6 - 24px * 5));
    }
  }
}

/* Large Desktop Styles - 1200px and up */
@media (min-width: 1200px) {
  .mcp-container {
    grid-template-columns: 1.3fr 1fr;
  }
}

/* ------------------------------ */
/* ----- 15. LEGAL PAGES STYLES -- */
/* ------------------------------ */

/* Legal Header Styles */
.legal-header {
  background: linear-gradient(135deg, var(--primary-brand), #4c4fae);
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

.legal-header::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  top: -200px;
  left: -100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.legal-header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.logo-link {
  text-decoration: none;
}

.legal-header .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.legal-header .logo .logo-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  z-index: 0;
  animation: logoRing 8s linear infinite;
}

.legal-header .logo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  border-radius: 50%;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.legal-header .logo img {
  max-width: 50px;
  position: relative;
  z-index: 2;
  transition: all var(--transition);
}

.legal-header .logo:hover img {
  transform: scale(1.05);
}

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

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--secondary-accent);
}

/* Legal Content Styles */
.legal-content {
  background: var(--bg-white);
  min-height: calc(100vh - 200px);
  padding: 80px 0;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-header-section {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--border-color);
}

.legal-header-section h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.legal-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 500;
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.legal-section {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}

.legal-section:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(49, 50, 111, 0.2);
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-brand);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.legal-section p {
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 1rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 20px 0;
  padding-left: 20px;
}

.legal-section li {
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 8px;
  position: relative;
}

.legal-section li::marker {
  color: var(--primary-brand);
}

/* Responsive Legal Pages */
@media (max-width: 767px) {
  .legal-header-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .legal-nav {
    gap: 20px;
  }

  .legal-section {
    padding: 24px;
  }

  .legal-content {
    padding: 40px 0;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .footer-links {
    gap: 40px;
  }
}