/* =====================================================================
   FUTURATECH ART  |  PREMIUM INDUSTRIAL DARK MODE
   Targeted at the US market  -  high contrast, strict grid, heavy type.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg:          #0f0f11;
  --bg-2:        #15151a;
  --bg-3:        #1c1c22;
  --line:        #2a2a33;
  --line-strong: #3a3a47;

  /* Text */
  --text:    #f5f5f7;
  --text-2:  #b4b4be;
  --text-3:  #7c7c8a;

  /* Accent (Electric Green) */
  --accent:        #00ff66;
  --accent-ink:    #001a0a;   /* readable text on green */
  --accent-soft:   rgba(0, 255, 102, 0.12);
  --accent-border: rgba(0, 255, 102, 0.35);

  /* Status */
  --danger:   #ff4d5e;
  --warn:     #ffb547;

  /* Type */
  --font-sans: 'Inter', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Menlo', 'Consolas', monospace;

  /* Radii / shadows (subtle, no cheap gradients) */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;

  /* Layout */
  --container: 1240px;
  --gutter:    24px;
}

/* ---------------------------------------------------------------------
   2. RESET / BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------------------------------------------------------------------
   3. TYPOGRAPHY
   --------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}

.section-sub {
  color: var(--text-2);
  max-width: 640px;
  font-size: 1.05rem;
  margin: 0;
}

.section-head {
  margin-bottom: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-2);
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-2);
  margin-bottom: 20px;
}
.eyebrow__dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ---------------------------------------------------------------------
   4. BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease,
              color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  user-select: none;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-soft);
}
.btn--primary:hover {
  background: #1aff7a;
  border-color: #1aff7a;
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--danger {
  background: transparent;
  color: var(--danger);
  border-color: rgba(255, 77, 94, 0.45);
}
.btn--danger:hover {
  background: var(--danger);
  color: #1a0306;
  border-color: var(--danger);
}

.btn--block { display: flex; width: 100%; }
.btn--lg    { padding: 16px 26px; font-size: 1rem; }
.btn--sm    { padding: 8px 14px;  font-size: 0.82rem; }

/* ---------------------------------------------------------------------
   5. NAVBAR
   --------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 15, 17, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.nav__links {
  display: flex;
  gap: 28px;
  font-weight: 600;
  color: var(--text-2);
}
.nav__links a { transition: color .15s ease; }
.nav__links a:hover { color: var(--accent); }
.nav__cta { padding: 10px 18px; font-size: 0.88rem; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  font-size: 1.02rem;
}
.brand__mark {
  font-family: var(--font-mono);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  padding: 3px 6px;
  border-radius: var(--r-sm);
  font-size: 0.78rem;
}
.brand__accent { color: var(--accent); }

@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* ---------------------------------------------------------------------
   6. HERO
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {
  /* subtle technical grid background, no cheap gradients */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.18;
  mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero__title {
  font-size: clamp(2.4rem, 6.5vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 18ch;
  margin: 0 0 22px;
}
.hero__subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-2);
  max-width: 64ch;
  margin: 0 0 36px;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 56px;
}
.hero__stats {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top:    1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero__stats li {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.hero__stats li:last-child { border-right: 0; }
.hero__stats strong {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.hero__stats strong span {
  font-size: 0.6em; color: var(--accent); margin-left: 2px;
}
.hero__stats li > span:last-child {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-3);
}

@media (max-width: 720px) {
  .hero { padding: 64px 0 56px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats li:nth-child(2) { border-right: 0; }
  .hero__stats li:nth-child(1),
  .hero__stats li:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------------------------------------------------------------------
   7. PORTFOLIO
   --------------------------------------------------------------------- */
.portfolio { padding: 88px 0; }

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.filter__btn {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--line-strong);
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: all .15s ease;
}
.filter__btn:hover {
  color: var(--text);
  border-color: var(--text);
}
.filter__btn.is-active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .grid { grid-template-columns: 1fr; } }

.card {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;

  /* reveal-on-scroll baseline */
  opacity: 0;
  transform: translateY(14px);
}
.card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease,
              border-color .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-4px) scale(1.012);
  border-color: var(--accent-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
              0 0 0 1px var(--accent-border) inset;
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-3);
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card__media img { transform: scale(1.05); }

.card__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--bg);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
}

.card__body {
  padding: 22px 22px 14px;
  flex: 1;
}
.card__title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.card__desc {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.card__specs {
  margin: 0 22px;
  padding: 12px 0;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card__foot {
  padding: 16px 22px 22px;
}

.empty {
  color: var(--text-3);
  font-style: italic;
  text-align: center;
  padding: 40px 0;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  grid-column: 1 / -1;
}

/* ---------------------------------------------------------------------
   8. PROCESS
   --------------------------------------------------------------------- */
.process {
  padding: 88px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg);
}
.steps__item {
  padding: 28px 24px;
  border-right: 1px solid var(--line);

  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
}
.steps__item.is-visible { opacity: 1; transform: none; }
.steps__item:last-child { border-right: 0; }
.steps__item h3 {
  font-size: 1.15rem;
  margin: 14px 0 8px;
  font-weight: 800;
}
.steps__item p {
  color: var(--text-2);
  font-size: 0.95rem;
  margin: 0;
}
.steps__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.18em;
  border: 1px solid var(--accent-border);
  padding: 4px 8px;
  border-radius: var(--r-sm);
  display: inline-block;
}
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); }
  .steps__item:nth-child(2) { border-right: 0; }
  .steps__item:nth-child(1),
  .steps__item:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; }
  .steps__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps__item:last-child { border-bottom: 0; }
}

/* ---------------------------------------------------------------------
   9. FINAL CTA
   --------------------------------------------------------------------- */
.cta {
  padding: 96px 0;
  background: var(--bg);
}
.cta__inner { text-align: center; }
.cta__title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 auto 18px;
  max-width: 22ch;
}
.cta__sub {
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}
.cta__buttons {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------------------------------------------------------------------
   10. FOOTER
   --------------------------------------------------------------------- */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}
.footer__copy {
  color: var(--text-3);
  font-size: 0.9rem;
  margin: 0;
}
.footer__admin {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: color .15s, border-color .15s;
}
.footer__admin:hover { color: var(--accent); border-color: var(--accent); }

/* =====================================================================
   11. ADMIN PANEL
   ===================================================================== */
.admin-body {
  background: var(--bg);
  color: var(--text);
}

.admin-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 30;
}
.admin-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.admin-bar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.admin-bar__tag {
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 3px 7px;
  border-radius: var(--r-sm);
  margin-left: 6px;
  text-transform: uppercase;
}
.admin-bar__actions { display: flex; gap: 8px; }

.admin { padding: 36px 0 80px; }

.panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-bottom: 28px;
}
.panel__head { margin-bottom: 24px; }
.panel__title {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.panel__sub {
  color: var(--text-2);
  font-size: 0.95rem;
  margin: 0;
}

/* Alerts */
.alert {
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 600;
}
.alert--ok {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}
.alert--err {
  background: rgba(255, 77, 94, 0.08);
  border-color: rgba(255, 77, 94, 0.45);
  color: var(--danger);
}

/* Forms */
.form { display: grid; gap: 16px; }
.form--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}
@media (max-width: 720px) {
  .form--grid { grid-template-columns: 1fr; }
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field__label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-3);
}
.field__input {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea.field__input { resize: vertical; min-height: 90px; }
.field__input--file {
  padding: 10px 12px;
  background: var(--bg-3);
}
.field__input--file::file-selector-button {
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  font-weight: 700;
  padding: 8px 14px;
  margin-right: 12px;
  border-radius: var(--r-sm);
  cursor: pointer;
}

.form__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 720px;
}
.table th, .table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.table th {
  background: var(--bg-3);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-3);
  font-weight: 700;
}
.table tr:last-child td { border-bottom: 0; }
.thumb {
  width: 80px; height: 60px;
  object-fit: cover;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--bg-3);
}
.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 4px 8px;
  border-radius: 999px;
}

/* =====================================================================
   12. ADMIN LOGIN SCREEN
   ===================================================================== */
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  position: relative;
  background:
    radial-gradient(ellipse at top, rgba(0, 255, 102, 0.06), transparent 60%),
    var(--bg);
}
.login__card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  text-align: left;
}
.login__card .brand__mark { display: inline-block; margin-bottom: 14px; }
.login__title {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.login__sub {
  color: var(--text-2);
  font-size: 0.95rem;
  margin: 0 0 24px;
}
.login__back {
  display: inline-block;
  margin-top: 14px;
  color: var(--text-3);
  font-size: 0.85rem;
  text-align: center;
  width: 100%;
}
.login__back:hover { color: var(--accent); }

/* =====================================================================
   13. UTILITY  /  ACCESSIBILITY
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .card, .steps__item { opacity: 1 !important; transform: none !important; }
}

::selection { background: var(--accent); color: var(--accent-ink); }

/* End of file */
