:root {
  --font-primary: 'Inter', sans-serif;
  --color-primary: #0055A4;
  /* Ukrainian blue */
  --color-primary-dark: #002855;
  /* Deep blue */
  --color-accent: #FFD700;
  /* Ukrainian yellow */
  --color-bg: #f8fafc;
  --color-text: #334155;
  --color-card-bg: #ffffff;
  --color-card-shadow: rgba(0, 0, 0, 0.08);
  --border-radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

/* Navigation */
nav.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
}

nav .logo img {
  height: 70px;
  display: block;
}

nav .nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav .nav-links a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color .2s;
}

nav .nav-links a:hover {
  color: var(--color-primary);
}

/* Hero Section */
header.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--color-primary-dark);
  background-image: radial-gradient(circle at top right, #004080, #002855);
  color: #fff;
  text-align: center;
  padding: 120px 1rem 4rem 1rem;
}

.hero-content {
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
  transition: transform .3s, box-shadow .3s, background .3s;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
  background: #ffdf33;
}

.cta-button.outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.cta-button.outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-3px);
}

.cta-button.outline-dark {
  background: transparent;
  color: var(--color-primary-dark);
  border: 2px solid var(--color-primary-dark);
  box-shadow: none;
}

.cta-button.outline-dark:hover {
  background: rgba(0, 40, 85, 0.05);
  transform: translateY(-3px);
}

/* Stats Section */
.stats-section {
  background: var(--color-primary);
  color: #fff;
  padding: 4rem 5%;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
}

.stat-item {
  transition: transform 0.3s;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-item p {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.9;
}

/* Sections */
section.section {
  padding: 6rem 5%;
  max-width: 1200px;
  margin: auto;
}

section.section h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
  color: var(--color-primary-dark);
}

.bg-light {
  background-color: var(--color-card-bg);
}

/* Layouts & Utilities */
.text-center {
  text-align: center;
}

.mt-large {
  margin-top: 3rem !important;
}

.mb-large {
  margin-bottom: 2rem !important;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

#roadmap .split-layout {
  max-width: 900px;
  margin: 0 auto;
}

.split-col h2 {
  text-align: left !important;
  margin-bottom: 1.5rem;
}

.split-col h3 {
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

/* Lists */
.feature-list {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-list li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.2rem;
  color: var(--color-text);
  font-size: 1.1rem;
  transition: color 0.3s, transform 0.3s;
}

.feature-list li:hover {
  color: var(--color-primary-dark);
  transform: translateX(5px);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--color-accent);
  font-weight: bold;
  font-size: 1.1rem;
  background: var(--color-primary-dark);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding-bottom: 1px;
}

.feature-list.numbered {
  list-style-type: decimal;
  padding-left: 1.5rem;
}

.feature-list.numbered li {
  padding-left: 0.5rem;
}

.feature-list.numbered li::before {
  display: none;
}

.highlight-list li {
  background: #f1f5f9;
  padding: 1.5rem 1.5rem 1.5rem 3.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
  transition: background 0.3s, transform 0.3s;
}

.highlight-list li:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

.highlight-list li::before {
  top: 1.5rem;
  left: 1rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: var(--color-card-bg);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px var(--color-card-shadow);
  transition: transform .3s, box-shadow .3s;
  border-top: 4px solid var(--color-primary);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--color-primary-dark);
}

.card p {
  color: #475569;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Contact Form */
section.contact {
  background: #ffffff;
  border-radius: 24px;
  padding: 4rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  margin-bottom: 6rem;
}

form#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin: auto;
}

form label {
  font-weight: 600;
  color: var(--color-primary-dark);
  cursor: pointer;
}

form input,
form textarea {
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 85, 164, 0.1);
}

form button.cta-button {
  width: 100%;
  border: none;
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  margin-top: 1rem;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

.form-message.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* Footer */
footer.footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 5% 2rem;
  font-size: 0.95rem;
}

.footer-logo-img {
  height: 50px;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scroll To Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--color-primary);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 1000;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  transform: translateY(-5px);
  background: var(--color-primary-dark);
}

@media (max-width:768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  nav.nav {
    flex-direction: column;
    padding: 1rem;
  }

  nav .nav-links {
    margin-top: 1rem;
    gap: 1.5rem;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  nav .nav-links::-webkit-scrollbar {
    display: none;
  }

  nav .nav-links a {
    font-size: 1rem;
    font-weight: 600;
  }

  header.hero {
    padding-top: 180px;
  }

  /* Responsive Paddings */
  section.section {
    padding: 4rem 1.5rem;
  }

  .stats-section {
    padding: 3rem 1.5rem;
  }

  section.contact {
    padding: 2.5rem 1.5rem;
  }

  .card {
    padding: 2rem 1.5rem;
  }

  /* Responsive Layouts */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .split-col h2 {
    margin-bottom: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .footer-col h4 {
    margin-bottom: 1rem;
  }
}