* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #4a5fd7;
  --dark-blue: #2d3c8e;
  --light-blue: #6b7dff;
  --purple: #8b5cf6;
  --gradient: linear-gradient(135deg, #4a5fd7 0%, #8b5cf6 100%);
  --text-dark: #1a1a2e;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* IMAGE PLACEHOLDER STYLES */
.image-placeholder {
  width: 100px;
  height: 100px;
  background: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
  text-align: center;
  margin: 1rem auto;
  animation: pulse 2s infinite;
  border: 3px solid #dc2626;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.large-image-placeholder {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 5 / 3;
  border-radius: 20px;
  overflow: hidden;
  margin: 2rem auto;
  margin-top: -10px !important;
  border: 5px solid #667eea;
  box-shadow: 0 0 30px #667eea;
  position: relative;
}

.iframe-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.animation-frame {
  width: 1024px;
  height: 768px;
  transform: scale(0.48);
  transform-origin: top left;
  border: none;
}

/* .large-image-placeholder {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 5 / 3;
  border-radius: 20px;
  overflow: hidden;
  margin: 2rem auto;
  border: 5px solid #667eea;
  box-shadow: 0 0 30px #667eea;
}

.animation-frame {
  width: 100%;
  height: 100%;
  border: none;
} */

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: visible;
}

/* logo */
header a img {
  height: 50px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.nav-links a.active {
  color: var(--primary-blue);
}

.nav-links a:hover::after {
  width: 100%;
}

.cta-btn {
  padding: 0.75rem 1.5rem;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(74, 95, 215, 0.4);
}

/* Hamburger Menu */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: fixed;
  right: 2rem;
  top: 1rem;
  z-index: 1002;
  width: 40px;
  height: 40px;
  gap: 5px;
}

.hamburger-btn span {
  display: block;
  width: 28px;
  height: 3px;
  background: #1a1a2e;
  margin: 0;
  transition: all 0.3s ease;
  border-radius: 2px;
  flex-shrink: 0;
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Sidebar Menu */
.sidebar-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.sidebar-menu.active {
  right: 0;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar-content {
  padding: 5rem 2rem 2rem;
}

.sidebar-menu .nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
}

.sidebar-menu .nav-links li {
  border-bottom: 1px solid #e2e8f0;
}

.sidebar-menu .nav-links a {
  display: block;
  padding: 1rem 0;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.3s ease;
}

.sidebar-menu .nav-links a:hover,
.sidebar-menu .nav-links a.active {
  color: var(--primary-blue);
  padding-left: 1rem;
}

.sidebar-menu .cta-btn {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}

/* Hero Section */
.hero {
  padding: 8rem 2rem 4rem;
  background: var(--gradient);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    );
  animation: heroBackground 10s ease-in-out infinite;
}

@keyframes heroBackground {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.1) rotate(180deg);
  }
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  from {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  }
  to {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
  }
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Two Column Layout */
.two-column {
  padding: 6rem 2rem;
  background: white;
}

.two-column-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.column-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.column-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.column-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Section Styles */
.section {
  padding: 6rem 2rem;
}

.bg-light {
  background: var(--bg-light);
}

.section-content {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem auto 0;
}

.stat-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: visible;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
  z-index: -1;
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  color: white;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  overflow: visible;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-unit {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-card:hover .stat-number,
.stat-card:hover .stat-number .stat-value,
.stat-card:hover .stat-number .stat-unit {
  color: white;
  -webkit-text-fill-color: white;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 600;
  transition: color 0.3s ease;
}

.stat-card:hover .stat-label {
  color: rgba(255, 255, 255, 0.9);
}

/* Tech Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.tech-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-blue);
  position: relative;
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(74, 95, 215, 0.1),
    rgba(139, 92, 246, 0.1)
  );
  transition: width 0.3s ease;
  border-radius: 15px;
  z-index: -1;
}

.tech-card:hover::before {
  width: 100%;
}

.tech-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-left-color: var(--purple);
}

.tech-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tech-card i {
  color: var(--primary-blue);
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.tech-card:hover i {
  color: var(--purple);
  transform: scale(1.2) rotate(10deg);
  animation: techIconSpin 2s ease-in-out infinite;
}

@keyframes techIconSpin {
  0%,
  100% {
    transform: scale(1.2) rotate(10deg);
  }
  50% {
    transform: scale(1.3) rotate(-5deg);
  }
}

/* Security Badges */
.security-badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.security-badge {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 2px solid #f1f5f9;
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.security-badge:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: var(--primary-blue);
  box-shadow: 0 20px 40px rgba(74, 95, 215, 0.2);
}

.security-badge i {
  font-size: 3rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.security-badge:hover i {
  transform: scale(1.2) rotate(10deg);
}

.security-badge h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.security-badge p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Final CTA */
.final-cta {
  padding: 6rem 2rem;
  background: var(--gradient);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    );
  animation: ctaBackground 15s ease-in-out infinite;
}

@keyframes ctaBackground {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
}

.final-cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: ctaTitle 3s ease-in-out infinite alternate;
}

@keyframes ctaTitle {
  from {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  }
  to {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
  }
}

.final-cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.btn-white {
  padding: 1rem 2rem;
  background: white;
  color: var(--primary-blue);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  margin: 0 0.5rem;
}

.btn-white::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--gradient);
  border-radius: 50%;
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.btn-white:hover::before {
  width: 300px;
  height: 300px;
}

.btn-white:hover {
  color: white;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.3);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 0.8s ease forwards;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 0.8s ease forwards;
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 2rem 1rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a.active-footer {
  color: var(--white);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .cta-btn {
    display: none;
  }

  .sidebar-menu .cta-btn {
    display: inline-block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .two-column-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .security-badges {
    flex-direction: column;
    align-items: center;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .final-cta h2 {
    font-size: 2rem;
  }

  header a img {
    height: 30px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Appointment Calendar Animation Styles */
.appointment-calendar-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.appointment-calendar-preview {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 4px;
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
  opacity: 0;
  animation: appointmentFadeInScale 1s ease 0.6s forwards;
  width: 100%;
  max-width: 500px;
}

.appointment-calendar-inner {
  background: white;
  border-radius: 16px;
  padding: 30px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.appointment-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.appointment-calendar-month {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

.appointment-calendar-controls {
  display: flex;
  gap: 8px;
}

.appointment-calendar-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.appointment-calendar-btn:hover {
  background: #667eea;
  color: white;
}

.appointment-slot {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
  border-left: 4px solid #667eea;
  padding: 16px;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(20px);
  position: relative;
}

.appointment-slot:nth-child(2) {
  animation: appointmentSlideInUp 0.5s ease 1.6s forwards;
}

.appointment-slot:nth-child(3) {
  animation: appointmentSlideInUp 0.5s ease 1.8s forwards;
  border-left-color: #f093fb;
}

.appointment-slot:nth-child(4) {
  animation: appointmentSlideInUp 0.5s ease 2s forwards;
  border-left-color: #4facfe;
}

.appointment-time {
  font-size: 14px;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 6px;
}

.appointment-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.appointment-patient {
  font-size: 13px;
  color: #666;
}

.appointment-pulse-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #667eea;
  border-radius: 50%;
  top: 20px;
  right: 20px;
  animation: appointmentPulse 2s ease infinite 2.2s;
}

/* Appointment Calendar Animations */
@keyframes appointmentFadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes appointmentSlideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes appointmentPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

/* Responsive styles for appointment calendar */
@media (max-width: 768px) {
  .appointment-calendar-wrapper {
    padding: 10px;
  }
  
  .appointment-calendar-inner {
    padding: 20px;
    min-height: 350px;
  }
  
  .appointment-calendar-month {
    font-size: 18px;
  }
}

/* Crisis Prevention Animation Styles */
.crisis-animation-container {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  min-height: 400px;
}

.crisis-visual {
  width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(to bottom, #f8f9ff 0%, #ffffff 100%);
  min-height: 400px;
}

/* Brain/Mind Icon */
.crisis-brain-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 120px;
  height: 120px;
  opacity: 0;
  animation: crisisBrainAppear 1s ease 0.5s forwards;
}

.crisis-brain-shape {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50% 50% 45% 45%;
  position: relative;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.crisis-brain-detail {
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.crisis-brain-detail:nth-child(1) {
  width: 30px;
  height: 30px;
  top: 25px;
  left: 25px;
}

.crisis-brain-detail:nth-child(2) {
  width: 25px;
  height: 25px;
  top: 30px;
  right: 30px;
}

.crisis-brain-detail:nth-child(3) {
  width: 20px;
  height: 20px;
  bottom: 35px;
  left: 35px;
}

.crisis-brain-detail:nth-child(4) {
  width: 22px;
  height: 22px;
  bottom: 30px;
  right: 32px;
}

/* Protection Shield */
.crisis-shield {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 180px;
  height: 200px;
  opacity: 0;
  animation: crisisShieldAppear 1s ease 1.8s forwards;
}

.crisis-shield-shape {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: 3px solid #667eea;
  position: relative;
}

.crisis-shield-checkmark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 60px;
  height: 60px;
  animation: crisisCheckmarkAppear 0.6s ease 2.5s forwards;
}

.crisis-checkmark-circle {
  width: 100%;
  height: 100%;
  background: #4ade80;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(74, 222, 128, 0.4);
}

.crisis-checkmark-icon {
  color: white;
  font-size: 32px;
  font-weight: bold;
}

/* Data Points orbiting */
.crisis-data-point {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #667eea;
  border-radius: 50%;
  opacity: 0;
}

.crisis-data-point:nth-child(6) {
  top: 20%;
  left: 15%;
  animation: crisisDataFloat 2s ease 3s infinite, crisisDataAppear 0.5s ease 3s forwards;
}

.crisis-data-point:nth-child(7) {
  top: 30%;
  right: 20%;
  animation: crisisDataFloat 2.3s ease 3.2s infinite, crisisDataAppear 0.5s ease 3.2s forwards;
}

.crisis-data-point:nth-child(8) {
  bottom: 25%;
  left: 18%;
  animation: crisisDataFloat 2.1s ease 3.4s infinite, crisisDataAppear 0.5s ease 3.4s forwards;
}

.crisis-data-point:nth-child(9) {
  bottom: 30%;
  right: 15%;
  animation: crisisDataFloat 2.4s ease 3.6s infinite, crisisDataAppear 0.5s ease 3.6s forwards;
}

.crisis-data-point:nth-child(10) {
  top: 15%;
  left: 50%;
  animation: crisisDataFloat 2.2s ease 3.8s infinite, crisisDataAppear 0.5s ease 3.8s forwards;
}

.crisis-data-point:nth-child(11) {
  bottom: 15%;
  left: 50%;
  animation: crisisDataFloat 2.5s ease 4s infinite, crisisDataAppear 0.5s ease 4s forwards;
}

/* Connection Lines */
.crisis-connection-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, #667eea, transparent);
  transform-origin: left center;
  opacity: 0;
}

.crisis-line-1 {
  top: 23%;
  left: 16%;
  width: 150px;
  transform: rotate(25deg);
  animation: crisisLineAppear 0.8s ease 4.2s forwards;
}

.crisis-line-2 {
  bottom: 28%;
  right: 16%;
  width: 180px;
  transform: rotate(-20deg);
  animation: crisisLineAppear 0.8s ease 4.5s forwards;
}

.crisis-line-3 {
  top: 18%;
  left: 50%;
  width: 120px;
  transform: rotate(70deg);
  animation: crisisLineAppear 0.8s ease 4.8s forwards;
}

/* Text Labels */
.crisis-label {
  position: absolute;
  background: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #667eea;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  white-space: nowrap;
}

.crisis-label:nth-child(12) {
  top: 10%;
  left: 8%;
  animation: crisisLabelSlideIn 0.6s ease 5.5s forwards;
}

.crisis-label:nth-child(13) {
  top: 12%;
  right: 10%;
  animation: crisisLabelSlideIn 0.6s ease 6s forwards;
}

.crisis-label:nth-child(14) {
  bottom: 18%;
  left: 5%;
  animation: crisisLabelSlideIn 0.6s ease 6.5s forwards;
}

.crisis-label:nth-child(15) {
  bottom: 15%;
  right: 8%;
  animation: crisisLabelSlideIn 0.6s ease 7s forwards;
}

/* Central Text */
.crisis-center-text {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  animation: crisisTextFadeIn 1s ease 7.5s forwards;
}

.crisis-center-text-main {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.crisis-center-text-sub {
  font-size: 13px;
  color: #666;
}

/* Pulse Effect */
.crisis-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border: 2px solid #667eea;
  border-radius: 50%;
  opacity: 0;
  animation: crisisPulseRing 2s ease 8.5s infinite;
}

/* Crisis Prevention Animations */
@keyframes crisisBrainAppear {
  0% {
    transform: translate(-50%, -50%) scale(0) rotate(-180deg);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes crisisShieldAppear {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  60% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

@keyframes crisisCheckmarkAppear {
  0% {
    transform: translate(-50%, -50%) scale(0) rotate(-180deg);
    opacity: 0;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.2) rotate(10deg);
  }
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes crisisDataAppear {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes crisisDataFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1.3);
  }
}

@keyframes crisisLineAppear {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 0.6;
    transform: scaleX(1);
  }
}

@keyframes crisisLabelSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes crisisTextFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes crisisPulseRing {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Responsive styles for crisis prevention */
@media (max-width: 768px) {
  .crisis-animation-container {
    min-height: 350px;
  }
  
  .crisis-visual {
    min-height: 350px;
  }
  
  .crisis-brain-icon {
    width: 100px;
    height: 100px;
  }
  
  .crisis-shield {
    width: 150px;
    height: 170px;
  }
  
  .crisis-center-text-main {
    font-size: 16px;
  }
  
  .crisis-center-text-sub {
    font-size: 12px;
  }
}