:root {
  --color-bg: #F7F6F6;
  --color-primary: #5497CC;
  --color-accent: #AA8C52;
  --color-black: #000000;
}

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-black);
  line-height: 1.6;
}

header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 2px solid var(--color-accent);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-primary);
  text-shadow: 1px 1px 0 var(--color-accent);
  animation: logo-pop 1.2s cubic-bezier(.68,-0.55,.27,1.55);
}

@keyframes logo-pop {
  0% { transform: scale(0.7); opacity: 0; }
  80% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}

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

.nav-menu a {
  text-decoration: none;
  color: var(--color-black);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--color-primary);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s;
}

.nav-menu a:hover::after, .nav-menu a.active::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu span {
  width: 25px;
  height: 3px;
  background: var(--color-primary);
  margin: 3px 0;
  transition: 0.3s;
}

main {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  margin-bottom: 4rem;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: 2px solid var(--color-accent);
}

.section h1, .section h2 {
  color: var(--color-primary);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

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

.feature {
  text-align: center;
  padding: 1.5rem;
  background: var(--color-bg);
  border-radius: 10px;
  transition: transform 0.3s;
}

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

.feature h3 {
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.cta-button {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(170, 140, 82, 0.3);
}

.cta-button:hover {
  background: #8a6d42;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(170, 140, 82, 0.4);
}

footer {
  background: var(--color-black);
  color: white;
  text-align: center;
  padding: 2rem;
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0,0,0,0.05);
    padding: 2rem 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  nav {
    padding: 1rem 3%;
  }
  
  main {
    padding: 2rem 3%;
  }
}