* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: #eff4f7;
  color: #0f172a;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(22, 163, 74, 0.14),
      transparent 26%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(34, 197, 94, 0.08),
      transparent 22%
    );
  pointer-events: none;
  z-index: -1;
}

/* ===== HEADER ===== */

header {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: white;
  padding: 32px 20px;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-size: 0.8rem;
}

header h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  max-width: 720px;
}

/* ===== NAVIGATION ===== */

nav {
  background: #166534;
}

nav ul {
  margin: 0;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
}

nav li {
  margin: 10px 14px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

nav a:hover,
nav a.active {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* ===== MAIN ===== */

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* ===== HERO ===== */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  background: white;
  border-radius: 32px;
  padding: 42px;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.08);
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.hero-tag {
  margin: 0;
  display: inline-block;
  color: #16a34a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.hero h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.02;
}

.hero-copy p {
  margin: 0;
  max-width: 680px;
  color: #475569;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-features li {
  color: #334155;
}

.hero-image img {
  border-radius: 32px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ===== SECTIONS ===== */

.featured,
.spotlight,
.why-choose,
.contact-preview {
  margin-top: 60px;
}

.featured h2,
.spotlight-intro h2,
.why-choose h2,
.contact-preview h2 {
  margin-bottom: 24px;
  text-align: center;
}

/* ===== GRIDS ===== */

.category-grid,
.products,
.features-grid,
.spotlight-grid {
  display: grid;
  gap: 24px;
}

.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.products {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.spotlight-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ===== CARDS ===== */

.card {
  background: white;
  padding: 28px;
  border-radius: 28px;
  text-align: left;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
}

.small-card {
  min-height: 200px;
}

.card h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

.card p {
  margin: 0;
  color: #475569;
}

.card img {
  width: 100%;
  border-radius: 22px;
  margin-bottom: 18px;
}

.spotlight-card {
  position: relative;
}

.tag {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #166534;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ===== FEATURE CARDS ===== */

.feature-card {
  background: white;
  padding: 28px;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

.feature-card p {
  margin: 0;
  color: #475569;
}

/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  background: #16a34a;
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.18);
}

.btn-secondary {
  background: white;
  color: #0f172a;
  border: 1px solid #d1d5db;
}

/* ===== PAGE INTRO ===== */

.page-intro {
  text-align: center;
  margin-bottom: 40px;
}

.page-intro h2 {
  font-size: clamp(2rem, 2.5vw, 2.6rem);
  margin-bottom: 16px;
}

.page-intro p {
  margin: 0 auto;
  max-width: 760px;
  color: #475569;
  font-size: 1.05rem;
}

/* ===== SEARCH ===== */

.search-bar {
  margin: 0 auto 28px;
  max-width: 620px;
}

.search-bar input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid #cbd5e1;
  box-shadow: inset 0 2px 6px rgba(15, 23, 42, 0.08);
  font-size: 1rem;
}

/* ===== PRODUCTS ===== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* ===== CONTACT ===== */

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.contact-card {
  background: white;
  padding: 28px;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.contact-card h3 {
  margin-top: 0;
}

.contact-card a {
  color: #16a34a;
  text-decoration: none;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #d1d5db;
  margin-bottom: 18px;
  font-size: 1rem;
}

.contact-form button {
  margin-top: 8px;
}

/* ===== FORM MESSAGE ===== */

.form-message {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  font-weight: 700;
}

.form-message.success {
  background: #ecfdf5;
  color: #166534;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
}

/* ===== CONTACT PREVIEW ===== */

.contact-preview {
  background: white;
  padding: 40px;
  border-radius: 32px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

/* ===== FOOTER ===== */

footer {
  text-align: center;
  padding: 30px 20px;
  background: #166534;
  color: white;
}

footer p {
  margin: 0;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 980px) {

  .hero {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {

  .header-inner {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }

  nav li {
    margin: 6px 0;
  }

  .hero {
    padding: 28px;
  }

}