/* Import Manrope Font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

:root {
  --primary-blue: #006cfa;
  --cyan-blue: #00bff2;
  --brand-orange: #f7971d;
  --dark-navy: #001152;
  --charcoal: #3d3c47;
  --black: #101010;
  --white: #ffffff;
  --gray-bg: #eeeef4;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --font-family: 'Manrope', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--white);
  overflow-x: hidden;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 5%;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header__logo-link {
  display: inline-block;
  height: 4rem;
}

.header__logo {
  height: 100%;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.header__menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.header__menu-link {
  color: var(--white);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  transition: opacity 0.2s;
  opacity: 0.85;
}

.header__menu-link:hover {
  opacity: 1;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  padding: 1.2rem 2.4rem;
  border-radius: 3rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn--black {
  background-color: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn--black:hover {
  background-color: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn--blue {
  background-color: var(--cyan-blue);
  color: var(--white);
  border-color: var(--cyan-blue);
}

.btn--blue:hover {
  background-color: var(--brand-orange);
  color: var(--black);
  border-color: var(--brand-orange);
}

.btn--circle-blue {
  padding: 1.5rem 3rem;
  border-radius: 5rem;
  background-color: var(--cyan-blue);
  color: var(--white);
  display: flex;
  gap: 1.5rem;
  font-size: 1.6rem;
}

.btn--circle-blue:hover {
  background-color: var(--brand-orange);
  color: var(--black);
}

.btn--circle-blue .btn__icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transition: transform 0.3s;
}

.btn--circle-blue:hover .btn__icon-box {
  transform: translateX(5px);
  background-color: rgba(0, 0, 0, 0.1);
}

.btn__arrow-svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
  font-family: var(--font-family);
  z-index: 100;
}
.lang-dropdown__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.6rem;
  border-radius: 3rem;
  border: 1px solid rgba(0, 17, 82, 0.1);
  background: var(--white);
  color: var(--dark-navy);
  font-weight: 700;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-dropdown__btn:hover {
  background: rgba(0, 17, 82, 0.05);
}
.lang-dropdown__icon {
  width: 1.6rem;
  height: 1.6rem;
}
.lang-dropdown__menu {
  position: absolute;
  top: 110%;
  right: 0;
  background: var(--white);
  border: 1px solid rgba(0, 17, 82, 0.1);
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  min-width: 100px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s;
}
.lang-dropdown:hover .lang-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-dropdown__menu button,
.lang-dropdown__menu a {
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--dark-navy);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  display: block;
  transition: background 0.2s;
}
.lang-dropdown__menu button:hover,
.lang-dropdown__menu a:hover {
  background: rgba(0, 17, 82, 0.05);
}
.lang-dropdown__menu button:first-child,
.lang-dropdown__menu a:first-child {
  border-radius: 1rem 1rem 0 0;
}
.lang-dropdown__menu button:last-child,
.lang-dropdown__menu a:last-child {
  border-radius: 0 0 1rem 1rem;
}

/* ==========================================================================
   Liquid Gradient Animated Background
   ========================================================================== */
.hero-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: 12rem;
  padding-bottom: 8rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.gradient-bg {
  display: none;
}

.gradient-bg svg {
  display: none;
}

.gradient-bg__container {
  filter: url(#goo) blur(40px);
  width: 100%;
  height: 100%;
  position: relative;
}

.gradient-bg__g1,
.gradient-bg__g2,
.gradient-bg__g3,
.gradient-bg__g4,
.gradient-bg__g5 {
  position: absolute;
  width: 70vw;
  height: 70vw;
  max-width: 800px;
  max-height: 800px;
  border-radius: 50%;
  opacity: 0.75;
}

.gradient-bg__g1 {
  background: radial-gradient(circle at center, rgba(247, 151, 29, 0.45) 0, rgba(247, 151, 29, 0) 50%) no-repeat;
  top: -10%;
  left: -10%;
  animation: moveVertical 25s ease infinite;
}

.gradient-bg__g2 {
  background: radial-gradient(circle at center, rgba(0, 191, 242, 0.45) 0, rgba(0, 191, 242, 0) 50%) no-repeat;
  top: 40%;
  left: 50%;
  animation: moveInCircle 20s reverse infinite;
}

.gradient-bg__g3 {
  background: radial-gradient(circle at center, rgba(0, 108, 250, 0.6) 0, rgba(0, 108, 250, 0) 50%) no-repeat;
  top: 20%;
  left: 20%;
  animation: moveHorizontal 30s ease infinite;
}

.gradient-bg__g4 {
  background: radial-gradient(circle at center, rgba(247, 151, 29, 0.35) 0, rgba(247, 151, 29, 0) 50%) no-repeat;
  top: -20%;
  left: 40%;
  animation: moveInCircle 35s linear infinite;
}

.gradient-bg__g5 {
  background: radial-gradient(circle at center, rgba(0, 191, 242, 0.4) 0, rgba(0, 191, 242, 0) 50%) no-repeat;
  top: 50%;
  left: -10%;
  animation: moveVertical 18s ease infinite;
}

@keyframes moveVertical {
  0% { transform: translateY(-30%) scale(1); }
  50% { transform: translateY(30%) scale(1.1); }
  100% { transform: translateY(-30%) scale(1); }
}

@keyframes moveHorizontal {
  0% { transform: translateX(-20%) translateY(-10%); }
  50% { transform: translateX(20%) translateY(10%); }
  100% { transform: translateX(-20%) translateY(-10%); }
}

@keyframes moveInCircle {
  0% { transform: rotate(0deg) translate(-10%, -10%); }
  50% { transform: rotate(180deg) translate(10%, 10%); }
  100% { transform: rotate(360deg) translate(-10%, -10%); }
}

/* ==========================================================================
   Layout Grid & Typography
   ========================================================================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: flex-start;
}

.hero-text {
  color: var(--dark-navy);
  padding-top: 4rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.6rem;
  background-color: rgba(0, 17, 82, 0.05);
  border: 1px solid rgba(0, 17, 82, 0.1);
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-pill i {
  color: var(--cyan-blue);
  font-style: normal;
}

.hero-title {
  font-size: clamp(3.6rem, 4vw, 5.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.8rem;
  opacity: 0.85;
  margin-bottom: 4rem;
  max-width: 500px;
}

/* ==========================================================================
   Calculator Card Styles
   ========================================================================== */
.calc-card {
  background: rgba(240, 240, 245, 0.95);
  border-radius: 2.4rem;
  padding: 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 
              inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: var(--black);
  position: relative;
  backdrop-filter: blur(10px);
}

.calc-card::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 2.7rem;
  padding: 3px;
  background: linear-gradient(135deg, var(--brand-orange), var(--cyan-blue), var(--dark-navy));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.calc-card__title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-card__title-highlight {
  color: var(--primary-blue);
}

/* Calculator Inputs Group */
.calc-group {
  margin-bottom: 3.5rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.calc-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Custom Number Input Field */
.calc-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-number-input {
  width: 17rem;
  padding: 1rem 1.6rem;
  border-radius: 1rem;
  border: 2px solid #dee4ec;
  font-family: var(--font-family);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--black);
  text-align: right;
  padding-right: 3.5rem;
  transition: border-color 0.2s;
  outline: none;
}

.calc-number-input:focus {
  border-color: var(--primary-blue);
}

.calc-input-symbol {
  position: absolute;
  right: 1.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal);
}

/* Value display bubble */
.calc-value-display {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-blue);
}

/* Custom Range Slider Styles */
.slider-container {
  position: relative;
  width: 100%;
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: #dee4ec;
  outline: none;
  margin: 1.5rem 0;
  cursor: pointer;
  transition: background 0.1s;
}

.range-slider::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  background: transparent !important;
  border: none;
  height: 6px;
}

.range-slider::-moz-range-track {
  background: transparent !important;
  border: none;
  height: 6px;
}

/* Styled Handle (Thumb) */
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--primary-blue);
  box-shadow: 0 2px 5px rgba(0, 0, 250, 0.2);
  transition: transform 0.15s, background-color 0.15s;
  margin-top: -0.8rem;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #f0f6ff;
  box-shadow: 0 2px 8px rgba(0, 108, 250, 0.3);
}

.range-slider::-moz-range-thumb {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--primary-blue);
  box-shadow: 0 2px 5px rgba(0, 0, 250, 0.2);
  cursor: pointer;
  transition: transform 0.15s, background-color 0.15s;
}

.range-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  background: #f0f6ff;
  box-shadow: 0 2px 8px rgba(0, 108, 250, 0.3);
}

/* Locked Slider Styles */
.range-slider--locked {
  pointer-events: none;
}

.range-slider--locked::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 4px;
  background-color: #edf2f7;
  border: 2px solid #cbd5e0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23718096'><path d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.2rem;
  box-shadow: none;
  transform: none !important;
  cursor: not-allowed;
  margin-top: -0.8rem;
}

.range-slider--locked::-moz-range-thumb {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 4px;
  background-color: #edf2f7;
  border: 2px solid #cbd5e0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23718096'><path d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.2rem;
  box-shadow: none;
  transform: none !important;
  cursor: not-allowed;
}

/* Custom style override for IRIS Pay slider (light cyan-blue) */
.range-slider--locked.range-slider--iris::-webkit-slider-thumb {
  border-color: var(--cyan-blue) !important;
  background-color: #f0f6ff !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300bff2'><path d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/></svg>") !important;
  margin-top: -0.8rem;
}

.range-slider--locked.range-slider--iris::-moz-range-thumb {
  border-color: var(--cyan-blue) !important;
  background-color: #f0f6ff !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300bff2'><path d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/></svg>") !important;
}

/* Slider scale text (Min / Max) */
.slider-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.slider-scale span {
  font-size: 1.2rem;
  font-weight: 600;
  color: #718096;
}

/* Locked slider warning badge */
.locked-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: #edf2f7;
  border-radius: 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #4a5568;
}

.locked-badge-icon {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* ==========================================================================
   Calculator Results
   ========================================================================== */
.calc-results {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid #e2e8f0;
}

.results-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.results-label {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
}

.results-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
}

.results-row--savings {
  background-color: #f7fafc;
  border: 1px solid #edf2f7;
  border-radius: 1.6rem;
  padding: 2.5rem;
  margin-top: 2.5rem;
  margin-bottom: 3.5rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.results-row--savings .results-label {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.results-savings-badge {
  background-color: rgba(247, 151, 29, 0.15);
  color: var(--brand-orange);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
}

.results-value--savings {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
}

.results-value--savings span {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-left: 0.5rem;
}

/* Call to Action Button */
.calc-cta {
  width: 100%;
  font-size: 1.8rem;
  padding: 1.6rem;
  border-radius: 1.6rem;
  box-shadow: 0 10px 20px rgba(0, 191, 242, 0.2);
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */
.footer {
  background-color: #010414;
  color: rgba(255, 255, 255, 0.6);
  padding: 6rem 0 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 6rem;
  margin-bottom: 5rem;
}

.footer-brand p {
  margin-top: 2rem;
  font-size: 1.4rem;
  max-width: 300px;
}

.footer-title {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1.2rem;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.3rem;
}

.footer-legal-links {
  display: flex;
  gap: 2.5rem;
}

.footer-legal-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--white);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 6rem;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .btn--circle-blue {
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 2rem 5%;
  }
  
  .calc-card {
    padding: 3rem 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}

/* Secret Modal */
.secret-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.secret-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.secret-modal {
  background: var(--white);
  padding: 3rem;
  border-radius: 2rem;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  color: var(--dark-navy);
}
.secret-modal h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}
.secret-modal label {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.secret-modal input {
  width: 100%;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #ccc;
  font-size: 1.6rem;
}
