:root {
  --teal: #4ecdc4;
  --teal-dark: #2fa9a1;
  --orange: #ff6b35;
  --orange-dark: #e85a2a;
  --text: #1a2e2c;
  --text-secondary: #5f7672;
  --bg: #ffffff;
  --bg-soft: #f4fbfa;
  --bg-mint: #eafaf6;
  --border: #d9efeb;
  --shadow: rgba(26, 46, 44, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------- Nav --------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav__brand-text {
  width: 140px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.nav__brand-text--footer {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

@media (max-width: 480px) {
  .nav__brand-text {
    width: 110px;
  }
  .nav__logo {
    width: 28px;
    height: 28px;
  }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: var(--teal-dark);
}

.nav__cta {
  background: var(--orange);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav__cta:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

/* --------------------- Hero --------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background: linear-gradient(180deg, var(--bg-mint) 0%, var(--bg) 100%);
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
  animation: float 10s ease-in-out infinite;
}

.hero__blob--1 {
  width: 380px;
  height: 380px;
  background: var(--teal);
  top: -120px;
  right: -100px;
}

.hero__blob--2 {
  width: 300px;
  height: 300px;
  background: var(--orange);
  bottom: -100px;
  left: -80px;
  opacity: 0.2;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(30px) scale(1.08); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 24px;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 760px;
}

.hero__title--couplet {
  font-size: clamp(0.95rem, 3.1vw, 2.4rem);
  line-height: 1.6;
  max-width: 100%;
}

.hero__line {
  display: block;
  white-space: nowrap;
}

.text-gradient {
  background: linear-gradient(90deg, var(--teal-dark), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin-top: 20px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
}

.hero__cta-row {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero__cta-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* --------------------- Buttons --------------------- */
.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
  background: var(--orange);
  color: #fff;
  padding: 16px 36px;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.25);
}

.btn--primary:hover {
  background: var(--orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(255, 107, 53, 0.35);
}

.btn--lg {
  padding: 18px 44px;
  font-size: 1.15rem;
}

/* --------------------- Works with strip --------------------- */
.works-with {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.works-with__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.works-with__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pill {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 999px;
}

/* --------------------- Sections --------------------- */
.section {
  padding: 90px 0;
}

.section--alt {
  background: var(--bg-soft);
}

.section--cta {
  text-align: center;
  background: linear-gradient(135deg, var(--bg-mint) 0%, var(--bg-soft) 100%);
}

.section--cta .btn {
  margin-top: 28px;
}

/* ── SmartScreen warning mock (mirrors the real Windows dialog) ─────── */
.smartscreen-mock {
  margin: 28px auto 0;
  max-width: 320px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: 0 16px 36px rgba(0,0,0,0.25);
  text-align: left;
}
.smartscreen-mock__bar {
  background: #2b2b2b;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 14px;
}
.smartscreen-mock__body { background: #1f1f1f; padding: 12px 14px 14px; }
.smartscreen-mock__msg { font-size: 0.78rem; color: #ccc; line-height: 1.45; }
.smartscreen-mock__app { margin-top: 10px; font-size: 0.75rem; color: #999; line-height: 1.6; }
.smartscreen-mock__app strong { color: #ddd; }
.smartscreen-mock__buttons { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.smartscreen-mock__btn { padding: 5px 12px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.25); color: #ddd; }
.smartscreen-mock__btn--primary { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(78,205,196,0.5); color: #fff; }
.smartscreen-mock__hint { text-align: center; font-size: 0.85rem; color: var(--teal-dark); margin-top: 10px; font-weight: 600; }

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  text-align: center;
}

.section__tiny-note {
  text-align: center;
  font-size: 0.6rem;
  color: var(--text-secondary);
  opacity: 0.5;
  margin-top: 4px;
}

.section__subtitle {
  margin-top: 12px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------- Live Test Results --------------------- */
.proof {
  margin-top: 48px;
}

.proof__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.proof__tab {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.proof__tab:hover {
  border-color: var(--teal);
  color: var(--text);
}

.proof__tab.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  box-shadow: 0 8px 20px rgba(78, 205, 196, 0.3);
}

.proof__panels {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px var(--shadow);
  background: var(--bg);
}

.proof__panel {
  position: absolute;
  inset: 0;
  transform: translateX(100%);
  transition: transform 0.5s ease;
}

.proof__panel.is-active {
  transform: translateX(0);
}

.proof__panel.is-leaving {
  transform: translateX(-100%);
}

.proof__panel img {
  display: block;
  width: 100%;
  height: auto;
}

.proof__caption {
  padding: 16px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

/* --------------------- Features --------------------- */
.features-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px var(--shadow);
  border-color: var(--teal);
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.feature-card__icon--num {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--teal-dark);
  background: rgba(78, 205, 196, 0.12);
  border: 1.5px solid rgba(78, 205, 196, 0.25);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --------------------- How it works --------------------- */
.steps {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px var(--shadow);
}

.step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.step__arrow {
  font-size: 1.5rem;
  color: var(--teal);
  font-weight: 800;
}

/* --------------------- Memes & Best Moments --------------------- */
.memes-cta {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

/* --------------------- Legal pages --------------------- */
.legal__container {
  max-width: 720px;
}

.legal__title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
}

.legal__updated {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.legal p {
  margin-top: 18px;
  color: var(--text);
}

.legal ul {
  margin-top: 18px;
  padding-left: 24px;
}

.legal li {
  margin-bottom: 10px;
  color: var(--text);
}

.legal h2 {
  margin-top: 40px;
  font-size: 1.35rem;
  font-weight: 700;
}

.legal a {
  color: var(--teal-dark);
}

/* --------------------- Footer --------------------- */
.footer {
  background: var(--text);
  color: #d6e6e3;
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}

.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  color: #d6e6e3;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--teal);
}

.footer__copy {
  font-size: 0.85rem;
  color: #93a8a5;
}

/* --------------------- Toast --------------------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text);
  color: #fff;
  padding: 14px 28px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
  z-index: 1000;
  white-space: normal;
  max-width: min(92vw, 420px);
  text-align: center;
  line-height: 1.45;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --------------------- Scroll reveal --------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------- Responsive --------------------- */
@media (max-width: 860px) {
  .nav__links {
    gap: 16px;
  }

  .nav__links a:not(.nav__cta):not(.nav__login) {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    flex-direction: column;
  }

  .step__arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 560px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 70px 0 60px;
  }

  .toast {
    white-space: normal;
    width: 90%;
    text-align: center;
  }
}

/* --------------------- Coming Soon button --------------------- */
.btn--coming-soon {
  opacity: 0.7;
  cursor: not-allowed;
}

/* --------------------- Nav extras --------------------- */
.nav__login {
  background: transparent;
  border: 1.5px solid var(--teal);
  color: var(--teal-dark) !important;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.nav__login:hover {
  background: var(--teal);
  color: #fff !important;
}

.nav__logout {
  font-family: inherit;
  font-size: 0.9rem;
}

.nav__username {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

