/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background-color: #f7f7f9;
  line-height: 1.6;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e9;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo a {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #1f2933;
  text-decoration: none;
}

.nav a {
  margin-left: 20px;
  text-decoration: none;
  font-size: 14px;
  color: #4b5563;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: #111827;
  border-bottom-color: #2563eb;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  color: #f9fafb;
  padding: 60px 0 70px;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}

.hero-text {
  flex: 1 1 320px;
}

.hero-text h1 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 15px;
  color: #e5e7eb;
  max-width: 480px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-image {
  flex: 1 1 260px;
  display: flex;
  justify-content: center;
}

.hero-placeholder {
  width: 280px;
  height: 180px;
  border-radius: 12px;
  border: 1px dashed #93c5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bfdbfe;
  font-size: 14px;
}

/* Sections */
.section {
  padding: 50px 0;
}

.section-light {
  background-color: #f7f7f9;
}

.section-dark {
  background-color: #0b1120;
  color: #e5e7eb;
}

.section-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.section-title-light {
  color: #e5e7eb;
}

.section-subtitle {
  font-size: 14px;
  color: #6b7280;
  max-width: 600px;
  margin-bottom: 24px;
}

.section-subtitle-light {
  color: #9ca3af;
}

.mt-40 {
  margin-top: 40px;
}

/* Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.category-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid #e5e7eb;
}

.category-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.product-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
}

.product-image.placeholder {
  width: 100%;
  height: 140px;
  border-radius: 8px;
  border: 1px dashed #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 10px;
}

.product-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.product-desc {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}

.product-price {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 10px;
}

.product-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Why us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.feature-card {
  background-color: #020617;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid #1f2937;
}

.feature-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.contact-block {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid #e5e7eb;
}

.inline-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background-color: #e5e7eb;
  font-size: 12px;
}

.contact-block a {
  color: #2563eb;
  text-decoration: none;
}

.contact-block a:hover {
  text-decoration: underline;
}

.contact-form .form-row {
  margin-bottom: 12px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  outline: none;
  transition: border-color 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2563eb;
}

.hint {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 8px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}

.btn-secondary {
  background-color: #ffffff;
  color: #111827;
  border-color: #d1d5db;
}

.btn-secondary:hover {
  background-color: #f3f4f6;
}

.btn-outline {
  background-color: transparent;
  color: #2563eb;
  border-color: #2563eb;
}

.btn-outline:hover {
  background-color: #eff6ff;
}

.btn-small {
  padding: 6px 12px;
  font-size: 12px;
}

/* Footer */
.site-footer {
  background-color: #020617;
  color: #9ca3af;
  padding: 16px 0;
}

.footer-inner {
  text-align: center;
  font-size: 12px;
}

.footer-second-line {
  margin-top: 4px;
  color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 40px 0 50px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .header-inner {
    flex-direction: row;
  }

  .nav a {
    margin-left: 12px;
    font-size: 13px;
  }
}
