/*
  PDFtoCSV holding page styles
  Visual direction: glassmorphism + aurora gradients + high-contrast typography.
*/

:root {
  --bg-deep: #071326;
  --bg-mid: #10203a;
  --bg-soft: #17345d;
  --text-main: #f4f8ff;
  --text-muted: #c3d4f2;
  --primary: #71f0d9;
  --primary-strong: #3fd2c9;
  --accent: #8eb5ff;
  --panel: rgba(16, 35, 66, 0.45);
  --panel-border: rgba(255, 255, 255, 0.22);
  --shadow: 0 22px 60px rgba(2, 10, 25, 0.45);
  --radius-lg: 24px;
  --radius-md: 16px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-main);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 18% 12%, rgba(140, 99, 255, 0.35) 0%, rgba(140, 99, 255, 0) 42%),
    radial-gradient(circle at 88% 16%, rgba(113, 240, 217, 0.28) 0%, rgba(113, 240, 217, 0) 36%),
    linear-gradient(140deg, var(--bg-deep), var(--bg-mid) 45%, var(--bg-soft));
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

.container {
  width: min(100% - 2.4rem, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 3.5rem 0;
}

.glass-panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 1000;
  background: #ffffff;
  color: #0f172a;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0.8rem;
  z-index: 100;
  margin: 0.8rem auto 0;
  width: min(100% - 2.4rem, var(--max-width));
  padding: 0.8rem 1rem;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.02em;
  font-size: 1.25rem;
}

.nav-list {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 1.1rem;
}

.nav-list a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
}

.hero {
  padding-top: 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
  align-items: stretch;
}

.hero-copy,
.hero-card {
  padding: 1.6rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--primary);
  margin: 0 0 0.4rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 0.9rem;
}

.hero-subhead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.3rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #06202e;
  box-shadow: 0 10px 26px rgba(113, 240, 217, 0.35);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.microcopy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-metrics {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.hero-metrics article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 0.75rem;
}

.hero-metrics h2 {
  margin-bottom: 0.15rem;
}

.section-head {
  margin-bottom: 1.1rem;
}

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

.card-grid,
.proof-grid,
.pricing-grid,
.faq-list {
  display: grid;
  gap: 1rem;
}

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.benefit,
.quote,
.stat,
.price-card,
.faq-item {
  padding: 1.1rem;
}

.benefit-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote p {
  margin-top: 0;
}

.quote cite {
  color: var(--text-muted);
  font-style: normal;
  font-weight: 600;
}

.stat h3 {
  margin-bottom: 0.3rem;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  text-align: center;
}

.price-card .price {
  font-size: 2rem;
  margin: 0.2rem 0;
  font-weight: 800;
}

.price-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-card.featured {
  border: 1px solid rgba(113, 240, 217, 0.7);
  transform: translateY(-5px);
}

.tag {
  margin: 0 0 0.45rem;
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(113, 240, 217, 0.18);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
}

.pricing-note {
  margin-top: 1rem;
  color: var(--text-muted);
}

.signup-wrap {
  padding: 1.25rem;
}

.signup-form {
  display: grid;
  gap: 0.65rem;
}

.signup-form label {
  font-weight: 600;
  color: var(--text-main);
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(4, 12, 24, 0.52);
  color: var(--text-main);
  padding: 0.7rem 0.8rem;
  font: inherit;
}

.signup-form textarea {
  resize: vertical;
  min-height: 110px;
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  outline: 2px solid rgba(113, 240, 217, 0.65);
  outline-offset: 1px;
}

.signup-form .btn {
  justify-self: start;
  margin-top: 0.3rem;
  border: 0;
  cursor: pointer;
}

.signup-form .btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-status {
  margin: 0.2rem 0 0;
  min-height: 1.25rem;
  font-weight: 600;
}

.form-status.success {
  color: #8ff5d7;
}

.form-status.error {
  color: #ffc5cf;
}

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

.hp-field {
  position: absolute;
  left: -9999px;
}

.faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer {
  padding: 2rem 0 2.8rem;
  text-align: center;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--primary);
}

/* Mobile-first responsiveness for better UX and Core Web Vitals signals */
@media (max-width: 980px) {
  .hero-grid,
  .benefit-layout,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid,
  .card-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
  }

  .nav-wrap {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
  }
}
