@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg: #0c100d;
  --surface: #151b16;
  --surface2: #1d241e;
  --text: #f2f5ef;
  --muted: #1a231a;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #b7f477;
  --accentText: #10170d;
  --danger: #ff7070;
}

body.light {
  --bg: #f5f7f2;
  --surface: #ffffff;
  --surface2: #eaf0e6;
  --text: #171c17;
  --muted: #69736a;
  --line: rgba(0, 0, 0, 0.1);
  --accent: #467c22;
  --accentText: #ffffff;
  --danger: #c33;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  transition:
    background 0.3s,
    color 0.3s;
}

body.modal-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Manrope", sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1240px, 92%);
  margin: auto;
}

.section {
  padding: 75px 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -2px;
  line-height: 1.2;
}

.section-desc {
  color: var(--muted);
  line-height: 1.8;
  margin-top: 12px;
  max-width: 650px;
  font-size: 14px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  border-bottom: 1px solid var(--line);
}

.navbar {
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-name {
  font:
    800 25px "Manrope",
    sans-serif;
  letter-spacing: -1.3px;
}

.brand-name span {
  color: var(--accent);
}

.brand-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: none;
}

.brand.has-logo .brand-logo {
  display: block;
}
.brand.has-logo .brand-name {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: 18px;
  color: var(--muted);
  transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 18px;
}

.menu-btn {
  display: none;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 12px;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 14px 21px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.25s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accentText);
}

.btn-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.btn-small {
  padding: 11px 15px;
  font-size: 12px;
}

/* HERO */

.hero {
  padding: 25px 0 45px;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  min-height: 600px;
  background: #17221a;
  border: 1px solid var(--line);
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 15s ease-in-out infinite alternate;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 10, 6, 0.93),
    rgba(5, 10, 6, 0.72) 45%,
    rgba(5, 10, 6, 0.18)
  );
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 80px 60px;
  animation: fadeUp 0.8s ease both;
}

.hero h1 {
  color: #fff;
  font-size: clamp(45px, 7vw, 85px);
  line-height: 1.04;
  letter-spacing: -4px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  color: #d0d8cf;
  max-width: 550px;
  line-height: 1.8;
  margin: 25px 0 32px;
  font-size: 15px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero .btn-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-bottom {
  position: absolute;
  z-index: 3;
  bottom: 25px;
  left: 30px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: white;
  font-size: 11px;
  letter-spacing: 1.5px;
}

.hero-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 9px;
}

/* ANIMATION */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.7s ease both;
}

/* CATEGORY */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.category-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 24px;
  overflow: hidden;
  transition: 0.3s;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.category-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.category-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent);
}

.category-card-content {
  padding: 22px;
}

.category-card-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.category-card-content p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.category-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}

/* TRUST */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.trust-item {
  padding: 24px;
  display: flex;
  gap: 15px;
  align-items: center;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: none;
}

.trust-icon {
  font-size: 26px;
}

.trust-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

.trust-item small {
  color: var(--muted);
  font-size: 12px;
}

/* PRODUCTS */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  padding: 11px 18px;
  border-radius: 30px;
  font-size: 12px;
  transition: 0.2s;
}

.filter-btn.active {
  background: var(--accent);
  color: var(--accentText);
  border-color: var(--accent);
  font-weight: 700;
}

.search {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  margin-bottom: 25px;
  outline: none;
}

.search:focus {
  border-color: var(--accent);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  transition: 0.35s;
  animation: fadeUp 0.5s ease both;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}

.product-image {
  height: 245px;
  background: var(--surface2);
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 90px;
  background:
    radial-gradient(circle, rgba(181, 243, 107, 0.15), transparent 65%),
    var(--surface2);
}

.product-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(10, 15, 10, 0.85);
  color: var(--accent);
  border-radius: 30px;
  padding: 8px 13px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.product-content {
  padding: 23px;
}

.product-company {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-content h3 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.product-description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}

.spec {
  border: 1px solid var(--line);
  background: var(--surface2);
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 11px;
  color: var(--muted);
}

.spec strong {
  color: var(--text);
}

.product-buttons {
  display: flex;
  gap: 10px;
}

.product-buttons .btn {
  flex: 1;
}

.details-btn {
  display: block;
  text-align: center;
  width: 100%;
  margin-top: 12px;
  background: transparent;
  color: var(--muted);
  border: none;
  font-size: 12px;
  padding: 10px;
}

.empty {
  display: none;
  text-align: center;
  padding: 50px;
  color: var(--muted);
}

.bestsellers {
  background: color-mix(in srgb, var(--surface) 45%, var(--bg));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* CTA */

.cta {
  background:
    radial-gradient(
      ellipse at 90% 10%,
      rgba(181, 243, 107, 0.18),
      transparent 45%
    ),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -2px;
}

.cta p {
  color: var(--muted);
  line-height: 1.8;
  margin-top: 15px;
  max-width: 550px;
}

/* PAGE HEADER */

.page-header {
  padding: 70px 0 50px;
}

.page-header h1 {
  font-size: clamp(40px, 6vw, 70px);
  letter-spacing: -3px;
  line-height: 1.1;
}

.page-header p {
  color: var(--muted);
  max-width: 650px;
  line-height: 1.8;
  margin-top: 20px;
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.contact-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 25px;
  padding: 30px;
}

.contact-card h3 {
  font-size: 23px;
  margin-bottom: 20px;
}

.contact-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item small {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 12px;
}

.contact-item strong {
  font-size: 15px;
  overflow-wrap: anywhere;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--surface2);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 13px;
  padding: 15px;
  outline: none;
  width: 100%;
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.about-image {
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}

.about-content p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 14px;
  margin-top: 20px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 23px;
  padding: 28px;
}

.value-card .icon {
  font-size: 30px;
  margin-bottom: 20px;
}

.value-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.value-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* FOOTER */

.footer {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  padding: 35px 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 12px;
  color: var(--muted);
}

.footer-row p {
  font-size: 12px;
  color: var(--muted);
}

/* MODAL */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open {
  display: flex;
}

.modal-box {
  width: min(850px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.modal-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface2);
  color: var(--text);
  font-size: 20px;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-image {
  min-height: 350px;
  background: var(--surface2);
}

.modal-image img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
}

.modal-content {
  padding: 35px;
}

.modal-content h2 {
  font-size: 30px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.modal-content p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.modal-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.modal-spec {
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--surface2);
  border-radius: 12px;
  font-size: 12px;
}

.modal-content .btn {
  width: 100%;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item:nth-child(2) {
    border-right: none;
  }
  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 750px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 25px;
    flex-direction: column;
  }

  .nav-links.open {
    display: flex;
  }
  .menu-btn {
    display: block;
  }

  .hero-content {
    padding: 60px 30px;
  }
  .hero-shell {
    min-height: 520px;
  }
  .hero h1 {
    letter-spacing: -2px;
  }

  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .modal-body {
    grid-template-columns: 1fr;
  }
  .modal-image {
    min-height: 250px;
  }
  .modal-image img {
    min-height: 250px;
  }
  .modal-content {
    padding: 25px;
  }
}

@media (max-width: 550px) {
  .container {
    width: 94%;
  }
  .product-grid,
  .category-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 15px;
  }
  .hero-shell {
    min-height: 490px;
    border-radius: 25px;
  }
  .hero-content {
    padding: 48px 22px;
  }
  .hero h1 {
    font-size: 49px;
  }
  .hero p {
    font-size: 14px;
  }

  .hero-bottom {
    bottom: 20px;
    left: 20px;
    right: 20px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }
  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .trust-item:last-child {
    border-bottom: none;
  }
  .trust-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .cta {
    padding: 30px;
    flex-direction: column;
    align-items: start;
  }
  .section {
    padding: 45px 0;
  }
  .section-head {
    flex-direction: column;
    align-items: start;
  }
  .product-image {
    height: 235px;
  }
}

/* HOMEPAGE ADDITIONS */

.section-desc,
.category-card-content p,
.value-card p,
.about-preview-content p,
.review-card p,
.faq-item p,
.cta p {
  font-size: 16px;
  line-height: 1.8;
}

.category-card-content h3,
.value-card h3,
.review-card h3 {
  font-size: 20px;
}

.trust-item small {
  font-size: 14px;
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.about-preview-image {
  min-height: 380px;
  background-size: cover;
  background-position: center;
  border-radius: 18px;
}

.about-preview-content p {
  margin: 16px 0;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  padding: 26px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5e8e5;
}

.review-stars {
  color: #e6a323;
  font-size: 20px;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.review-card h3 {
  margin-top: 18px;
}

.review-card small {
  font-size: 14px;
  color: #777;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: auto;
}

.faq-item {
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #e5e8e5;
  border-radius: 12px;
}

.faq-item summary {
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

.faq-item p {
  margin-top: 14px;
}

@media (max-width: 768px) {
  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-preview-image {
    min-height: 260px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .section-desc,
  .category-card-content p,
  .value-card p,
  .about-preview-content p,
  .review-card p,
  .faq-item p,
  .cta p {
    font-size: 25px;
  }
}
p {
  font-size: 1.2rem !important;
  font-weight: 500;
  line-height: 1.6;
}
