:root {
  --bs-primary: #033c73;
  --bs-secondary: #ced4da;
  --bs-success: #73a839;
  --bs-info: #2fa4e7;
  --bs-warning: #dd5600;
  --bs-danger: #c71c22;
  --bs-light: #d5d9eb;
  --bs-dark: #343a40;
  --bs-font-sans-serif: "Roboto", sans-serif;

  --bs-primary: #033c73;
}

body {
  font-family: var(--bs-font-sans-serif);
  background-color: #f0f2f5;
  color: #495057;
}

.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--bs-primary) 0%, #055a9e 100%);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: #f0f2f5;
  transform: skewY(-3deg);
  transition: all 0.3s ease;
}
. .hero-title {
  font-weight: 700;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-hero {
  background-color: var(--bs-info);
  border: none;
  padding: 12px 35px;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 50px;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(47, 164, 231, 0.4);
}

.btn-hero:hover {
  background-color: #1a93d8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 164, 231, 0.6);
  color: white;
}

/* Features Section */
.section-title {
  color: var(--bs-primary);
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--bs-info);
  border-radius: 2px;
}

.feature-card {
  background: white;
  border-radius: 0.65rem;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow:
    0 0.46875rem 2.1875rem rgba(4, 9, 20, 0.03),
    0 0.9375rem 1.40625rem rgba(4, 9, 20, 0.03),
    0 0.25rem 0.53125rem rgba(4, 9, 20, 0.05),
    0 0.125rem 0.1875rem rgba(4, 9, 20, 0.03);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
  border-color: var(--bs-info);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--bs-info);
}

.feature-card h3 {
  color: var(--bs-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* About Section */
.about-section {
  background: white;
  padding: 5rem 0;
  margin-top: 3rem;
  box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.02);
}

.tech-badge {
  background-color: rgba(47, 164, 231, 0.1);
  color: var(--bs-primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: var(--bs-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 0;
  margin-top: auto;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}
.delay-300 {
  animation-delay: 0.3s;
}

/* Landing: System + Screens */
.landing-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.landing-list {
  padding-left: 1.2rem;
}

.landing-list li {
  margin-bottom: 0.75rem;
}

.landing-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-item {
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.03);
}

.timeline-step {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.timeline-desc {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.95rem;
}

.screens-section {
  background:
    radial-gradient(
      1200px 600px at 20% 10%,
      rgba(47, 164, 231, 0.22),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 85% 20%,
      rgba(115, 168, 57, 0.18),
      transparent 55%
    ),
    linear-gradient(180deg, #0b1220 0%, #0a1020 100%);
}

.screens-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Neural networks section */
.networks-section {
  padding: 2.5rem 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border-radius: 12px;
  margin-bottom: 2rem;
}

.networks-header {
  margin-bottom: 1.25rem;
}

.networks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.network-card {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(13, 38, 74, 0.06);
  border: 1px solid rgba(3, 60, 115, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.network-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(3, 60, 115, 0.12);
}

.network-card .network-title {
  font-weight: 700;
  color: var(--bs-primary);
  margin-bottom: 0.25rem;
}

.network-card .network-meta {
  font-size: 0 nine rem; /* fallback corrected below */
}

.network-card .network-meta,
.network-card .network-updated {
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 0.5rem;
}

.network-metrics {
  margin-top: auto;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.metric-pill {
  background: rgba(47, 164, 231, 0.08);
  color: var(--bs-primary);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0 nine rem; /* fallback corrected below */
}

@media (max-width: 991.98px) {
  .networks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .networks-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.25rem;
  }
}

/* Fix small font-size token typos inserted for older browsers */
.network-card .network-meta,
.metric-pill {
  font-size: 0.9rem;
}

.screen-row {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.screen-image {
  background: rgba(0, 0, 0, 0.22);
}

.screen-image img {
  display: block;
  width: 100%;
  height: auto;
}

.screen-content {
  padding: 1.25rem 1.25rem 1.35rem;
}

.screen-title {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.screen-text {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  line-height: 1.35;
}

@media (max-width: 991.98px) {
  .screen-content {
    padding: 1rem 1rem 1.1rem;
  }
}
/* ������ ����� �������� ������� � ������ */

.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.model-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(13, 38, 74, 0.06);
  border: 1px solid rgba(3, 60, 115, 0.05);
  transition:
    transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.22s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.model-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 45px rgba(3, 60, 115, 0.12);
}

/* Hover lift effect for cards */
.hover-lift {
  transition: 
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(3, 60, 115, 0.15) !important;
}

.model-card .card-title {
  color: #033c73;
  font-weight: 700;
}

.model-card .badge {
  font-size: 0.95rem;
  border-radius: 0.7em;
  font-weight: 600;
}

.model-card .text-muted {
  color: #6c757d !important;
}

.metric-card {
  background: #f8f9fa !important;
  border: 1px solid rgba(3, 60, 115, 0.08);
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  cursor: default;
}

.metric-card:hover {
  background: #ffffff !important;
  border-color: rgba(3, 60, 115, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.metric-card .fw-bold {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.metric-card small {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  font-size: 0.75rem;
}

.metric-pill {
  display: inline-block;
  background: rgba(47, 164, 231, 0.08);
  color: #033c73;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0.2rem 0.2rem 0;
}

@media (max-width: 991.98px) {
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .models-grid {
    grid-template-columns: 1fr;
  }
}
