/**
 * Laureate Learning Advantage Section Stylesheet
 *
 * @package Laureate
 * @version 1.0.0
 */

.evo-smart-section,
.evo-smart-section * {
  box-sizing: border-box;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.evo-smart-section {
  --evo-bg-white: #FAFCFD;
  --evo-card-white: #FFFFFF;
  --evo-text-dark: #0F172A;
  --evo-text-gray: #475569;
  --evo-sap-green: #1D960C;
  --evo-brand-blue: #0A2248;
  --evo-border-light: #E2E8F0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 110px 24px;
  background-color: var(--evo-bg-white);
}

.evo-ai-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(#CBD5E1 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .4;
}

.evo-ai-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--evo-bg-white) 0%, transparent 20%, transparent 80%, var(--evo-bg-white) 100%);
}

.evo-ai-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .15;
  animation: floatGlow 10s infinite alternate ease-in-out;
}

.glow-1 {
  top: -10%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: var(--evo-sap-green);
}

.glow-2 {
  right: 10%;
  bottom: -10%;
  width: 500px;
  height: 500px;
  background: #0EA5E9;
  animation-delay: -5s;
}

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 40px) scale(1.1); }
}

.evo-smart-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.evo-smart-head {
  max-width: 700px;
  margin: 0 auto 70px;
  text-align: center;
}

.evo-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 8px 16px;
  border: 1px solid var(--evo-border-light);
  border-radius: 40px;
  background: #FFFFFF;
  color: var(--evo-text-dark);
  box-shadow: 0 2px 10px rgba(0,0,0,.02);
  font-size: 13px;
  font-weight: 700;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--evo-sap-green);
  box-shadow: 0 0 0 0 rgba(29,150,12,.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(29,150,12,.4); }
  70% { box-shadow: 0 0 0 6px rgba(29,150,12,0); }
  100% { box-shadow: 0 0 0 0 rgba(29,150,12,0); }
}

.evo-smart-head h2 {
  margin: 0;
  color: var(--evo-text-dark);
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 700;
}

.text-gradient {
  color: var(--evo-sap-green);
  background: linear-gradient(135deg, var(--evo-sap-green) 0%, var(--evo-brand-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.evo-smart-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 40px 32px;
  border: 1px solid var(--evo-border-light);
  border-radius: 20px;
  background: var(--evo-card-white);
  box-shadow: 0 4px 20px rgba(0,0,0,.02);
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s cubic-bezier(.16,1,.3,1), border-color .4s ease;
}

.evo-card-border-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--evo-sap-green), transparent);
  transform: translateX(-100%);
  transition: transform .6s ease;
}

.evo-smart-card:hover {
  transform: translateY(-8px);
  border-color: rgba(29,150,12,.22);
  box-shadow: 0 20px 40px rgba(0,0,0,.06);
}

.evo-smart-card:hover .evo-card-border-top { transform: translateX(0); }

.evo-smart-icon {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border: 1px solid rgba(29,150,12,.18);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F6FFF3;
  box-shadow: 0 4px 12px rgba(29,150,12,.06);
  transition: background .35s ease, border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}

.icon-bg-blur {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 16px;
  background: var(--evo-sap-green);
  opacity: 0;
  filter: blur(12px);
  transition: opacity .35s ease;
}

.evo-smart-card:hover .evo-smart-icon {
  background: var(--evo-sap-green);
  border-color: var(--evo-sap-green);
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(29,150,12,.24);
}

.evo-smart-card:hover .icon-bg-blur { opacity: .18; }

.evo-smart-icon img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  transition: transform .35s ease, filter .35s ease;
  filter: brightness(0) saturate(100%) invert(39%) sepia(93%) saturate(1328%) hue-rotate(78deg) brightness(94%) contrast(98%);
}

.evo-smart-card:hover .evo-smart-icon img {
  transform: scale(1.08) translateY(-1px);
  filter: brightness(0) invert(1);
}

.evo-smart-card h3 {
  margin: 0 0 12px;
  color: var(--evo-text-dark);
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -.3px;
  font-weight: 700;
}

.evo-smart-card p {
  margin: 0;
  color: var(--evo-text-gray);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
}

.fade-in-up { opacity: 0; animation: fadeUp .8s cubic-bezier(.16,1,.3,1) forwards; }
.stagger-1 { opacity: 0; animation: fadeUp .8s cubic-bezier(.16,1,.3,1) .1s forwards; }
.stagger-2 { opacity: 0; animation: fadeUp .8s cubic-bezier(.16,1,.3,1) .25s forwards; }
.stagger-3 { opacity: 0; animation: fadeUp .8s cubic-bezier(.16,1,.3,1) .4s forwards; }

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media(max-width:991px){
  .evo-smart-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evo-smart-card:last-child { grid-column: 1/-1; }
}

@media(max-width:768px){
  .evo-smart-section { padding: 80px 20px; }
  .evo-smart-head { margin-bottom: 44px; }
  .evo-smart-head h2 { font-size: 34px; }
  .evo-smart-grid { grid-template-columns: 1fr; gap: 20px; }
  .evo-smart-card, .evo-smart-card:last-child { grid-column: auto; }
  .evo-smart-card { min-height: auto; padding: 32px 26px; }
}

@media(max-width:480px){
  .evo-smart-section { padding: 62px 16px; }
  .evo-smart-head h2 { font-size: 29px; }
  .evo-smart-card h3 { font-size: 20px; }
}

@media(prefers-reduced-motion:reduce){
  .evo-ai-glow, .pulse-dot, .fade-in-up, .stagger-1, .stagger-2, .stagger-3 { animation: none !important; opacity: 1 !important; }
  .evo-smart-card, .evo-smart-icon, .evo-smart-icon img, .evo-card-border-top { transition: none !important; }
}
