:root {
  font-family: "Rubik", "Segoe UI", sans-serif;
  color-scheme: light;
  --bg-gradient: linear-gradient(135deg, #e0f7ff, #f6f9ff);
  --card-bg: rgba(255, 255, 255, 0.95);
  --primary: #0066ff;
  --primary-dark: #0047b3;
  --secondary: #f1f5ff;
  --text: #0f172a;
  --muted: #64748b;
  --success: #0f9d58;
  --error: #d93025;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-gradient);
  color: var(--text);
}
.topbar {
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.logo {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  flex-wrap: wrap;
}
.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.3rem;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #fff;
}
.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.home,
.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.hero {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  margin-bottom: 3rem;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3rem);
  margin: 0;
}
.hero-text p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
  margin: 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.hero-highlights {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 600;
}
.hero-illustration {
  display: grid;
  gap: 1rem;
  position: relative;
}
.hero-illustration::after {
  content: "";
  position: absolute;
  inset: -20% 20% 20% -20%;
  background: radial-gradient(circle at top left, rgba(0, 102, 255, 0.2), transparent 60%);
  z-index: -1;
}
.hero-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 1.8rem;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 240px;
}
.hero-card.secondary {
  background: rgba(0, 102, 255, 0.08);
  border-color: rgba(0, 102, 255, 0.2);
}
.hero-card-title {
  font-size: 0.9rem;
  color: var(--muted);
}
.hero-card strong {
  font-size: 2.4rem;
  color: var(--primary-dark);
}
.quick-actions {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 3.5rem;
}
.quick-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quick-card h2 {
  margin: 0;
}
.quick-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.link {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.link::after {
  content: "↗";
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}
.link:hover::after {
  transform: translateY(-2px);
}
.link-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.features {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 15px 45px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.2);
  margin-bottom: 3.5rem;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}
.section-header h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
}
.section-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.features-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.feature-item {
  background: rgba(15, 23, 42, 0.02);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
}
.feature-icon {
  font-size: 2rem;
}
.feature-item h3 {
  margin: 0;
}
.feature-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.workflow {
  margin-bottom: 3.5rem;
}
.workflow-steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}
.workflow-steps li {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  position: relative;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.2);
}
.workflow-steps h3 {
  margin: 0 0 0.8rem;
}
.workflow-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.step-badge {
  position: absolute;
  inset-inline-start: 1.5rem;
  top: -1rem;
  background: var(--primary);
  color: #fff;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}
.cta-banner {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.9), rgba(0, 71, 179, 0.9));
  border-radius: 28px;
  padding: 3rem;
  color: #fff;
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.25);
}
.cta-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 560px;
}
.cta-content p {
  margin: 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}
.page-header {
  margin-bottom: 2rem;
}
.page-header h1 {
  margin: 0 0 0.5rem;
  font-size: 2.2rem;
}
.page-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.15);
}
.card h2 {
  margin-top: 0;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.form-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.form-grid label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  gap: 0.6rem;
  color: var(--muted);
}
input,
textarea,
select,
button {
  font-family: inherit;
}
input,
textarea,
select {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: rgba(255, 255, 255, 0.9);
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}
textarea {
  resize: vertical;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 102, 255, 0.25);
}
.btn.secondary {
  background: var(--secondary);
  color: var(--primary-dark);
  box-shadow: none;
  border: 1px solid rgba(0, 102, 255, 0.2);
}
.btn.secondary:hover {
  background: rgba(0, 102, 255, 0.12);
}
.file-inputs {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 1.5rem;
}
.file-inputs label {
  background: rgba(15, 23, 42, 0.04);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.file-inputs input[type="file"] {
  border: 1px dashed rgba(148, 163, 184, 0.6);
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}
.stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.stat {
  background: rgba(0, 102, 255, 0.08);
  border-radius: 16px;
  padding: 1rem 1.4rem;
  min-width: 200px;
}
.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
}
.stat-label {
  color: var(--muted);
}
.results {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.result-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
.result-card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}
.result-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.5rem 1rem;
}
.result-card dt {
  font-weight: 600;
  color: var(--muted);
}
.result-card dd {
  margin: 0;
}
.status {
  margin-top: 1rem;
  font-weight: 600;
}
.status.success {
  color: var(--success);
}
.status.error {
  color: var(--error);
}
.status.hint,
.hint {
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.footer {
  background: rgba(15, 23, 42, 0.9);
  padding: 2rem 1.5rem 3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 4rem;
}
.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
}
.footer a:hover {
  color: #fff;
}
@media (max-width: 900px) {
  .features {
    padding: 2.5rem 2rem;
  }
}
@media (max-width: 768px) {
  .home,
  .page {
    padding: 2rem 1.2rem 3.5rem;
  }
  .topbar {
    padding-inline: 1.2rem;
  }
  .hero {
    gap: 2.5rem;
  }
  .cta-banner {
    padding: 2.5rem 2rem;
  }
}
@media (max-width: 640px) {
  .topbar {
    justify-content: center;
  }
  .main-nav {
    justify-content: center;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .card {
    padding: 1.5rem;
  }
  .features {
    padding: 2rem 1.5rem;
  }
}