

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Root Variables */
:root {
  --primary-blue: #4abed6;
  --primary-dark: #2c9ab3;
  --secondary-blue: #5bc9e3;
  --bg-light: #f8fafb;
  --bg-white: #ffffff;
  --text-dark: #1a1f36;
  --text-secondary: #697386;
  --text-light: #8a94a6;
  --border-light: #e3e8ef;
  --success-green: #00d4aa;
  --warning-orange: #ffa940;
  --error-red: #ff6b6b;
  --excellent-green: #34c759;
  --good-green: #32ade6;
  --fair-yellow: #ffcc00;
  --poor-red: #ff3b30;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.16);
}

body {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  color: var(--text-dark);
}

.main-sticky-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.content-wrapper {
  padding-top: 80px; 
}

.mobile-app-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: calc(100vh - 80px);
}

.mobile-frame {
  width: 100%;
  max-width: 380px;
  background: var(--bg-white);
  border-radius: 25px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
  /* border: 12px solid #1a1a1a; */
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dummy-navbar {
  display: block;
}

@media (max-width: 480px) {
  body {
    padding: 0;
    background: var(--bg-white);
    overflow-x: hidden;
  }

  .content-wrapper {
    padding-top: 0;
  }

  .dummy-navbar {
    display: none;
  }

  .progress-steps-sticky {
    position: fixed;
    top: 80px; 
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--bg-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .mobile-app-container {
    padding: 0;
    margin: 0;
    min-height: 100vh;
  }

  .mobile-frame {
    margin-top: 100px;
    width: 100%;
    min-height: 90vh;
    border: none;
    border-radius: 0;
    max-width: 100%;
    box-shadow: none;
    animation: none;
    padding: 0;
  }

  .mobile-frame::before,
  .mobile-frame::after {
    display: none;
  }
  
  .content-container {
    padding: 20px;
    padding-top: 165px;
    min-height: 90vh;
    overflow-y: auto;
  }
}

/* Dummy Header */
.app-header {
  background: var(--bg-white);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.powered-by {
  margin-top: 15px;
  font-size: 9.5px;
  color: var(--text-light);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

.powered-by span {
  color: var(--primary-blue);
  font-weight: 600;
}

.progress-steps-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: var(--bg-light);
  gap: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  flex: 1;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  color: var(--text-light);
}

.step.active .step-circle {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: white;
  box-shadow: 0 4px 16px rgba(74, 190, 214, 0.4);
  transform: scale(1.05);
}

.step.completed .step-circle {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: white;
}

.step-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.step.active .step-label {
  color: var(--primary-blue);
  font-weight: 600;
}

.step-line {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border-light);
  z-index: 1;
}

.step:last-child .step-line {
  display: none;
}

.step.completed .step-line {
  background: var(--primary-blue);
}

.content-container {
  padding: 25px 20px;
  height: 520px;
  overflow-y: auto;
  background: var(--bg-white);
}

.content-container::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.content-container {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.screen {
  display: none;
  animation: fadeIn 0.5s ease;
}

.screen.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Screen 1: Details Form */
.screen-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.screen-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-label i {
  color: var(--primary-blue);
  font-size: 14px;
}

.required {
  color: var(--error-red);
  margin-left: 2px;
}

.optional-tag {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 400;
  background: var(--bg-light);
  padding: 2px 6px;
  border-radius: 4px;
}

.input-wrapper {
  position: relative;
}

.input-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  pointer-events: none;
}

.form-input {
  /* height: 40px; */
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-size: 14px;
  font-family: "Outfit", sans-serif;
  transition: all 0.3s ease;
  background: var(--bg-white);
  color: var(--text-dark);
}

.form-input.has-prefix {
  padding-left: 44px;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(74, 190, 214, 0.1);
}

.form-input::placeholder {
  color: var(--text-light);
  font-size: 13px;
}

/* Fixed Checkbox */
.consent-box {
  display: flex;
  gap: 10px;
  padding: 12px;
  background: var(--bg-light);
  border-radius: 10px;
  margin-bottom: 20px;
}

.consent-checkbox {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 2px solid var(--border-light);
  border-radius: 4px;
  background-color: var(--bg-white);
  position: relative;
  transition: all 0.3s ease;
}

.consent-checkbox:hover {
  border-color: var(--primary-blue);
}

.consent-checkbox:checked {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.consent-checkbox:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.consent-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.consent-text a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}

.consent-text a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  color: white;
  box-shadow: 0 4px 16px rgba(74, 190, 214, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(74, 190, 214, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-light);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background: var(--border-light);
}

.btn-group {
  display: flex;
  gap: 10px;
  margin-top: 10vh;
}

/* Screen 2: OTP Verification */
.icon-container {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(74, 190, 214, 0.1), rgba(91, 201, 227, 0.1));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.icon-container i {
  font-size: 30px;
  color: var(--primary-blue);
}

.otp-info {
  text-align: center;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-secondary);
}

.otp-info strong {
  color: var(--text-dark);
  font-weight: 600;
}

.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.experian-logo{
  width: 100px;
}

.experian-logo-footer{
  width: 70px;
}

.otp-input {
  width: 44px;
  height: 50px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-family: "Space Mono", monospace;
  transition: all 0.3s ease;
  background: var(--bg-white);
  color: var(--text-dark);
}

.otp-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(74, 190, 214, 0.1);
  transform: scale(1.05);
}

.resend-container {
  text-align: center;
  margin-bottom: 24px;
}

.resend-text {
  font-size: 13px;
  color: var(--text-secondary);
}

.resend-timer {
  color: var(--primary-blue);
  font-weight: 600;
}

.resend-link {
  color: var(--primary-blue);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.resend-link:hover {
  text-decoration: underline;
}

/* Screen 3: Credit Score Display */
.score-welcome {
  text-align: center;
  margin-bottom: 24px;
}

.score-welcome h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.score-welcome .user-name {
  color: var(--primary-blue);
}

.score-welcome p {
  font-size: 13px;
  color: var(--text-secondary);
}

.score-circle-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
}

.score-circle {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-circle-bg {
  fill: none;
  stroke: var(--bg-light);
  stroke-width: 16;
}

.score-circle-progress {
  fill: none;
  stroke: var(--good-green);
  stroke-width: 16;
  stroke-linecap: round;
  stroke-dasharray: 565;
  stroke-dashoffset: 565;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1), stroke 1s ease;
  filter: drop-shadow(0 4px 12px rgba(50, 173, 230, 0.3));
}

.score-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.score-number {
  font-size: 60px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  font-family: "Space Mono", monospace;
  animation: countUp 1.5s ease-out;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.score-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--good-green);
  margin-top: 6px;
}

.score-range {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding: 0 16px;
}

.range-label {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
}

.score-gradient {
  flex: 1;
  height: 6px;
  margin: 0 12px;
  border-radius: 6px;
  background: linear-gradient(
    to right,
    var(--poor-red) 0%,
    var(--warning-orange) 25%,
    var(--fair-yellow) 50%,
    var(--good-green) 75%,
    var(--excellent-green) 100%
  );
  position: relative;
}

.score-indicator {
  position: absolute;
  top: -5px;
  width: 16px;
  height: 16px;
  background: var(--bg-white);
  border: 3px solid var(--good-green);
  border-radius: 50%;
  transition: left 1s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.score-info-grid {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  padding: 0 10px;
}

.info-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: var(--bg-light);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: var(--border-light);
  transform: translateY(-2px);
}

.info-icon {
  font-size: 24px;
  line-height: 1;
}

.info-content {
  flex: 1;
}

.info-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 3px;
  font-weight: 500;
}

.info-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.score-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 10px;
}

.dispute-btn {
  border: 2px solid var(--border-light);
}

.dispute-btn:hover {
  border-color: var(--primary-blue);
  background: var(--bg-white);
  color: var(--primary-blue);
}

/* Responsive adjustments */
@media (max-width: 380px) {
  .otp-input {
    width: 40px;
    height: 46px;
    font-size: 18px;
  }

  .score-circle-container {
    width: 180px;
    height: 180px;
  }

  .score-number {
    font-size: 52px;
  }

  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .step-label {
    font-size: 10px;
  }
}