@font-face {
  font-family: "Inter AYASA";
  src: url("../Assets/04%20Tipografias/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raptor";
  src: url("../Assets/04%20Tipografias/RaptorV3_Trial-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #ff4a00;
  --orange-soft: #fff0e9;
  --ink: #002930;
  --ink-2: #16444a;
  --mint: #e4fffc;
  --paper: #f6f8f7;
  --white: #ffffff;
  --muted: #6d7f82;
  --line: #dce5e4;
  --success: #0b7d64;
  --shadow: 0 28px 80px rgba(0, 41, 48, 0.18);
  font-family: "Inter AYASA", Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #edf2f1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 74, 0, 0.16), transparent 28%),
    linear-gradient(135deg, #eff5f4 0%, #dce9e7 100%);
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

.demo-stage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(340px, 530px) 430px;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 7vw, 110px);
  padding: 40px;
}

.story-panel {
  min-height: 720px;
  border-radius: 40px;
  padding: clamp(34px, 5vw, 64px);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(255, 74, 0, 0.94), rgba(250, 185, 0, 0.86)),
    var(--orange);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.story-panel::before,
.story-panel::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.story-panel::before {
  width: 430px;
  height: 430px;
  right: -180px;
  top: -110px;
}

.story-panel::after {
  width: 250px;
  height: 250px;
  right: -100px;
  top: -20px;
}

.story-logo {
  width: 170px;
  position: relative;
  z-index: 1;
}

.story-copy {
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}

.story-copy h1 {
  margin: 0;
  font-family: "Raptor", "Inter AYASA", sans-serif;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.story-copy p {
  max-width: 410px;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.55;
}

.story-proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 36px 0 24px;
  position: relative;
  z-index: 1;
}

.story-proof div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.story-proof strong,
.story-proof span {
  display: block;
}

.story-proof strong {
  font-size: 28px;
}

.story-proof span {
  font-size: 12px;
  opacity: 0.86;
}

.story-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 700;
}

.story-steps span {
  margin-right: 7px;
  opacity: 0.58;
}

.story-note {
  margin: 26px 0 0;
  font-size: 11px;
  opacity: 0.72;
}

.phone-shell {
  width: 430px;
  height: min(900px, calc(100vh - 48px));
  min-height: 700px;
  background: var(--paper);
  border: 10px solid var(--ink);
  border-radius: 48px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.device-status {
  height: 30px;
  padding: 8px 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
}

.device-status div {
  display: flex;
  align-items: end;
  gap: 3px;
}

.device-status i {
  width: 3px;
  height: 7px;
  background: var(--white);
  border-radius: 2px;
}

.device-status i:nth-child(2) {
  height: 10px;
}

.device-status b {
  width: 18px;
  height: 9px;
  border: 1px solid var(--white);
  border-radius: 3px;
  margin-left: 4px;
  position: relative;
}

.device-status b::after {
  content: "";
  position: absolute;
  inset: 2px;
  width: 10px;
  background: var(--white);
  border-radius: 1px;
}

#app {
  height: calc(100% - 30px);
  overflow: hidden;
}

.app-frame {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.app-header {
  min-height: 74px;
  padding: 18px 20px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--ink);
  color: var(--white);
}

.app-logo {
  width: 108px;
  display: block;
}

.header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.header-title button {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 19px;
}

.header-title h2 {
  margin: 0;
  color: var(--white);
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.icon-button img {
  width: 21px;
  height: 21px;
}

.content {
  overflow-y: auto;
  padding: 18px 18px 30px;
  scrollbar-width: none;
}

.content::-webkit-scrollbar {
  display: none;
}

.greeting {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 16px;
}

.greeting p,
.greeting h2 {
  margin: 0;
}

.greeting p {
  color: var(--muted);
  font-size: 13px;
}

.greeting h2 {
  margin-top: 4px;
  font-family: "Raptor", "Inter AYASA", sans-serif;
  font-size: 27px;
  letter-spacing: -0.03em;
}

.relationship-pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.vehicle-card {
  min-height: 176px;
  border-radius: 28px;
  padding: 20px;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 18%, rgba(228, 255, 252, 0.22), transparent 30%),
    linear-gradient(145deg, #002930, #0d5057);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(0, 41, 48, 0.18);
}

.vehicle-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -55px;
  bottom: -70px;
  border: 22px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.vehicle-top,
.vehicle-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #baf5ed;
}

.brand-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.vehicle-card h3 {
  margin: 8px 0 3px;
  font-size: 24px;
}

.vehicle-card p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.car-icon-wrap {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  transform: rotate(-3deg);
}

.car-icon-wrap img {
  width: 48px;
  height: 48px;
}

.vehicle-bottom {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
}

.vehicle-bottom strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
}

.section-head {
  margin: 25px 2px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-head h3 {
  margin: 0;
  font-size: 17px;
}

.text-button {
  padding: 5px;
  border: 0;
  background: transparent;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.maintenance-card,
.card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(0, 41, 48, 0.06);
}

.maintenance-card {
  padding: 18px;
}

.maintenance-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.maintenance-title .icon-tile,
.quick-action .icon-tile {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--orange-soft);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.icon-tile img {
  width: 23px;
  height: 23px;
}

.maintenance-title h4,
.maintenance-title p {
  margin: 0;
}

.maintenance-title h4 {
  font-size: 15px;
}

.maintenance-title p {
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted);
}

.progress-track {
  height: 8px;
  margin: 18px 0 7px;
  border-radius: 99px;
  background: #e8eeed;
  overflow: hidden;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), #fab900);
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}

.primary-button,
.secondary-button {
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  border-radius: 15px;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.primary-button {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 10px 20px rgba(255, 74, 0, 0.2);
}

.secondary-button {
  color: var(--ink);
  background: var(--mint);
}

.primary-button:hover,
.secondary-button:hover,
.quick-action:hover,
.option-card:hover {
  transform: translateY(-1px);
}

.primary-button:active,
.secondary-button:active,
.quick-action:active,
.option-card:active {
  transform: translateY(1px);
}

.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.quick-action {
  min-height: 90px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
}

.quick-action strong,
.quick-action small {
  display: block;
}

.quick-action strong {
  font-size: 13px;
}

.quick-action small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.journey-strip {
  padding: 17px 16px;
  border-radius: 20px;
  background: var(--mint);
}

.journey-strip p {
  margin: 0 0 13px;
  font-size: 12px;
  line-height: 1.45;
}

.journey-years {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.journey-years span {
  padding: 7px 5px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
  font-size: 10px;
  font-weight: 800;
}

.journey-years span.active {
  background: var(--ink);
  color: var(--white);
}

.appointment-banner {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #a7ded5;
  border-radius: 19px;
  background: #eefffc;
  display: flex;
  gap: 12px;
  align-items: center;
}

.appointment-banner img {
  width: 28px;
}

.appointment-banner div {
  flex: 1;
}

.appointment-banner strong,
.appointment-banner span {
  display: block;
}

.appointment-banner strong {
  font-size: 13px;
}

.appointment-banner span {
  margin-top: 3px;
  font-size: 10px;
  color: var(--muted);
}

.appointment-banner button {
  border: 0;
  background: transparent;
  color: var(--orange);
  font-weight: 900;
  cursor: pointer;
}

.bottom-nav {
  min-height: 70px;
  padding: 8px 8px 10px;
  background: var(--white);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.nav-button {
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
}

.nav-button img {
  width: 21px;
  height: 21px;
  opacity: 0.55;
}

.nav-button.active {
  color: var(--orange);
  background: var(--orange-soft);
}

.nav-button.active img {
  opacity: 1;
}

.page-intro {
  margin-bottom: 18px;
}

.page-intro h2,
.page-intro p {
  margin: 0;
}

.page-intro h2 {
  font-family: "Raptor", "Inter AYASA", sans-serif;
  font-size: 26px;
  letter-spacing: -0.025em;
}

.page-intro p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.stepper {
  display: flex;
  gap: 7px;
  margin-bottom: 22px;
}

.stepper span {
  height: 5px;
  flex: 1;
  border-radius: 99px;
  background: #dce5e4;
}

.stepper span.done {
  background: var(--orange);
}

.option-list {
  display: grid;
  gap: 10px;
}

.option-card {
  width: 100%;
  min-height: 68px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.option-card.selected {
  border-color: var(--orange);
  background: var(--orange-soft);
  box-shadow: 0 0 0 1px var(--orange);
}

.radio-dot {
  width: 20px;
  height: 20px;
  border: 2px solid #aebdbc;
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.selected .radio-dot {
  border-color: var(--orange);
}

.selected .radio-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--orange);
}

.option-card strong,
.option-card small {
  display: block;
}

.option-card strong {
  font-size: 13px;
}

.option-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.date-grid,
.time-grid,
.brand-grid {
  display: grid;
  gap: 8px;
}

.date-grid {
  grid-template-columns: repeat(4, 1fr);
}

.time-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
}

.date-chip,
.time-chip,
.brand-chip {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.date-chip {
  min-height: 64px;
  padding: 8px 3px;
}

.date-chip strong,
.date-chip small {
  display: block;
}

.date-chip strong {
  margin: 3px 0;
  font-size: 17px;
}

.date-chip small {
  color: var(--muted);
  font-size: 9px;
}

.time-chip,
.brand-chip {
  min-height: 42px;
  padding: 8px;
}

.date-chip.selected,
.time-chip.selected,
.brand-chip.selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.date-chip.selected small {
  color: rgba(255, 255, 255, 0.7);
}

.summary-card {
  padding: 17px;
}

.summary-row {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.summary-row:last-child {
  border-bottom: 0;
}

.summary-row span {
  color: var(--muted);
}

.summary-row strong {
  text-align: right;
}

.success-view {
  min-height: 100%;
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.success-mark {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--success);
  box-shadow: 0 18px 34px rgba(11, 125, 100, 0.25);
  font-size: 38px;
}

.success-view h2,
.success-view p {
  margin: 0;
}

.success-view h2 {
  font-family: "Raptor", "Inter AYASA", sans-serif;
  font-size: 29px;
}

.success-view p {
  margin: 10px auto 22px;
  max-width: 300px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.confirmation-ticket {
  padding: 18px;
  border-radius: 21px;
  background: var(--white);
  border: 1px dashed #9cb2b0;
  text-align: left;
}

.status-list,
.history-list,
.detail-list {
  display: grid;
  gap: 10px;
}

.status-item {
  padding: 5px 0 5px 34px;
  min-height: 49px;
  position: relative;
}

.status-item::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 14px;
  height: 14px;
  border: 2px solid #bdc9c8;
  border-radius: 50%;
  background: var(--white);
  z-index: 1;
}

.status-item::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 24px;
  width: 2px;
  height: 40px;
  background: #dce5e4;
}

.status-item:last-child::after {
  display: none;
}

.status-item.done::before {
  border-color: var(--success);
  background: var(--success);
  box-shadow: inset 0 0 0 3px var(--white);
}

.status-item.current::before {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 0 0 5px var(--orange-soft);
}

.status-item strong,
.status-item small {
  display: block;
}

.status-item strong {
  font-size: 13px;
}

.status-item small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.history-item,
.detail-item {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  display: flex;
  gap: 12px;
  align-items: center;
}

.history-date {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}

.history-item div:nth-child(2),
.detail-item div:nth-child(2) {
  flex: 1;
}

.history-item strong,
.history-item small,
.detail-item strong,
.detail-item small {
  display: block;
}

.history-item strong,
.detail-item strong {
  font-size: 13px;
}

.history-item small,
.detail-item small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.check-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--success);
  background: #e5fbf5;
  font-weight: 900;
}

.vehicle-overview {
  padding: 20px;
  text-align: center;
}

.vehicle-overview .car-icon-wrap {
  margin: 0 auto 14px;
  background: var(--orange-soft);
}

.vehicle-overview h3,
.vehicle-overview p {
  margin: 0;
}

.vehicle-overview h3 {
  font-size: 20px;
}

.vehicle-overview p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.brand-grid {
  grid-template-columns: repeat(3, 1fr);
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.metric-card {
  padding: 15px;
}

.metric-card strong,
.metric-card span {
  display: block;
}

.metric-card strong {
  font-size: 23px;
}

.metric-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.event-log {
  padding: 10px 15px;
}

.event-row {
  padding: 9px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}

.event-row:last-child {
  border-bottom: 0;
}

.event-row span {
  color: var(--muted);
}

.profile-card {
  padding: 19px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.avatar {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--white);
  font-family: "Raptor", sans-serif;
  font-size: 20px;
}

.profile-card h3,
.profile-card p {
  margin: 0;
}

.profile-card h3 {
  font-size: 16px;
}

.profile-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.demo-badge {
  margin-left: auto;
  padding: 6px 8px;
  border-radius: 10px;
  background: var(--mint);
  font-size: 9px;
  font-weight: 900;
}

.legal-note {
  margin: 18px 4px 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.empty-state {
  padding: 42px 20px;
  text-align: center;
}

.empty-state img {
  width: 54px;
  opacity: 0.7;
}

.empty-state h3 {
  margin: 16px 0 6px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  body {
    background: var(--paper);
  }

  .demo-stage {
    display: block;
    min-height: 100vh;
    padding: 0;
  }

  .story-panel {
    display: none;
  }

  .phone-shell {
    width: 100%;
    height: 100vh;
    min-height: 650px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-height: 770px) and (min-width: 901px) {
  .story-panel {
    min-height: 660px;
  }

  .story-copy h1 {
    font-size: 48px;
  }

  .phone-shell {
    min-height: 650px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
