/* ==========================================================
   TOKENS — stil aplicație modernă, fundal deschis
   ========================================================== */
:root {
  --bg:        #F4F5F7;
  --surface:   #FFFFFF;
  --surface-2: #F8F9FB;
  --line:      #E3E6EB;
  --text:      #171A21;
  --text-mute: #6B7280;
  --blue:      #2F6FED;
  --blue-dim:  #E8EFFD;
  --green:     #16A34A;
  --green-dim: #E7F6ED;
  --radius:    10px;
  --shadow:    0 1px 2px rgba(23,26,33,0.04), 0 4px 14px rgba(23,26,33,0.05);

  --font-display: 'Sora', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
}

h1, h2, h3 { font-family: var(--font-display); margin: 0 0 0.4em; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
a { color: inherit; }

.mono { font-family: var(--font-mono); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-block;
  padding: 0.75em 1.4em;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: #2559c9; }

.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-small { padding: 0.5em 1em; font-size: 0.85rem; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); }
.btn-small:hover { border-color: var(--blue); color: var(--blue); }

/* ==========================================================
   TOOLBAR / NAV
   ========================================================== */
.toolbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 245, 247, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.toolbar-inner {
  max-width: 1140px; margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
}
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  text-decoration: none; display: flex; align-items: center; gap: 0.5rem;
}
.brand-mark {
  width: 10px; height: 10px; border-radius: 3px;
  background: var(--blue);
  display: inline-block;
}
.brand-accent { color: var(--blue); }

.toolbar-right { display: flex; align-items: center; gap: 0.75rem; order: 2; }

.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--surface); }
.lang-btn {
  background: transparent; border: none; color: var(--text-mute);
  padding: 0.35em 0.7em; font-size: 0.75rem; cursor: pointer; letter-spacing: 0.04em;
}
.lang-btn.is-active { background: var(--blue-dim); color: var(--blue); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 34px; height: 34px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 6px; cursor: pointer;
}
.nav-toggle span { display: block; width: 16px; height: 2px; background: var(--text); margin: 0 auto; }

.main-nav { display: flex; align-items: center; gap: 1.5rem; flex-basis: 100%; order: 3; justify-content: flex-end; }
.main-nav a { text-decoration: none; color: var(--text-mute); font-size: 0.92rem; font-weight: 500; }
.main-nav a:hover { color: var(--text); }
.nav-cta {
  background: var(--blue-dim); border: 1px solid transparent;
  color: var(--blue) !important; padding: 0.4em 0.9em; border-radius: 6px;
}

@media (min-width: 860px) {
  .toolbar-inner { flex-wrap: nowrap; }
  .main-nav { flex-basis: auto; order: 2; }
  .toolbar-right { order: 3; }
}

@media (max-width: 859px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none; flex-direction: column; align-items: flex-start;
    width: 100%; padding-top: 0.75rem; gap: 0.9rem;
  }
  .main-nav.is-open { display: flex; }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  max-width: 1140px; margin: 0 auto;
  padding: 4rem 1.25rem 3rem;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem;
  align-items: start;
}
.eyebrow {
  color: var(--blue); font-size: 0.78rem; letter-spacing: 0.06em;
  margin-bottom: 0.9rem; text-transform: uppercase;
}
.hero-inner h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); line-height: 1.08; color: var(--text); }
.hero-lead { color: var(--text-mute); max-width: 46ch; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.5rem; }

.print-readout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  font-size: 0.82rem;
  align-self: start;
}
.readout-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.55em 0; border-bottom: 1px solid var(--surface-2);
}
.readout-row:last-child { border-bottom: none; }
.readout-label { color: var(--text-mute); }
.readout-value { color: var(--text); text-align: right; }
.status-live { display: inline-flex; align-items: center; gap: 0.4em; color: var(--green); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-dim); }

@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; }
}

/* ==========================================================
   SECTIONS
   ========================================================== */
.section { max-width: 1140px; margin: 0 auto; padding: 4rem 1.25rem; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 2.2rem; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--text); }
.section-lead { color: var(--text-mute); }

.hint { color: var(--text-mute); font-size: 0.78rem; margin-top: 1.2rem; opacity: 0.85; }

/* ==========================================================
   PRODUCT GRID
   ========================================================== */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.4rem;
}
.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(23,26,33,0.05), 0 10px 22px rgba(23,26,33,0.08); }
.product-thumb {
  aspect-ratio: 4 / 3; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--line);
}
.thumb-placeholder { color: var(--text-mute); font-size: 0.75rem; }
.product-body { padding: 1.1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.product-body h3 { font-size: 1.05rem; margin: 0; color: var(--text); }
.product-price { font-family: var(--font-mono); color: var(--blue); font-size: 1rem; margin: 0; font-weight: 500; }
.spec-sticker {
  list-style: none; margin: 0; padding: 0.55rem 0.7rem;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px;
  font-size: 0.75rem; color: var(--text-mute); display: flex; flex-direction: column; gap: 0.25em;
}
.product-body .btn-small { align-self: flex-start; margin-top: 0.2rem; }

/* ==========================================================
   CUSTOM ORDER
   ========================================================== */
.custom-order { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; }
@media (max-width: 780px) { .custom-order { grid-template-columns: 1fr; } }

.order-form { display: flex; flex-direction: column; gap: 1rem; }
.order-form label { display: flex; flex-direction: column; gap: 0.4em; font-size: 0.88rem; color: var(--text-mute); font-weight: 500; }
.order-form input, .order-form textarea, .order-form select {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 0.7em 0.8em;
}
.order-form input:focus, .order-form textarea:focus, .order-form select:focus {
  border-color: var(--blue); background: var(--surface);
}
.form-note { color: var(--text-mute); font-size: 0.75rem; }

.direct-message {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; align-self: start;
}
.direct-message h3 { color: var(--text); }
.dm-links { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1rem 0; }

/* ==========================================================
   CATEGORY / SHIP GRID
   ========================================================== */
.category-grid, .ship-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem;
}
.category-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem; text-align: center; box-shadow: var(--shadow);
}
.category-tag { color: var(--blue); font-size: 0.85rem; }

.ship-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow);
}
.ship-flag { font-size: 1.6rem; }
.ship-card h3 { margin-top: 0.4rem; font-size: 1.1rem; color: var(--text); }

/* ==========================================================
   PAYMENT BADGES
   ========================================================== */
.payment-badges { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.payment-badge {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.5em 1.1em; font-size: 0.8rem; color: var(--text-mute); font-weight: 500;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { border-top: 1px solid var(--line); padding: 2.5rem 1.25rem 1.5rem; background: var(--surface); }
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.footer-brand { font-size: 1.05rem; margin: 0 0 0.3em; color: var(--text); }
.footer-note { color: var(--text-mute); font-size: 0.85rem; margin: 0; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.88rem; }
.footer-links a { text-decoration: none; color: var(--text-mute); }
.footer-links a:hover { color: var(--blue); }
.footer-copy { max-width: 1140px; margin: 2rem auto 0; color: var(--text-mute); font-size: 0.72rem; text-align: center; }
