/* ==========================================================
   style.css — InkMark Industrial Landing Page
   Edit CSS variables at the top to quickly retheme the site.
   ========================================================== */

/* ── 1. CSS Variables (Theme Tokens) ── */
:root {
  --color-bg: #ffffff;
  --color-surface: #f4f8fa;
  --color-surface-2: #e8f4f8;
  --color-border: #d0e8f0;
  --color-text: #1a2a30;
  --color-muted: #6a8a96;
  --color-accent: #2baed4;
  /* Fusion teal-blue */
  --color-accent-dim: #1e8aaa;
  --color-white: #ffffff;

  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Sora', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(43, 174, 212, 0.10);

  --transition: 0.25s ease;
  --max-width: 1200px;
}

/* ── 2. Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── 3. Utility Classes ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
}

/* ── 4. Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 2px 16px rgba(43, 174, 212, 0.08);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-black);
  text-decoration: none;
}

.nav-logo span {
  color: var(--color-accent);
}

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.nav-cta {
  background: var(--color-accent);
  color: #000 !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}

.nav-cta:hover {
  background: var(--color-accent-dim) !important;
  color: #000 !important;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── 5. Hero Section (Parallax) ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Parallax background layer */
.hero-bg {
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(43, 174, 212, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(43, 174, 212, 0.06) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M 60 0 L 0 0 0 60' fill='none' stroke='rgba(43,174,212,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  will-change: transform;
}

/* Split: text left, logo right */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  align-items: center;
  gap: 48px;
  padding-top: 80px;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Logo right side */
.hero-logo-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-ring {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-ring::before,
.hero-logo-ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(43, 174, 212, 0.18);
  animation: ring-pulse 3.5s ease-in-out infinite;
}

.hero-logo-ring::before {
  inset: 0;
  animation-delay: 0s;
}

.hero-logo-ring::after {
  inset: -24px;
  border-color: rgba(43, 174, 212, 0.09);
  animation-delay: 0.6s;
}

@keyframes ring-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.04);
    opacity: 0.6;
  }
}

.hero-logo-img {
  width: 260px;
  height: 260px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  animation: logo-float 4s ease-in-out infinite;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  padding: 24px;
  box-shadow: 0 8px 48px rgba(43, 174, 212, 0.15), 0 2px 12px rgba(0, 0, 0, 0.06);
}

@keyframes logo-float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-accent);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #000;
}

.btn-primary:hover {
  background: var(--color-accent-dim);
  color: #000;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  text-decoration: none;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  z-index: 2;
  animation: bounce 2.2s ease-in-out infinite;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ── 6. Products — Zigzag List ── */
.products-section {
  padding: 96px 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.products-header {
  padding: 0 24px;
  max-width: var(--max-width);
  margin: 0 auto 64px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* Zigzag list container */
.products-list {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Each zigzag row */
.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  /* Start hidden — JS adds .is-visible to trigger animation */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.product-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Even rows: image right, text left */
.product-row.reverse {
  direction: rtl;
}

.product-row.reverse>* {
  direction: ltr;
}

/* Square image with rounded corners */
.product-img-wrap {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 40px rgba(43, 174, 212, 0.08);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.product-row:hover .product-img-wrap {
  border-color: var(--color-accent);
  box-shadow: 0 16px 56px rgba(43, 174, 212, 0.15);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

/* Text side */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-category {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.product-name {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.75;
}

.product-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(43, 174, 212, 0.10);
  border: 1px solid rgba(43, 174, 212, 0.25);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  align-self: flex-start;
}

/* Divider line between rows */
.product-divider {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.product-divider hr {
  border: none;
  border-top: 1px solid var(--color-border);
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .products-list {
    gap: 56px;
  }

  .product-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-row.reverse {
    direction: ltr;
  }
}

/* ── 7. About / Company Section ── */
.about-section {
  padding: 96px 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-body {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.8;
  margin-top: 20px;
}

.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(43, 174, 212, 0.10);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ── 8. Contact / CTA Band ── */
.cta-section {
  padding: 80px 0;
  background: var(--color-bg);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 48px 56px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 174, 212, 0.08), transparent 70%);
  pointer-events: none;
}

.cta-text {
  max-width: 500px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 10px;
}

.cta-subtitle {
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* ── 9. Footer ── */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 12px;
}

.footer-brand-name span {
  color: var(--color-accent);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 260px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--color-muted);
  text-decoration: none;
  transition: color var(--transition);
}

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

.footer-contact-item {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.footer-contact-item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2px;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-muted);
  letter-spacing: 0.08em;
}

/* ── 10. Responsive ── */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-logo-wrap {
    order: -1;
  }

  .hero-logo-ring {
    width: 220px;
    height: 220px;
  }

  .hero-logo-img {
    width: 180px;
    height: 180px;
    padding: 18px;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-grid>*:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 24px;
    gap: 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .products-track {
    padding: 16px 24px;
  }

  .products-track-wrapper::before,
  .products-track-wrapper::after {
    width: 24px;
  }

  .cta-inner {
    padding: 32px 24px;
    flex-direction: column;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}