/* ========== Custom Component Classes ========== */
.container-custom {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container-custom { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container-custom { padding-left: 2rem; padding-right: 2rem; }
}

.gradient-text {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(to right, #1757f5, #2f79ff, #14b8a6);
}

.gradient-bg {
  background-image: linear-gradient(to bottom right, #1757f5, #1043e1, #16338f);
}

.glass-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 768px) {
  .section-padding { padding-top: 7rem; padding-bottom: 7rem; }
}
@media (min-width: 1024px) {
  .section-padding { padding-top: 8rem; padding-bottom: 8rem; }
}

.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-image: linear-gradient(to right, #1757f5, #2f79ff);
  border-radius: 1rem;
  transition: all 0.3s;
  box-shadow: 0 10px 15px -3px rgba(47,121,255,0.25);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary-custom:hover {
  background-image: linear-gradient(to right, #2f79ff, #569dff);
  transform: scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(47,121,255,0.3);
}
.btn-primary-custom:active { transform: scale(0.98); }

.btn-secondary-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1043e1;
  background: #fff;
  border: 2px solid #bbd8ff;
  border-radius: 1rem;
  transition: all 0.3s;
  text-decoration: none;
}
.btn-secondary-custom:hover {
  background: #eef5ff;
  border-color: #8cc0ff;
  transform: scale(1.02);
}

.text-balance { text-wrap: balance; }

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Animations */
[data-animate] { opacity: 0; }
.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }
.animate-slide-up { animation: slideUp 0.6s ease-out forwards; }
.animate-float { animation: float 6s ease-in-out infinite; }

@keyframes fadeIn { 0%{opacity:0} 100%{opacity:1} }
@keyframes slideUp { 0%{opacity:0;transform:translateY(30px)} 100%{opacity:1;transform:translateY(0)} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }

/* Selection */
::selection {
  background-color: rgba(47, 121, 255, 0.2);
  color: #16338f;
}
