/* ============================================================
   Maun Swiss — Main Stylesheet
   ============================================================ */

:root {
  --bg: #101014;
  --surface: rgba(255,255,255,.06);
  --text: #f0f0f0;
  --muted: rgba(255,255,255,.55);
  --accent: #39d5ff;
  --radius: 12px;
}

/* --- Reset -------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* --- Navigation -------------------------------------------- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 5vw;
  height: 64px;
  background: rgba(16,16,20,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text);
  flex-shrink: 0;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}

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

.nav-social {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-social:hover {
  color: var(--accent);
}

.nav-social svg {
  display: block;
}

#lang-btn {
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--muted);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.05em;
}

#lang-btn:hover {
  background: var(--surface);
  color: var(--text);
}

/* --- Hero --------------------------------------------------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('img/hero-placeholder.svg') center / cover no-repeat;
  padding: 0 5vw;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,10,16,0.65);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

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

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--muted);
  margin-bottom: 2.25rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #101014;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn:hover {
  opacity: 0.85;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: rgba(57,213,255,0.08);
  opacity: 1;
}

/* --- Section Base ------------------------------------------ */
section {
  padding: 100px 5vw;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 3rem;
  max-width: 560px;
  font-size: 1.05rem;
}

.accent-line {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* --- Glassmorphism Card ------------------------------------ */
.glass {
  background: var(--surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
}

/* --- About ------------------------------------------------- */
#about {
  background: rgba(255,255,255,0.02);
}

.about-grid {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.about-text {
  flex: 1 1 55%;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1.1rem;
  line-height: 1.75;
}

.about-text p:last-of-type {
  margin-bottom: 0;
}

.about-deco {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.deco-card {
  padding: 1.5rem 1.75rem;
}

.deco-card .deco-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.deco-card .deco-label {
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-note {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
}

/* --- Certificates ------------------------------------------ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.cert-card {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  transition: transform 0.2s;
}

.cert-card:hover {
  transform: translateY(-4px);
}

.cert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(57,213,255,0.1);
  border-radius: 8px;
  flex-shrink: 0;
}

.cert-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.cert-status {
  font-size: 0.8rem;
  color: var(--muted);
}

/* --- Products ---------------------------------------------- */
#products {
  background: rgba(255,255,255,0.01);
}

#product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.product-card {
  overflow: hidden;
  transition: transform 0.2s;
  cursor: default;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.product-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
}

.product-card-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.product-card-body p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.product-card-body .pack {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
}

.products-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Order Form -------------------------------------------- */
#order {
  background: rgba(255,255,255,0.02);
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.order-intro p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.order-contact {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.order-contact a {
  color: var(--accent);
  transition: opacity 0.2s;
}

.order-contact a:hover {
  opacity: 0.75;
}

.form-group {
  margin-bottom: 0.875rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: var(--accent);
  outline: none;
  background: rgba(255,255,255,0.07);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Honeypot — hidden from real users */
.hp-field {
  display: none;
}

/* --- Footer ------------------------------------------------ */
footer {
  padding: 48px 5vw;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.footer-info {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
}

.footer-info a {
  color: var(--accent);
  transition: opacity 0.2s;
}

.footer-info a:hover {
  opacity: 0.75;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.2s;
}

.social-link:hover {
  color: var(--accent);
}

/* --- Mobile ------------------------------------------------ */
@media (max-width: 768px) {
  nav {
    padding: 0 4vw;
    height: 56px;
  }

  .nav-links {
    display: none;
  }

  .nav-right {
    gap: 0.75rem;
  }

  section {
    padding: 64px 4vw;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .about-grid {
    flex-direction: column;
    gap: 2.5rem;
  }

  .about-deco {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .deco-card {
    flex: 1 1 calc(50% - 0.625rem);
  }

  .order-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  #product-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

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

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.85rem;
  }

  #product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .deco-card {
    flex: 1 1 100%;
  }
}
