/* Base resets */
p {
  margin: 0;
}
body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #000;
  background: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Section layout */
header,
section {
  padding: 40px 20px;
}

.main {
  padding: 0 20px;
}

section {
  border-top: 1px solid #e2e8f0;
}

.hero {
  border-top: none;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
}

.logo_container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  height: 40px;
  flex-direction: row;
}

.logoicon {
  height: 40px;
}

.logotext {
  font-size: 24px;
  font-weight: bold;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  font-weight: 500;
}

.nav-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  text-align: center;
}

.desyns {
  max-width: 100%;
  height: auto;
  max-height: 400px;
}
.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid gray;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero h1 {
  display: inline-block;
  line-height: 1.2;
  white-space: pre-line;
  font-size: 32px;
  margin: 16px 0;
}

.hero p {
  font-size: 16px;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #c4c4c4;
  color: #000;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn:hover {
  background: #f5f5f5;
  border-color: #a0a0a0;
}

.btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

/* Templates Section */
.templates h2,
.features-list h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 32px;
}

.templates-grid {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: auto;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.slider-track a {
  min-width: 100%;

  box-sizing: border-box;
  padding: 0 10px;
}

.slider-track a img {
  max-width: 100%;
  width: 500px;
  height: auto;
  border-radius: 4px;
}

.slider-track img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.templates-grid a:hover img {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.slider-buttons {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  gap: 16px;
}

.slider-buttons button {
  padding: 8px 16px;
  font-size: 14px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  border-radius: 4px;
}

.slider-buttons button:hover {
  background: #f0f0f0;
}

/* Features Section */
.features-list ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  font-size: 16px;
}

.features-list li::before {
  content: "✓";
  margin-right: 8px;
  color: #38a169;
  font-weight: bold;
}

/* Download Section */
.download {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Footer */
.footer {
  width: 100%;
  min-height: 60px;
  padding: 40px 0;
  display: flex;
  justify-self: center;
  align-items: center;
  flex-direction: column;
  border-top: 1px solid #e2e8f0;
}

.footer a {
  margin: 0 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  header,
  section {
    padding: 20px 16px;
  }

  .slider-track a {
    min-width: 100%;
    height: auto;
  }

  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #fff;
    width: 180px;
    padding: 8px 8px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
  }

  .nav.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}
