:root {
  --bg: #0a0a0c;
  --panel: #1a1a1e;
  --panel-2: #141418;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --cyan: #22d3ee;
  --purple: #a855f7;
  --pink: #f472b6;
  --red: #ef4444;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #67e8f9;
}

/* Blurred office-style backdrop */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(8, 8, 12, 0.82), rgba(8, 8, 12, 0.92)),
    url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1600&q=60") center / cover no-repeat;
  filter: blur(0px);
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.35);
}

/* Header */
.site-header {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.25rem 2rem 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.88) 0%, rgba(10, 10, 12, 0.5) 100%);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.logo-container {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
}

.adobe-logo {
  display: block;
  height: 26px;
  width: auto;
}

.acrobat-logo {
  display: block;
  height: 32px;
  width: auto;
}

.logo-title {
  font-weight: 600;
  font-size: 22px;
  color: #fff;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.top-nav {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1.75rem;
  margin-left: auto;
}

.top-nav a {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.top-nav a:hover {
  color: #fff;
}

/* Main modal */
.page {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 180px);
  width: 100%;
  padding: 1.25rem 1.5rem 1.5rem;
}

.modal {
  position: relative;
  width: min(1050px, 90vw);
  background: var(--panel);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.75rem 2rem 1.5rem;
  box-shadow:
    0 40px 84px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  overflow: hidden;
}

.modal-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ef4444, #a855f7, #6366f1, #22d3ee);
}

.modal-head {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.alert-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  margin: 0.1rem 0 0;
  filter: none;
}

.modal-head > div {
  flex: 0 1 auto;
  min-width: 0;
}

.alert-doodle {
  display: block;
  transform: rotate(-4deg);
}

.modal-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 3.04vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  background: linear-gradient(90deg, #ff1a1a, #e040fb, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.modal-sub {
  margin: 0;
  color: #d4d4d8;
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
  max-width: none;
  line-height: 1.65;
  font-weight: 500;
}

.modal-sub a {
  color: #e9d5ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.feature-card {
  display: block;
  padding: 1.1rem 1rem 1.15rem;
  border-radius: 14px;
  background: var(--panel-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid rgba(34, 211, 238, 0.75);
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-left-color: var(--cyan);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 32px rgba(34, 211, 238, 0.12);
  color: inherit;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.65rem;
  border-radius: 11px;
  background: rgba(34, 211, 238, 0.15);
  color: var(--cyan);
}

.feature-icon svg {
  width: clamp(22px, 2vw, 26px);
  height: clamp(22px, 2vw, 26px);
}

.feature-card h2 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.15rem, 1.4vw, 1.25rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  color: #c4c4cc;
  line-height: 1.55;
  font-weight: 500;
}

/* Download panel */
.download-panel {
  text-align: center;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: 16px;
  background: #111115;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.download-panel h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.1vw, 1.65rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.download-panel > p {
  margin: 0 0 1rem;
  color: #c4c4cc;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 500;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: fit-content;
  min-width: min(294px, 85%);
  margin: 0 auto;
  padding: clamp(0.9rem, 1.4vw, 1.05rem) clamp(1.75rem, 3.5vw, 2.8rem);
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #6366f1, #a855f7);
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
  letter-spacing: 0.015em;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 14px 40px rgba(99, 102, 241, 0.4);
  transition: transform 0.15s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 20px 56px rgba(168, 85, 247, 0.45);
}

.download-btn:active {
  transform: translateY(0);
}

.verifier {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: fit-content;
  max-width: 100%;
  margin: 0.85rem auto 0;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.12);
  color: #a1a1aa;
  font-size: clamp(0.85rem, 0.9vw, 0.95rem);
  font-weight: 500;
}

.verifier-seal {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #a855f7);
  color: #fff;
  flex-shrink: 0;
}

.verifier-seal svg {
  display: block;
}

.verifier-text strong {
  color: #e9d5ff;
  font-weight: 700;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.25rem 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(0deg, rgba(10, 10, 12, 0.9) 0%, rgba(10, 10, 12, 0.45) 100%);
  backdrop-filter: blur(12px);
}

.disclaimer {
  max-width: min(840px, 90vw);
  margin: 0 auto 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #a1a1aa;
  font-size: clamp(0.85rem, 0.9vw, 0.95rem);
  line-height: 1.65;
  font-weight: 500;
}

.disclaimer strong {
  color: #f4f4f5;
  font-weight: 700;
}

.disclaimer code {
  font-size: 0.92rem;
  color: #c4b5fd;
  font-weight: 600;
}

.footer-meta {
  margin: 0;
  font-size: clamp(0.85rem, 0.9vw, 0.95rem);
  color: #71717a;
  font-weight: 500;
}

.footer-meta a {
  color: #a1a1aa;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1100px) {
  .top-nav {
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 1rem 1.25rem 1.15rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .logo-container {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .adobe-logo {
    height: 22px;
  }

  .acrobat-logo {
    height: 28px;
  }

  .logo-title {
    font-size: 18px;
  }

  .top-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1rem 1.4rem;
    margin-left: 0;
  }

  .top-nav a {
    font-size: 1rem;
  }

  .page {
    padding: 1rem 1rem 1.25rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .modal {
    padding: 1.35rem 1.25rem 1.25rem;
    border-radius: 18px;
  }

  .modal-head {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 0.55rem;
    margin-bottom: 1rem;
  }

  .modal-sub {
    font-size: 1.05rem;
  }

  .download-panel {
    padding: 1.15rem 1rem 1rem;
  }

  .download-panel h2 {
    font-size: 1.45rem;
  }

  .download-btn {
    min-width: 100%;
    font-size: 1.1rem;
    padding: 1.1rem 2rem;
  }

  .site-footer {
    padding: 1rem 1.25rem 1.25rem;
  }

  .disclaimer {
    padding: 1rem 1.15rem;
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
