/* =========================================
   FROMM HJ13 MEGA JUMBO LANDING PAGE
   Brand: FROMM Red #D0021B + Charcoal + White
   ========================================= */

:root {
  /* FROMM Brand Colors */
  --fromm-red: #D0021B;
  --fromm-red-dark: #a50116;
  --fromm-red-light: #ff1a30;
  --fromm-charcoal: #1a1a1a;
  --fromm-dark: #111111;
  --fromm-mid: #2c2c2c;
  --fromm-gray: #4a4a4a;
  --fromm-light-gray: #6b6b6b;
  --fromm-border: #e0e0e0;
  --fromm-bg: #f8f7f5;
  --fromm-surface: #ffffff;
  --fromm-surface-2: #f3f2ef;
  --fromm-text: #1a1a1a;
  --fromm-text-muted: #5a5a5a;
  --fromm-text-light: #888;

  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 1rem + 5.5vw, 6rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Fonts */
  --font-display: 'Bai Jamjuree', sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', sans-serif;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);

  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-max: 1200px;
  --content-narrow: 720px;
}

/* BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); font-size: var(--text-base); color: var(--fromm-text); background: var(--fromm-bg); line-height: 1.65; }
img, video, svg { display: block; max-width: 100%; height: auto; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); text-wrap: balance; line-height: 1.1; letter-spacing: -0.01em; }
p, li { text-wrap: pretty; }
a { color: inherit; text-decoration: none; transition: color var(--transition), opacity var(--transition); }
input, textarea, select, button { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
table { border-collapse: collapse; width: 100%; }
::selection { background: rgba(208, 2, 27, 0.15); }

/* CONTAINER */
.container { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--space-6); }
@media (max-width: 768px) { .container { padding: 0 var(--space-4); } }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--fromm-red);
  color: #fff;
  border: 2px solid var(--fromm-red);
}
.btn-primary:hover { background: var(--fromm-red-dark); border-color: var(--fromm-red-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(208,2,27,0.3); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-full { width: 100%; justify-content: center; }

/* SECTION LABELS */
.section-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fromm-red);
  margin-bottom: var(--space-3);
}
.section-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--fromm-charcoal);
  margin-bottom: var(--space-4);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.section-desc {
  font-size: var(--text-base);
  color: var(--fromm-text-muted);
  max-width: 640px;
  margin-bottom: var(--space-10);
}

/* =====================
   HEADER
   ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 17, 17, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(208,2,27,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
}
.logo { flex-shrink: 0; }
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.nav-link:hover { color: #fff; }
.nav-cta {
  padding: var(--space-2) var(--space-5);
  background: var(--fromm-red);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.nav-cta:hover { background: var(--fromm-red-dark); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--fromm-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav-cta { color: var(--fromm-red); }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
}

/* =====================
   HERO
   ===================== */
.hero {
  min-height: 92vh;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a0004 40%, #0d0d0d 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-12);
  padding: var(--space-24) var(--space-6);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D0021B' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero-bg-overlay {
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(to left, rgba(208,2,27,0.05) 0%, transparent 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: rgba(208,2,27,0.12);
  border: 1px solid rgba(208,2,27,0.4);
  border-radius: var(--radius-full, 9999px);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff6677;
  margin-bottom: var(--space-6);
}
.hero-headline {
  font-size: var(--text-hero);
  font-weight: 900;
  color: #fff;
  line-height: 0.95;
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
  margin-bottom: var(--space-8);
  max-width: 560px;
}
.hero-sub strong { color: #fff; }
.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-8);
}
.hero-stat { display: flex; flex-direction: column; gap: var(--space-1); }
.stat-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--fromm-red);
  line-height: 1;
}
.stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  line-height: 1.3;
  font-weight: 500;
}

.hero-image-wrap {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(208,2,27,0.2);
  max-height: 600px;
}
.hero-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
}
.hero-img-badge {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  background: var(--fromm-red);
  color: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  text-align: center;
  box-shadow: 0 4px 16px rgba(208,2,27,0.4);
}
.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  line-height: 1;
}
.badge-label {
  display: block;
  font-size: var(--text-xs);
  opacity: 0.85;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: var(--space-16) var(--space-6); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-image-wrap { max-height: 400px; }
  .hero-img { height: 400px; }
}
@media (max-width: 600px) {
  .hero-headline { font-size: clamp(2.5rem, 8vw, 4rem); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* =====================
   PAIN BAND
   ===================== */
.pain-band {
  background: var(--fromm-charcoal);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-6);
}
.pain-band .section-title { color: #fff; }
.pain-band .section-label { color: rgba(208,2,27,0.9); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.pain-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  transition: border-color var(--transition), background var(--transition);
}
.pain-card:hover {
  border-color: rgba(208,2,27,0.4);
  background: rgba(208,2,27,0.06);
}
.pain-icon {
  font-size: 2rem;
  margin-bottom: var(--space-4);
  line-height: 1;
}
.pain-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-3);
  line-height: 1.1;
}
.pain-card p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.pain-card p strong { color: rgba(255,255,255,0.9); }

@media (max-width: 1024px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pain-grid { grid-template-columns: 1fr; } }

/* =====================
   PRODUCT INTRO
   ===================== */
.product-intro {
  background: var(--fromm-surface);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-6);
}
.product-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.product-intro-text .section-title { color: var(--fromm-charcoal); }
.product-intro-text p {
  color: var(--fromm-text-muted);
  margin-bottom: var(--space-6);
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--fromm-text);
  line-height: 1.5;
}
.check {
  color: var(--fromm-red);
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.product-intro-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.product-intro-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.spec-callout-card {
  position: absolute;
  bottom: -var(--space-4);
  left: -var(--space-6);
  background: var(--fromm-charcoal);
  color: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-lg);
  border-left: 3px solid var(--fromm-red);
  min-width: 200px;
  bottom: var(--space-6);
  left: calc(-1 * var(--space-6));
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: var(--text-sm);
}
.spec-row:last-child { border-bottom: none; }
.spec-key { color: rgba(255,255,255,0.55); }
.spec-val { font-family: var(--font-display); font-weight: 700; color: #fff; }

@media (max-width: 1024px) {
  .product-intro-grid { grid-template-columns: 1fr; }
  .product-intro-image img { height: 380px; }
  .spec-callout-card { position: static; margin-top: var(--space-4); }
}

/* =====================
   ROI CALCULATOR
   ===================== */
.roi-section {
  background: var(--fromm-bg);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-6);
  border-top: 1px solid var(--fromm-border);
  border-bottom: 1px solid var(--fromm-border);
}
.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}
.roi-inputs { display: flex; flex-direction: column; gap: var(--space-5); }
.roi-input-group { display: flex; flex-direction: column; gap: var(--space-2); }
.roi-input-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--fromm-text);
}
.input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--fromm-border);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
  transition: border-color var(--transition);
}
.input-wrap:focus-within { border-color: var(--fromm-red); }
.input-prefix, .input-unit {
  padding: var(--space-3) var(--space-4);
  background: var(--fromm-surface-2);
  color: var(--fromm-text-muted);
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
  border-right: 1.5px solid var(--fromm-border);
}
.input-unit { border-right: none; border-left: 1.5px solid var(--fromm-border); }
.input-wrap input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: none;
  outline: none;
  font-size: var(--text-base);
  font-weight: 600;
  background: transparent;
  -moz-appearance: textfield;
}
.input-wrap input::-webkit-inner-spin-button,
.input-wrap input::-webkit-outer-spin-button { -webkit-appearance: none; }
.roi-result-card {
  background: var(--fromm-charcoal);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--fromm-red);
}
.roi-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.roi-result-row:last-of-type { border-bottom: none; }
.roi-label { font-size: var(--text-sm); color: rgba(255,255,255,0.6); line-height: 1.4; }
.roi-value { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; color: #fff; white-space: nowrap; }
.roi-result-highlight .roi-label { color: rgba(255,255,255,0.85); font-weight: 600; }
.roi-result-highlight .roi-value { color: #4ade80; }
.roi-divider { height: 1px; background: rgba(255,255,255,0.12); margin: var(--space-4) 0; }
.roi-result-big .roi-label { font-size: var(--text-base); font-weight: 700; color: rgba(255,255,255,0.9); }
.roi-result-big .roi-value { font-size: var(--text-2xl); color: var(--fromm-red); }
.roi-disclaimer { font-size: var(--text-xs); color: rgba(255,255,255,0.35); margin-top: var(--space-4); line-height: 1.5; }

@media (max-width: 900px) { .roi-grid { grid-template-columns: 1fr; } }

/* =====================
   SPECS
   ===================== */
.specs-section {
  background: #fff;
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-6);
}
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-10);
  align-items: start;
}
.specs-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--fromm-border);
  box-shadow: var(--shadow-sm);
}
.specs-table { font-size: var(--text-sm); }
.specs-table thead tr { background: var(--fromm-charcoal); }
.specs-table thead th {
  padding: var(--space-3) var(--space-5);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
}
.specs-table tbody tr:nth-child(even) { background: var(--fromm-bg); }
.specs-table tbody tr:hover { background: rgba(208,2,27,0.04); }
.specs-table tbody td {
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--fromm-border);
  vertical-align: middle;
}
.specs-table tbody td:first-child { color: var(--fromm-text-muted); font-weight: 500; }
.specs-table tbody td:last-child { font-weight: 600; color: var(--fromm-charcoal); }
.specs-side { display: flex; flex-direction: column; gap: var(--space-6); }
.specs-highlight-card {
  background: var(--fromm-charcoal);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  border-top: 3px solid var(--fromm-red);
}
.specs-highlight-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}
.specs-big-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--fromm-red);
  line-height: 0.9;
  margin-bottom: var(--space-4);
}
.specs-highlight-card p { font-size: var(--text-sm); color: rgba(255,255,255,0.65); line-height: 1.6; }
.specs-highlight-card p strong { color: #fff; }
.specs-card-alt { background: var(--fromm-bg); border: 1px solid var(--fromm-border); border-top: 3px solid var(--fromm-charcoal); }
.specs-card-alt h3 { color: var(--fromm-text-muted); }
.specs-card-alt p { color: var(--fromm-text); }
.specs-card-alt p strong { color: var(--fromm-charcoal); }

@media (max-width: 1024px) { .specs-grid { grid-template-columns: 1fr; } }

/* =====================
   COMPARE
   ===================== */
.compare-section {
  background: var(--fromm-bg);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-6);
  border-top: 1px solid var(--fromm-border);
}
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--fromm-border);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-6);
}
.compare-table { font-size: var(--text-sm); }
.compare-table thead tr { background: var(--fromm-charcoal); }
.compare-table thead th {
  padding: var(--space-4) var(--space-5);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}
.compare-table thead th.fromm-col {
  background: rgba(208,2,27,0.85);
  color: #fff;
}
.compare-table tbody tr:nth-child(even) { background: rgba(0,0,0,0.02); }
.compare-table tbody tr:hover { background: rgba(208,2,27,0.04); }
.compare-table tbody td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--fromm-border);
  vertical-align: middle;
  color: var(--fromm-text);
}
.compare-table tbody td:first-child { color: var(--fromm-text-muted); font-weight: 600; }
.compare-table .fromm-col { background: rgba(208,2,27,0.04); border-left: 2px solid rgba(208,2,27,0.25); }
.compare-table .fromm-col strong { color: var(--fromm-red); }
.best-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--fromm-red);
  color: #fff;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: var(--space-2);
  vertical-align: middle;
}
.compare-note { font-size: var(--text-xs); color: var(--fromm-text-muted); font-style: italic; }

/* =====================
   INDUSTRIES
   ===================== */
.industries-section {
  background: #fff;
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-6);
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.industry-card {
  background: var(--fromm-bg);
  border: 1px solid var(--fromm-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  transition: all var(--transition);
}
.industry-card:hover {
  border-color: var(--fromm-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.industry-icon { font-size: 2rem; margin-bottom: var(--space-4); line-height: 1; }
.industry-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--fromm-charcoal);
  margin-bottom: var(--space-3);
  line-height: 1.15;
}
.industry-card p { font-size: var(--text-sm); color: var(--fromm-text-muted); line-height: 1.6; }

@media (max-width: 900px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .industries-grid { grid-template-columns: 1fr; } }

/* =====================
   CASE STUDY
   ===================== */
.case-section {
  background: var(--fromm-charcoal);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-6);
}
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.case-text .section-title { color: #fff; }
.case-text .section-label { color: rgba(208,2,27,0.9); }
.case-text p { color: rgba(255,255,255,0.65); margin-bottom: var(--space-5); line-height: 1.7; }
.case-text p strong { color: #fff; }
.case-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.case-stat { display: flex; flex-direction: column; gap: var(--space-2); }
.cstat-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--fromm-red);
  line-height: 1;
}
.cstat-label { font-size: var(--text-xs); color: rgba(255,255,255,0.5); line-height: 1.4; }

.case-bar-chart {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
}
.bar-group {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--space-10);
  height: 260px;
  margin-bottom: var(--space-4);
}
.bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  width: 90px;
  height: 100%;
  justify-content: flex-end;
}
.bar-label-top {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: #fff;
  text-align: center;
}
.bar-fill {
  width: 100%;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: height 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bar-fill-before { background: rgba(255,255,255,0.25); }
.bar-fill-after { background: var(--fromm-red); }
.bar-label-bottom {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  text-align: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.chart-caption {
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 1024px) { .case-grid { grid-template-columns: 1fr; } }

/* =====================
   TRUST BAND
   ===================== */
.trust-section {
  background: var(--fromm-bg);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-6);
  border-top: 1px solid var(--fromm-border);
}
.trust-inner { text-align: center; }
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--fromm-red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.trust-headline {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--fromm-charcoal);
  margin-bottom: var(--space-12);
  letter-spacing: -0.02em;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: left;
}
.trust-item {
  background: #fff;
  border: 1px solid var(--fromm-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border-top: 3px solid var(--fromm-red);
}
.trust-item h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--fromm-charcoal);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}
.trust-item p { font-size: var(--text-sm); color: var(--fromm-text-muted); line-height: 1.6; }

@media (max-width: 1024px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .trust-grid { grid-template-columns: 1fr; } }

/* =====================
   CONTACT
   ===================== */
.contact-section {
  background: var(--fromm-charcoal);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-6);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-16);
  align-items: start;
}
.contact-text .section-title { color: #fff; }
.contact-text .section-label { color: rgba(208,2,27,0.9); }
.contact-text p { color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: var(--space-8); }
.contact-details { display: flex; flex-direction: column; gap: var(--space-5); }
.contact-item { display: flex; align-items: flex-start; gap: var(--space-4); }
.contact-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.contact-item div { display: flex; flex-direction: column; gap: var(--space-1); }
.contact-item strong { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); font-weight: 700; }
.contact-item a, .contact-item span { font-size: var(--text-base); color: rgba(255,255,255,0.85); transition: color var(--transition); }
.contact-item a:hover { color: var(--fromm-red); }

.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
}
.contact-form { display: flex; flex-direction: column; gap: var(--space-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-group label { font-size: var(--text-sm); font-weight: 600; color: var(--fromm-text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--fromm-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  background: #fff;
  color: var(--fromm-text);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--fromm-red); }
.form-group textarea { resize: vertical; }
.form-privacy { font-size: var(--text-xs); color: var(--fromm-text-muted); text-align: center; line-height: 1.5; }
.form-success {
  text-align: center;
  padding: var(--space-12) var(--space-8);
}
.form-success .success-icon {
  width: 60px; height: 60px;
  background: #22c55e;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 900;
  margin: 0 auto var(--space-6);
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--fromm-charcoal);
  margin-bottom: var(--space-3);
}
.form-success p { font-size: var(--text-sm); color: var(--fromm-text-muted); }

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: var(--space-8) var(--space-6); }
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* =====================
   FOOTER
   ===================== */
.footer {
  background: #0a0a0a;
  color: rgba(255,255,255,0.55);
  padding: var(--space-16) var(--space-6) 0;
  border-top: 1px solid rgba(208,2,27,0.3);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand p {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.6;
  max-width: 320px;
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links h4 {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: var(--space-2);
}
.footer-links a, .footer-links span {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  line-height: 1.5;
}
.footer-links a:hover { color: var(--fromm-red); }
.footer-bottom {
  padding: var(--space-5) 0;
  text-align: center;
}
.footer-bottom p { font-size: var(--text-xs); color: rgba(255,255,255,0.25); }

@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; } }

/* =====================
   SCROLL ANIMATIONS
   ===================== */
.reveal, .reveal-right {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right {
  transform: translateX(40px);
}
.reveal.visible, .reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* Stagger children in grids */
.pain-grid .pain-card:nth-child(1) { transition-delay: 0.05s; }
.pain-grid .pain-card:nth-child(2) { transition-delay: 0.15s; }
.pain-grid .pain-card:nth-child(3) { transition-delay: 0.25s; }
.pain-grid .pain-card:nth-child(4) { transition-delay: 0.35s; }
.industries-grid .industry-card:nth-child(1) { transition-delay: 0.05s; }
.industries-grid .industry-card:nth-child(2) { transition-delay: 0.12s; }
.industries-grid .industry-card:nth-child(3) { transition-delay: 0.19s; }
.industries-grid .industry-card:nth-child(4) { transition-delay: 0.26s; }
.industries-grid .industry-card:nth-child(5) { transition-delay: 0.33s; }
.industries-grid .industry-card:nth-child(6) { transition-delay: 0.40s; }
.trust-grid .trust-item:nth-child(1) { transition-delay: 0.05s; }
.trust-grid .trust-item:nth-child(2) { transition-delay: 0.12s; }
.trust-grid .trust-item:nth-child(3) { transition-delay: 0.19s; }
.trust-grid .trust-item:nth-child(4) { transition-delay: 0.26s; }
