/* ===================
   Landing Page Styles
   =================== */

/* Base reset for landing */
.landing-body {
  background: white;
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

/* Container */
.landing-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header */
.landing-header {
  background: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #f1f5f9;
}

.landing-nav {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.landing-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.landing-logo:hover .landing-logo__img {
  transform: scale(1.05);
}

.landing-logo__img {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 0.375rem;
  transition: transform 0.3s;
}

.landing-logo__text {
  margin-left: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #059669;
  transition: color 0.3s;
}

.landing-logo:hover .landing-logo__text {
  color: #047857;
}

/* Buttons */
.landing-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  background: #059669;
  color: white;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.landing-btn:hover {
  background: #047857;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.landing-btn--large {
  width: 100%;
  justify-content: center;
  font-size: 1.125rem;
  padding: 1rem 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.landing-btn--mobile {
  display: block;
  padding: 1rem 1.5rem;
  color: #059669;
  font-weight: 700;
  background: #ecfdf5;
  text-decoration: none;
  transition: background 0.3s;
}

.landing-btn--mobile:hover {
  background: #d1fae5;
}

/* Mobile menu button */
.landing-menu-btn {
  display: none;
  color: #475569;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

.landing-menu-btn:hover {
  color: #059669;
}

.landing-menu-btn svg {
  width: 1.75rem;
  height: 1.75rem;
}

.landing-mobile-menu {
  display: none;
  background: white;
  border-top: 1px solid #f1f5f9;
}

.landing-mobile-menu.is-open {
  display: block;
}

/* Hero Section */
.landing-hero {
  background: #f8fafc;
  padding: 4rem 0;
}

.landing-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.landing-hero__text {
  text-align: center;
}

.landing-hero__title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.landing-hero__subtitle {
  font-size: 1.25rem;
  color: #475569;
  margin-bottom: 2rem;
  font-weight: 500;
}

.landing-hero__features {
  font-size: 1.125rem;
  color: #047857;
  font-weight: 600;
  line-height: 1.6;
}

.landing-hero__form-wrapper {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}

.landing-hero__form-title {
  text-align: center;
  color: #0f172a;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Form Card */
.landing-form-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.landing-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.landing-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.5rem;
}

.landing-form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #cbd5e1;
  outline: none;
  font-size: 1rem;
  transition: all 0.3s;
}

.landing-form__input:focus {
  border-color: #059669;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.landing-form__note {
  font-weight: 500;
  color: #475569;
  text-align: center;
  margin-top: 0.5rem;
}

/* Sections */
.landing-section {
  padding: 5rem 0;
}

.landing-section--gray {
  background: #f8fafc;
}

.landing-section--white {
  background: white;
}

.landing-section__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  display: inline-block;
}

.landing-section__title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  background: #10b981;
  border-radius: 2px;
}

.landing-section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* Feature Grid */
.landing-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.landing-feature {
  position: relative;
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.3s;
  cursor: default;
}

.landing-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.12);
  border-color: #6ee7b7;
}

.landing-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #10b981;
  border-radius: 0.75rem 0.75rem 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.landing-feature:hover::before {
  transform: scaleX(1);
}

.landing-feature__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.3s;
}

.landing-feature:hover .landing-feature__icon {
  background: #10b981;
}

.landing-feature__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: #059669;
  transition: stroke 0.3s;
}

.landing-feature:hover .landing-feature__icon svg {
  stroke: white;
}

.landing-feature__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.landing-feature__desc {
  color: #475569;
}

/* Info Strip */
.landing-info-strip {
  background: #0f172a;
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
}

.landing-info-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.landing-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s;
}

.landing-info-item:hover {
  transform: translateX(4px);
}

.landing-info-item__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.landing-info-item__text {
  color: white;
  font-weight: 600;
}

/* Benefits Grid */
.landing-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 72rem;
  margin: 0 auto 4rem;
}

.landing-benefit {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: all 0.3s;
}

.landing-benefit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.1);
}

.landing-benefit--featured {
  border: 2px solid #10b981;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: relative;
  transform: scale(1.05);
}

.landing-benefit__badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.landing-benefit__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.landing-benefit__title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.landing-benefit--featured .landing-benefit__title {
  color: #047857;
}

.landing-benefit__desc {
  color: #475569;
  font-size: 0.875rem;
}

/* CTA Section */
.landing-cta {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
}

.landing-cta__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2rem;
}

.landing-cta__note {
  color: #64748b;
  margin-top: 1.5rem;
}

/* Footer */
.landing-footer {
  background: #0f172a;
  padding: 2rem 0;
}

.landing-footer__content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.landing-footer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s;
}

.landing-footer__logo:hover {
  transform: scale(1.05);
}

.landing-footer__logo img {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 0.375rem;
}

.landing-footer__logo span {
  margin-left: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
}

.landing-footer__copy {
  color: #94a3b8;
  font-size: 0.875rem;
}

/* Responsive */
@media (min-width: 768px) {
  .landing-menu-btn {
    display: none;
  }

  .landing-nav .landing-btn {
    display: inline-flex;
  }

  .landing-hero {
    padding: 6rem 0;
  }

  .landing-hero__title {
    font-size: 3rem;
  }

  .landing-hero__subtitle {
    font-size: 1.5rem;
  }

  .landing-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-info-strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .landing-benefits {
    grid-template-columns: repeat(4, 1fr);
  }

  .landing-section__title {
    font-size: 2.25rem;
  }

  .landing-cta__title {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .landing-hero__content {
    flex-direction: row;
    gap: 4rem;
  }

  .landing-hero__text {
    flex: 1;
    text-align: left;
  }

  .landing-hero__form-wrapper {
    flex: 1;
  }

  .landing-hero__title {
    font-size: 3.75rem;
  }
}

/* Hide on mobile, show on md+ */
@media (max-width: 767px) {
  .landing-nav .landing-btn {
    display: none;
  }

  .landing-menu-btn {
    display: block;
  }
}

/* Success Page */
.landing-success {
  min-height: 100vh;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.landing-success__card {
  max-width: 36rem;
  width: 100%;
  background: white;
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  text-align: center;
}

.landing-success__icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 9999px;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-success__icon svg {
  width: 2.5rem;
  height: 2.5rem;
  stroke: #059669;
}

.landing-success__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.landing-success__subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: #059669;
  margin-bottom: 1rem;
}

.landing-success__text {
  color: #475569;
  margin-bottom: 2rem;
}

/* Steps */
.landing-steps {
  text-align: left;
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  margin-bottom: 2rem;
}

.landing-steps__title {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.landing-steps__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.landing-step {
  display: flex;
  gap: 1rem;
  transition: transform 0.3s;
}

.landing-step:hover {
  transform: translateX(4px);
}

.landing-step__number {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: white;
  border: 2px solid #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.landing-step__title {
  font-weight: 700;
  color: #0f172a;
}

.landing-step__desc {
  font-size: 0.875rem;
  color: #475569;
}

.landing-success__divider {
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

.landing-success__cta-title {
  color: #1e293b;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.landing-success__cta-text {
  color: #475569;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.landing-success__link {
  color: #059669;
  transition: color 0.3s;
}

.landing-success__link:hover {
  color: #047857;
  text-decoration: underline;
}

/* Video Page */
.landing-video-hero {
  background: #f8fafc;
  padding: 3rem 0 4rem;
}

.landing-video-hero__title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-align: center;
}

.landing-video-hero__subtitle {
  font-size: 1.125rem;
  color: #047857;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
}

.landing-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  margin-bottom: 2rem;
}

.landing-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
}

/* Value Strip */
.landing-value-strip {
  background: #0f172a;
  padding: 1.5rem 0;
}

.landing-value-strip__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
}

.landing-value-strip__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.landing-value-strip__item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #34d399;
}

/* Benefits List (vertical) */
.landing-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.landing-benefits-list__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.landing-benefits-list__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: #d1fae5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.landing-benefits-list__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #059669;
}

.landing-benefits-list__title {
  font-weight: 700;
  color: #0f172a;
}

.landing-benefits-list__desc {
  color: #475569;
}

/* Early Access Box */
.landing-early-access {
  margin-top: 2rem;
  padding: 1.25rem;
  background: #ecfdf5;
  border-radius: 0.75rem;
  border: 1px solid #a7f3d0;
}

.landing-early-access__title {
  font-weight: 700;
  color: #065f46;
  margin-bottom: 0.75rem;
}

.landing-early-access__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #047857;
}

.landing-early-access__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Signup Section (video page variant) */
.landing-signup-section {
  padding: 4rem 0;
  background: white;
}

.landing-signup-section__content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.landing-signup-section__left {
  flex: 1;
}

.landing-signup-section__right {
  flex: 1;
}

.landing-signup-section__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2rem;
}

.landing-signup-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  max-width: 28rem;
  margin: 0 auto;
}

.landing-signup-card__title {
  text-align: center;
  color: #0f172a;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.landing-signup-card__subtitle {
  text-align: center;
  color: #475569;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .landing-video-hero__title {
    font-size: 2.5rem;
  }

  .landing-video-hero__subtitle {
    font-size: 1.25rem;
  }

  .landing-value-strip__content {
    gap: 3rem;
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .landing-video-hero__title {
    font-size: 3rem;
  }

  .landing-signup-section__content {
    flex-direction: row;
    gap: 4rem;
    align-items: center;
  }

  .landing-signup-section__title {
    font-size: 2.25rem;
  }
}

/* ===================
   Public Documents (Probaj Besplatno)
   =================== */

.public-page {
  min-height: 100vh;
  background: #f8fafc;
  color: #1e293b;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.public-header {
  background: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}

.public-header__nav {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.public-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.public-header__logo img {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 0.375rem;
}

.public-header__logo span {
  margin-left: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #059669;
}

.public-main {
  max-width: 64rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.public-main--narrow {
  max-width: 48rem;
}

/* Page Header */
.public-page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.public-page-header__title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.public-page-header__subtitle {
  font-size: 1.25rem;
  color: #475569;
  margin-bottom: 0.5rem;
}

.public-page-header__highlight {
  font-size: 1.25rem;
  color: #475569;
  font-weight: 600;
}

.public-page-header__note {
  font-size: 1.125rem;
  color: #64748b;
}

/* Upload Card */
.public-upload-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.public-upload-card__title {
  display: block;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 1.5rem;
}

/* Alert */
.public-alert {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.public-alert--error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}

/* Dropzone */
.public-dropzone {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1.5rem;
  border: 2px dashed #6ee7b7;
  border-radius: 0.75rem;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  margin-bottom: 1.5rem;
  min-height: 200px;
}

.public-dropzone:has(.public-file-preview) {
  padding: 1rem 1.5rem;
}

.public-dropzone:hover {
  border-color: #34d399;
  background: #f0fdf4;
}

.public-dropzone--active {
  border-color: #10b981;
  background: #ecfdf5;
}

.public-dropzone__content {
  text-align: center;
}

.public-dropzone__icon {
  margin: 0 auto 1rem;
}

.public-dropzone__text {
  color: #475569;
}

.public-dropzone__text strong {
  color: #059669;
  font-weight: 600;
}

.public-dropzone__hint {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.5rem;
}

/* File Preview */
.public-file-preview {
  width: 100%;
  padding: 0.5rem 0;
  min-height: 200px;
}

.public-file-preview__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.public-file-preview__title {
  font-weight: 600;
  color: #0f172a;
}

.public-file-preview__add {
  font-size: 0.875rem;
  color: #059669;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
}

.public-file-preview__add:hover {
  color: #047857;
}

.public-file-preview__list {
  max-height: 12rem;
  overflow: auto;
  padding: 0;
}

.public-file-preview__item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.public-file-preview__item:last-child {
  border-bottom: none;
}

/* Submit */
.public-submit {
  text-align: center;
}

.public-submit__btn {
  width: 100%;
  background: #059669;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.public-submit__btn:hover {
  background: #047857;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
}

.public-submit__note {
  font-weight: 500;
  color: #475569;
  margin-top: 0.75rem;
}

/* Trust Badges */
.public-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.public-trust__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #475569;
  font-weight: 500;
}

.public-trust__item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #059669;
}

/* Footer */
.public-footer {
  background: white;
  border-top: 1px solid #e2e8f0;
  margin-top: 5rem;
}

.public-footer__content {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: #475569;
}

/* Processing Page */
.public-processing {
  text-align: center;
  padding: 4rem 0;
}

.public-processing__icon {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 2rem;
}

.public-processing__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.public-processing__subtitle {
  font-size: 1.25rem;
  color: #475569;
  margin-bottom: 2rem;
}

/* Progress Bar */
.public-progress {
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.public-progress__bar {
  height: 0.5rem;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.public-progress__fill {
  height: 100%;
  background: #10b981;
  border-radius: 9999px;
  transition: width 0.3s;
}

.public-progress__text {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
}

/* Results Page */
.public-results__header {
  text-align: center;
  margin-bottom: 2rem;
}

.public-results__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.public-results__subtitle {
  color: #475569;
}

.public-results__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.public-stat {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.public-stat__value {
  font-size: 2rem;
  font-weight: 700;
  color: #059669;
}

.public-stat__label {
  font-size: 0.875rem;
  color: #64748b;
}

/* Results Table */
.public-results-table {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  margin-bottom: 2rem;
}

.public-results-table table {
  width: 100%;
  border-collapse: collapse;
}

.public-results-table th {
  background: #f8fafc;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #475569;
  font-size: 0.875rem;
  border-bottom: 1px solid #e2e8f0;
}

.public-results-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.public-results-table tr:last-child td {
  border-bottom: none;
}

/* CTA Box */
.public-cta-box {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
}

.public-cta-box__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 0.5rem;
}

.public-cta-box__text {
  color: #047857;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .public-page-header__title {
    font-size: 2.5rem;
  }

  .public-upload-card {
    padding: 3rem;
  }

  .public-trust {
    flex-direction: row;
    justify-content: center;
  }

  .public-results__stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .public-page-header__title {
    font-size: 3rem;
  }
}

/* Info Box */
.public-info-box {
  max-width: 36rem;
  margin: 0 auto;
  background: linear-gradient(to bottom right, #ecfdf5, white);
  border-radius: 0.75rem;
  border: 2px solid #6ee7b7;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.public-info-box__title {
  font-weight: 700;
  color: #047857;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.public-info-box__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.public-info-box__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border-radius: 0.5rem;
  padding: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-weight: 600;
}

.public-info-box__item span:first-child {
  font-size: 1.5rem;
}

.public-info-box__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.public-info-box__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  padding: 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.public-info-box__row-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.public-info-box__row-label span:first-child {
  font-size: 1.5rem;
}

.public-info-box__row-value {
  font-weight: 600;
  color: #0f172a;
}

.public-info-box__meta {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: #64748b;
}

/* Tip Box */
.public-tip {
  border-left: 4px solid #10b981;
  background: #ecfdf5;
  padding: 1.25rem;
  text-align: left;
  max-width: 36rem;
  margin: 0 auto;
  border-radius: 0.375rem;
}

.public-tip__text {
  color: #065f46;
  font-weight: 500;
}

/* Form Card */
.public-form-card {
  max-width: 28rem;
  margin: 0 auto;
  background: white;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.public-form-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
  text-align: center;
}

.public-form__group {
  margin-bottom: 1rem;
}

.public-form__label {
  display: block;
  margin-bottom: 0.5rem;
  color: #334155;
  font-weight: 500;
  font-size: 0.875rem;
  text-align: left;
}

.public-form__input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: white;
  color: #0f172a;
  outline: none;
  transition: all 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.public-form__input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.public-form__input::placeholder {
  color: #94a3b8;
}

/* Stats List */
.public-stats-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.public-stats-list__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #334155;
}

.public-stats-list__icon {
  color: #059669;
  font-size: 1.25rem;
}

/* Email Sent Box */
.public-email-sent {
  background: linear-gradient(to bottom right, #ecfdf5, white);
  border-radius: 0.75rem;
  border: 2px solid #6ee7b7;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.public-email-sent__text {
  font-size: 1.125rem;
  color: #334155;
  margin-bottom: 0.5rem;
}

.public-email-sent__email {
  font-weight: 700;
  color: #0f172a;
}

.public-email-sent__help {
  font-size: 0.875rem;
  color: #334155;
}

.public-email-sent__link {
  color: #059669;
  font-weight: 600;
  text-decoration: underline;
}

.public-email-sent__link:hover {
  color: #047857;
}

/* Savings Box */
.public-savings-box {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
}

.public-savings-box__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.public-savings-box__text {
  color: #475569;
  margin-bottom: 1.5rem;
}

.public-savings-box__content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: #334155;
}

.public-savings-box__section-title {
  font-weight: 500;
}

.public-savings-box__list {
  margin-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.public-divider {
  display: flex;
  align-items: center;
  margin: 1rem 0;
}

.public-divider__line {
  flex: 1;
  border-top: 1px solid #cbd5e1;
}

.public-divider__text {
  margin: 0 0.75rem;
  color: #64748b;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* Spacer */
.public-space-y > * + * {
  margin-top: 2.5rem;
}

/* Loading text animation */
.loading-text::after {
  content: "";
  display: inline-block;
  width: 1em;
  text-align: left;
  animation: dots 1s steps(3, end) infinite;
}

@keyframes dots {
  0%,
  20% {
    content: "";
  }
  40% {
    content: ".";
  }
  60% {
    content: "..";
  }
  80%,
  100% {
    content: "...";
  }
}

/* File Upload */
.public-file-item {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.public-file-item + .public-file-item {
  border-top: 1px solid #e2e8f0;
}

.public-file-item__info {
  display: flex;
  align-items: center;
}

.public-file-item__icon {
  width: 2.5rem;
  height: 2.5rem;
  background: #ecfdf5;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.public-file-item__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #10b981;
}

.public-file-item__icon img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: cover;
  border-radius: 0.5rem;
}

.public-file-item__details {
  margin-left: 0.75rem;
}

.public-file-item__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-file-item__size {
  font-size: 0.875rem;
  color: #64748b;
}

.public-file-item__remove {
  color: #94a3b8;
  padding: 0.25rem;
  border-radius: 9999px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.public-file-item__remove:hover {
  color: #ef4444;
}

.public-file-item__remove svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Utility: hidden */
.hidden {
  display: none !important;
}
