/* Advanced Integration Features Section
 * This CSS file styles the multilingual and social media integration sections
 */

/* Shared styles */
.integration-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  color: #e6f0ff;
}

.integration-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.integration-heading {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.integration-heading h2 {
  font-family: 'Audiowide', sans-serif;
  font-size: 2.8rem;
  background: linear-gradient(90deg, #ffffff, #e6f0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  /* Fallback color for browsers that don't support background-clip */
  -webkit-text-fill-color: transparent;
}

/* Ensure text is visible if background-clip fails */
.integration-heading h2:not(:empty) {
  background: linear-gradient(90deg, #ffffff, #e6f0ff);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Browser fallback */
@supports not (-webkit-background-clip: text) {
  .integration-heading h2 {
    color: #ffffff !important;
    background: none !important;
  }
}

.integration-heading h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
}

.integration-heading p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Multilingual Section Specific */
.multilingual-section {
  background: linear-gradient(180deg, #08101e 0%, #0d1627 100%);
}

.multilingual-section::before {
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 149, 0, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(0, 132, 255, 0.05) 0%, transparent 60%);
}

.multilingual-heading h2 {
  background: linear-gradient(90deg, #ff9500, #ffb144) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Ensure fallback for multilingual heading */
@supports not (-webkit-background-clip: text) {
  .multilingual-heading h2 {
    color: #ff9500 !important;
    background: none !important;
    -webkit-text-fill-color: #ff9500 !important;
  }
}

.multilingual-heading h2::after {
  background: linear-gradient(90deg, #ff9500, #ffb144);
}

.language-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.language-card {
  background: rgba(10, 15, 30, 0.6);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(255, 149, 0, 0.2);
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.language-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #ff9500, transparent);
  z-index: 1;
}

.language-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 149, 0, 0.4);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.language-flag {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 auto 15px auto;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.language-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.language-native {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.language-features {
  text-align: left;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.language-feature {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

.language-feature i {
  color: #ff9500;
  margin-right: 10px;
  font-size: 14px;
}

.world-map-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  height: 400px;
  margin-top: 4rem;
}

.world-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwMCIgaGVpZ2h0PSIxMDAwIiB2aWV3Qm94PSIwIDAgMjAwMCAxMDAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIG9wYWNpdHk9IjAuMyIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDA3N2ZmIiBzdHJva2Utd2lkdGg9IjIiPjxwYXRoIGQ9Ik01MDAsMjAwIEw1NTAsMjUwIEw2MDAsMjIwIEw2NTAsMzAwIEw3MDAsMzUwIEw3NTAsMzUwIEw4MDAsMzAwIEw4NTAsMjUwIEw5MDAsMjAwIEw5NTAsMjAwIEwxMDAwLDI1MCBMMTEwMCwzMDAgTDEyMDAsMzAwIEwxMzAwLDM1MCBMMTQwMCw0MDAgTDE1MDAsMzUwIEwxNjAwLDMwMCBMMTcwMCwyNTAgTDE4MDAsMjUwIEwxOTAwLDMwMCIvPjxwYXRoIGQ9Ik0yMDAsNDUwIEwyNTAsNDAwIEwzMDAsNDUwIEwzNTAsNDUwIEw0MDAsNTAwIEw0NTAsNTAwIEw1MDAsNDUwIEw1NTAsNDUwIEw2MDAsNTAwIEw2NTAsNTUwIEw3MDAsNjAwIEw3NTAsNjUwIEw4MDAsNzAwIEw4NTAsNzAwIEw5MDAsNjUwIEw5NTAsNjAwIEwxMDAwLDYwMCBMOTAwLDY1MCBMODU1LDY4MCIvPjxwYXRoIGQ9Ik05MDAsNjUwIEw5NTAsNzAwIEwxMDAwLDcwMCBMMTEwMCw2NTAgTDEyMDAsNjAwIEwxMzAwLDU1MCBMMTQwMCw1MDAgTDE1MDAsNTAwIEwxNjAwLDU1MCBMMTcwMCw2MDAgTDE4MDAsNjUwIiAvPjwvZz48L3N2Zz4=');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6;
}

.language-point {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff9500;
  box-shadow: 0 0 15px rgba(255, 149, 0, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
}

.language-point:hover {
  transform: scale(1.5);
}

.language-point::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 149, 0, 0.5);
  animation: ripple 2s infinite;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

.language-bubble {
  position: absolute;
  background: rgba(10, 15, 30, 0.8);
  border: 1px solid rgba(255, 149, 0, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: white;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  z-index: 4;
}

.language-point:hover + .language-bubble {
  opacity: 1;
  transform: translateY(-5px);
}

/* Social Media Section Specific */
.social-section {
  background: linear-gradient(180deg, #0d1627 0%, #05080f 100%);
}

.social-section::before {
  background: 
    radial-gradient(circle at 30% 70%, rgba(255, 59, 92, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(123, 0, 255, 0.05) 0%, transparent 60%);
}

.social-heading h2 {
  background: linear-gradient(90deg, #ff3b5c, #ff7b9d) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Ensure fallback for social media heading */
@supports not (-webkit-background-clip: text) {
  .social-heading h2 {
    color: #ff3b5c !important;
    background: none !important;
    -webkit-text-fill-color: #ff3b5c !important;
  }
}

.social-heading h2::after {
  background: linear-gradient(90deg, #ff3b5c, #ff7b9d);
}

.social-platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.social-platform-card {
  background: rgba(10, 15, 30, 0.6);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255, 59, 92, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #ff3b5c, transparent);
  z-index: 1;
}

.social-platform-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 59, 92, 0.4);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.platform-icon {
  font-size: 3rem;
  color: #ff3b5c;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.twitter-icon { color: #1DA1F2; }
.instagram-icon { color: #C13584; }
.facebook-icon { color: #4267B2; }
.linkedin-icon { color: #0077b5; }
.tiktok-icon { color: #69C9D0; }
.youtube-icon { color: #FF0000; }

.social-platform-card:hover .platform-icon {
  transform: scale(1.2);
}

.platform-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.platform-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  text-align: center;
}

.platform-capabilities {
  list-style-type: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.platform-capability {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

.platform-capability i {
  color: #ff3b5c;
  margin-right: 10px;
  font-size: 14px;
}

.twitter-card .platform-capability i { color: #1DA1F2; }
.instagram-card .platform-capability i { color: #C13584; }
.facebook-card .platform-capability i { color: #4267B2; }
.linkedin-card .platform-capability i { color: #0077b5; }
.tiktok-card .platform-capability i { color: #69C9D0; }
.youtube-card .platform-capability i { color: #FF0000; }

.integration-cta {
  text-align: center;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}

.integration-cta-button {
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: white;
}

.multilingual-cta-button {
  background: linear-gradient(90deg, #ff9500, #ffb144);
  box-shadow: 0 10px 20px rgba(255, 149, 0, 0.3);
}

.social-cta-button {
  background: linear-gradient(90deg, #ff3b5c, #ff7b9d);
  box-shadow: 0 10px 20px rgba(255, 59, 92, 0.3);
}

.integration-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: all 0.5s ease;
  z-index: -1;
}

.multilingual-cta-button::before {
  background: linear-gradient(90deg, #ffb144, #ff9500);
}

.social-cta-button::before {
  background: linear-gradient(90deg, #ff7b9d, #ff3b5c);
}

.integration-cta-button:hover {
  transform: translateY(-5px);
}

.multilingual-cta-button:hover {
  box-shadow: 0 15px 30px rgba(255, 149, 0, 0.4);
}

.social-cta-button:hover {
  box-shadow: 0 15px 30px rgba(255, 59, 92, 0.4);
}

.integration-cta-button:hover::before {
  left: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .language-cards-container,
  .social-platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .language-cards-container,
  .social-platforms-grid {
    grid-template-columns: 1fr;
  }
  
  .integration-heading h2 {
    font-size: 2.2rem;
  }
  
  .integration-heading p {
    font-size: 1.1rem;
  }
  
  .world-map-container {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .integration-heading h2 {
    font-size: 1.8rem;
  }
}
