/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}

/* Mobile-first approach */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navigation {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: #495057;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 8px;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: #667eea;
  outline: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  padding: 8px;
}

.menu-toggle:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
  border-radius: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-container {
    height: 60px;
    padding: 0 15px;
  }

  .nav-brand {
    font-size: 1.2rem;
  }

  .nav-menu {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: max-height 0.3s ease;
  }

  .nav-menu.active {
    max-height: 400px;
  }

  .nav-menu li {
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-menu a {
    display: block;
    padding: 16px 20px;
    min-height: 48px;
    justify-content: flex-start;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }
}

@media (max-width: 480px) {
  .nav-container {
    height: 56px;
    padding: 0 12px;
  }

  .nav-brand {
    font-size: 1rem;
    font-weight: 700;
  }

  .nav-menu {
    top: 56px;
  }

  .nav-menu a {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
}

/* Section Styles */
.section {
  padding: 100px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #f8f9fa;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
}

.btn:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-3px);
}

.btn-secondary:active {
  transform: translateY(-1px);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: #1a1a2e;
  color: white;
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
}

.footer p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer a,
.footer-link {
  color: #667eea;
  text-decoration: none;
  transition: all 0.3s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 4px;
}

.footer a:hover,
.footer a:focus,
.footer-link:hover,
.footer-link:focus {
  text-decoration: underline;
  color: #764ba2;
  outline: none;
}

.footer a:focus,
.footer-link:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 40px 0;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}
