@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

/* styles.css */
:root {
  --color-bg-light: #ffffff;
  --color-text-light: #000000;
  --color-bg-dark: #121212;
  --color-text-dark: #ffffff;

  --color-primary: #2f80ed;
  --color-secondary: #f0f0f0;
}

img {
  display: block;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.modal.active {
  display: block;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.modal__content {
  position: relative;
  max-width: 560px;
  min-height: 420px;
  max-height: 35vh;
  overflow: hidden;
  margin: 8vh auto;
  padding: 28px 32px;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  box-sizing: border-box;

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.6);

  animation: fluentFadeIn 0.25s ease-out;
}

.modal__content h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  color: #1f1f1f;
}

.modal__content p {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: #5e5e5e;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;

  width: 32px;
  height: 32px;

  border: none;
  border-radius: 6px;
  background: transparent;
  color: #444;

  font-size: 20px;
  cursor: pointer;

  transition: background 0.15s ease;
}

.modal__close:hover {
  background: rgba(0, 0, 0, 0.08);
}

.install-steps {
  padding-left: 18px;
  margin: 0 0 18px;
}

.install-steps li {
  font-size: 14px;
  margin-bottom: 8px;
  color: #2c2c2c;
}

.command-box {
  margin-top: 12px;
  padding: 14px;
  border-radius: 10px;

  background: #f3f3f3;
  border: 1px solid #e2e2e2;
}

.command-box code {
  display: flex;
  align-items: center;
  
  font-family: Consolas, "Courier New", monospace;
  font-size: 16px;
  color: #0b5cab;

  word-break: break-all;
  margin-bottom: 12px;

  min-height: 40px;
}


.modal .btn-primary {
  appearance: none;
  border: none;
  border-radius: 10px;

  margin-top: 16px;

  padding: 12px 26px;
  min-height: 44px;

  background: #0f6cbd;
  color: #ffffff;

  font-size: 16px;
  font-weight: 600;
  line-height: 1;

  cursor: pointer;
  user-select: none;

  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 2px 4px rgba(0, 0, 0, 0.22);

  transition:
    background-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.08s ease;
}




.modal .btn-primary:hover {
  background: linear-gradient(
    to bottom,
    #228be6,
    #1172cc
  );
}


.modal .btn-primary:active {
  transform: translateY(1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.modal .btn-primary:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(0, 103, 192, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

.modal .btn-primary:disabled {
  background: #d6d6d6;
  color: #7a7a7a;
  cursor: default;
  box-shadow: none;
}


.copy-status {
  margin-top: 10px;
  font-size: 13px;
  color: #107c10;
  opacity: 0;
  transition: opacity 0.2s ease;
}


@keyframes fluentFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}



/* Light Theme */
.theme-light {
  --color-bg: var(--color-bg-light);
  --color-text: var(--color-text-light);
  --os-10: url('./images/icon_os_10.svg');
  --os-11: url('./images/icon_os_11.svg');
  --step-bg: none;
  --step-border: 1px solid #dddddd;
}

/* Dark Theme */
.theme-dark {
  --color-bg: var(--color-bg-dark);
  --color-text: var(--color-text-dark);
  --os-10: url('./images/icon_os_10_white.svg');
  --os-11: url('./images/icon_os_11_white.svg');
  --step-bg: #181818;
  --step-border: none;
}

/* Global Styles */
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

body::before {
  content: url('./images/bg-left.svg');
  position: absolute;
  top: 0;
  left: 0;
  z-index: -100;
  display: block;
}
/* body::after {
content: url('./images/bg-right.svg');
position: absolute;
bottom: 0px;
left: 0;
z-index: -100;
display: block;
margin-bottom: 0px;
} */
body::after {
  display: block;
  content: '';
  position: absolute;
  bottom: -101px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -100;
  background: url('./images/bg-right.svg') no-repeat;
  background-position: bottom;
}

.header {
  background: rgba(255, 255, 255, 0.7);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 0;
  gap: 20px;

  font-size: 32px;
  font-weight: 700;
  line-height: 80%;
  letter-spacing: -2.5%;
}

.header__logo {
  width: 100%;
}

.header__img {
  max-width: 100px;
  overflow: hidden;
}

.header__img img {
  width: 40px;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px 20px 20px;
  gap: 40px;
}

.hero__logo {
  background: rgba(255, 255, 255, 0.7);
  width: 100%;
}

.hero__img {
  max-width: 100px;
  margin-bottom: 24px;
  overflow: hidden;
}

.hero__img img {
  width: 100px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero p {
  font-size: 16px;
  margin-bottom: 24px;
}

.btn-primary {
  background-color: var(--color-primary);
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
}

.btn__copy {
  padding: 8px 16px;
  gap: 12px;
  margin-bottom: 0;
}

.btn-primary:hover {
  background-color: #1b6cd9;
}

.os-options {
  display: flex;
  gap: 24px;
}

.os-options span {
  position: relative;
  padding-left: 24px;
}

.os-10::before,
.os-11::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

.os-10::before {
  background-image: var(--os-10);
}

.os-11::before {
  background-image: var(--os-11);
}

.right {
  text-align: center;
}
.right h2 {
  margin-top: 10px;
}

.code {
  margin-top: 30px;
  padding: 32px 24px;
  background-color: var(--step-bg);
  border: var(--step-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.code__title {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 20.8px;
}

.line {
  display: block;
  margin: 24px 0;
  background: #333;
  height: 1px;
  width: 404px;
}
.code__content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.code__content p {
  margin-bottom: 0;
}

.code-item {
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
}
.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 108px;
  flex-wrap: wrap;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;
  width: 420px;
  min-height: 405px;
}

.step::after {
  position: absolute;
  content: '';
  background-image: url(./images/gradient.svg);
  width: 100%;
  height: 699px;
  top: -154px;
  left: -174px;
  z-index: -10;
}

.step__number {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(#2f7fed, #993e74);
  display: flex;
  justify-content: center;
  align-items: center;
}

.step__number-line::after {
  content: '';
  position: absolute;
  left: 142px;
  background-image: url(./images/arrow.svg);
  background-repeat: no-repeat;
  width: 274px;
  height: 24px;
}

.step__title {
  font-size: 32px;
  font-weight: 500;
  color: #fff;
}

.step__text h3 {
  margin-top: 24px;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 12px;
}

.step__text p {
  font-size: 16px;
  max-width: 360px;
  height: 57px;
}

.step__image {
  max-width: 100%;
  height: auto;
  margin-top: 32px;
  border-radius: 12px;
}