.navbar-no-shadow-2 {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar-no-shadow-container-2 {
  padding: 1.25rem 0;
}

.navbar-wrapper-2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #e2e8f0;
}

.brand-text {
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
}

.brand-text-muted {
  font-weight: 500;
  text-transform: lowercase;
  color: #64748b;
}

.nav-menu-2 {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link-3 {
  font-weight: 600;
  color: #0f172a;
  letter-spacing: 0.01em;
}

.nav-link-3:hover {
  color: #2563eb;
}

.hero-heading-left {
  padding: 3.5rem 0 4.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-example {
  width: 100%;
  max-width: 440px;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.hero-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.hero-split {
  max-width: 720px;
}

.container-2 {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-7 {
  max-width: 900px;
  margin: 1.5rem auto 0;
  padding: 0 1.5rem;
}

.text-block-7 {
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
}

.text-block-7 p {
  margin: 0 0 1rem;
}

.text-block-7 img {
  max-width: 72px;
}

.intro-copy {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
}

.upload-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.input-file-container {
  position: relative;
  max-width: 280px;
  width: 100%;
}

.input__file {
  opacity: 0;
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.input-file-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  background: #1abc9c;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  width: 100%;
  transition: all 0.3s ease;
}

.input-file-trigger:hover,
.input-file-trigger:focus {
  background: #0f766e;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #475569;
}

.file-return {
  font-style: italic;
  font-size: 0.9rem;
  color: #64748b;
}

.form-error {
  color: #b91c1c;
  font-size: 0.9rem;
}

.form-flash {
  padding: 0.5rem 0.75rem;
  background: #fee2e2;
  border-radius: 8px;
  color: #991b1b;
}

.result-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  max-width: 440px;
}

.result-image img {
  border-radius: 18px;
  margin-bottom: 1rem;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  background: #1abc9c;
  color: #ffffff;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.button-primary:hover,
.button-primary:focus {
  background: #0f766e;
}

#loading {
  display: none;
  border: 8px solid #e2e8f0;
  border-radius: 50%;
  border-top: 8px solid #1abc9c;
  border-bottom: 8px solid #1abc9c;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin: 1rem 0;
}

.content-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  border: 4px solid rgba(0,0,0,0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border-left: 4px solid #1abc9c;
  animation: spin 1s linear infinite;
}

.faceapi-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-left: 12px;
}

.footer-light {
  padding: 3rem 0;
  background: #0f172a;
  color: #e2e8f0;
}

.footer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-link {
  color: #e2e8f0;
  font-size: 0.95rem;
}

.footer-link:hover {
  color: #38bdf8;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-top: 1.5rem;
  font-size: 0.9rem;
}

.text-block-5 {
  max-width: 760px;
  line-height: 1.6;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .navbar-wrapper-2 {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu-2 {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-heading-left {
    padding: 2.5rem 0 3rem;
  }

  .hero-example {
    max-width: 320px;
  }

  .footer-list {
    flex-direction: column;
    gap: 0.75rem;
  }
}
