/* NATSUP TC — Style Sheet (from scratch) */
/* Light + Dark themes, responsive, clean */

/* ---- CSS Variables ---- */
:root {
  /* Light theme */
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-card: #ffffff;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --gold: #d4a843;
  --gold-light: #f0d080;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-bg: rgba(255,255,255,0.95);
  --hero-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  --hero-text: #ffffff;
  --footer-bg: #1a1a2e;
  --footer-text: #cbd5e1;
  --btn-buy: #10b981;
  --btn-buy-hover: #059669;
  --btn-read: var(--accent);
  --btn-read-hover: var(--accent-dark);
}

[data-theme="dark"] {
  --bg: #0f172a;
  --bg-alt: #1e293b;
  --bg-card: #1e293b;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: #334155;
  --gold: #f0c040;
  --gold-light: #f5d880;
  --accent: #60a5fa;
  --accent-dark: #3b82f6;
  --shadow: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.4);
  --header-bg: rgba(15,23,42,0.95);
  --hero-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f3460 100%);
  --hero-text: #e2e8f0;
  --footer-bg: #020617;
  --footer-text: #94a3b8;
  --btn-buy: #059669;
  --btn-buy-hover: #10b981;
  --btn-read: #60a5fa;
  --btn-read-hover: #3b82f6;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Brand Logo ---- */
.top-logo-container {
  text-align: center;
  padding: 24px 20px 12px;
  background: var(--bg-alt);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--gold);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ---- Header / Navigation ---- */
.main-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
}

.nav-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: background 0.2s;
}

.nav-link:hover {
  background: var(--bg-alt);
  color: var(--gold);
}

.hamburger-btn {
  display: none;
  font-size: 1.5rem;
  padding: 4px 8px;
  color: var(--text);
}

/* ---- Language Selector ---- */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  background: var(--bg);
  color: var(--text);
  white-space: nowrap;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: none;
  z-index: 200;
  min-width: 150px;
  overflow: hidden;
}

.lang-dropdown.show { display: block; }

.lang-option {
  display: block;
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  font-size: 0.875rem;
  color: var(--text);
  transition: background 0.15s;
}

.lang-option:hover { background: var(--bg-alt); color: var(--gold); }

/* ---- Theme Toggle ---- */
.theme-toggle {
  font-size: 1.25rem;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  line-height: 1;
}

/* ---- Hero Section ---- */
.hero-premium {
  background: var(--hero-bg);
  color: var(--hero-text);
  padding: 60px 0;
}

.hero-premium-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 28px;
}

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

.hero-primary, .hero-secondary {
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.hero-primary {
  background: var(--gold);
  color: #1a1a2e;
}

.hero-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.hero-secondary {
  border: 1px solid var(--gold);
  color: var(--gold);
}

.hero-secondary:hover { background: rgba(212,168,67,0.1); }

.hero-trust-card {
  display: grid;
  gap: 16px;
}

.hero-stat-item {
  background: rgba(255,255,255,0.08);
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-item strong {
  display: block;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 2px;
}

.hero-stat-item span {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ---- Category Filter ---- */
.category-filter-section {
  padding: 24px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.search-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
  margin-bottom: 16px;
}

.search-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,67,0.15);
}

.category-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 12px;
  scrollbar-width: thin;
}

.cat-chip {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  white-space: nowrap;
  background: var(--bg);
  color: var(--text);
  transition: all 0.2s;
  flex-shrink: 0;
}

.cat-chip.active {
  background: var(--gold);
  color: #1a1a2e;
  border-color: var(--gold);
  font-weight: 600;
}

.cat-chip:hover:not(.active) {
  border-color: var(--gold);
  color: var(--gold);
}

.filter-row {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.filter-row select {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 0.85rem;
}

/* ---- Main Content ---- */
.main-content-section {
  padding: 40px 0 60px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ---- Products Grid ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow);
}

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

.product-image-wrapper {
  background: var(--bg-alt);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.product-image {
  max-height: 160px;
  object-fit: contain;
  transition: transform 0.3s;
}

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

.product-card-body {
  padding: 16px;
}

.product-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  background: var(--gold-light);
  color: #1a1a2e;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.product-summary {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.designed-prefix {
  font-weight: 500;
  color: var(--gold);
}

.product-actions {
  display: flex;
  gap: 8px;
}

.btn-giant-buy, .btn-read {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-giant-buy {
  background: var(--btn-buy);
  color: #ffffff;
}

.btn-giant-buy:hover {
  background: var(--btn-buy-hover);
}

.btn-read {
  background: var(--btn-read);
  color: #ffffff;
}

.btn-read:hover {
  background: var(--btn-read-hover);
}

/* ---- Footer ---- */
.main-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 32px 0;
  font-size: 0.85rem;
}

.main-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

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

.footer-links a {
  color: var(--footer-text);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-motiv {
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.footer-contact-icons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.mini-icon {
  font-size: 1.2rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hamburger-btn { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    padding: 8px;
    box-shadow: var(--shadow);
  }
  .nav-links.nav-open { display: flex; }
  .nav-wrapper { flex-wrap: wrap; }
  .hero-premium-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-title { font-size: 1.6rem; }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .brand-title { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-primary, .hero-secondary { text-align: center; }
  .filter-row { flex-wrap: wrap; }
}

/* RTL support */
[dir="rtl"] .nav-links { text-align: right; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .lang-option { text-align: right; }
[dir="rtl"] .hero-actions { flex-direction: row-reverse; }

/* ---- Empty State ---- */
#empty-home-msg {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ---- Legal Pages ---- */
.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.legal-card h1 {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.legal-card h2 {
  font-size: 1.2rem;
  color: var(--text);
  margin: 24px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.legal-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 12px;
}

/* ---- Article / Product Pages ---- */
.single-article-view {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.article-header {
  margin-bottom: 24px;
}

.article-main-title {
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.article-header .product-summary {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
}

.article-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  line-height: 1.8;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}

.article-body p {
  margin-bottom: 12px;
}

.article-mandatory-cta-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.article-cta-phrase {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--text);
  font-weight: 500;
}

.art-cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--btn-buy);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}

.art-cta-btn:hover {
  background: var(--btn-buy-hover);
}
