/* ============================================
   SANAPP Landing Page - Organic Flow Design
   ============================================ */

/* CSS Variables */
:root {
  /* Brand Colors */
  --sanapp-blue: #2196F3;
  --sanapp-blue-light: #64B5F6;
  --sanapp-blue-dark: #1976D2;
  --sanapp-green: #4CAF50;
  --sanapp-green-light: #81C784;
  --sanapp-orange: #FF9800;
  --sanapp-orange-light: #FFB74D;

  /* Section Card Colors */
  --card-sana: #FFE6D3;
  --card-aprende: #E0F7F1;
  --card-activa: #FADDE1;

  /* Backgrounds */
  --bg-blue: #E3F2FD;
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;

  /* Text */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-muted: #999999;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);

  /* Border Radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 45px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Spacing */
  --section-padding: 100px 0;
  --container-padding: 0 20px;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-primary {
  background: var(--sanapp-blue);
  color: white;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.btn-primary:hover {
  background: var(--sanapp-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--sanapp-blue);
  border: 2px solid var(--sanapp-blue);
}

.btn-secondary:hover {
  background: var(--bg-blue);
  transform: translateY(-2px);
}

.btn-store {
  background: #000;
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-md);
}

.btn-store:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-store img {
  height: 24px;
  width: auto;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 55px;
  width: auto;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.navbar-nav a {
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sanapp-blue);
  transition: var(--transition-fast);
}

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

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.navbar-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: var(--transition-fast);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .navbar-toggle {
    display: flex;
    z-index: 1001;
  }

  .navbar-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-normal);
  }

  .navbar-nav.active {
    right: 0;
  }

  .navbar-cta {
    display: none;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, var(--bg-blue) 0%, white 50%, #F0F7FF 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(33, 150, 243, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(76, 175, 80, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 550px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sanapp-green);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--sanapp-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  color: var(--text-primary);
  margin-bottom: 16px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--sanapp-blue), var(--sanapp-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 450px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 580px;
  background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
  border-radius: 45px;
  padding: 12px;
  box-shadow: var(--shadow-xl), inset 0 0 0 2px rgba(255,255,255,0.1);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: var(--transition-slow);
}

.phone-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 35px;
  overflow: hidden;
  position: relative;
}

.phone-screen-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 40px 20px 20px;
  background: linear-gradient(180deg, var(--bg-blue) 0%, white 100%);
}

.phone-notch {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: #1a1a1a;
  border-radius: 20px;
  z-index: 10;
}

.phone-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  margin-top: 20px;
}

.phone-logo {
  height: 24px;
  width: auto;
}

.phone-avatar {
  width: 36px;
  height: 36px;
  background: var(--bg-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-card {
  display: flex;
  align-items: center;
  padding: 12px;
  border-radius: 25px;
  gap: 12px;
}

.phone-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.phone-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Floating Elements */
.floating-element {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  bottom: 20%;
  right: 10%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  top: 30%;
  left: 5%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.float-card {
  background: white;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.float-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.float-card-text {
  font-size: 14px;
  font-weight: 600;
}

/* Hero Responsive */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .phone-mockup {
    transform: none;
  }

  .floating-element {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .phone-mockup {
    width: 240px;
    height: 500px;
  }
}

/* ============================================
   WAVE DIVIDER
   ============================================ */
.wave-divider {
  position: relative;
  height: 100px;
  overflow: hidden;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ============================================
   PILLARS SECTION (Los 3 Pilares)
   ============================================ */
.pillars {
  padding: var(--section-padding);
  background: var(--bg-white);
}

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

.section-subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--sanapp-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-description {
  color: var(--text-secondary);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pillar-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: currentColor;
  opacity: 0;
  transition: var(--transition-normal);
}

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

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-card.sana {
  background: var(--card-sana);
  color: #E57373;
}

.pillar-card.aprende {
  background: var(--card-aprende);
  color: #4DB6AC;
}

.pillar-card.activa {
  background: var(--card-activa);
  color: #F06292;
}

.pillar-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.1) rotate(5deg);
}

.pillar-icon svg {
  width: 50px;
  height: 50px;
}

.pillar-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.pillar-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  padding: var(--section-padding);
  background: var(--bg-light);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

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

.feature-item:nth-child(even) {
  direction: rtl;
}

.feature-item:nth-child(even) > * {
  direction: ltr;
}

.feature-content {
  max-width: 500px;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg {
  width: 35px;
  height: 35px;
  color: var(--sanapp-blue);
}

.feature-title {
  color: var(--text-primary);
  margin-bottom: 16px;
}

.feature-description {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '';
  width: 24px;
  height: 24px;
  background: var(--sanapp-green);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.feature-visual {
  position: relative;
}

.feature-image {
  width: 100%;
  max-width: 450px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.feature-card-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.metric-item {
  background: var(--bg-light);
  padding: 15px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sanapp-blue);
}

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

@media (max-width: 1024px) {
  .feature-item,
  .feature-item:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
    text-align: center;
  }

  .feature-content {
    max-width: 100%;
  }

  .feature-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-visual {
    order: -1;
  }

  .feature-image,
  .feature-card {
    max-width: 100%;
    margin: 0 auto;
  }
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
  padding: var(--section-padding);
  background: white;
}

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

.timeline::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bg-light);
  border-radius: 2px;
}

.timeline-progress {
  position: absolute;
  top: 60px;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sanapp-blue), var(--sanapp-green));
  border-radius: 2px;
  width: 0%;
  transition: width 1s ease;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}

.timeline-step {
  text-align: center;
  padding: 0 15px;
}

.timeline-number {
  width: 60px;
  height: 60px;
  background: white;
  border: 4px solid var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: 0 auto 20px;
  transition: var(--transition-normal);
  position: relative;
}

.timeline-step.active .timeline-number {
  background: var(--sanapp-blue);
  border-color: var(--sanapp-blue);
  color: white;
}

.timeline-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: var(--transition-normal);
}

.timeline-step.active .timeline-icon {
  background: var(--bg-blue);
}

.timeline-icon svg {
  width: 40px;
  height: 40px;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

.timeline-step.active .timeline-icon svg {
  color: var(--sanapp-blue);
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.timeline-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .timeline::before,
  .timeline-progress {
    display: none;
  }

  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .timeline-number {
    position: relative;
  }

  .timeline-number::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 40px;
    background: var(--bg-light);
  }

  .timeline-step:last-child .timeline-number::after {
    display: none;
  }

  .timeline-step.active .timeline-number::after {
    background: linear-gradient(180deg, var(--sanapp-blue), var(--sanapp-green));
  }
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team {
  padding: var(--section-padding);
  background: var(--bg-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition-normal);
}

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

.team-card:nth-child(1) { background: #E3F2FD; }
.team-card:nth-child(2) { background: #F3E5F5; }
.team-card:nth-child(3) { background: #E8F5E8; }
.team-card:nth-child(4) { background: #FFF3E0; }

.team-avatar {
  width: 100px;
  height: 100px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-sm);
}

.team-initials {
  font-size: 2rem;
  font-weight: 700;
  color: var(--sanapp-blue);
}

.team-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sanapp-blue);
  margin-bottom: 8px;
}

.team-specialty {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.team-credentials {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  padding: var(--section-padding);
  background: white;
}

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

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 0 20px;
}

.testimonial-content {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: var(--sanapp-blue);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

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

.testimonial-avatar {
  width: 60px;
  height: 60px;
  background: var(--sanapp-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

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

.testimonial-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  background: var(--bg-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial-dot.active {
  background: var(--sanapp-blue);
  transform: scale(1.2);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--sanapp-blue) 0%, var(--sanapp-green) 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-content {
  color: white;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.cta-description {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 32px;
  color: white;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-buttons .btn-store {
  background: white;
  color: var(--text-primary);
}

.cta-buttons .btn-store:hover {
  background: var(--bg-light);
}

.cta-visual {
  display: flex;
  justify-content: center;
}

.cta-phone {
  width: 220px;
  height: 450px;
  background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
  border-radius: 40px;
  padding: 10px;
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
}

.cta-phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 32px;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .cta .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-buttons {
    justify-content: center;
  }

  .cta-visual {
    order: -1;
  }

  .cta-phone {
    width: 180px;
    height: 370px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-logo {
  height: 40px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-description {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--sanapp-blue);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-legal {
  display: flex;
  gap: 30px;
}

.footer-legal a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

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

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: span 2;
    max-width: 100%;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    grid-column: auto;
  }

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

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
