/* nav specialized to landing page */
.logo {
  /*background: url('logo.svg') no-repeat;*/
  background: url('logo.png') no-repeat;
  background-size: contain;
  margin: 1rem 0 0 1rem;
}

nav {
  background-color: var(--bg-color);
}

/* hero section */
.hero {
  text-align: center;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
  padding: 3rem 0 10rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero img {
  border: 5px solid white;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.hero img:hover {
  transform: scale(1.05) rotate(2deg);
}

.hero__title {
  font-weight: 900;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  margin-top: 1.5rem;
}

.hero__description {
  margin: -1rem auto 2rem auto;
  color: white;
  font-size: 1.3rem;
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.hero__terminal {
  width: 60%;
  margin: -11rem auto 3rem auto;
  text-align: left;
  color: white;
  padding: 0 1rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #1e1e1e, #2d2d2d);
  min-height: 285px;
  animation: fadeUp 2s;
  box-shadow: 
    0px 20px 60px rgba(0, 0, 0, 0.3),
    0px 0px 0px 1px rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.hero__terminal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.05), transparent);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero__terminal pre {
  white-space: pre-line;
  padding-top: 2.5rem;
}

/* feature section */
.feature {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.feature__item {
  max-width: calc(33.333% - 1rem);
  margin: 0;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.feature__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.feature__item .section__title {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature__item .section__title::after {
  width: 40px;
  height: 2px;
}

.feature__item p {
  margin-top: 0.5rem;
}

/* keybinding section */
.keybinding {
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
}

.keybinding__detail {
  position: relative;
  background: white;
  border: none;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  flex-basis: 50%;
  padding: 3rem 1.5rem 1.5rem 1.5rem;
  list-style: none;
  line-height: 2.2rem;
  transition: all 0.3s ease;
}

.keybinding__detail:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.keybinding__detail:first-child {
  text-align: right;
  padding-right: 1.5rem;
}

.keybinding__detail:last-child {
  padding-left: 1.5rem;
  margin-left: 0;
}

.keybinding__detail:first-child .keybinding__title {
  position: absolute;
  right: 1rem;
  top: -2.5rem;
  background: var(--accent-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(37,99,235,0.3);
  font-weight: 600;
}

.keybinding__detail:last-child .keybinding__title {
  position: absolute;
  left: 1rem;
  top: -2.5rem;
  background: var(--secondary-accent);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(8,145,178,0.3);
  font-weight: 600;
}

.keybinding__label {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border: 1px solid var(--light-gray-color);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 6px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  color: var(--dark-gray-color);
  padding: 4px 8px;
  vertical-align: middle;
  font-weight: 600;
}

/* callout section */
.callout {
  text-align: center;
  padding: 1rem 0 3rem 0;
}

.callout .button--primary {
  display: inline-block;
  margin-top: 0.5rem;
}

/* changelog section */
.changelog {
  background: linear-gradient(to bottom, #f5f7fa 0%, #e8eef5 100%);
  padding: 3rem 0;
}

.changelog__item {
  display: flex;
  margin-bottom: 2rem;
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  border-left: 4px solid var(--accent-color);
}

.changelog__item:hover {
  transform: translateX(5px);
  box-shadow: var(--card-shadow-hover);
}

.changelog__meta {
  flex-basis: 25%;
}

.changelog__meta small {
  color: var(--primary-color-light);
  font-weight: 200;
  letter-spacing: 1px;
}

.changelog__title {
  margin-bottom: 0;
}

.changelog__callout {
  margin: 3rem auto 2rem auto;
  text-align: center;
}

/* installation section */
.installation {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  margin-bottom: 3rem;
  transition: all 0.3s ease;
}

.installation:hover {
  box-shadow: var(--card-shadow-hover);
}

.installation .section__title {
  margin-top: 0;
}

.installation .code {
  background: linear-gradient(145deg, #f8f9fa, #e9ecef);
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.5rem;
}

@media (max-width: 750px) {
  .hero__terminal {
    width: 85%;
    margin-top: -8rem;
  }
  .tab__container > ul {
    right: auto;
    left: 0;
    padding-left: 0;
  }
  .tab__container .code {
    margin-top: 2rem;
  }
  .feature, .keybinding, .changelog__item {
    flex-direction: column;
  }
  .feature__item {
    max-width: 100%;
    margin: 0 0 1.5rem 0;
  }
  .keybinding {
    font-size: 0.9rem;
    gap: 1.5rem;
  }
  .keybinding__detail {
    padding: 2rem 1rem 1rem 1rem;
  }
  .wrapper {
    width: 90%;
  }
}