:root {
  --bg-main: #0f172a;
  --bg-steel: #1e293b;
  --bg-card: rgba(70, 130, 180, 0.1);
  --bg-card-border: rgba(148, 163, 184, 0.18);
  
  --accent-steel: #4682b4;
  --accent-light: #60a5fa;
  --accent-cyan: #38bdf8;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  background: linear-gradient(180deg, var(--bg-main) 0%, #0c1322 100%);
  color: var(--text-main);
  line-height: 1.45;
  overflow-x: hidden;
  width: 100%;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--bg-card-border);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
  padding: 8px 0;
  flex-wrap: wrap;
  gap: 12px;
}

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

.site-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 99px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-steel), #2563eb);
  color: #fff;
  box-shadow: 0 4px 14px rgba(70, 130, 180, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(70, 130, 180, 0.6);
}

.hero-slider {
  position: relative;
  padding: 24px 0 16px;
}

.slider-track-container {
  position: relative;
  min-height: 540px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--bg-card-border);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  position: absolute;
  opacity: 1;
  visibility: visible;
}

.slide-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(15, 23, 42, 0.75) 0%, 
    rgba(15, 23, 42, 0.85) 60%, 
    rgba(15, 23, 42, 0.95) 100%
  );
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 760px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 99px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.slider-arrow {
  background: rgba(70, 130, 180, 0.15);
  border: 1px solid var(--bg-card-border);
  color: var(--text-main);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.slider-arrow:hover,
.slider-arrow:active {
  background: rgba(70, 130, 180, 0.35);
  color: var(--accent-cyan);
}

.slider-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  touch-action: manipulation;
}

.dot.active {
  background: var(--accent-cyan);
  width: 32px;
  border-radius: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 36px 0 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.features {
  padding: 30px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 32px;
}

.section-title h2 {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(70, 130, 180, 0.4);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(70, 130, 180, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(70, 130, 180, 0.25), rgba(30, 41, 59, 0.7));
  border: 1px solid rgba(70, 130, 180, 0.35);
  border-radius: 16px;
  padding: 36px 20px;
  text-align: center;
  margin: 30px 0;
}

.cta-banner h2 {
  font-size: 1.65rem;
  margin-bottom: 10px;
}

.cta-banner p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 520px;
  margin: 0 auto 20px;
}

footer {
  border-top: 1px solid var(--bg-card-border);
  padding: 40px 0 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 28px;
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-main);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--bg-card-border);
}

@media (max-width: 900px) {
  .slider-track-container {
    min-height: 460px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .nav-links {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 6px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .slider-track-container {
    min-height: 420px;
  }

  .hero h1 {
    font-size: 1.95rem;
    line-height: 1.25;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .slider-track-container {
    min-height: 380px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .cta-banner h2 {
    font-size: 1.35rem;
  }
}
