:root {
  --primary-dark: #643CAE;   /* Deep Purple */
  --primary-light: rgb(235, 210, 255);  /* Soft Lavender */
}

/* Section with gradient from top-right */
#products {
  position: relative;
  background: linear-gradient(135deg, var(--primary-light) 10%, #fff 60%);
  padding: 80px 0;
  overflow: hidden;
  color: var(--primary-dark);
  margin-top: -60px;
}

.ted-finance-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 15vw;
  font-weight: 1000;
  color: rgba(102, 46, 175, 0.06);
  white-space: nowrap;
  width: 100%;
  text-align: center;
  filter: blur(1px);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 0; /* default hidden, shown via JS */
}

/* Container with glass effect */
#products .container {
  max-width: 1140px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Ribbon */
#products::after {
  content: 'PRODUCT';
  position: absolute;
  top: 30px;
  right: -60px;
  background: var(--primary-dark);
  color: var(--primary-light);
  padding: 10px 80px;
  transform: rotate(45deg);
  font-weight: bold;
  font-size: 15px;
  z-index: 3;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Large bouncing TED Finance background */


/* Bounce animation */
@keyframes bounceSlow {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-30px);
  }
}

/* Section Title */
#products .container h2 {
  font-size: 4rem;
  font-weight: 600;
  color: var(--primary-dark);
  opacity: 0.9;
  z-index: 3;
  position: relative;
}

@media (max-width: 768px){
    #products .container h2 {
        font-size: 2.5rem;
    }
}

#products .container .product-subtitle{
    margin-top: -30px;
    font-size: 1.2rem;
}

/* Feature Boxes */
#products .feature-box {
  background: rgba(255, 255, 255, 0.1);
  /* padding: 15px; */
  border-radius: 10px;
  transition: background 0.3s ease;
  /* margin-bottom: 5px;  */
}

#products .feature-box:hover {
  background: rgba(255, 255, 255, 0.2);
}
#products .feature-box h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-left: 10px;
  color: var(--primary-dark);
}
#products .feature-box i {
  font-weight: 700;
  color: #643CAE;
  font-size: 1.6rem;
}

#products .feature-box p{
    margin-top: -10px;
    margin-left: 45px;
    color: rgb(116, 104, 133);
}

/* Image Column Adjustments */
#products .col-xl-6:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
}
#products .col-xl-6:first-child img {
  height: 100%;
  width: auto;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-tedfinance-login {
    color: #643CAE;
    background: #dbc7ff;
    font-size: 16px;
    padding: 8px 25px;
    margin: 0 0 0 30px;
    border-radius: 4px;
    transition: 0.3s;
    font-weight: 500;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

.btn-tedfinance-login:hover {
    font-size: 19px; /* Slightly larger font */
    letter-spacing: 0.5px; /* Slight increase in spacing */
}
:root {
  --primary-dark: #643CAE;   /* Deep Purple */
  --primary-light: rgb(235, 210, 255);  /* Soft Lavender */
}

/* Section with gradient from top-right */
#products {
  position: relative;
  background: linear-gradient(135deg, var(--primary-light) 10%, #fff 60%);
  padding: 80px 0;
  overflow: hidden;
  color: var(--primary-dark);
  margin-top: -60px;
}

.ted-finance-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 15vw;
  font-weight: 1000;
  color: rgba(102, 46, 175, 0.06);
  white-space: nowrap;
  width: 100%;
  text-align: center;
  filter: blur(1px);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 0; /* default hidden, shown via JS */
}

/* Container with glass effect */
#products .container {
  max-width: 1140px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Ribbon */
#products::after {
  content: 'PRODUCT';
  position: absolute;
  top: 30px;
  right: -60px;
  background: var(--primary-dark);
  color: var(--primary-light);
  padding: 10px 80px;
  transform: rotate(45deg);
  font-weight: bold;
  font-size: 15px;
  z-index: 3;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Large bouncing TED Finance background */


/* Bounce animation */
@keyframes bounceSlow {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-30px);
  }
}

/* Section Title */
#products .container h2 {
  font-size: 4rem;
  font-weight: 600;
  color: var(--primary-dark);
  opacity: 0.9;
  z-index: 3;
  position: relative;
}

@media (max-width: 768px){
    #products .container h2 {
        font-size: 2.5rem;
    }
}

#products .container .product-subtitle{
    margin-top: -30px;
    font-size: 1.2rem;
}

/* Feature Boxes */
#products .feature-box {
  background: rgba(255, 255, 255, 0.1);
  /* padding: 15px; */
  border-radius: 10px;
  transition: background 0.3s ease;
  /* margin-bottom: 5px;  */
}

#products .feature-box:hover {
  background: rgba(255, 255, 255, 0.2);
}
#products .feature-box h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-left: 10px;
  color: var(--primary-dark);
}
#products .feature-box i {
  font-weight: 700;
  color: #643CAE;
  font-size: 1.6rem;
}

#products .feature-box p{
    margin-top: -10px;
    margin-left: 45px;
    color: rgb(116, 104, 133);
}

/* Image Column Adjustments */
#products .col-xl-6:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
}
#products .col-xl-6:first-child img {
  height: 100%;
  width: auto;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-tedfinance-login {
    color: #643CAE;
    background: #dbc7ff;
    font-size: 16px;
    padding: 8px 25px;
    margin: 0 0 0 30px;
    border-radius: 4px;
    transition: 0.3s;
    font-weight: 500;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

.btn-tedfinance-login:hover {
    font-size: 19px; /* Slightly larger font */
    letter-spacing: 0.5px; /* Slight increase in spacing */
}
