:root {
  --teal-primary: #0F766E;
  --teal-dark: #0B5D57;
  --teal-light: #E8F4F2;
  --amber-accent: #D97706;
  --text-main: #1A1A1A;
  --text-muted: #666666;
  --bg-page: #F9FAFB;
  --white: #FFFFFF;
  --border: #E5E7EB;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --bg-page: #0F172A;
    --white: #1E293B;
    --border: #334155;
    --teal-light: #113633;
    --teal-dark: #2DD4BF;
  }
}

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

body {
  font-family: 'Calibri', system-ui, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cambria', serif;
  color: var(--teal-dark);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-box {
  background: var(--teal-primary);
  color: var(--white);
  font-weight: bold;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
}
.brand-text {
  font-family: 'Cambria', serif;
  font-weight: bold;
  font-size: 1.25rem;
  color: var(--teal-dark);
}
.pro-badge {
  background: var(--amber-accent);
  color: var(--white);
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 12px;
  vertical-align: top;
  margin-left: 4px;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--teal-primary);
}
.main-site-link {
  color: var(--teal-primary) !important;
  font-weight: bold !important;
}

/* Hero */
.hero {
  background: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero h1 .highlight {
  color: var(--teal-primary);
}
.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-weight: 500;
  color: var(--teal-dark);
}

/* Featured */
.featured-section {
  padding: 4rem 0;
  background: var(--teal-light);
}
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.featured-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}
.card-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--amber-accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}
.card-category {
  color: var(--teal-primary);
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.featured-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.featured-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  flex-grow: 1;
}
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-main);
}
.buy-btn {
  color: var(--teal-primary);
  font-weight: bold;
}

/* Catalog */
.catalog-section {
  padding: 4rem 0;
}
.catalog-category {
  margin-bottom: 3rem;
}
.catalog-category h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--teal-light);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.product-card:hover {
  border-color: var(--teal-primary);
}
.product-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.product-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.view-link {
  color: var(--teal-primary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Footer */
footer {
  background: var(--white);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
