.result-premium-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    margin-bottom: 10px;
  }
  .result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #e0f7fa 60%, #f8fafc 100%);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 2px 8px #43cea222;
    font-size: 1.13rem;
    font-weight: 600;
    margin-bottom: 2px;
    border: 1.5px solid #e0e7ff;
  }
  .result-icon {
    font-size: 1.35em;
    margin-right: 10px;
    opacity: 0.85;
  }
  .result-label {
    flex: 1 1 0;
    text-align: left;
    color: #1976d2;
    font-weight: 700;
    letter-spacing: 0.2px;
  }
  .reset-btn, .form-reset-btn {
    margin: 10px auto 0 auto;
    display: block;
    background: linear-gradient(90deg,#fff,#e0e7ff 80%);
    color: #1976d2;
    border: 2px solid #43cea2;
    border-radius: 14px;
    padding: 13px 0;
    font-size: 1.08rem;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 2px 12px #43cea233;
    transition: background 0.2s, color 0.2s, transform 0.2s, border 0.2s;
    letter-spacing: 1px;
    outline: none;
  }
  .reset-btn:hover, .form-reset-btn:hover, .reset-btn:focus, .form-reset-btn:focus {
    background: linear-gradient(90deg,#43cea2,#1976d2);
    color: #fff;
    border: 2px solid #1976d2;
    transform: scale(1.045);
    box-shadow: 0 4px 24px #43cea244;
  }
  @media (min-width: 900px) {
    .sip-calc-layout {
      flex-direction: row;
      align-items: flex-start;
      justify-content: center;
      gap: 40px;
    }
    .sip-card.premium {
      flex: 1 1 0;
      max-width: 420px;
    }
    #result.premium-result {
      flex: 1 1 0;
      max-width: 420px;
      min-width: 320px;
      margin-top: 0;
      margin-left: 0;
      background: linear-gradient(135deg, #e3f2fd 60%, #fff 100%);
      box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10), 0 1.5px 8px #43cea233;
      border-radius: 32px;
      padding: 40px 28px 20px 28px;
      text-align: center;
      animation: fadeIn 1.2s cubic-bezier(.4,2,.3,1);
      border: 2.5px solid #43cea2;
      position: relative;
      min-height: 320px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
    }
  }
  margin: 18px auto 0 auto;
  display: block;
  background: #fff;
  color: #1976d2;
  border: 2px solid #1976d2;
  border-radius: 8px;
  padding: 10px 0;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 2px 8px #1976d233;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  letter-spacing: 1px;
}
 .reset-btn:hover {
  background: #1976d2;
  color: #fff;
  transform: scale(1.03);
}
.advanced-toggle, .premium-adv-btn {
  margin: 0 auto 10px auto;
  display: block;
  background: linear-gradient(90deg,#e0e7ff 60%,#43cea2 100%);
  color: #1976d2;
  border: 2px solid #43cea2;
  border-radius: 14px;
  padding: 13px 0;
  font-size: 1.13rem;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 2px 12px #43cea233;
  transition: background 0.2s, color 0.2s, transform 0.2s, border 0.2s;
  letter-spacing: 1px;
  outline: none;
    flex-direction: column;
    gap: 32px;
.advanced-toggle:hover, .premium-adv-btn:hover, .advanced-toggle:focus, .premium-adv-btn:focus {
  background: linear-gradient(90deg,#43cea2,#1976d2);
  color: #fff;
  border: 2px solid #1976d2;
  transform: scale(1.045);
  box-shadow: 0 4px 24px #43cea244;
}
.advanced-toggle::before, .premium-adv-btn::before {
  content: '⚡';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  opacity: 0.7;
}
.advanced-title {
  font-size: 1.18rem;
  color: #1976d2;
  font-weight: 800;
  margin: 18px 0 10px 0;
  text-align: center;
  letter-spacing: 1px;
}
#advancedSection {
  margin-top: 0;
  padding: 0 0 10px 0;
  background: #f7fafd;
  border-radius: 12px;
  box-shadow: 0 2px 8px #1976d211;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}
.goal-progress {
  width: 100%;
  margin: 10px 0 0 0;
  text-align: center;
}
.goal-label {
  font-size: 1.08rem;
  color: #1976d2;
  font-weight: 600;
  margin-bottom: 4px;
}
    .sip-calc-layout {
      flex-direction: row;
      align-items: flex-start;
      justify-content: center;
      gap: 56px;
      width: 100vw;
      max-width: 1200px;
      margin: 0 auto;
    }
    .sip-card.premium {
      flex: 0 0 70%;
      max-width: 70vw;
      min-width: 340px;
      margin-right: 0;
    }
    #result.premium-result {
      flex: 0 0 30%;
      max-width: 30vw;
      min-width: 320px;
      margin-top: 0;
      margin-left: 0;
      background: linear-gradient(135deg, #e3f2fd 60%, #fff 100%);
      box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10), 0 1.5px 8px #43cea233;
      border-radius: 32px;
      padding: 40px 28px 20px 28px;
      text-align: center;
      animation: fadeIn 1.2s cubic-bezier(.4,2,.3,1);
      border: 2.5px solid #43cea2;
      position: relative;
      min-height: 320px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
    }
  font-weight: 600;
  margin-bottom: 4px;
}
.goal-bar-bg {
  width: 100%;
  max-width: 320px;
  height: 16px;
  background: #e3f2fd;
  border-radius: 8px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 1px 4px #1976d233;
}
.goal-bar {
  height: 100%;
  background: linear-gradient(90deg,#43cea2,#1976d2);
  border-radius: 8px 0 0 8px;
  transition: width 0.7s cubic-bezier(.4,2,.3,1);
}
.simple-details {
  text-align: center;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.circle-invest {
  stroke: #43cea2;
  stroke-width: 16;
  stroke-linecap: round;
  transition: stroke-dasharray 1s cubic-bezier(.4,2,.3,1);
}
.circle-return {
  stroke: #1976d2;
  stroke-width: 16;
  stroke-linecap: round;
  transition: stroke-dasharray 1s cubic-bezier(.4,2,.3,1);
}
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #e0e7ff 0%, #f8fafc 100%);
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html, body {
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}
.powered-by-below {
  margin-bottom: 18px;
}
.powered-by {
  display: inline-block;
  background: #fff;
  color: #1976d2;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 16px;
  padding: 7px 22px;
  box-shadow: 0 2px 12px #1976d244;
  letter-spacing: 1px;
  border: 2px solid #1976d2;
}
.container {
  width: 100vw;
  min-height: 90vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  padding: 0;
  overflow-x: hidden;
}
.sip-card.premium {
  background: rgba(255,255,255,0.75);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.13), 0 1.5px 8px #43cea233;
  border-radius: 32px;
  padding: 44px 32px 28px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  animation: fadeIn 1.2s cubic-bezier(.4,2,.3,1);
  border: 1.5px solid rgba(67,206,162,0.18);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transition: box-shadow 0.3s, border 0.3s;
}
.sip-card.premium::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 32px;
  background: linear-gradient(120deg, rgba(67,206,162,0.10) 0%, rgba(25,118,210,0.10) 100%);
  pointer-events: none;
}
.sip-card.premium > * {
  position: relative;
  z-index: 1;
}
.sip-logo-glow {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}
.sip-logo-glow img {
  width: 64px;
  height: 64px;
  filter: none;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #1976d2;
  box-shadow: 0 2px 12px #1976d244;
  padding: 6px;
}
.premium-title {
  margin: 0 0 10px 0;
  font-size: 2.3rem;
  color: #1976d2;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 12px #43cea244, 0 1.5px 8px #1976d244;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
}
.premium-tagline {
  color: #43cea2;
  font-size: 1.18rem;
  margin-bottom: 26px;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
}
.premium-btn {
  margin-top: 16px;
  background: linear-gradient(90deg,#43cea2,#1976d2);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 16px 0;
  font-size: 1.18rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 16px #1976d244;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  letter-spacing: 1px;
  outline: none;
  width: 100%;
  max-width: 320px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.premium-btn:hover, .premium-btn:focus {
  background: linear-gradient(90deg,#1976d2,#43cea2);
  color: #fff;
  transform: scale(1.045);
  box-shadow: 0 4px 24px #43cea244;
}
.premium-result {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 120px;
}
.circle-result {
  width: 220px;
  height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
  animation: popIn 0.7s cubic-bezier(.4,2,.3,1);
  background: #e3f2fd;
  border-radius: 50%;
  box-shadow: 0 2px 12px #1976d233;
  min-width: 180px;
  min-height: 180px;
}
.circle-svg {
  position: absolute;
  top: 0; left: 0;
  width: 220px;
  height: 220px;
  z-index: 1;
}
.circle-bg {
  stroke: #e3f2fd;
  stroke-width: 16;
  fill: #e3f2fd;
}
.circle-fg {
  stroke: url(#circle-gradient);
  stroke-width: 16;
  stroke-linecap: round;
  transition: stroke-dasharray 1s cubic-bezier(.4,2,.3,1);
}
.circle-center-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1976d2;
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
  z-index: 2;
  width: 140px;
}
.circle-center-label .main-amount {
  font-size: 2.1rem;
  font-weight: 900;
  color: #1976d2;
  margin-bottom: 2px;
  letter-spacing: 1px;
}
.circle-center-label .label {
  font-size: 1.08rem;
  color: #43cea2;
  font-weight: 700;
}
.circle-details {
  text-align: center;
  margin-top: 12px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.circle-details-below {
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.circle-details .sub {
  font-size: 1.08rem;
  color: #1976d2;
  margin-bottom: 2px;
  font-weight: 600;
  min-width: 170px;
  text-align: left;
}
.circle-details .note {
  font-size: 0.92rem;
  color: #888;
  margin-top: 8px;
  font-weight: 400;
  text-align: center;
  width: 100%;
}
@media (max-width: 700px) {
  .circle-result {
    width: 160px;
    height: 160px;
    min-width: 120px;
    min-height: 120px;
  }
  .circle-svg {
    width: 160px;
    height: 160px;
  }
  .circle-details .sub {
    font-size: 0.98rem;
    min-width: 120px;
  }
}
.premium-footer {
  margin-top: 22px;
  color: #1976d2;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-shadow: none;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.sip-card h1 {
  margin: 0 0 8px 0;
  font-size: 2rem;
  color: #1976d2;
  font-weight: 800;
  letter-spacing: 1px;
}
.tagline {
  color: #43cea2;
  font-size: 1.1rem;
  margin-bottom: 18px;
  font-weight: 500;
}
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}
label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.08rem;
  color: #1976d2;
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: 0.2px;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}
input[type="number"], input[type="text"], select {
  width: 100%;
  max-width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid #bdbdbd;
  margin-top: 6px;
  font-size: 1.08rem;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  background: rgba(255,255,255,0.85);
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  box-shadow: 0 1px 4px #1976d211;
  box-sizing: border-box;
  overflow-wrap: break-word;
}
input[type="number"]:focus, input[type="text"]:focus, select:focus {
  border: 1.5px solid #43cea2;
  box-shadow: 0 2px 8px #43cea244;
}
button[type="submit"] {
  margin-top: 10px;
  background: linear-gradient(90deg,#43cea2,#1976d2);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px #1976d233;
  transition: background 0.2s, transform 0.2s;
}
button[type="submit"]:hover {
  background: linear-gradient(90deg,#1976d2,#43cea2);
  transform: scale(1.03);
}
.result {
  margin-top: 18px;
  background: rgba(255,255,255,0.82);
  border-radius: 24px;
  padding: 28px 18px 18px 18px;
  color: #1976d2;
  font-size: 1.13rem;
  font-weight: 600;
  box-shadow: 0 4px 24px #43cea244;
  min-height: 40px;
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border: 1.5px solid rgba(67,206,162,0.13);
  transition: box-shadow 0.3s, border 0.3s;
}
footer {
  margin-top: 18px;
  color: #1976d2;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
}
@media (max-width: 900px) {
  .sip-calc-layout {
    flex-direction: column;
    gap: 18px;
    max-width: 100vw;
    width: 100vw;
    align-items: center;
    box-sizing: border-box;
    padding: 0 0 24px 0;
  }
  .sip-card.premium {
    max-width: 370px;
    width: 96vw;
    margin: 18px auto 0 auto;
    padding: 18px 4vw 10px 4vw;
    border-radius: 16px;
    font-size: 1rem;
    box-sizing: border-box;
    background: rgba(255,255,255,0.92);
    overflow-x: hidden;
    margin-bottom: 24px;
  }
  #result.premium-result {
    max-width: 370px;
    width: 96vw;
    margin: 24px auto 12px auto;
    border-radius: 16px;
    padding: 18px 10px 10px 10px;
    min-height: 0;
    font-size: 1rem;
    box-sizing: border-box;
    background: rgba(255,255,255,0.92);
  }
  .container {
    padding: 0;
    box-sizing: border-box;
  }
  .premium-title {
    font-size: 1.2rem;
  }
  .premium-btn, .advanced-toggle, .reset-btn {
    font-size: 1rem;
    padding: 10px 0;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .simple-details .sub, .goal-label {
    font-size: 0.98rem;
    min-width: 0;
  }
  .goal-bar-bg {
    max-width: 100vw;
    height: 12px;
  }
  .advanced-title {
    font-size: 1.05rem;
    margin: 12px 0 8px 0;
  }
  label, input[type="number"], select, input[type="text"] {
    font-size: 0.98rem;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
  }
  #advancedSection, #advancedForm {
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    overflow-x: hidden;
  }
}
