/* ============================================================
   TENS INTERNATIONAL — Global Stylesheet
   Graphene-themed: carbon blacks, hex lattice, cyan glow
   ============================================================ */

@font-face {
  font-family: 'Bebas Neue';
  src: url('../fonts/BebasNeue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-VariableFont_opsz_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  /* Dark surfaces */
  --c-base:     #07080d;
  --c-surface:  #0e1018;
  --c-card:     #14161f;
  --c-card-2:   #1a1d28;
  --c-border:   rgba(255,255,255,0.07);
  --c-border-2: rgba(255,255,255,0.13);

  /* Cyan accent */
  --c-accent:   #00c8f0;
  --c-accent-d: #009fc0;
  --c-accent-dim: rgba(0, 200, 240, 0.08);
  --c-accent-glow: rgba(0, 200, 240, 0.18);

  /* Neutrals */
  --c-white:  #f0f4f8;
  --c-txt-1:  #e2e8f0;
  --c-txt-2:  #8892a4;
  --c-txt-3:  #555e70;
  --c-grey-1: #f0f2f5;
  --c-grey-2: #e2e5ea;
  --c-grey-3: #c8cdd6;
  --c-dark-txt:#1a1d28;

  /* Light surface */
  --c-light-bg: #f8f9fb;
  --c-white-pure: #ffffff;

  /* Typography */
  --f-display: 'Bebas Neue', 'Inter', system-ui, sans-serif;
  --f-sans: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'DM Mono', 'SF Mono', 'Fira Code', monospace;

  /* Motion */
  --ease: 0.3s ease;
  --ease-slow: 0.6s ease;
}

/* ── BASE ───────────────────────────────────────────────────── */
body {
  font-family: var(--f-sans);
  background: var(--c-base);
  color: var(--c-txt-2);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── CANVAS BACKGROUND ──────────────────────────────────────── */
.hex-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ── CONTAINER ──────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

/* ── UTILITIES ──────────────────────────────────────────────── */
.accent        { color: var(--c-accent); }
.text-center   { text-align: center; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--c-accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--c-txt-1);
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title-dark {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--c-dark-txt);
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--c-txt-3);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 56px;
}

.section-sub-dark {
  font-size: 1rem;
  color: #6b7280;
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 56px;
}

.text-center .section-sub,
.text-center .section-sub-dark { margin-left: auto; margin-right: auto; }

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(7, 8, 13, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
  transition: background var(--ease), border-color var(--ease);
}

.site-header.scrolled {
  background: rgba(7, 8, 13, 0.98);
  border-bottom-color: var(--c-border-2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-txt-1);
  letter-spacing: -0.2px;
}

.logo-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
}

.logo-icon svg { width: 64px; height: 64px; }
.logo-icon img { width: 64px; height: 64px; object-fit: contain; display: block; }

.logo-text strong { color: var(--c-accent); }

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-txt-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 18px;
  transition: color var(--ease);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 18px; right: 18px;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transition: transform var(--ease);
}

.main-nav a:hover         { color: var(--c-txt-1); }
.main-nav a.active        { color: var(--c-txt-1); }
.main-nav a.active::after { transform: scaleX(1); }

.nav-cta {
  margin-left: 16px;
  background: var(--c-accent);
  color: var(--c-base) !important;
  padding: 9px 22px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover  { background: var(--c-accent-d) !important; color: var(--c-base) !important; }

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

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-txt-1);
  transition: var(--ease);
}

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

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 34px;
  font-family: var(--f-sans);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: var(--c-accent);
  color: var(--c-base);
  border-color: var(--c-accent);
}
.btn-primary:hover {
  background: var(--c-accent-d);
  border-color: var(--c-accent-d);
  box-shadow: 0 4px 24px var(--c-accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--c-txt-1);
  border-color: var(--c-border-2);
}
.btn-outline:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.btn-outline-dark {
  background: transparent;
  color: var(--c-dark-txt);
  border-color: #c0c6d0;
}
.btn-outline-dark:hover {
  background: var(--c-dark-txt);
  color: var(--c-white-pure);
  border-color: var(--c-dark-txt);
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--c-base);
  padding-top: 72px;
}


.hero > .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0 80px;
}

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

@keyframes borderSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-graphic-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1px;
  overflow: hidden;
  box-shadow: 0 0 48px rgba(0, 200, 240, 0.10), 0 0 96px rgba(0, 200, 240, 0.05);
}

.hero-graphic-wrap::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    rgba(0,200,240,0.22)  0deg,
    rgba(0,200,240,0.22)  230deg,
    rgba(0,200,240,0.35)  260deg,
    rgba(0,200,240,0.80)  285deg,
    rgba(200,248,255,1)   300deg,
    rgba(0,200,240,0.80)  315deg,
    rgba(0,200,240,0.35)  340deg,
    rgba(0,200,240,0.22)  360deg
  );
  animation: borderSpin 5s linear infinite;
  z-index: 0;
}

.hero-graphic {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  filter: brightness(0.85) saturate(0.9);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--c-accent);
}

.hero h1 {
  font-family: var(--f-display);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 400;
  color: var(--c-txt-1);
  line-height: 0.95;
  letter-spacing: 2px;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--c-txt-2);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 40px;
}

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

.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--c-txt-3);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll svg { width: 20px; height: 20px; stroke: var(--c-txt-3); }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── PAGE HERO ──────────────────────────────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
  background: var(--c-base);
  overflow: hidden;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--c-txt-3);
  margin-bottom: 24px;
}

.page-hero .breadcrumb a { color: var(--c-txt-3); transition: color var(--ease); }
.page-hero .breadcrumb a:hover { color: var(--c-accent); }
.page-hero .breadcrumb span { color: var(--c-accent); }

.page-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  color: var(--c-txt-1);
  line-height: 0.95;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--c-txt-2);
  max-width: 580px;
  line-height: 1.75;
}

/* ── 404 PAGE ───────────────────────────────────────────────── */
.error-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--c-base);
  overflow: hidden;
}

.error-hero .hex-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.error-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


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

.error-divider {
  width: 40px;
  height: 2px;
  background: var(--c-accent);
  margin: 20px 0 28px;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.error-nav-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-border);
  overflow: hidden;
  margin-top: 48px;
  max-width: 400px;
}

.error-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-card);
  text-decoration: none;
  color: var(--c-txt-1);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background var(--ease), color var(--ease);
}

.error-nav-item:last-child { border-bottom: none; }

.error-nav-item:hover {
  background: var(--c-card-2);
  color: var(--c-accent);
}

.error-nav-item svg {
  stroke: currentColor;
  flex-shrink: 0;
}

/* ── SECTIONS ───────────────────────────────────────────────── */
.section-dark  { background: var(--c-surface); padding: 100px 0; }
.section-base  { background: var(--c-base);    padding: 100px 0; }
.section-light { background: var(--c-light-bg); padding: 100px 0; }

/* ── STATS BAR ──────────────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-d) 100%);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-divider {
  border: none;
  border-right: 1px solid rgba(7, 8, 13, 0.2);
}

.stat-num {
  font-family: var(--f-mono);
  font-size: 3.4rem;
  font-weight: 500;
  color: var(--c-base);
  line-height: 1;
}

.stat-suf {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-base);
}

.stat-lbl {
  font-size: 0.88rem;
  color: rgba(7, 8, 13, 0.7);
  font-weight: 500;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── WHO WE ARE ─────────────────────────────────────────────── */
.who-we-are { padding: 80px 0; }

.who-inner {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}

.who-hex-accent {
  flex-shrink: 0;
  width: 80px;
  opacity: 0.7;
  padding-top: 6px;
}

.who-hex-accent svg { width: 80px; height: 80px; }

.who-body { flex: 1; }

.who-statement {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 400;
  color: var(--c-txt-1);
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-left: 3px solid var(--c-accent);
  padding-left: 28px;
  margin: 16px 0 24px;
  display: block;
}

.who-statement .who-line-1 {
  display: block;
  color: var(--c-txt-1);
}

.who-statement .who-line-2 {
  display: block;
  color: var(--c-txt-3);
  font-size: 0.85em;
  margin-top: 8px;
}

.who-sub {
  font-size: 1rem;
  color: var(--c-txt-2);
  line-height: 1.75;
  max-width: 560px;
  padding-left: 28px;
  margin-bottom: 28px;
}

.who-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 28px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--c-accent);
  transition: gap var(--ease), opacity var(--ease);
}

.who-link svg { width: 16px; height: 16px; transition: transform var(--ease); }
.who-link:hover { opacity: 0.8; }
.who-link:hover svg { transform: translateX(4px); }

@media (max-width: 764px) {
  .who-inner { flex-direction: column; gap: 24px; }
  .who-hex-accent { width: 56px; }
  .who-hex-accent svg { width: 56px; height: 56px; }
  .who-statement { font-size: 1.4rem; }
}

/* ── WHY GRAPHENE — FEATURE CARDS ───────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  padding: 36px 28px;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-accent-dim);
  box-shadow: 0 16px 48px rgba(0,200,240,0.06);
}

.feature-icon {
  width: 52px; height: 52px;
  background: var(--c-accent-dim);
  border: 1px solid rgba(0,200,240,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg {
  width: 24px; height: 24px;
  stroke: var(--c-accent);
  fill: none;
  stroke-width: 1.5;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-txt-1);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--c-txt-2);
  line-height: 1.7;
}

/* ── INDUSTRY CARDS — DARK ──────────────────────────────────── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.industry-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color var(--ease), background var(--ease);
  cursor: default;
}

.industry-card:hover {
  border-color: rgba(0,200,240,0.3);
  background: var(--c-card-2);
}

.industry-card-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent);
}

.industry-card-icon svg {
  width: 28px; height: 28px;
  stroke: var(--c-accent);
  fill: none;
  stroke-width: 1.5;
}

.industry-card h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-txt-1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

/* ── PRODUCT CARDS ──────────────────────────────────────────── */
.product-card {
  background: var(--c-white-pure);
  border: 1px solid var(--c-grey-2);
  padding: 0;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--ease);
  display: flex;
  align-items: stretch;
}

.product-card-body {
  padding: 40px;
  flex: 1;
  position: relative;
}

.product-card-image {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin: 40px 40px 40px 0;
  position: relative;
  background: var(--c-white-pure);
  border: 1px solid #c0c6d0;
  box-shadow: inset 0 0 0 6px var(--c-white-pure), inset 0 0 0 7px #c0c6d0;
  overflow: hidden;
}

/* Mobile-only image slot (inside body, between tagline and description) */
.product-card-mobile-img {
  display: none;
}

.product-card-image--sm {
  padding: 32px 8px;
  margin-top: 40px;
}

.product-card > .product-badge {
  top: 0;
  right: 0;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--c-accent);
  transform: scaleY(0);
  transition: transform var(--ease);
  transform-origin: top;
}

.product-card:hover::before { transform: scaleY(1); }
.product-card:hover { box-shadow: 0 8px 48px rgba(0,0,0,0.06); }

.product-badge {
  position: absolute;
  top: 24px; right: 24px;
  background: var(--c-accent);
  color: var(--c-base);
  padding: 4px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.product-card h2 {
  font-family: var(--f-display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--c-dark-txt);
  margin-bottom: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.product-tagline {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-accent-d);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  display: block;
}

.product-desc {
  color: #5a6270;
  font-size: 0.96rem;
  line-height: 1.75;
  max-width: 640px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-desc p { margin: 0 0 6px; }
.product-desc p:last-child { margin-bottom: 0; }
.product-desc h1, .product-desc h2, .product-desc h3,
.product-desc h4, .product-desc h5, .product-desc h6 {
  font-size: 0.96rem; font-weight: 700; color: #1a1a2e; margin: 0 0 4px;
}
.product-desc strong { font-weight: 700; color: #1a1a2e; }
.product-desc em { font-style: italic; }
.product-desc ul, .product-desc ol { padding-left: 16px; margin: 0 0 6px; }
.product-desc li { margin-bottom: 2px; }
.product-desc code { font-size: 0.88rem; background: #f0f2f5; padding: 1px 4px; border-radius: 3px; }
.product-desc table { display: none; } /* hide tables — too wide for a card */

.product-formats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.format-tag {
  padding: 5px 16px;
  border: 1px solid rgba(0,200,240,0.4);
  color: var(--c-accent-d);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.product-metrics {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--c-grey-2);
  flex-wrap: wrap;
}

.metric strong {
  display: block;
  font-family: var(--f-mono);
  font-size: 1.5rem;
  color: var(--c-accent-d);
  font-weight: 500;
  line-height: 1.2;
}

.metric span {
  font-size: 0.78rem;
  color: #8892a4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── APP ITEMS ──────────────────────────────────────────────── */
.app-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}

.app-item {
  background: var(--c-white-pure);
  border: 1px solid var(--c-grey-2);
  padding: 24px 16px;
  text-align: center;
  transition: border-color var(--ease), transform var(--ease);
}

.app-item:hover {
  border-color: var(--c-accent-d);
  transform: translateY(-3px);
}

.app-item-hex {
  width: 36px; height: 36px;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
}

.app-item-hex svg {
  width: 36px; height: 36px;
  stroke: var(--c-accent-d);
  fill: none;
  stroke-width: 1.5;
}

.app-item span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-dark-txt);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
  display: block;
}

/* ── VALUE CARDS ────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  padding: 32px 24px;
  text-align: center;
  transition: border-color var(--ease), transform var(--ease);
}

.value-card:hover {
  border-color: rgba(0,200,240,0.25);
  transform: translateY(-4px);
}

.value-icon {
  width: 54px; height: 54px;
  background: var(--c-accent-dim);
  border: 1px solid rgba(0,200,240,0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}

.value-icon svg {
  width: 22px; height: 22px;
  stroke: var(--c-accent);
  fill: none;
  stroke-width: 1.5;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-txt-1);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--c-txt-2);
  line-height: 1.65;
}

/* ── ABOUT — MISSION + WHAT WE DO ──────────────────────────── */
.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ── WHAT IS GRAPHENE ───────────────────────────────────────── */
.what-is-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.wi-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wi-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--c-accent);
  border: 1px solid rgba(0, 200, 240, 0.25);
  padding: 5px 14px;
  border-radius: 2px;
}

/* ── ABOUT — MARKET APPLICATIONS ───────────────────────────── */
.about-market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-market-btn-mobile { display: none; }

/* ── ABOUT — MISSION SPLIT ──────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img {
  position: relative;
}

.about-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.about-img-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(7,8,13,0.85) 0%, transparent 100%);
}

.about-img-caption span {
  font-size: 0.78rem;
  color: var(--c-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.about-content .mission-quote {
  font-size: 1.15rem;
  color: var(--c-txt-1);
  line-height: 1.65;
  border-left: 3px solid var(--c-accent);
  padding-left: 24px;
  margin: 28px 0;
}

.about-content p {
  color: var(--c-txt-2);
  font-size: 0.96rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Market applications from about.jpeg */
.market-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--c-border);
  overflow: hidden;
}

.market-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: var(--c-card);
  border-bottom: 1px solid var(--c-border);
  transition: background var(--ease);
}

.market-row:last-child { border-bottom: none; }
.market-row:hover { background: var(--c-card-2); }

.market-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent);
}

.market-icon svg {
  width: 28px; height: 28px;
  stroke: var(--c-accent);
  fill: none;
  stroke-width: 1.5;
}

.market-row h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-txt-1);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ── GRAPHENE SCIENCE SECTION ───────────────────────────────── */
.science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}

.lattice-visual {
  position: relative;
  width: 100%;
  height: 100%;
}

.lattice-visual canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.science-facts {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.fact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.fact-num {
  font-family: var(--f-mono);
  font-size: 2rem;
  font-weight: 500;
  color: var(--c-accent);
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
}

.fact-text h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--c-txt-1);
  margin-bottom: 4px;
}

.fact-text p {
  font-size: 0.88rem;
  color: var(--c-txt-2);
  line-height: 1.65;
}

/* ── CTA SECTION ────────────────────────────────────────────── */
.cta-section {
  background: var(--c-surface);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-family: var(--f-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 400;
  color: var(--c-txt-1);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1rem;
  color: var(--c-txt-2);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── INQUIRY ────────────────────────────────────────────────── */
.inquiry-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.inquiry-form-wrap {
  background: var(--c-white-pure);
  border: 1px solid var(--c-grey-2);
  padding: 48px;
}

.inquiry-form-wrap h2 {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--c-dark-txt);
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.inquiry-form-wrap > p {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 36px;
  line-height: 1.65;
}

.form-group { margin-bottom: 24px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--c-dark-txt);
  margin-bottom: 8px;
}

.req { color: var(--c-accent-d); }

.other-interest-wrap {
  margin-top: 10px;
  animation: slideDown 0.22s var(--ease);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--c-grey-1);
  border: 1px solid var(--c-grey-2);
  color: var(--c-dark-txt);
  font-size: 0.94rem;
  font-family: var(--f-sans);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
  appearance: none;
}

input::placeholder, textarea::placeholder { color: #a0aab6; }

/* ── Phone — country code searchable dropdown ── */
.phone-input-wrap {
  display: flex;
  position: relative;
  border: 1px solid var(--c-grey-2);
  background: var(--c-grey-1);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.phone-input-wrap:focus-within {
  border-color: var(--c-accent-d);
  box-shadow: 0 0 0 3px rgba(0,200,240,0.10);
}

/* trigger button */
.phone-cc-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 13px 10px 13px 14px;
  border-right: 1px solid var(--c-grey-2);
  background: rgba(0,0,0,0.14);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  font-size: 0.9rem;
  color: var(--c-dark-txt);
  transition: background 0.2s;
}
.phone-cc-trigger:hover { background: rgba(0,0,0,0.22); }
.phone-cc-trigger svg { color: var(--c-txt-3); transition: transform 0.2s; flex-shrink: 0; }
.phone-cc-trigger.open svg { transform: rotate(180deg); }

/* dropdown panel */
.phone-cc-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 270px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  z-index: 200;
  border-radius: 4px;
  overflow: hidden;
}

/* search input inside panel */
.phone-cc-search {
  width: 100% !important;
  padding: 10px 14px !important;
  border: none !important;
  border-bottom: 1px solid var(--c-border) !important;
  background: var(--c-grey-1) !important;
  color: var(--c-dark-txt) !important;
  font-size: 0.875rem !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.phone-cc-search:focus { box-shadow: none !important; border-color: var(--c-border) !important; }

/* list */
.phone-cc-list {
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--c-grey-2) transparent;
}
.phone-cc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 0.875rem;
  color: var(--c-txt-2);
  cursor: pointer;
  transition: background 0.15s;
}
.phone-cc-item:hover { background: var(--c-grey-1); color: #111827; }
.phone-cc-item:hover .cc-name { color: #111827; }
.phone-cc-item:hover .cc-num  { color: #0099c0; }
.phone-cc-item.selected { background: rgba(0,200,240,0.07); color: #111827; }
.phone-cc-item .cc-name { flex: 1; }
.phone-cc-item .cc-num {
  font-size: 0.8rem;
  color: var(--c-accent);
  font-family: var(--f-mono);
  flex-shrink: 0;
}
.phone-cc-empty {
  padding: 16px 14px;
  font-size: 0.875rem;
  color: var(--c-txt-3);
  text-align: center;
}

/* number input */
.phone-input-wrap .phone-num {
  flex: 1;
  width: auto;
  border: none;
  background: transparent;
  padding: 13px 16px;
  box-shadow: none !important;
}
.phone-input-wrap .phone-num:focus { border-color: transparent; box-shadow: none; }

input:focus, select:focus, textarea:focus {
  border-color: var(--c-accent-d);
  box-shadow: 0 0 0 3px rgba(0,200,240,0.10);
}

input.error, select.error, textarea.error {
  border-color: #e53935;
}

select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555e70' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-color: var(--c-grey-1);
  padding-right: 40px;
}

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

.field-error {
  display: block;
  font-size: 0.78rem;
  color: #e53935;
  margin-top: 6px;
  min-height: 1.2em;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 0.9rem;
  margin-top: 8px;
}

.form-success {
  text-align: center;
  padding: 40px 0;
}

.success-hex {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-accent-dim);
  border: 1px solid rgba(0,200,240,0.2);
}

.success-hex svg {
  width: 28px; height: 28px;
  stroke: var(--c-accent-d);
  fill: none;
  stroke-width: 1.5;
}

.form-success h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-dark-txt);
  margin-bottom: 8px;
}

.form-success p {
  color: #6b7280;
  font-size: 0.9rem;
}

/* Inquiry sidebar */
.inquiry-sidebar { display: flex; flex-direction: column; gap: 20px; }

.info-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  padding: 28px;
}

.info-card-icon {
  width: 40px; height: 40px;
  background: var(--c-accent-dim);
  border: 1px solid rgba(0,200,240,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

.info-card-icon svg {
  width: 20px; height: 20px;
  stroke: var(--c-accent);
  fill: none;
  stroke-width: 1.5;
}

.info-card h3 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--c-txt-1);
  margin-bottom: 10px;
}

.info-card p,
.info-card li {
  font-size: 0.88rem;
  color: var(--c-txt-2);
  line-height: 1.65;
}

.info-card ul { display: flex; flex-direction: column; gap: 8px; }

.info-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.info-card li::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  background: var(--c-accent);
  flex-shrink: 0;
  margin-top: 8px;
}

.info-card .contact-val {
  color: var(--c-accent);
  font-weight: 500;
  font-size: 0.92rem;
}

/* ── PRODUCT DETAIL PAGE ─────────────────────────────────────── */
.pd-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.pd-image-wrap {
  border: 1px solid var(--c-grey-2);
  background: var(--c-white-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 380px;
}
.pd-image-wrap img {
  width: 100%;
  height: 380px;
  object-fit: contain;
  padding: 40px;
  display: block;
}
.pd-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.pd-content h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--c-dark-txt);
  margin-bottom: 8px;
  line-height: 1.1;
}
.pd-tagline {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-accent-d);
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 20px;
}
.pd-desc {
  font-size: 1rem;
  color: var(--c-txt-2);
  line-height: 1.8;
  margin-bottom: 28px;
}
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* metrics bar */
.pd-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--c-grey-2);
  overflow: hidden;
  margin-top: 64px;
}
.pd-metric-item {
  padding: 32px 20px;
  text-align: center;
  background: var(--c-white-pure);
  border-right: 1px solid var(--c-grey-2);
}
.pd-metric-item:last-child { border-right: none; }
.pd-metric-item strong {
  display: block;
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--c-accent-d);
  line-height: 1;
  margin-bottom: 8px;
}
.pd-metric-item span {
  font-size: 0.78rem;
  color: var(--c-txt-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* features grid */
.pd-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.pd-feature-card {
  background: var(--c-white-pure);
  border: 1px solid var(--c-grey-2);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--ease);
}
.pd-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.pd-feature-card:hover::before { transform: scaleX(1); }
.pd-feature-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.06); }
.pd-feature-icon {
  width: 40px; height: 40px;
  background: rgba(0,200,240,0.08);
  border: 1px solid rgba(0,200,240,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.pd-feature-icon svg {
  width: 20px; height: 20px;
  stroke: var(--c-accent-d);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pd-feature-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-dark-txt);
  margin-bottom: 8px;
}
.pd-feature-card p {
  font-size: 0.85rem;
  color: var(--c-txt-2);
  line-height: 1.65;
  margin: 0;
}

/* variants */
.pd-variants-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.pd-variant-card {
  background: var(--c-white-pure);
  border: 1px solid var(--c-grey-2);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.pd-variant-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent), #0099c0);
}
.pd-variant-label {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--c-accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.pd-variant-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-dark-txt);
  margin-bottom: 12px;
}
.pd-variant-card p {
  font-size: 0.875rem;
  color: var(--c-txt-2);
  line-height: 1.7;
  margin: 0;
}

/* applications */
.pd-app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.pd-app-item {
  background: var(--c-white-pure);
  border: 1px solid var(--c-grey-2);
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.pd-app-item:hover {
  border-color: rgba(0,200,240,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.pd-app-item svg {
  width: 20px; height: 20px;
  stroke: var(--c-accent-d);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.pd-app-item span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-dark-txt);
}

/* related products */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.related-card {
  background: var(--c-white-pure);
  border: 1px solid var(--c-grey-2);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  transition: border-color var(--ease), box-shadow var(--ease);
  position: relative;
  overflow: hidden;
}
.related-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--c-accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s var(--ease);
}
.related-card:hover::before { transform: scaleY(1); }
.related-card:hover { border-color: rgba(0,200,240,0.25); box-shadow: 0 8px 32px rgba(0,0,0,0.07); }
.related-card-img {
  width: 64px; height: 64px;
  flex-shrink: 0;
  border: 1px solid var(--c-grey-2);
  background: var(--c-grey-1);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.related-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.related-card-body { flex: 1; min-width: 0; }
.related-card-body h4 { font-size: 0.9rem; font-weight: 700; color: var(--c-dark-txt); margin-bottom: 4px; }
.related-card-body p { font-size: 0.78rem; color: var(--c-txt-3); margin: 0; }
.related-card-arrow { flex-shrink: 0; }
.related-card-arrow svg {
  width: 16px; height: 16px;
  stroke: var(--c-accent-d); fill: none; stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}
.related-card:hover .related-card-arrow svg { opacity: 1; transform: translateX(0); }

@media (max-width: 1024px) {
  .pd-overview { grid-template-columns: 1fr; gap: 48px; }
  .pd-features-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-metrics { grid-template-columns: repeat(2, 1fr); }
  .pd-metric-item { border-bottom: 1px solid var(--c-grey-2); }
  .pd-app-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 764px) {
  .pd-features-grid { grid-template-columns: 1fr; }
  .pd-metrics { grid-template-columns: 1fr 1fr; }
  .pd-variants-grid { grid-template-columns: 1fr; }
  .pd-app-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}

/* ── TOAST NOTIFICATIONS ─────────────────────────────────────── */
.toast-wrap {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  pointer-events: all;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 300px;
  max-width: 380px;
  background: var(--c-card-2);
  border: 1px solid var(--c-border-2);
  border-radius: 6px;
  padding: 16px 16px 16px 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.toast.toast--visible {
  opacity: 1;
  transform: translateY(0);
}
.toast.toast--hiding {
  opacity: 0;
  transform: translateY(8px);
}

/* left accent bar */
.toast__bar {
  flex-shrink: 0;
  width: 4px;
  align-self: stretch;
  border-radius: 0 2px 2px 0;
}
.toast--error  .toast__bar { background: #f56565; }
.toast--success .toast__bar { background: var(--c-accent); }

/* icon */
.toast__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.toast--error  .toast__icon { background: rgba(245,101,101,0.12); }
.toast--success .toast__icon { background: rgba(0,200,240,0.10); }
.toast__icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.toast--error  .toast__icon svg { stroke: #f56565; }
.toast--success .toast__icon svg { stroke: var(--c-accent); }

/* body */
.toast__body {
  flex: 1;
  min-width: 0;
}
.toast__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-txt-1);
  margin: 0 0 4px;
  line-height: 1.3;
}
.toast__msg {
  font-size: 0.8125rem;
  color: var(--c-txt-2);
  line-height: 1.55;
  margin: 0;
}
.toast__msg a {
  color: var(--c-accent);
  text-decoration: none;
}
.toast__msg a:hover { text-decoration: underline; }

/* close */
.toast__close {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-txt-3);
  padding: 2px;
  line-height: 1;
  border-radius: 3px;
  transition: color 0.2s;
}
.toast__close:hover { color: var(--c-txt-1); }
.toast__close svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  display: block;
}

@media (max-width: 764px) {
  .toast-wrap {
    bottom: 20px;
    left: 16px;
    right: 16px;
  }
  .toast {
    min-width: 0;
    max-width: 100%;
  }
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--c-border);
}

.footer-brand .logo {
  display: block;
  width: 100%;
  max-width: 300px;
  margin-bottom: 16px;
}
.footer-brand .logo-icon {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 8px;
}
.footer-brand .logo-icon img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--c-txt-3);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-txt-1);
  margin-bottom: 20px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.88rem;
  color: var(--c-txt-3);
  padding: 5px 0;
  transition: color var(--ease);
}

.footer-col a:hover   { color: var(--c-accent); }
/* tel: / mailto: links live inside <p> — keep them inline */
.footer-col p a       { display: inline; text-decoration: none; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--c-txt-3);
}

/* ── SCROLL ANIMATIONS ──────────────────────────────────────── */
/* ── KEYFRAMES ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(44px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,200,240,0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(0,200,240,0); }
}

/* ── HERO — page-load entrance (index.html) ─────────────── */
.hero-eyebrow      { animation: fadeUp      0.7s ease both 0.15s; }
.hero h1           { animation: fadeUp      0.7s ease both 0.32s; }
.hero-sub          { animation: fadeUp      0.7s ease both 0.50s; }
.hero-actions      { animation: fadeUp      0.7s ease both 0.66s; }
.hero-graphic-wrap { animation: fadeInRight 0.9s ease both 0.42s; }

/* ── PAGE HERO — all inner pages ────────────────────────── */
.page-hero .breadcrumb                  { animation: fadeUp 0.6s ease both 0.10s; }
.page-hero .section-label              { animation: fadeUp 0.6s ease both 0.24s; }
.page-hero h1                          { animation: fadeUp 0.7s ease both 0.38s; }
.page-hero .container > p:last-of-type { animation: fadeUp 0.7s ease both 0.54s; }

/* ── 404 HERO ────────────────────────────────────────────── */
.error-content .section-label         { animation: fadeUp 0.6s ease both 0.30s; }
.error-content h1                     { animation: fadeUp 0.7s ease both 0.46s; }
.error-divider                        { animation: fadeUp 0.5s ease both 0.60s; }
.error-content > p:not(.section-label){ animation: fadeUp 0.7s ease both 0.72s; }
.error-links                          { animation: fadeUp 0.7s ease both 0.86s; }
.error-nav-list                       { animation: fadeUp 0.7s ease both 1.00s; }

/* ── BADGE PULSE ─────────────────────────────────────────── */
.product-badge { animation: badgePulse 2.5s ease-in-out infinite 2s; }

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero h1, .hero-sub, .hero-actions, .hero-graphic-wrap,
  .page-hero .breadcrumb, .page-hero .section-label, .page-hero h1,
  .page-hero .container > p:last-of-type,
  .error-content .section-label, .error-content h1, .error-divider,
  .error-content > p:not(.section-label), .error-links, .error-nav-list,
  .product-badge { animation: none; }
  .reveal, .reveal-left, .reveal-right {
    opacity: 1; transform: none; transition: none;
  }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .feature-grid   { grid-template-columns: 1fr 1fr; }
  .values-grid    { grid-template-columns: repeat(2, 1fr); }
  .about-grid     { grid-template-columns: 1fr; gap: 48px; }
  .science-grid   { grid-template-columns: 1fr; }
  .what-is-grid   { grid-template-columns: 1fr; gap: 48px; }
  .inquiry-layout { grid-template-columns: 1fr; }
  .inquiry-sidebar { flex-direction: row; flex-wrap: wrap; }
  .info-card      { flex: 1; min-width: 240px; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .footer-brand   { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .hero > .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-graphic { height: 320px; }
}

@media (max-width: 900px) {
  .product-card { flex-direction: column; }
  .product-card-image { display: none; }
  .product-card-mobile-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 220px;
    margin: 18px 0 4px;
    padding: 20px;
    background: var(--c-white-pure);
    border: 1px solid #c0c6d0;
    box-shadow: inset 0 0 0 6px var(--c-white-pure), inset 0 0 0 7px #c0c6d0;
    overflow: hidden;
    box-sizing: border-box;
  }
  .product-card-mobile-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  .product-card-mobile-img svg {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 764px) {
  .nav-toggle  { display: flex; }
  .main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(7,8,13,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 28px 32px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    border-bottom: 1px solid var(--c-border);
    z-index: 999;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a {
    padding: 12px 0;
    font-size: 0.9rem;
  }
  .nav-cta { margin-left: 0; margin-top: 12px; text-align: center; }

  .hero-graphic-wrap  { display: none; }
  .hero > .container  { grid-template-columns: 1fr; }
  .hero h1            { font-size: 2.6rem; }
  .stats-grid         { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .feature-grid       { grid-template-columns: 1fr; }
  .industry-grid      { grid-template-columns: 1fr; }
  .values-grid        { grid-template-columns: 1fr; }
  .form-row           { grid-template-columns: 1fr; }
  .product-metrics    { flex-direction: column; gap: 16px; }
  .footer-grid        { grid-template-columns: 1fr; }
  .inquiry-form-wrap  { padding: 28px 20px; }

  /* about page — stack Our Mission above What We Do on mobile */
  .about-mission-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* about page — Market Applications: stack list below heading, button below list */
  .about-market-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-market-btn-desktop { display: none; }
  .about-market-btn-mobile  { display: inline-flex; margin-top: 28px; }

  .section-dark,
  .section-base,
  .section-light,
  .cta-section  { padding: 72px 0; }

  /* Products — app-grid carousel: 2 items visible, auto-slides */
  .app-carousel {
    overflow: hidden;
  }
  .app-carousel .app-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    grid-template-columns: none;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .app-carousel .app-item {
    flex: 0 0 50%;
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
  }
  .app-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 20px;
  }
  .app-carousel-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c-grey-3);
    transition: background 0.3s;
    cursor: pointer;
  }
  .app-carousel-dots span.active {
    background: var(--c-accent-d);
  }

  /* Graphene Science — lattice becomes section background on mobile */
  .graphene-science-section {
    position: relative;
    overflow: hidden;
  }
  .graphene-science-section .lattice-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2;
    pointer-events: none;
  }
  .graphene-science-section .lattice-visual canvas {
    width: 100%;
    height: 100%;
  }
  .graphene-science-section .science-grid > div:first-child {
    position: relative;
    z-index: 1;
  }

  /* 404 */
  .error-hero        { min-height: 100svh; padding: 120px 0 80px; }
  .error-nav-list    { max-width: 100%; }
}

/* ============================================================
   CART — nav button, overlay, sidebar drawer
   ============================================================ */

/* ── Nav cart button (desktop, inside .main-nav) ────────── */
.cart-nav-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-txt-3);
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--ease);
}
.cart-nav-btn:hover { color: var(--c-txt-1); }
.cart-nav-btn svg   { stroke: currentColor; display: block; }

/* ── Mobile cart button (in .header-inner, beside hamburger) */
.cart-nav-btn--mobile {
  display: none;
  margin-left: auto; /* pushes it + nav-toggle to the right */
}

/* ── Count badge ──────────────────────────────────────────── */
.cart-badge {
  position: absolute;
  top: 3px; right: 3px;
  min-width: 17px; height: 17px;
  background: var(--c-accent);
  color: var(--c-base);
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 3px;
}

/* ── Backdrop ─────────────────────────────────────────────── */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.48);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1100;
}
.cart-overlay.open { display: block; }

/* ── Drawer ───────────────────────────────────────────────── */
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 400px;
  max-width: 100vw;
  height: 100dvh;
  background: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.4,0,.2,1);
  box-shadow: -4px 0 48px rgba(0,0,0,.18);
}
.cart-drawer.open { transform: translateX(0); }

/* Header */
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e8e8e8;
  flex-shrink: 0;
}
.cart-drawer-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 700;
  color: #191919;
}
.cart-drawer-title svg   { stroke: #555; }
.cart-count-title        { font-size: 13px; font-weight: 400; color: #888; }

.cart-close-btn {
  background: #f2f2f2;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: background .15s, color .15s;
}
.cart-close-btn:hover { background: #e5e5e5; color: #191919; }
.cart-close-btn svg   { stroke: currentColor; display: block; }

/* Body */
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

/* Empty state */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 64px 24px;
  text-align: center;
}
.cart-empty-icon svg { stroke: #ccc; display: block; }
.cart-empty p        { font-size: 14px; color: #888; margin: 0; }

.cart-browse-btn {
  display: inline-block;
  padding: 10px 26px;
  background: #00c8f0;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: background .15s;
  margin-top: 4px;
}
.cart-browse-btn:hover { background: #00b0d6; }

/* Item list */
.cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
  align-items: flex-start;
}
.cart-item:last-child { border-bottom: none; }

.cart-item-img {
  width: 64px; height: 64px;
  flex-shrink: 0;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cart-no-img       { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.cart-no-img svg   { stroke: #ccc; }

.cart-item-info   { flex: 1; min-width: 0; }
.cart-item-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #191919;
  text-decoration: none;
  margin-bottom: 8px;
  line-height: 1.4;
}
.cart-item-name:hover { color: #00c8f0; }

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Qty control */
.cart-qty {
  display: flex;
  align-items: center;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  overflow: hidden;
}
.cart-qty-btn {
  width: 28px; height: 28px;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 15px;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .12s;
  font-family: inherit;
  flex-shrink: 0;
  line-height: 1;
}
.cart-qty-btn:hover { background: #e8e8e8; color: #191919; }
.cart-qty-num {
  min-width: 30px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #191919;
  border-left: 1px solid #d8d8d8;
  border-right: 1px solid #d8d8d8;
  height: 28px;
  line-height: 28px;
  padding: 0 4px;
}

/* Remove button */
.cart-remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  color: #999;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 0;
  font-family: inherit;
  transition: color .15s;
}
.cart-remove-btn:hover     { color: #c0392b; }
.cart-remove-btn svg       { stroke: currentColor; }

/* Footer */
.cart-drawer-footer { border-top: 1px solid #e8e8e8; flex-shrink: 0; }
.cart-footer-inner {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cart-footer-meta {
  font-size: 12px;
  color: #999;
  text-align: center;
}
.cart-inquire-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: #00c8f0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: background .15s, box-shadow .15s;
  letter-spacing: .02em;
}
.cart-inquire-btn:hover { background: #00b0d6; box-shadow: 0 4px 16px rgba(0,200,240,.3); }
.cart-inquire-btn svg   { stroke: currentColor; }

.cart-clear-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  color: #bbb;
  text-align: center;
  font-family: inherit;
  padding: 4px;
  transition: color .15s;
}
.cart-clear-btn:hover { color: #c0392b; }

/* Prevent body scroll when drawer is open */
body.cart-open { overflow: hidden; }

/* ── Cart: tier + pricing additions ──────────────────────── */
.cart-item-tier  { font-size: 11px; color: #aaa; margin: 1px 0 6px; line-height: 1.4; }
.cart-item-sub   { margin-left: auto; font-size: 12px; font-weight: 700; color: #191919; white-space: nowrap; }

/* Grand total row in footer */
.cart-total-row  { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; }
.cart-total-lbl  { font-size: 13px; font-weight: 600; color: #555; }
.cart-total-val  { font-size: 22px; font-weight: 700; color: #191919; }
.cart-total-note { font-size: 11px; color: #bbb; margin-bottom: 12px; }

/* Dark checkout button */
.cart-checkout-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px; background: #191919; color: #fff;
  font-size: 14px; font-weight: 700; text-decoration: none;
  border-radius: 50px; border: 2px solid #191919;
  transition: background .15s, box-shadow .15s; letter-spacing: .02em;
  font-family: inherit; cursor: pointer; width: 100%;
}
.cart-checkout-btn:hover { background: #000; border-color: #000; box-shadow: 0 4px 16px rgba(0,0,0,.2); }

/* ── Product card "Add to Cart" button ────────────────────── */
.btn-cart-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: transparent;
  color: var(--c-dark-txt);
  border: 2px solid var(--c-dark-txt);
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.btn-cart-add:hover {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}
.btn-cart-add svg { stroke: currentColor; flex-shrink: 0; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 764px) {
  /* Show mobile cart button in header bar */
  .cart-nav-btn--mobile { display: inline-flex; }
  /* Hide duplicate cart button inside mobile nav panel */
  .main-nav .cart-nav-btn:not(.cart-nav-btn--mobile) { display: none; }
  /* Full-width drawer on small screens */
  .cart-drawer { width: 100vw; }
}
