/* Datascape Industrial — Dark Theme */
/* Colors: bg #2D2D2D, text #E8E8E8, accent #FC6000 */

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

:root {
  --bg: #2D2D2D;
  --bg-light: #3a3a3a;
  --bg-card: #353535;
  --text: #E8E8E8;
  --text-muted: #818181;
  --accent: #FC6000;
  --accent-hover: #e55500;
  --white: #ffffff;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DIN Next W01 Light', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.2rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

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

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

/* ─── Header / Nav ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(45, 45, 45, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 72px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #2D2D2D 40%, #1f3141 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(252,96,0,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(31,49,65,0.4) 0%, transparent 60%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 60px 24px;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
}

.hero h1 .accent { color: var(--accent); }

.hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

/* ─── Sections ─── */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
}

.section-title p {
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Services Grid ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 40px 28px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(255,255,255,0.04);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ─── Client Logos ─── */
.clients {
  background: var(--bg-light);
}

.clients-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.clients-grid img {
  height: 50px;
  width: auto;
  opacity: 0.6;
  filter: brightness(1.2) grayscale(0.3);
  transition: opacity 0.3s, filter 0.3s;
}

.clients-grid img:hover {
  opacity: 1;
  filter: brightness(1) grayscale(0);
}

/* ─── Two-column Layout ─── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-image {
  border-radius: 8px;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  border-radius: 8px;
}

/* ─── Services Page ─── */
.service-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.service-section:last-child { border-bottom: none; }

.service-list {
  list-style: none;
  margin-top: 16px;
}

.service-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text-muted);
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* ─── Pricing ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 40px 28px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.2s, border-color 0.2s;
}

.pricing-card.featured {
  border-color: var(--accent);
  transform: scale(1.04);
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.pricing-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.pricing-price {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.pricing-period {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 0.95rem;
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
}

.faq-item h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--accent);
}

.faq-item p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Product ─── */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-image {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  max-height: 400px;
  width: auto;
}

.product-info h1 {
  margin-bottom: 16px;
}

.product-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.product-stock {
  color: #4ade80;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.product-description {
  margin-bottom: 32px;
  line-height: 1.7;
}

.product-specs {
  list-style: none;
  margin-bottom: 32px;
}

.product-specs li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
}

.product-specs li span:first-child {
  color: var(--text-muted);
}

/* ─── Shop Grid ─── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

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

.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

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

.shop-card-image img {
  max-height: 180px;
  width: auto;
}

.shop-card-body {
  padding: 20px;
}

.shop-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.shop-card-body .price {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
}

.shop-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* ─── Nodes Page ─── */
.node-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.node-feature {
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: 6px;
  font-size: 0.95rem;
  border-left: 3px solid var(--accent);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

.specs-table th,
.specs-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.specs-table th {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── Privacy / Legal ─── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  color: var(--text-muted);
}

/* ─── 404 ─── */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 72px;
}

.error-page h1 {
  font-size: 6rem;
  color: var(--accent);
}

.error-page p {
  font-size: 1.2rem;
  margin: 16px 0 32px;
  color: var(--text-muted);
}

/* ─── Footer ─── */
.site-footer {
  background: #222;
  padding: 48px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .product-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split.reverse { direction: ltr; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  h1 { font-size: 2.4rem; }
  .hero h1 { font-size: 2.6rem; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(45, 45, 45, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero { min-height: 60vh; }
  .hero h1 { font-size: 2rem; }

  section { padding: 48px 0; }

  .clients-grid { gap: 24px; }
  .clients-grid img { height: 36px; }
}
