@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter Tight", "Inter Tight Fallback";
}
h1 {
    color: #fff;
    direction: ltr;
    font-family: "Inter Tight", "Inter Tight Fallback";
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    font-size: 60px;
    line-height: 1.2;
}
.hero-text p {
    color: #fff;
    direction: ltr;
    font-family: Inter, "Inter Fallback";
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    line-height: 2;
}
/* HERO */
.hero {
  height: 100vh;
  background: url('../images/bg-hero.webp') no-repeat center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #454fa7;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  gap: 40px;
  padding-bottom: 10vw;
}

.hero-text {
  flex: 1;
  color: white;
}

.hero-form {
  flex: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}
.hero-content {
  position: relative;
  color: white;
  text-align: center;
}
.form-card {
  margin-top: 20px;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  overflow: hidden;
}
.step {
  transition: all 0.3s ease;
}
.step h3 {
  color: #1e3a5f;
  margin-bottom: 20px;
}
.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.option-btn {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #2b6cb0;
  color: white;
  cursor: pointer;
  transition: 0.2s;
}
.option-btn:hover {
  background: #1e4e8c;
}
.step-footer {
  margin-top: 15px;
  font-size: 14px;
  color: #777;
}
input {
  padding: 10px;
  margin-bottom: 10px;
  width: 100%;
}
@media(max-width: 600px){
  .form-card {
    padding: 20px;
  }

  .option-btn {
    width: 100%;
  }
  .hero-inner {
    flex-direction: column-reverse;
    max-width: 100%;
    padding: 7vw;
}
.hero-inner .hero-text {
    background: #434ca3;
    padding: 5vw;
    border-radius: 25px;
}
.hero-inner .hero-text h1 {
    font-size: 30px;
}
.hero-inner .hero-form {
    background: #0000;
    border-radius: 25px;
    padding: 0vw;
}
.hero-inner .hero-form .form-card {
    margin-top: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}
section.hero {
    background-position: 70% 100%;
    position: relative;
    z-index: 1;
}
.hero-overlay {
    position: relative;
}
section.hero::before {
    content: '';
    background: #000;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: -1;
}
.hero-inner .hero-form .form-card {
    padding: 40px 20px;
}
.option-btn {
    font-size: 14px !IMPORTANT;
}
}
.form-wrapper {
  width: 100%;
  max-width: 600px;
}
.form-card {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  position: relative;
  width: 100%;
}
.question {
  font-size: 22px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-badge {
  background: #1e3a8a;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
}
.options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.option-btn {
  padding: 14px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #f9fafb;
  text-align: left;
  display: flex;
  gap: 10px;
  cursor: pointer;
  color: #0a3270;
  font-size: 16px;
  line-height: 1.45;
}
.option-btn.active {
  border: 2px solid #1e3a8a;
  background: #eef2ff;
}
.key {
  background: #e5e7eb;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.option-btn:hover {
    color: #fff;
}
.option-btn.active:hover {
    color: #000;
}
.option-btn:hover span.key {
    color: #000;
}
.ok-btn {
  margin-top: 25px;
  padding: 10px 40px;
  border-radius: 999px;
  border: none;
  background: #1b52b2;
  color: white;
  cursor: pointer;
  font-size: 16px;
  transition: 0.2s;
}
.ok-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.nav {
  gap: 5px;
}
.nav-btn {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  border: none;
  background: #1e3a8a;
  color: white;
}
.inputs input {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 14px;
  border-radius: 999px;
  border: 1px solid #0a327080;
  background: #f9fafb;
  text-align: left;
  color: #0a3270;
  font-size: 16px;
  line-height: 1.45;
}
.fade-in {
  animation: fadeIn 0.3s ease;
}
.fade-out {
  animation: fadeOut 0.25s ease forwards;
}
@keyframes fadeIn {
  from {opacity:0; transform:translateY(20px);}
  to {opacity:1; transform:translateY(0);}
}
@keyframes fadeOut {
  to {opacity:0; transform:translateY(-20px);}
}
.nav {
  display: flex;
  gap: 6px;
}
.nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: #1e3a8a;
  color: white;
  cursor: pointer;
  transition: 0.2s;
}
.nav-btn.disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  opacity: 0.7;
}
div#solarForm .question span.step-badge {
    display: none;
}
div#solarForm .question {
    text-align: center;
    justify-content: center;
}
.success {
  text-align: center;
  padding: 40px 20px;
}
.success-icon {
  width: 60px;
  height: 60px;
  background: #1b52b2;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}
.progress-bar {
  width: 100%;
  height: 4px;
  background: #e5e7eb;
  border-radius: 10px;
  margin-bottom: 25px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: #1e3a8a;
  transition: width 0.3s ease;
}
.progress-fill {
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
input {
    border: none;
    border-bottom: 2px solid #1b52b2;
    padding: 8px 4px;
    font-size: 16px;
    outline: none;
    transition: 0.2s;
}
.nav button.nav-btn.next {
    display: none;
}
.nav button.nav-btn.prev {
    transform: rotate(-90deg);
}
.btn-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}
.btn-box .nav {
    margin-top: 25px;
}
.debug-data {
  text-align: left;
  background: #f3f4f6;
  padding: 10px;
  margin-top: 20px;
  font-size: 12px;
  border-radius: 6px;
}
.form-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.tab-btn {
  padding: 10px 18px;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}
.tab-btn:hover {
  background: #f3f4f6;
}
.tab-btn.active {
  background: #1b52b2;
  color: #fff;
  border-color: #1b52b2;
}
section.hero {
    background: none;
    background-color: #0000;
}
section.hero .hero-inner {
    padding: 0;
    max-width: 100%;
    gap: 0;
    width: 100%;
}
section.hero .hero-inner .hero-text {
    display: none;
}
section.hero .hero-inner .hero-form .form-card {
    margin-top: 0;
}
div#solarForm .question {
    color: #000;
}