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

:root {
  --black: #050607;
  --dark: #101214;
  --steel: #1a1f24;
  --gray: #6c737f;
  --line: rgba(255,255,255,.12);
  --soft-line: #e5e7eb;
  --blue: #285aaa;
  --blue2: #3f7de2;
  --white: #ffffff;
  --off: #f4f5f7;
  --text: #111827;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 92%);
  margin: auto;
}

.cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(63,125,226,.22), transparent 64%);
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(5,6,7,.72);
  backdrop-filter: blur(18px);
  transition: .25s ease;
}

.topbar.scrolled {
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.topbar.scrolled .nav-menu,
.topbar.scrolled .nav-action,
.topbar.scrolled .menu-button {
  color: #111827;
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 210px;
  background: #fff;
  border-radius: 10px;
  padding: 7px 10px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #d7dbe3;
  font-size: 14px;
  font-weight: 800;
}

.nav-menu a {
  opacity: .85;
  transition: .2s ease;
}

.nav-menu a:hover {
  opacity: 1;
  color: #9fc4ff;
}

.nav-action {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 900;
  color: #fff;
  transition: .25s ease;
}

.nav-action:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.menu-button {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 11px;
  font-size: 22px;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 155px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 24%, rgba(40,90,170,.25), transparent 32%),
    linear-gradient(135deg, #050607, #11151b 62%, #060708);
}

.industrial-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
  opacity: .38;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 68px;
}

.eyebrow {
  display: inline-flex;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #a9c7ff;
  font-weight: 900;
  border: 1px solid rgba(169,199,255,.22);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255,255,255,.04);
}

.dark-label {
  color: var(--blue);
  border-color: rgba(40,90,170,.18);
  background: rgba(40,90,170,.07);
}

.hero h1,
.about-main h2,
.section-header h2,
.process-content h2,
.catalog-panel h2,
.contact-copy h2 {
  margin-top: 22px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: .94;
  letter-spacing: -3px;
  font-weight: 900;
}

.hero p,
.about-main p,
.section-header p,
.process-content p,
.catalog-panel p,
.contact-copy p {
  margin-top: 24px;
  color: #b8c0ce;
  font-size: 18px;
  max-width: 690px;
}

.hero-buttons,
.catalog-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 900;
  transition: .25s ease;
  border: 1px solid transparent;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--white);
  color: #101214;
}

.ghost {
  border-color: var(--line);
  color: #fff;
}

.light {
  background: rgba(255,255,255,.12);
  color: #fff;
}

.machine-card {
  position: relative;
}

.machine-frame {
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.025));
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 40px 90px rgba(0,0,0,.42);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  animation: floatMachine 6s ease-in-out infinite;
}

@keyframes floatMachine {
  0%, 100% { transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-14px); }
}

.machine-frame img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 20px;
  filter: saturate(.9) contrast(1.05);
}

.spec-card {
  position: absolute;
  background: rgba(255,255,255,.92);
  color: #101214;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  min-width: 190px;
}

.spec-card span {
  display: block;
  font-size: 11px;
  color: #667085;
  font-weight: 900;
  letter-spacing: .12em;
}

.spec-card strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.spec-one {
  top: 35px;
  left: -25px;
}

.spec-two {
  right: -18px;
  bottom: 42px;
}

.scroll-indicator {
  position: absolute;
  left: 4%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9aa4b6;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 900;
}

.scroll-indicator span {
  width: 42px;
  height: 1px;
  background: #9aa4b6;
}

.industry-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #090b0e;
  overflow: hidden;
}

.strip-track {
  display: flex;
  gap: 54px;
  width: max-content;
  padding: 22px 0;
  animation: marquee 28s linear infinite;
}

.strip-track span {
  color: #c9d1df;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section {
  padding: 110px 0;
}

.about,
.services,
.process,
.catalog {
  background: #f5f6f8;
  color: var(--text);
}

.about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 70px;
}

.section-kicker span,
.section-header span {
  color: var(--blue);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 900;
}

.about-main h2,
.section-header h2,
.process-content h2,
.catalog-panel h2,
.contact-copy h2 {
  font-size: clamp(34px, 4.8vw, 62px);
  color: inherit;
}

.about-main p,
.process-content p,
.catalog-panel p {
  color: #667085;
}

.values-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.values-grid div,
.service-card {
  border: 1px solid #dfe3ea;
  background: #fff;
  border-radius: 24px;
  padding: 26px;
}

.values-grid h3,
.service-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.values-grid p,
.service-card p {
  color: #667085;
}

.dark {
  background: #050607;
  color: #fff;
}

.section-header {
  max-width: 820px;
  margin-bottom: 50px;
}

.products-list {
  display: grid;
  gap: 24px;
}

.product-row {
  display: grid;
  grid-template-columns: 90px .78fr 1fr;
  gap: 26px;
  align-items: stretch;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.product-number {
  color: #6f7888;
  font-size: 18px;
  font-weight: 900;
}

.product-image {
  overflow: hidden;
  border-radius: 24px;
  background: #111;
  min-height: 315px;
}

.product-image img {
  width: 100%;
  height: 100%;
  min-height: 315px;
  object-fit: cover;
  transition: .5s ease;
}

.product-row:hover img {
  transform: scale(1.06);
}

.product-info {
  padding: 8px 0;
}

.product-info span {
  color: #9fc4ff;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
}

.product-info h3 {
  margin-top: 10px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -1.4px;
}

.product-info p {
  margin-top: 16px;
  color: #b8c0ce;
  max-width: 620px;
}

.product-info ul {
  margin: 20px 0 24px 20px;
  color: #dce3ef;
}

.product-info a {
  color: #9fc4ff;
  font-weight: 900;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  transition: .25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 70px rgba(16,24,40,.1);
}

.service-card span {
  display: block;
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 20px;
}

.process-grid,
.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.process-visual img {
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(16,24,40,.13);
  height: 560px;
  width: 100%;
  object-fit: cover;
}

.steps {
  margin-top: 30px;
  display: grid;
  gap: 12px;
}

.steps div {
  display: flex;
  gap: 18px;
  align-items: center;
  border: 1px solid #dfe3ea;
  background: #fff;
  padding: 18px;
  border-radius: 18px;
}

.steps strong {
  color: var(--blue);
}

.steps span {
  font-weight: 900;
}

.catalog-panel {
  background:
    radial-gradient(circle at right, rgba(40,90,170,.16), transparent 32%),
    #101214;
  color: #fff;
  border-radius: 32px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 34px;
  align-items: center;
}

.catalog-panel p {
  color: #b8c0ce;
}

.catalog-preview {
  min-height: 250px;
  position: relative;
}

.pdf-card {
  position: absolute;
  width: 230px;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 24px 55px rgba(0,0,0,.25);
}

.pdf-a { right: 120px; top: 10px; transform: rotate(-8deg); }
.pdf-b { right: 50px; top: 62px; transform: rotate(4deg); }
.pdf-c { right: 145px; top: 120px; transform: rotate(-2deg); }

.contact {
  background:
    radial-gradient(circle at 16% 0%, rgba(40,90,170,.26), transparent 32%),
    #050607;
}

.contact-copy p {
  color: #b8c0ce;
}

.contact-details {
  margin-top: 28px;
  display: grid;
  gap: 12px;
  color: #dce3ef;
  font-weight: 800;
}

.quote-form {
  background: #fff;
  color: #111827;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 30px 90px rgba(0,0,0,.26);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  padding: 15px 16px;
  font: inherit;
  margin-bottom: 14px;
  outline-color: var(--blue);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.quote-form button {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 16px;
  font-weight: 900;
  color: #fff;
  background: var(--blue);
  cursor: pointer;
}

.footer {
  background: #030405;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-grid {
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
}

.footer img {
  width: 220px;
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 16px;
}

.footer p,
.footer a {
  color: #9aa4b6;
}

.footer a {
  display: block;
  margin-bottom: 8px;
}

.footer h4 {
  margin-bottom: 14px;
}

.footer-bottom {
  text-align: center;
  padding: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #7c8595;
  font-size: 14px;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,.38);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: .85s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Login / dashboard */
.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #050607;
}

.login-shell {
  width: min(440px, 92%);
}

.login-logo {
  width: 230px;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  margin: 0 auto 24px;
}

.login-card {
  background: #fff;
  color: #111827;
  border-radius: 28px;
  padding: 32px;
}

.login-card h1 {
  margin: 16px 0 8px;
  font-size: 42px;
}

.login-help {
  color: #667085;
  margin-bottom: 18px;
}

.login-card button,
.btn-form {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 16px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.back-link {
  display: block;
  color: var(--blue);
  margin-top: 16px;
  font-weight: 800;
}

.form-error {
  color: #b42318;
  margin-top: 12px;
  font-weight: 800;
}

.app-body {
  background: #f5f6f8;
  color: #111827;
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 270px;
  background: #050607;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 22px;
}

.side-logo {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 28px;
}

.side-link {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: #fff;
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 10px;
  font-weight: 800;
  cursor: pointer;
}

.side-link:hover,
.side-link.active {
  background: var(--blue);
}

.side-link.danger {
  background: rgba(255,0,0,.12);
}

.app-main {
  margin-left: 270px;
  width: calc(100% - 270px);
  padding: 34px;
}

.app-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.app-head h1 {
  font-size: 44px;
}

.hidden {
  display: none;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.kpi,
.panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 24px;
}

.kpi span {
  color: #667085;
  font-weight: 800;
}

.kpi strong {
  display: block;
  font-size: 34px;
  margin-top: 8px;
}

.panel {
  margin-bottom: 22px;
}

.panel h2 {
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.form-grid input,
.form-grid select {
  margin-bottom: 0;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

th {
  color: var(--blue);
  font-size: 13px;
  text-transform: uppercase;
}

.badge-state {
  background: rgba(40,90,170,.12);
  color: var(--blue);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.small-btn {
  border: none;
  border-radius: 10px;
  padding: 8px 10px;
  color: #fff;
  background: var(--blue);
  cursor: pointer;
}

.danger-btn {
  background: #b42318;
}

@media (max-width: 960px) {
  .cursor-glow {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .nav-action {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 82px;
    left: 4%;
    right: 4%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(5,6,7,.97);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
  }

  .nav-menu.open {
    display: flex;
  }

  .hero-layout,
  .about-grid,
  .product-row,
  .process-grid,
  .catalog-panel,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .machine-frame img,
  .process-visual img {
    height: 360px;
  }

  .spec-card {
    position: static;
    margin-top: 12px;
  }

  .service-cards,
  .values-grid,
  .kpi-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .pdf-card {
    position: static;
    margin-bottom: 12px;
    width: 100%;
    transform: none;
  }

  .catalog-preview {
    min-height: auto;
  }

  .sidebar {
    position: static;
    width: 100%;
  }

  .app-body {
    display: block;
  }

  .app-main {
    margin-left: 0;
    width: 100%;
    padding: 18px;
  }

  .app-head {
    display: block;
  }
}
