*, *::before, *::after {
  box-sizing: border-box;
}

body, html {
  font-family: "Extended Sans-Serif", sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  color-scheme: dark;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  scroll-behavior: smooth;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(30, 30, 30, 0.8);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid #333;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  top: 1rem;
  width: 95%;
  max-width: 1152px;
  margin: 0 auto;
  border: 1px solid #333;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  background-color: rgba(40, 40, 40, 0.95);
}
.navbar .navbar-container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.navbar .navbar-container .navbar-logo img {
  width: 120px;
  height: 40px;
}
.navbar .navbar-container .navbar-links a {
  color: #e0e0e0;
  text-decoration: none;
  margin-left: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.navbar .navbar-container .navbar-links a:hover {
  color: #4dabf7;
}

.hero {
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem 3rem;
  text-align: center;
}

.upload-card {
  background: linear-gradient(145deg, #1a1d24 0%, #12141a 100%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 3rem 2.5rem;
  max-width: 900px;
  width: 80vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.upload-card .upload-title {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.upload-card .drop-zone {
  border: 2px dashed #444c56;
  background-color: rgba(30, 35, 40, 0.5);
  border-radius: 0.75rem;
  padding: 3.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  margin-top: 1.5rem;
}
.upload-card .drop-zone:hover {
  background-color: rgba(40, 45, 50, 0.8);
  border-color: #4dabf7;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.upload-card .drop-zone.is-hovered {
  border-color: #4dabf7;
  background-color: rgba(40, 45, 50, 0.8);
}
.upload-card .drop-zone .drop-zone-icon {
  height: 4.5rem;
  width: 4.5rem;
  margin: 0 auto 1rem auto;
  background: rgba(77, 171, 247, 0.1);
  border-radius: 50%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-card .drop-zone p {
  margin-top: 0.5rem;
  color: #8b949e;
  font-size: 1.05rem;
}
.upload-card .drop-zone .upload-click {
  font-weight: 600;
  color: #4dabf7;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.3s ease;
}
.upload-card .drop-zone .upload-click:hover {
  text-decoration-color: #4dabf7;
}
.upload-card .drop-zone .file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.upload-card .file-list {
  margin-top: 1.5rem;
  border-top: 1px solid #333;
  padding-top: 1.5rem;
}
.upload-card .file-list h3 {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 500;
}
.upload-card .file-list p {
  margin-top: 0.5rem;
  color: #aaaaaa;
  font-size: 0.875rem;
}
.upload-card .file-list ul {
  list-style-type: none;
  padding: 0;
  text-align: left;
}
.upload-card .file-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #333;
}
.upload-card .file-list .remove-file-btn {
  background: none;
  border: none;
  color: #ff6b6b;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
}
.upload-card .file-list .remove-file-btn:hover {
  color: #ff4c4c;
}
.upload-card .analyze-button {
  margin-top: 2rem;
  width: 100%;
  background-color: #2563EB;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}
.upload-card .analyze-button:hover {
  background-color: #1d4ed8;
}
.upload-card .analyze-button:active {
  background-color: #2563EB;
}

.how-it-works {
  padding: 3.5rem 1rem;
  background-color: #121212;
  text-align: center;
}
.how-it-works h2 {
  color: #ffffff;
  font-size: 2.25rem;
  font-weight: 700;
}
.how-it-works p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: #aaaaaa;
}
.how-it-works .features-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .how-it-works .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.how-it-works .features-grid .feature-card {
  background-color: #1e1e1e;
  border: 1px solid #333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.how-it-works .features-grid .feature-card .feature-icon {
  background-color: #333;
  padding: 1rem;
  border-radius: 9999px;
  height: 3.5rem;
  width: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-it-works .features-grid .feature-card h3 {
  color: #ffffff;
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
}
.how-it-works .features-grid .feature-card p {
  margin-top: 0.5rem;
  color: #aaaaaa;
  font-size: 1rem;
}
.how-it-works .features-grid .feature-card .identified-params-list {
  margin-top: 0.75rem;
  padding-left: 1.1rem;
  color: #aaaaaa;
  text-align: left;
  line-height: 1.5;
}
.how-it-works .features-grid .feature-card .identified-params-list li + li {
  margin-top: 0.35rem;
}
.how-it-works .csv-spec-card {
  margin: 2.5rem auto 0;
  max-width: 920px;
  background-color: #1b1f26;
  border: 1px solid #333;
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  text-align: left;
}
.how-it-works .csv-spec-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.2rem;
}
.how-it-works .csv-spec-card p {
  margin-top: 0.6rem;
  margin-bottom: 0;
  color: #aaaaaa;
  font-size: 1rem;
}
.how-it-works .csv-spec-card .csv-header {
  margin-top: 0.85rem;
  display: block;
  width: 100%;
  background-color: #0f131a;
  border: 1px solid #30363d;
  border-radius: 0.5rem;
  color: #79c0ff;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  padding: 0.75rem 1rem;
  text-align: center;
}
.how-it-works .csv-spec-card .csv-spec-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #aaaaaa;
  line-height: 1.5;
}
.how-it-works .csv-spec-card .csv-spec-list li + li {
  margin-top: 0.4rem;
}
.model-overview {
  background-color: #161a20;
}

.faq-section {
  padding: 3.5rem 1rem;
  background-color: #1a1a1a;
  text-align: center;
}
.faq-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
}
.faq-section .faq-container {
  max-width: 800px;
  margin: 2rem auto 0;
  text-align: left;
}
.faq-section .faq-container .faq-item {
  background-color: #1e1e1e;
  border: 1px solid #333;
  border-radius: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.faq-section .faq-container .faq-item summary {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-section .faq-container .faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-section .faq-container .faq-item summary::after {
  content: '+';
  color: #4dabf7;
  font-size: 1.5rem;
}
.faq-section .faq-container .faq-item[open] summary::after {
  content: '-';
}
.faq-section .faq-container .faq-item p {
  margin-top: 1rem;
  color: #aaaaaa;
  font-size: 1rem;
  line-height: 1.5;
  border-top: 1px solid #333;
  padding-top: 1rem;
}

.site-footer {
  background-color: #1e1e1e;
  border-top: 1px solid #333;
  padding: 3rem 1rem 1.5rem;
  color: #aaaaaa;
}
.site-footer .footer-container {
  max-width: 1152px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .site-footer .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
.site-footer .footer-logo {
  width: 200px;
  margin-bottom: 1rem;
}
.site-footer h4 {
  color: #ffffff;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.site-footer p {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.site-footer .social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.site-footer .social-links a {
  color: #4dabf7;
  text-decoration: none;
  font-size: 0.875rem;
}
.site-footer .social-links a:hover {
  color: #e0e0e0;
}
.site-footer .footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.75rem;
}

/*# sourceMappingURL=style.css.map */

/* Error Modal Styles */
.modal-overlay {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #1a1d24;
    padding: 2rem 2.5rem;
    border-radius: 0.75rem;
    border-top: 4px solid #4dabf7;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-content h3 {
    color: #4dabf7;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.modal-content p {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

#modal-close-btn {
    background-color: #444c56;
    border-color: #444c56;
}

#modal-close-btn:hover {
    background-color: #586069;
    border-color: #586069;
}

.modal-overlay.closing .modal-content {
    animation: fadeOut 0.3s ease-out forwards;
}
