/* Root Variables */
:root {
  --color-primary: #2980b9;
  --color-primary-dark: #1e6091;
  --color-primary-light: #3498db;
  --color-primary-shadow: rgba(41, 128, 185, 0.35);
  --gradient-primary: linear-gradient(
    135deg,
    var(--color-primary-light),
    var(--color-primary)
  );
  --color-accent: #f39c12;
  --color-accent-dark: #d35400;
  --color-accent-shadow: rgba(211, 84, 0, 0.35);
  --color-warning: #fbbf24;
  --color-success: #2d8b57;
  --color-danger: #c0392b;
  --color-danger-dark: #e74c3c;
  --color-danger-shadow: rgba(231, 76, 60, 0.35);
  --color-text: #374151;
  --color-text-secondary: #7f8c8d;
  --color-bg-light: #f1f5f9;
  --color-bg-card: #fff;
  --color-border: #dee2e6;
  --gradient-card-hover: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.15) 100%
  );
  --gradient-icon: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
  --shadow-float: 0 10px 30px rgba(102, 126, 234, 0.2);
  --transition-base: all 0.3s ease;
  --transition-elastic: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --al-radius: 16px;
}

/* General & Body */
body {
  font-family:
    "Roboto",
    system-ui,
    -apple-system,
    sans-serif;
  background: linear-gradient(135deg, #1e6091 0%, #2980b9 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes logoGlow {
  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
    135deg,
    rgba(30, 96, 145, 0.95) 0%,
    rgba(41, 128, 185, 0.95) 100%
  );
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}

.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 20s linear infinite;
}

.particle-1 {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 25s;
}
.particle-2 {
  left: 30%;
  animation-delay: -5s;
  animation-duration: 30s;
}
.particle-3 {
  left: 50%;
  animation-delay: -10s;
  animation-duration: 20s;
}
.particle-4 {
  left: 70%;
  animation-delay: -15s;
  animation-duration: 35s;
}
.particle-5 {
  left: 90%;
  animation-delay: -20s;
  animation-duration: 25s;
}

.brand-subtitle {
  color: #d1d5db;
  font-size: 1.4rem;
  font-weight: 600;
}

.hero-feature-card {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  transition: var(--transition-elastic);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.hero-feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.15),
    0 0 20px rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-feature-card:hover::before {
  left: 100%;
}

.feature-card .feature-icon {
  width: 60px;
  height: 60px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #1e6091;
  margin: 0 auto 15px;
  transition: all 0.3s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.06);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 6px 12px rgba(0, 0, 0, 0.12);
  color: #1a5276;
}

.hero-feature-card h5 {
  color: white;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.hero-feature-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
}

/* General Content */
.content-section {
  background: white;
}

.bg-light {
  background-color: var(--color-bg-light) !important;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 560px;
  height: 2px;
  background: linear-gradient(
    270deg,
    var(--color-primary-dark),
    var(--color-primary),
    var(--color-primary-light),
    var(--color-accent),
    var(--color-accent-dark),
    var(--color-primary-dark)
  );
  background-size: 300% 100%;
  animation: gradientFlow 5s linear infinite;
  border-radius: 100px / 6px;
  box-shadow: 0 2px 6px var(--color-primary-shadow);
}

.content-divider {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    var(--color-accent-shadow),
    rgba(255, 255, 255, 0.1),
    transparent
  );
  border-radius: 1px;
  width: 80%;
  max-width: 400px;
  margin: 0 auto;
}

/* Feature Cards */
.feature-card {
  background: var(--color-bg-light);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.hero-feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.15),
    0 0 20px rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-feature-card:hover::before {
  left: 100%;
}

.hero-feature-card .feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fbbf24;
  margin: 0 auto 15px;
  transition: all 0.3s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 6px 12px rgba(0, 0, 0, 0.2);
}
.feature-card h5 {
  color: #374151;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.feature-card p {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin: 0;
}

/* Partners Section */
.partners-section {
  padding-bottom: 2rem;
}

.partners-title {
  color: var(--color-text);
  font-size: 2rem;
  margin-bottom: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 25px;
  text-align: center;
}

.partner-item {
  background: var(--color-bg-light);
  border-radius: 16px;
  padding: 30px 20px;
  transition: var(--transition-elastic);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  user-select: none;
  box-shadow: var(--shadow-md);
}

.partner-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.partner-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(41, 128, 185, 0.08),
    transparent
  );
  transition: left 0.6s ease;
}

.partner-item:hover::before {
  left: 100%;
}

.partner-icon {
  font-size: 2.8rem;
  color: var(--color-primary);
  margin-bottom: 15px;
  transition: var(--transition-base);
  display: block;
}

.partner-item:hover .partner-icon {
  transform: scale(1.05);
  color: var(--color-primary-light);
  filter: drop-shadow(0 4px 8px rgba(41, 128, 185, 0.2));
}

.partner-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.4;
}

/* Utilities */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  margin-right: 10px;
}

/* Pricing Button */
.pricing-view-btn {
  position: relative;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(41, 128, 185, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
  letter-spacing: 1px;
}

.pricing-view-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.8s;
}

.pricing-view-btn:hover {
  color: white;
  background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
  box-shadow: 0 10px 30px rgba(41, 128, 185, 0.45);
  transform: translateY(-2px);
}

.pricing-view-btn:hover::before {
  left: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .brand-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
  }
  #newsSection {
    padding: 20px 0;
  }
  .section-title {
    font-size: 2rem;
  }
  .hero-feature-card {
    padding: 15px;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .partner-item {
    padding: 25px 15px;
  }
  .partner-icon {
    font-size: 2.4rem;
  }
  .partner-name {
    font-size: 0.9rem;
  }
  .btn-pricing {
    margin-bottom: 1rem;
    margin-top: 2rem !important;
  }
  .hero-section {
    padding-top: 20px;
  }
}
