/* рџЊ™ Dark SmartWerk Theme */
body {
  background-color: #0f172a;
  color: #f1f5f9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background-color: #1e293b;
  display: flex;
  justify-content: space-between; /* логотип зліва, кнопки справа */
  align-items: center;
  padding: 0rem ; /* відступи зверху/збоку */
  border-bottom: 1px solid #334155;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header img {
  height: 15%; /* ідеальний розмір логотипу */
  width: 100px;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

header img:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* Меню справа */
nav {
  display: flex;
  align-items: center;
}

nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  margin-left: 1.8rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

nav a:hover {
  color: #60a5fa;
  transform: translateY(-2px);
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  background-color: #1e293b;
  color: #e2e8f0;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero button {
  background-color: #3b82f6;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.hero button:hover {
  background-color: #2563eb;
}

.section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.section h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #93c5fd;
}

.features, .steps, .audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-box, .step-box, .audience-box {
  background-color: #1e293b;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #334155;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}


footer {
  background-color: #0f172a;
  text-align: center;
  padding: 2rem;
  color: #64748b;
  border-top: 1px solid #1e293b;
}

footer a {
  color: #60a5fa;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Auth-aware buttons */
.btn-primary {
  background-color: #3b82f6;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  margin-left: 1rem;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #2563eb;
}

.testimonials {
  background: #0f172a;
  color: #e5e7eb;
  text-align: center;
  padding: 4rem 2rem;
}

.testimonials h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.testimonial-card {
  background: #1e293b;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

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

.testimonial-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 2px solid #38bdf8;
  object-fit: cover;
}

.testimonial-card p {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.testimonial-card h4 {
  font-weight: bold;
  margin-top: auto;
  font-size: 0.95rem;
}

.testimonial-card h4 span {
  font-weight: normal;
  color: #94a3b8;
  font-size: 0.85rem;
  display: block;
}

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

.smartwerk-box {
  background: #1f2937;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #374151;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.smartwerk-box h4 {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 1.2rem;
}

.smartwerk-box ul {
  padding-left: 1.2rem;
  color: #cbd5e1;
}

.smartwerk-box p {
  color: #cbd5e1;
}

.smartwerk-suggest {
  text-align: center;
}

.smartwerk-suggest a.btn-secondary {
  background: #2563eb;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.smartwerk-suggest a.btn-secondary:hover {
  background: #1d4ed8;
}
.featured-testimonial {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background-color: #1e293b;
  border-left: 4px solid #38bdf8;
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 2rem;
  box-shadow: 0 0 10px rgba(30, 41, 59, 0.3);
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #38bdf8;
}

.testimonial-content .quote {
  font-style: italic;
  color: #e2e8f0;
  margin: 0;
}

.testimonial-content .author {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-top: 0.4rem;
}

@media screen and (max-width: 768px) {
  .features, .steps, .audience, .testimonial-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
}
.hero h2 {
  font-size: 1.4rem;
  text-align: center;
}
.hero p {
  font-size: 1rem;
  padding: 0 1rem;
}
