:root {
  --black: #161513;
  --purple-dark: #312D2A;
  --purple-accent: #3A3631;
  --purple-brand: #6B3FA0;
  --purple-light: #8B6DB5;
  --white: #FFFFFF;
  --gray-50: #F9F9F9;
  --gray-100: #F1EFED;
  --gray-200: #E5E3E0;
  --gray-400: #9B9691;
  --gray-500: #5C5752;
  --gray-600: #6B6560;
  --gray-800: #3A3631;
  --transition-speed: 0.5s;
  --Oracle-Font: 'Oracle Sans', sans-serif;
  
  --max-width: 1344px;
  --footer-text: #161513;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* ======= U30 ======= */
.u30 {
  &:before, &:after {
    background: var(--white);
  }

  #u30btitle #u30logo {
    display: flex;
    align-items: center;
    width: auto;
  }
}

/* ===== Banner ===== */
.banner {
  position: relative;
  background: #594564;
  padding: 60px 24px 50px;
  text-align: initial;
  overflow: hidden;
  
  @media (width >= 992px) {
    text-align: center;
  }

  .banner-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: url(https://www.oracle.com/webfolder/dms/prod/i4/CX-Calc-BG-mob.png);
    background-repeat: no-repeat;
    background-position: bottom right;

    @media (width >= 992px) {
      background-image: url('https://www.oracle.com/webfolder/dms/prod/i4/CX-Calc-BG-Desk-L.png'), url('https://www.oracle.com/webfolder/dms/prod/i4/CX-Calc-BG-Desk-R.png');
      background-position: left center, right center;
      background-repeat: no-repeat, no-repeat;
      background-size: contain;
    }
  }

  .banner-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto 110px;

    @media (width >= 992px) {
      margin-bottom: 0;
    }
    
    .banner-label {
      display: inline-block;
      font-size: 14px;
      font-weight: 500;
      line-height: 22px;
      color: var(--white);
      margin-bottom: 8px;
    }
    
    .banner-title {
      font-size: 32px;
      font-weight: 300;
      line-height: 44px;
      color: var(--white);
      margin-bottom: 8px;
      font-family: var(--oracleserif);

      @media (width >= 992px) {
        font-size: 40px;
        line-height: 52px;
      }
    }
    
    .banner-subtitle {
      font-size: 16px;
      line-height: 24px;
      color: var(--white);
      margin-bottom: 8px;
    }
    
    .banner-sub2 {
      font-size: 0.95rem;
      color: rgba(255, 255, 255, 0.6);
    }
  }
}

/* ===== Calculator Header ===== */
.calc-header {  
  padding-block: 24px;
  padding-inline: 15px;
  
  @media (width >= 479px) {
    padding-inline: 30px;
  }

  .calc-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;

    
    .calc-header-title {
      font-size: 30px;
      line-height: 42px;
      font-weight: 300;
      color: var(--black);
    }
  }
}

/* ===== Calculator Viewport ===== */
.calculator-viewport {
  overflow: hidden;
  position: relative;
  transition: height var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  
  .calculator-track {
    display: flex;
    transition: transform var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    
    .calc-section {
      width: 100%;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      padding: 20px 24px 32px;
      height: auto;
      align-self: flex-start;
      
      .section-inner {
        display: grid;
        grid-template-columns: 1fr;
        gap: 60px;
        max-width: var(--max-width);
        margin: 0 auto;
        width: 100%;
        align-items: start;
        padding-bottom: 64px;

        @media (width >= 768px) {
          grid-template-columns: 1fr 1fr;
        }
        
        /* ===== Left Column ===== */
        .col-left {
          padding-right: 20px;

          /* ===== Section Counter ===== */
          .section-counter {
            display: block;
            font-size: 0.85rem;
            color: #161513a6;
            margin-bottom: 8px;
            font-weight: 600;
          }

          .section-title {
            font-size: 24px;
            font-weight: 600;
            line-height: 32px;
            color: var(--black);
            margin-bottom: 16px;
          }
          
          .section-subtitle {
            font-size: 18px;
            font-weight: 700;
            line-height: 28px;
            color: var(--black);
            margin-bottom: 12px;
          }
          
          .section-desc {
            font-size: 16px;
            line-height: 24px;
            color: var(--black);
            margin-bottom: 16px;
          }
          
          .bullet-list {
            list-style: none;
            margin-top: 20px;
            display: flex;
            flex-direction: column;
            gap: 14px;
            
            li {
              display: flex;
              align-items: center;
              gap: 10px;
              font-size: 16px;
              line-height: 24px;
              color: var(--black);
              
              .bullet-icon {
                width: 40px;
                height: 40px;
                border-radius: 50%;
                flex-shrink: 0;
                background: #846A92;
                color: var(--white);
                margin-top: 2px;
                position: relative;

                svg {
                  position: absolute;
                  width: 17px;
                  /* height: 17px; */
                  top: 50%;
                  left: 50%;
                  transform: translate(-50%, -50%);
                }
              }
            }
          }
          
          
        }

        /* ===== Right Column ===== */
        .col-right {
          background: var(--gray-100);
          border-radius: 12px;
          padding: 32px;

          position: relative;

          .form-heading {
            font-size: 20px;
            line-height: 28px;
            font-weight: 600;
            color: #000;
            margin-bottom: 8px;
          }

          .form-subheading {
            font-size: 16px;
            line-height: 24px;
            font-weight: 400;
            color: var(--black);
            margin-bottom: 24px;
          }

          /* ===== Radio Cards ===== */
          .radio-cards {
            display: flex;
            flex-direction: column;
            gap: 12px;
            
            .radio-card {
              cursor: pointer;
              display: block;
              
              input[type="radio"] {
                position: absolute;
                opacity: 0;
                pointer-events: none;
                visibility: visible;
                
                &:focus + .card-body,
                &:checked + .card-body {
                  border-color: var(--purple-brand);
                  background: rgba(107, 63, 160, 0.04);
                  box-shadow: 0 0 0 1px var(--purple-brand);
                }
              }
              
              .card-body {
                display: flex;
                align-items: center;
                padding: 20px 24px;
                border: 1px solid var(--gray-200);
                border-radius: 8px;
                background: var(--white);
                transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
                
                &:hover {
                  border-color: var(--gray-400);
                }
                
                .card-label {
                  font-size: 18px;
                  line-height: 28px;
                  font-weight: 400;
                  color: var(--black);
                }
              }
            }
          }
          
          /* Next button inside card area */
          .card-nav {
            display: flex;
            justify-content: flex-end;
            margin-top: 20px;
          }

          /* ===== Range Sliders ===== */
          .slider-group {
            display: flex;
            flex-direction: column;
            gap: 28px;
            
            .slider-item {
              display: flex;
              flex-direction: column;
              gap: 10px;

              .slider-label {
                font-size: 0.9rem;
                color: var(--black);
                display: block;
                
                & strong {
                  font-weight: 700;
                }
              }

              .checkbox-not-applicable {
                display: flex;

                input[type="checkbox"] {
                  visibility: visible;
                  position: relative;
                  margin: 0;
                  margin-inline-end: 5px;
                }

                strong {
                  color: #495057;
                  font-family: var(--Oracle-Font);
                  font-size: 0.8rem;
                }
              }

              /* Slider row: track on left, input box on right */
              .slider-row {
                display: flex;
                align-items: center;
                gap: 16px;
                
                .slider-track-wrap {
                  flex: 1;
                  min-width: 0;

                  /* Range input styling */
                  input[type="range"] {
                    -webkit-appearance: none;
                    appearance: none;
                    width: 100%;
                    height: 6px;
                    border-radius: 3px;
                    background: var(--gray-200);
                    outline: none;
                    cursor: pointer;

                    &::-webkit-slider-runnable-track {
                      height: 6px;
                      border-radius: 3px;
                    }
                
                    &::-webkit-slider-thumb {
                      -webkit-appearance: none;
                      appearance: none;
                      width: 20px;
                      height: 20px;
                      border-radius: 50%;
                      background: var(--purple-brand);
                      border: 3px solid var(--white);
                      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
                      margin-top: -7px;
                      cursor: pointer;
                      transition: transform 0.15s ease, box-shadow 0.15s ease;

                      &:hover {
                        transform: scale(1.15);
                        box-shadow: 0 2px 8px rgba(107, 63, 160, 0.35);
                      }
                    }
                
                    &::-moz-range-track {
                      height: 6px;
                      border-radius: 3px;
                      background: var(--gray-200);
                    }
                
                    &::-moz-range-thumb {
                      width: 16px;
                      height: 16px;
                      border-radius: 50%;
                      background: var(--purple-brand);
                      border: 3px solid var(--white);
                      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
                      cursor: pointer;
                    }
                
                    &::-moz-range-progress {
                      background: var(--purple-brand);
                      height: 6px;
                      border-radius: 3px;
                    }

                    &:focus-visible {
                      outline: 1px dashed var(--purple-brand);
                      outline-offset: 10px;
                    }

                    &.disabled {
                      background: var(--gray-200);
                      cursor: not-allowed;
                      pointer-events: none;

                      &::-webkit-slider-thumb {
                        background: var(--gray-400);
                        cursor: not-allowed;
                        box-shadow: none;
                      }

                      &::-moz-range-thumb {
                        background: var(--gray-400);
                        cursor: not-allowed;
                        box-shadow: none;
                      }
                    }
                  }

                  .slider-range {
                    display: flex;
                    justify-content: space-between;
                    font-size: 0.75rem;
                    color: var(--gray-400);
                    margin-top: 2px;

                    span {
                      color: #161513a6;
                    }
                  }
                }
                
                .slider-input {
                  width: 90px;
                  flex-shrink: 0;
                  padding: 8px 10px;
                  border: 1px solid var(--gray-200);
                  border-radius: 6px;
                  background: var(--white);
                  font-size: 0.9rem;
                  font-weight: 600;
                  color: var(--gray-800);
                  text-align: center;
                  outline: none;
                  transition: border-color 0.2s ease;
                  
                  &:focus {
                    border-color: var(--purple-brand);
                    box-shadow: 0 0 0 2px rgba(107, 63, 160, 0.15);
                  }

                  &.disabled {
                    background: var(--gray-200);
                    color: var(--gray-400);
                    cursor: not-allowed;
                  }
                }
              }
            }
          }

          /* ===== Navigation Buttons ===== */
          .section-nav {
            position: absolute;
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            max-width: var(--max-width);
            margin-top: 24px;
            padding: 0;
            left: 0;
            bottom: -64px;
            
            .btn {
              display: inline-flex;
              align-items: center;
              gap: 8px;
              padding: 12px;
              border: none;
              border-radius: 8px;
              font-size: 0.9rem;
              font-weight: 600;
              cursor: pointer;
              transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
              font-family: var(--Oracle-Font);
    
              @media (width >= 768px) {
                padding-inline: 28px;
              }
              
              &:focus {
                outline: 1px dashed var(--purple-brand);
                outline-offset: 3px;
              }

              &:active {
                transform: scale(0.97);
              }
    
              &.btn-back {
                background: transparent;
                color: var(--black);
                border: 1px solid var(--gray-200);
                
                &:hover {
                  background: var(--white);
                  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
                }
              }
    
              &.btn-next,
              &.btn-calculate {
                background: var(--purple-dark);
                color: var(--white) !important;
                margin-left: auto;
                border-radius: 6px;
                text-decoration: none;
                
                &:hover {
                  background: #1a1714;
                  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
                }
    
                &:disabled {
                  background: var(--gray-200);
                  color: var(--gray-500) !important;
                  cursor: not-allowed;
                  box-shadow: none;
                }
              }
              
              &.btn-calculate {
                padding: 12px;
                font-size: 0.9rem;
    
                @media (width >= 968px) {
                  padding-inline: 36px;
                }
              }
            }
          }

        }
      }

    }
  }
}

/* ===== Feature Cards Section ===== */
.feature-cards-section {
  background: #F1EFED;
  padding: 48px 24px;

  .feature-cards-inner {
    max-width: var(--max-width);
    margin: 0 auto;

    .feature-cards-grid {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      gap: 32px;

      @media (width >= 768px) {
        grid-template-columns: repeat(2, 1fr);
      }

      .feature-card {
        background: var(--white);
        border: 1px solid rgba(63, 58, 54, 0.2);
        border-radius: 6px;
        padding: 24px;

        .feature-card-title {
          font-size: 30px;
          font-weight: 300;
          line-height: 42px;
          color: var(--black);
          margin-bottom: 8px;
        }
        
        .feature-card-desc {
          font-size: 16px;
          line-height: 24px;
          font-weight: 400;
          color: var(--black);
          margin-bottom: 24px;
        }
        
        .feature-card-list {
          list-style: none;
          display: flex;
          flex-direction: column;
          gap: 24px;
          
          li {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 16px;
            line-height: 24px;
            font-weight: 400;
            color: var(--black);
            
            .feature-icon {
              flex-shrink: 0;
              width: 40px;
              height: 40px;
              border-radius: 50%;
              background: #846A92;
              color: var(--white);
              display: flex;
              align-items: center;
              justify-content: center;
              margin-top: 0;

              svg {
                height: 17px;
              }
            }
          }
        }
      }
    }
  }
}

/* ===== Phrases Carousel ===== */
.phrases-section {
  /* background: linear-gradient(135deg, #6B5B7A 0%, #7A6B8A 50%, #6B5B7A 100%); */
  background: #594564;
  padding: 48px 24px;
  position: relative;

  .phrases-inner {
    max-width: 900px;
    margin: 0 auto;
    /* text-align: center; */
    
    .phrases-carousel {
      position: relative;
      min-height: 280px;
      margin-bottom: 32px;
      
      .phrase-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0;
        transition: opacity 0.6s ease-in-out;
        pointer-events: none;

        &.active {
          opacity: 1;
          pointer-events: auto;
        }
        
        .phrase-quote {
          display: flex;
          flex-direction: column;
          align-items: flex-start;
          gap: 16px;
          
          p {
            font-family: "Georgia";
            color: var(--white);
            font-size: 30px;
            line-height: 42px;
            font-weight: 400;
            max-width: 994px;
            margin: 0;
          }
          
          footer {
            background: none;
            display: flex;
            flex-direction: column;
            gap: 4px;
            
            strong {
              font-family: var(--Oracle-Font);
              color: var(--white);
              font-size: 20px;
              line-height: 28px;
              font-weight: 600;
            }
            
            span {
              font-family: var(--Oracle-Font);
              color: rgba(255, 255, 255, 0.65);
              font-size: 14px;
              line-height: 22px;
              font-weight: 600;
            }
          }
          
        }
      }
    }
  }
  
  .carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;

    width: fit-content;
    margin-inline: auto;
    padding: 16px;
    background: rgba(22, 21, 19, 0.65);
    border-radius: 50px;
    
    .dot {
      width: 13px;
      height: 13px;
      border-radius: 50%;
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.3);
      cursor: pointer;
      transition: background 0.3s ease, transform 0.2s ease;
      padding: 0;
      
      &:hover {
        background: rgba(255, 255, 255, 0.5);
        transform: scale(1.1);
      }
      
      &.active {
        background: var(--white);
      }
      
      &.pause-btn {
        background: none;
        border: none;
        border-radius: 8px;
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 8px;
        
        &:hover {
          background: rgba(0, 0, 0, 0.6);
          transform: scale(1.05);
        }
      }
      
    }
  }
  
}

/* ===== Disclaimer ===== */
.disclaimer { 
  background: var(--white);
  padding-block: 40px;
  border-bottom: 1px solid var(--gray-200);
  
  .disclaimer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-inline: 15px;

    @media (width >= 479px) {
      padding-inline: 30px;
    }
    
    .disclaimer-heading {
      font-size: 12px;
      line-height: 20px;
      font-weight: 700;
      color: var(--black);
      margin-bottom: 12px;
    }
    
    p {
      font-size: 12px;
      line-height: 20px;
      color: var(--black);
      margin-bottom: 8px;
      
      &:last-child {
        margin-bottom: 0;
      }
    }
    
  }
  
}

footer {
  color: var(--footer-text);
  font-size: 14px;
  background: var(--white);

  & .main-container{
    padding: 0;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
    width: var(--max-width);
    max-width: 100%;
    height: auto;
    display: block;


    @media only screen and (min-width: 479px) {
      padding-left: 30px;
      padding-right: 30px;
    }
    
    & > div{
      padding: 55px 0;

      & .tbg-container-fluid.tp-footer {
        text-align: left;
        float: none !important;
      }

      & .rev-tagline-div{
        display: none;
      }

      & a, & .cleanFooterLinks a {
        color: var(--footer-text) !important;
        text-decoration: none !important;
      }
    }
  }

  .u10w5 {
    ul {

      &.u10-links>li:first-child a {
        padding-left: 0 !important;
      }

      li {
        a {
          font-size: 14px;
          line-height: 18px;
          font-family: var(--Oracle-Font);
          color: var(--footer-text) !important;
          padding-inline-start: 8px !important;
          padding-inline-end: 8px !important;
        }
        
        > a {
          border-right: 1px solid var(--footer-text);
        }
      }
    }

    .footer-disclaimer {
      display: block;
      width: 100%;
      padding-top: 5px;
      font-size: 14px;
      line-height: 18px;
      font-family: var(--Oracle-Font);
    }
  }
}