/* tools.css — Panzerit Dark/Blue Theme für Tools */
:root {
  --bg:            #020617;
  --surface:       #0f172a;
  --surface-2:     #1e293b;
  --surface-3:     #334155;
  --primary:       #1d4ed8;
  --primary-light: #3b82f6;
  --accent:        #06b6d4;
  --grad:          linear-gradient(135deg, #1d4ed8, #0ea5e9);
  --grad-text:     linear-gradient(90deg, #3b82f6, #06b6d4);
  --text:          #f1f5f9;
  --text-muted:    #94a3b8;
  --text-dim:      #64748b;
  --border:        rgba(59,130,246,0.15);
  --border-hover:  rgba(59,130,246,0.4);
  --success:       #22c55e;
  --warning:       #eab308;
  --error:         #ef4444;
  --radius:        12px;
  --radius-sm:     6px;
  --radius-full:   9999px;
  --shadow-card:   0 4px 24px rgba(0,0,0,0.4);
  --transition:    0.25s ease;
  --container:     1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
img { max-width: 100%; display: block; }

/* ── CONTAINER ─── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ── NAV ─── */
.tools-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(2,6,23,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.tools-nav .nav-inner {
  display: flex; align-items: center; gap: 1rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 800; font-size: 1rem;
}
.nav-logo-mark {
  width: 32px; height: 32px;
  background: var(--grad);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1rem; color: #fff;
}
.nav-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--text-dim); font-size: 0.85rem; margin-left: auto;
}
.nav-breadcrumb a:hover { color: var(--primary-light); }

/* ── HERO ─── */
.tools-hero {
  padding: 4rem 0 3rem;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(29,78,216,0.18), transparent);
  text-align: center;
}
.tools-hero .badge {
  display: inline-block;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--primary-light);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 14px; border-radius: var(--radius-full);
  margin-bottom: 1.2rem;
}
.tools-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 1rem;
}
.tools-hero h1 span {
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.tools-hero p {
  color: var(--text-muted); font-size: 1.1rem;
  max-width: 500px; margin: 0 auto;
}

/* ── TOOL CARDS GRID ─── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 3rem 0 5rem;
}
.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative; display: flex; flex-direction: column; gap: 1rem;
}
.tool-card:not(.tool-card--soon):hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(29,78,216,0.2);
}
.tool-card--soon { opacity: 0.45; pointer-events: none; }
.tool-card__status {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: var(--radius-full);
}
.tool-card__status--live {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  color: var(--success);
}
.tool-card__status--soon {
  background: rgba(100,116,139,0.15);
  border: 1px solid rgba(100,116,139,0.25);
  color: var(--text-dim);
}
.tool-card__icon { font-size: 2.2rem; line-height: 1; }
.tool-card__title { font-size: 1.15rem; font-weight: 800; }
.tool-card__desc { color: var(--text-muted); font-size: 0.9rem; flex: 1; }
.tool-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.5rem;
}
.tool-card__price {
  font-size: 1rem; font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.btn-primary {
  background: var(--grad);
  color: #fff; font-weight: 700; font-size: 0.85rem;
  padding: 0.55rem 1.25rem; border-radius: var(--radius-sm);
  transition: opacity var(--transition), transform var(--transition);
  border: none;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── TOOL PAGE LAYOUT ─── */
.tool-page { padding: 3rem 0 5rem; }
.tool-header { margin-bottom: 2.5rem; }
.tool-header h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 900; letter-spacing: -0.02em; margin-bottom: 0.5rem;
}
.tool-header p { color: var(--text-muted); max-width: 560px; }

/* ── STEP CARD ─── */
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.step-card__label {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary-light); margin-bottom: 0.75rem;
}
.step-card h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.step-card p  { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }

/* ── UPLOAD ZONE ─── */
.upload-zone {
  border: 2px dashed rgba(59,130,246,0.35);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  background: rgba(59,130,246,0.03);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--primary-light);
  background: rgba(59,130,246,0.07);
}
.upload-zone__icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.upload-zone__title { font-weight: 700; margin-bottom: 0.25rem; }
.upload-zone__sub   { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 1.25rem; }
.btn-outline {
  border: 1px solid var(--border-hover);
  color: var(--primary-light);
  font-weight: 700; font-size: 0.85rem;
  padding: 0.55rem 1.5rem; border-radius: var(--radius-sm);
  background: transparent;
  transition: background var(--transition);
}
.btn-outline:hover { background: rgba(59,130,246,0.1); }
#file-input { display: none; }

/* ── SUCCESS/ERROR STATES ─── */
.upload-success {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--radius-sm);
  font-size: 0.9rem; color: #86efac;
}
.upload-success .icon { font-size: 1.2rem; }
.upload-success .name { font-weight: 600; }

.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem; margin-top: 1rem;
}
.alert--error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
}

/* ── REPORT ─── */
.report-item {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}
.report-item--error {
  background: rgba(239,68,68,0.08);
  border-left: 3px solid var(--error);
}
.report-item--warning {
  background: rgba(234,179,8,0.08);
  border-left: 3px solid var(--warning);
}
.report-item--ok {
  background: rgba(34,197,94,0.08);
  border-left: 3px solid var(--success);
}
.report-item__title { font-weight: 700; margin-bottom: 0.2rem; }
.report-item__detail { color: var(--text-muted); font-size: 0.85rem; }
.report-section h3 {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin: 1.5rem 0 0.75rem;
}
.report-summary {
  padding: 1rem 1.25rem;
  background: rgba(59,130,246,0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ── LOADING SPINNER ─── */
.spinner-wrap {
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem; padding: 2rem;
}
.spinner {
  width: 42px; height: 42px;
  border: 3px solid rgba(59,130,246,0.2);
  border-top-color: var(--primary-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.spinner-text { color: var(--text-muted); font-size: 0.9rem; }

/* ── HIDDEN ─── */
.hidden { display: none !important; }

/* ── FOOTER ─── */
.tools-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0; text-align: center;
  color: var(--text-dim); font-size: 0.8rem;
}
.tools-footer a { color: var(--primary-light); }
.tools-footer a:hover { text-decoration: underline; }

/* ── RESPONSIVE ─── */
@media (max-width: 640px) {
  .tools-hero { padding: 2.5rem 0 2rem; }
  .tools-grid { grid-template-columns: 1fr; }
  .step-card  { padding: 1.5rem; }
}
