*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f3f3f3;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #8a8a8a;
  --red: #d62828;
  --red-dark: #b81f1f;
  --black: #111111;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --radius-card: 20px;
  --radius-btn: 12px;
  --font: 'Montserrat', system-ui, -apple-system, sans-serif;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 420px;
  margin: 0 auto;
  padding: 28px 18px 40px;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 28px;
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: grid;
  grid-template-rows: auto auto;
  row-gap: 4px;
  color: #1a1a1a;
  text-transform: uppercase;
}

.brand-name {
  grid-row: 1;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.14em;
  line-height: 1.1;
  color: #111;
}

.brand-subline {
  grid-row: 2;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.2;
  color: #444;
  text-align: center;
}

/* Section title */
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.section-title h1 {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  color: #222;
}

.section-title .line {
  flex: 1;
  height: 1px;
  background: #ddd;
}

.section-title .diamond {
  color: var(--red);
  font-size: 8px;
  line-height: 1;
}

/* Cards */
.card {
  background: var(--card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 20px 18px 18px;
}

.card + .card {
  margin-top: 0;
}

.card-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.card-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.card-icon-vpn {
  width: 88px;
  height: 88px;
}

.card-info {
  flex: 1;
  min-width: 0;
}

.card-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
}

.text-dark {
  color: var(--text);
}

.text-red {
  color: var(--red);
}

.card-subtitle {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #333;
}

.check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--red);
}

.check svg {
  display: block;
  width: 18px;
  height: 18px;
}

/* Buttons */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.98);
}

.btn-vpn {
  background: var(--red);
  color: #fff;
}

.btn-vpn:hover {
  background: var(--red-dark);
}

.btn-course,
.btn-course[aria-disabled="true"] {
  background: var(--black);
  color: #fff;
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-course:not([aria-disabled="true"]) {
  opacity: 1;
  cursor: pointer;
}

.btn-icon {
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
}

.coming-soon {
  margin-top: 10px;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 18px 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

.divider-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 300;
  color: var(--red);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #222;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  max-width: calc(100vw - 40px);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (min-width: 480px) {
  .page {
    padding-top: 48px;
  }

  .card {
    padding: 24px 22px 20px;
  }

  .card-title {
    font-size: 22px;
  }
}
