@font-face {
  font-family: "PP Mori";
  src:
    url("assets/fonts/PPMori-Regular.woff2") format("woff2"),
    url("assets/fonts/PPMori-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Mori";
  src:
    url("assets/fonts/PPMori-Medium.woff2") format("woff2"),
    url("assets/fonts/PPMori-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Mori";
  src:
    url("assets/fonts/PPMori-SemiBold.woff2") format("woff2"),
    url("assets/fonts/PPMori-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Mori";
  src:
    url("assets/fonts/PPMori-Bold.woff2") format("woff2"),
    url("assets/fonts/PPMori-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0c0f14;
  --bg-alt: #111722;
  --text: #f3f5f7;
  --muted: #a7b0be;
  --accent: #b98bff;
  --accent-2: #5fb6ff;
  --card: rgba(18, 24, 34, 0.85);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 20px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font-sans: "PP Mori", system-ui, sans-serif;
  --font-display: "PP Mori", system-ui, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.ambient {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(185, 139, 255, 0.28), transparent 45%),
    radial-gradient(circle at 70% 20%, rgba(255, 154, 213, 0.18), transparent 45%),
    radial-gradient(circle at 30% 80%, rgba(125, 107, 255, 0.25), transparent 50%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='rgba(255,255,255,0.03)'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3Ccircle cx='40' cy='45' r='1'/%3E%3Ccircle cx='80' cy='12' r='1'/%3E%3Ccircle cx='120' cy='60' r='1'/%3E%3Ccircle cx='150' cy='100' r='1'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  z-index: -1;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  background: rgba(12, 15, 20, 0.8);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 8vw;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
}

.logo span + span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), #7d6bff);
  color: #081015;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: 0 10px 24px rgba(125, 107, 255, 0.25);
}

.nav-cta:hover {
  transform: translateY(-2px);
}

main {
  padding: 0 8vw;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 80px 0 60px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--accent);
}

.hero-sub {
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-sub-alt {
  margin-top: -8px;
  color: #d4c7ff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

button {
  font-family: inherit;
}

.primary {
  background: linear-gradient(135deg, var(--accent), #7d6bff);
  color: #041012;
  border: none;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 26px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.secondary {
  background: linear-gradient(135deg, #5fb6ff, #7d6bff);
  border: none;
  color: #081015;
  padding: 10px 20px;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
}

.metric {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(12, 18, 26, 0.6);
  min-width: 0;
  overflow-wrap: anywhere;
}

.metric strong {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 4px;
  line-height: 1.2;
}

.metric span {
  color: #d2d7e0;
  font-size: 0.85rem;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 2;
}

.hero-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 12px;
  line-height: 1.2;
}

.hero-card p {
  color: #d2d7e0;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}

.hero-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-list span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(185, 139, 255, 0.22);
  border: 1px solid rgba(185, 139, 255, 0.35);
  font-size: 0.8rem;
}

.hero-visual {
  position: absolute;
  right: 6%;
  top: 140px;
  width: min(420px, 40vw);
  height: min(320px, 32vw);
  background:
    radial-gradient(circle at 20% 30%, rgba(185, 139, 255, 0.18), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(95, 182, 255, 0.16), transparent 60%),
    linear-gradient(135deg, rgba(125, 107, 255, 0.12), transparent 60%);
  border-radius: 32px;
  filter: blur(0px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.pulse {
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(185, 139, 255, 0.4), transparent 70%);
  top: -60px;
  right: -60px;
  filter: blur(0px);
  animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.9;
  }
}

section {
  padding: 70px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--muted);
}

.service-grid,
.differential-grid,
.method-steps,
.insight-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.platform-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.platform-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  align-items: center;
  background: rgba(12, 18, 26, 0.7);
  border: 1px solid rgba(185, 139, 255, 0.35);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}

.platform-card h3 {
  margin-bottom: 6px;
}

.platform-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.platform-icon {
  width: 92px;
  height: 92px;
  border-radius: 20px;
  background: rgba(9, 13, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-icon img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.product-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 26px;
  border-radius: var(--radius);
  min-width: 0;
  display: grid;
  gap: 12px;
}

.product-tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.product-card h3 {
  line-height: 1.2;
}

.product-card p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.product-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.product-card li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 18px;
  position: relative;
}

.product-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.product-actions {
  margin-top: 6px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), #7d6bff);
  color: #041012;
  box-shadow: var(--shadow);
}

.product-card button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.validator-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ats-form {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 26px;
  border-radius: var(--radius);
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 10px;
  color: var(--text);
  font-weight: 500;
}

.field textarea {
  background: rgba(10, 14, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
  color: var(--text);
  font-family: var(--font-sans);
  resize: vertical;
  min-height: 120px;
}

.text-input {
  background: rgba(10, 14, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-sans);
}

.file-input {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 14, 20, 0.7);
  color: var(--muted);
}

.file-help {
  color: var(--muted);
  font-size: 0.85rem;
}

.field textarea:focus {
  outline: 2px solid rgba(185, 139, 255, 0.4);
  border-color: rgba(185, 139, 255, 0.5);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.btn-compact {
  padding: 6px 12px;
  font-size: 0.82rem;
  line-height: 1.2;
}

.validator .form-actions .btn-compact {
  padding: 4px 12px;
  font-size: 0.8rem;
  border-radius: 16px;
  min-height: 0;
}

.validator-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 6px 0 10px;
  justify-content: center;
}

.validator-actions .btn-compact {
  padding: 4px 12px;
  font-size: 0.8rem;
  border-radius: 14px;
}

.validator-left {
  display: grid;
  gap: 10px;
  align-self: start;
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-status {
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 8, 12, 0.72);
  z-index: 50;
}

.auth-modal.is-open {
  display: flex;
}

.auth-modal-card {
  width: min(420px, 92vw);
  background: rgba(12, 18, 26, 0.95);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px;
  display: grid;
  gap: 14px;
}

[data-results="modal"] .auth-modal-card {
  width: min(780px, 94vw);
}

.detail-scores {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.auth-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.history-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.history-list li {
  color: var(--muted);
  font-size: 0.9rem;
}

.json-output {
  width: 100%;
  background: rgba(8, 12, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-radius: 14px;
  padding: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.ats-results {
  display: grid;
  gap: 18px;
}

.result-card {
  background: rgba(12, 18, 26, 0.6);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.result-label {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-score {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 10px 0;
}

.result-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.result-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(135deg, var(--accent), #7d6bff);
  transition: width 0.6s ease;
}

.result-list {
  background: rgba(10, 14, 20, 0.7);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.result-list h3 {
  margin-bottom: 10px;
}

.result-list ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.result-list li {
  padding-left: 18px;
  position: relative;
  color: var(--muted);
}

.result-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.keyword-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-chips span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(185, 139, 255, 0.16);
  border: 1px solid rgba(185, 139, 255, 0.35);
  font-size: 0.8rem;
}

.premium-block {
  display: grid;
  gap: 10px;
}

.premium-block .secondary {
  justify-self: center;
  width: auto;
}

.premium-note {
  color: var(--muted);
  font-size: 0.85rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 26px;
  border-radius: var(--radius);
  transition: transform 0.3s ease, border 0.3s ease;
  min-width: 0;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(185, 139, 255, 0.4);
}

.service-card h3 {
  margin-bottom: 12px;
  line-height: 1.2;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}

.service-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.service-card li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 18px;
  position: relative;
  overflow-wrap: anywhere;
}

.service-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.differential {
  background: rgba(11, 16, 22, 0.6);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  min-width: 0;
  overflow-wrap: anywhere;
}

.differential h4 {
  margin-bottom: 10px;
  line-height: 1.2;
}

.differential p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.highlight {
  margin-top: 36px;
  background: linear-gradient(135deg, rgba(185, 139, 255, 0.14), rgba(125, 107, 255, 0.08));
  border: 1px solid rgba(185, 139, 255, 0.3);
  padding: 28px;
  border-radius: var(--radius);
}

.highlight h3 {
  margin-bottom: 18px;
}

.highlight-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.highlight-list p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.method-steps .step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  min-width: 0;
}

.method-steps span {
  font-weight: 600;
  color: var(--accent-2);
}

.insight-grid article {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  background: rgba(10, 14, 20, 0.7);
  min-width: 0;
  overflow-wrap: anywhere;
}

.cta {
  padding-bottom: 100px;
}

.cta-card {
  border-radius: 30px;
  padding: 48px;
  background: linear-gradient(135deg, rgba(185, 139, 255, 0.2), rgba(125, 107, 255, 0.2));
  border: 1px solid rgba(185, 139, 255, 0.35);
  text-align: center;
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-card p {
  color: #e1f5f2;
  margin-bottom: 26px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 8vw;
}

.footer-content {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer h4,
.footer h5 {
  margin-bottom: 8px;
}

.footer p {
  color: var(--muted);
}

.copyright {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-visual {
    display: none;
  }
}

@media (max-width: 600px) {
  main {
    padding: 0 6vw;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-card {
    padding: 36px 24px;
  }
}
