/* Foundation Section - Pioneering AI Vision */
.foundation-area {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 25%, #2c3e50 75%, #34495e 100%);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  color: white;
}

/* Dynamic Background Effects */
.foundation-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(72, 219, 216, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(107, 227, 170, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 230, 109, 0.08) 0%, transparent 30%);
  animation: foundation-pulse 12s ease-in-out infinite;
}

.foundation-area::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(72,219,216,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  animation: grid-move 20s linear infinite;
  opacity: 0.3;
}

@keyframes foundation-pulse {
  0%, 100% { 
    opacity: 0.8; 
    transform: scale(1) rotate(0deg); 
  }
  33% { 
    opacity: 1; 
    transform: scale(1.02) rotate(1deg); 
  }
  66% { 
    opacity: 0.9; 
    transform: scale(0.98) rotate(-0.5deg); 
  }
}

@keyframes grid-move {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(-40px) translateY(-40px); }
}

/* Floating Particles */
.foundation-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(45deg, #48DBD8, #6BE3AA);
  border-radius: 50%;
  animation: float-particle 15s ease-in-out infinite;
  opacity: 0;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; }
.particle:nth-child(7) { left: 70%; animation-delay: 12s; }
.particle:nth-child(8) { left: 80%; animation-delay: 14s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; }
.particle:nth-child(10) { left: 15%; animation-delay: 3s; }

@keyframes float-particle {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 1;
    transform: translateY(90vh) scale(1);
  }
  90% {
    opacity: 1;
    transform: translateY(-10vh) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-20vh) scale(0);
  }
}

/* Content Container */
.foundation-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
}

/* Header Section */
.foundation-header {
  text-align: center;
  margin-bottom: 100px;
  position: relative;
}

.foundation-title {
  font-size: 72px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #48DBD8 30%, #6BE3AA 70%, #FFE66D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 50px;
  position: relative;
  opacity: 0;
  animation: title-reveal 2s ease-out 0.5s forwards;
}

.foundation-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 6px;
  background: linear-gradient(90deg, #48DBD8, #6BE3AA, #FFE66D);
  border-radius: 3px;
  opacity: 0;
  animation: underline-grow 1.5s ease-out 2s forwards;
}

@keyframes title-reveal {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes underline-grow {
  from {
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
  }
}

.foundation-subtitle {
  font-size: 28px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 1000px;
  margin: 0 auto;
  font-weight: 400;
  opacity: 0;
  animation: subtitle-fade 1.5s ease-out 1s forwards;
}

@keyframes subtitle-fade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main Content Grid - Adjusted proportions for better readability */
.foundation-content {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 120px;
}

/* What We're NOT Section - Wider for better readability */
.foundation-negatives {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 55px 45px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: scale(1);
}

.foundation-negatives::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.negatives-header {
  text-align: center;
  margin-bottom: 40px;
}

.negatives-title {
  font-size: 30px;
  font-weight: 800;
  color: #e74c3c;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

.negatives-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.negatives-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  column-gap: 25px;
}

.negative-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.4;
  padding: 18px;
  background: rgba(231, 76, 60, 0.15);
  border-radius: 12px;
  border-left: 4px solid #e74c3c;
  border: 2px solid rgba(229, 62, 62, 0.2);
  transition: all 0.3s ease;
  opacity: 1;
  animation: slide-in-left 0.6s ease-out forwards;
  animation-delay: calc(0.1s * var(--delay, 1));
  height: fit-content;
}

.negative-item:nth-child(1) { --delay: 1; }
.negative-item:nth-child(2) { --delay: 2; }
.negative-item:nth-child(3) { --delay: 3; }
.negative-item:nth-child(4) { --delay: 4; }

.negative-icon {
  display: none;
}

.negative-text {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  flex: 1;
  margin: 0;
  width: 100%;
}

/* What We ARE Section - Keep larger size */
.foundation-positives {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(72, 219, 216, 0.3);
  border-radius: 30px;
  padding: 70px 60px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(72, 219, 216, 0.2);
}

.foundation-positives::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #48DBD8, #6BE3AA);
}

.positives-header {
  text-align: center;
  margin-bottom: 40px;
}

.positives-title {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(45deg, #48DBD8, #6BE3AA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.positives-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.positives-content {
  text-align: center;
}

.pioneer-statement {
  font-size: 28px;
  line-height: 1.5;
  color: white;
  margin-bottom: 35px;
  font-weight: 600;
  opacity: 0;
  animation: fade-in-up 1s ease-out 3s forwards;
}

.pioneer-highlight {
  background: linear-gradient(45deg, #48DBD8, #6BE3AA, #FFE66D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 1.1em;
}

.future-message {
  background: rgba(72, 219, 216, 0.1);
  border: 2px solid rgba(72, 219, 216, 0.3);
  border-radius: 25px;
  padding: 40px;
  margin-top: 35px;
  position: relative;
  opacity: 0;
  animation: glow-in 1.5s ease-out 3.5s forwards;
}

@keyframes glow-in {
  from {
    opacity: 0;
    transform: scale(0.95);
    box-shadow: 0 0 0 rgba(72, 219, 216, 0);
  }
  to {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 30px rgba(72, 219, 216, 0.3);
  }
}

.future-text {
  font-size: 22px;
  line-height: 1.4;
  color: white;
  margin: 0;
  font-weight: 600;
}

/* Competitive Advantage Section */
.competitive-advantage {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(30px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.competitive-advantage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(72, 219, 216, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(107, 227, 170, 0.1) 0%, transparent 50%);
  animation: advantage-pulse 8s ease-in-out infinite;
}

@keyframes advantage-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

.advantage-content {
  position: relative;
  z-index: 2;
}

.advantage-icon {
  font-size: 80px;
  margin-bottom: 30px;
  display: block;
  animation: trophy-glow 3s ease-in-out infinite;
}

@keyframes trophy-glow {
  0%, 100% { 
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 20px rgba(255, 230, 109, 0.5));
  }
  50% { 
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 0 30px rgba(255, 230, 109, 0.8));
  }
}

.advantage-title {
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(45deg, #FFE66D, #48DBD8, #6BE3AA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 25px;
  line-height: 1.2;
}

.advantage-text {
  font-size: 22px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto;
}

.advantage-highlight {
  background: linear-gradient(45deg, #FFE66D, #48DBD8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

/* Call to Action */
.foundation-cta {
  text-align: center;
  margin-top: 80px;
  opacity: 0;
  animation: cta-appear 1s ease-out 4s forwards;
}

@keyframes cta-appear {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.foundation-cta-btn {
  background: linear-gradient(135deg, #48DBD8 0%, #6BE3AA 50%, #FFE66D 100%);
  border: none;
  padding: 25px 50px;
  font-size: 22px;
  font-weight: 800;
  border-radius: 60px;
  color: #1a1f3a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 40px rgba(72, 219, 216, 0.3);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 350px;
  justify-content: center;
}

.foundation-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.foundation-cta-btn:hover::before {
  left: 100%;
}

.foundation-cta-btn:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 30px 60px rgba(72, 219, 216, 0.5);
  color: #1a1f3a;
  text-decoration: none;
}

.foundation-cta-btn svg {
  transition: all 0.3s ease;
}

.foundation-cta-btn:hover svg {
  transform: translateX(8px) rotate(15deg);
}

/* Responsive Design adjustments */
@media (max-width: 1200px) {
  .foundation-content {
    grid-template-columns: 450px 1fr;
    gap: 50px;
  }
  
  .foundation-negatives {
    transform: scale(1);
    padding: 50px 40px;
  }
  
  .negatives-list {
    gap: 15px;
    column-gap: 20px;
  }
  
  .negative-item {
    padding: 15px;
    font-size: 14px;
  }
  
  .foundation-positives {
    padding: 60px 50px;
  }
}

@media (max-width: 991px) {
  .foundation-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .foundation-negatives {
    transform: scale(1);
    max-width: 600px;
    margin: 0 auto;
    padding: 50px 40px;
  }
  
  .negatives-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .negative-item {
    padding: 20px;
    font-size: 16px;
    gap: 20px;
  }
  
  .foundation-positives {
    padding: 60px 45px;
  }
  
  .negatives-title {
    font-size: 28px;
  }
  
  .positives-title {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .foundation-area {
    padding: 80px 0;
  }
  
  .foundation-inner {
    padding: 0 20px;
  }
  
  .foundation-title {
    font-size: 36px;
    margin-bottom: 40px;
  }
  
  .foundation-subtitle {
    font-size: 18px;
  }
  
  .foundation-header {
    margin-bottom: 70px;
  }
  
  .foundation-negatives {
    max-width: 100%;
    padding: 40px 30px;
    transform: scale(1);
  }
  
  .negatives-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .foundation-positives {
    padding: 50px 35px;
  }
  
  .negatives-title {
    font-size: 26px;
  }
  
  .positives-title {
    font-size: 32px;
  }
  
  .negative-item {
    padding: 15px;
    font-size: 15px;
    gap: 15px;
  }
  
  .negative-icon {
    font-size: 18px;
    width: 28px;
    height: 28px;
    padding: 5px;
  }
}

@media (max-width: 480px) {
  .foundation-negatives {
    padding: 35px 25px;
  }
  
  .foundation-positives {
    padding: 40px 25px;
  }
  
  .negatives-title {
    font-size: 24px;
  }
  
  .positives-title {
    font-size: 28px;
  }
  
  .negative-item {
    padding: 12px;
    font-size: 14px;
  }
  
  .negative-icon {
    font-size: 16px;
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 360px) {
  .foundation-negatives {
    padding: 30px 20px;
  }
  
  .foundation-positives {
    padding: 35px 20px;
  }
  
  .negatives-title {
    font-size: 22px;
  }
  
  .positives-title {
    font-size: 26px;
  }
  
  .negative-item {
    padding: 10px;
    font-size: 13px;
  }
  
  .negative-icon {
    font-size: 14px;
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 280px) {
  .foundation-negatives {
    padding: 25px 15px;
  }
  
  .foundation-positives {
    padding: 30px 15px;
  }
  
  .negatives-title {
    font-size: 20px;
  }
  
  .positives-title {
    font-size: 24px;
  }
  
  .negative-item {
    padding: 8px;
    font-size: 12px;
  }
  
  .negative-icon {
    font-size: 12px;
    width: 22px;
    height: 22px;
  }
}
    padding: 8px;
    font-size: 12px;
  }
  
  .negative-icon {
    font-size: 12px;
    width: 22px;
    height: 22px;
  }
}
