/* Minification failed. Returning unminified contents.
(12,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(13,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(14,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(15,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(16,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(17,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(18,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(19,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(20,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(21,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(22,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(23,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(24,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(25,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(26,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(27,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(28,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(29,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(30,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(31,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(32,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(33,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(39,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(46,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(57,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(75,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-hero'
(114,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-overlay'
(130,20): run-time error CSS1039: Token not allowed after unary operator: '-hero-home-min-height'
(145,35): run-time error CSS1019: Unexpected token, found ' '
(145,35): run-time error CSS1019: Unexpected token, found ' '
(145,35): run-time error CSS1042: Expected function, found ' '
(145,35): run-time error CSS1062: Expected semicolon or closing curly-brace, found ' '
(149,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-secondary'
(179,20): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(188,37): run-time error CSS1019: Unexpected token, found ' '
(188,37): run-time error CSS1019: Unexpected token, found ' '
(188,37): run-time error CSS1042: Expected function, found ' '
(188,37): run-time error CSS1062: Expected semicolon or closing curly-brace, found ' '
(189,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(210,20): run-time error CSS1039: Token not allowed after unary operator: '-transition-slow'
(230,10): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(237,33): run-time error CSS1019: Unexpected token, found ' '
(237,33): run-time error CSS1019: Unexpected token, found ' '
(237,33): run-time error CSS1042: Expected function, found ' '
(237,33): run-time error CSS1062: Expected semicolon or closing curly-brace, found ' '
(249,34): run-time error CSS1019: Unexpected token, found ' '
(249,34): run-time error CSS1019: Unexpected token, found ' '
(249,34): run-time error CSS1042: Expected function, found ' '
(249,34): run-time error CSS1062: Expected semicolon or closing curly-brace, found ' '
(250,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(295,20): run-time error CSS1039: Token not allowed after unary operator: '-transition-slow'
(307,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-overlay'
(366,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(367,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(368,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(369,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(386,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(391,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(393,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(394,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(396,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(398,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(399,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(441,23): run-time error CSS1039: Token not allowed after unary operator: '-tap-card-radius'
(469,27): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(480,21): run-time error CSS1039: Token not allowed after unary operator: '-tap-card-hover-dur'
(481,12): run-time error CSS1039: Token not allowed after unary operator: '-tap-card-ease'
(482,23): run-time error CSS1039: Token not allowed after unary operator: '-tap-card-hover-dur'
(483,12): run-time error CSS1039: Token not allowed after unary operator: '-tap-card-ease'
(484,20): run-time error CSS1039: Token not allowed after unary operator: '-tap-card-hover-dur'
(485,12): run-time error CSS1039: Token not allowed after unary operator: '-tap-card-ease'
(519,15): run-time error CSS1039: Token not allowed after unary operator: '-tap-gray'
(529,15): run-time error CSS1039: Token not allowed after unary operator: '-tap-gray-emphasis'
(551,20): run-time error CSS1039: Token not allowed after unary operator: '-tap-visual-frame-h'
(580,15): run-time error CSS1039: Token not allowed after unary operator: '-tap-black'
(590,15): run-time error CSS1039: Token not allowed after unary operator: '-tap-gray'
(601,15): run-time error CSS1039: Token not allowed after unary operator: '-tap-terms-muted'
(617,20): run-time error CSS1039: Token not allowed after unary operator: '-tap-visual-frame-h'
(637,25): run-time error CSS1039: Token not allowed after unary operator: '-tap-img-boost'
(648,21): run-time error CSS1039: Token not allowed after unary operator: '-tap-img-boost'
(648,44): run-time error CSS1039: Token not allowed after unary operator: '-tap-img-boost-right-delta'
(690,32): run-time error CSS1039: Token not allowed after unary operator: '-tap-card-ease'
(697,32): run-time error CSS1039: Token not allowed after unary operator: '-tap-card-ease'
(704,25): run-time error CSS1039: Token not allowed after unary operator: '-tap-card-ease'
(705,24): run-time error CSS1039: Token not allowed after unary operator: '-tap-card-ease'
(779,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(780,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(847,23): run-time error CSS1039: Token not allowed after unary operator: '-tap-img-boost'
(847,46): run-time error CSS1039: Token not allowed after unary operator: '-tap-img-boost-right-delta'
(890,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(891,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(892,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(933,23): run-time error CSS1039: Token not allowed after unary operator: '-tap-img-boost'
(933,46): run-time error CSS1039: Token not allowed after unary operator: '-tap-img-boost-right-delta'
(985,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(996,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1070,20): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(1077,20): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(1083,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-primary'
(1099,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1105,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1115,15): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(1123,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-primary'
(1130,20): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(1142,23): run-time error CSS1039: Token not allowed after unary operator: '-border-radius-lg'
(1144,20): run-time error CSS1039: Token not allowed after unary operator: '-shadow-xl'
(1145,20): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(1148,26): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(1162,20): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(1179,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1185,20): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(1187,20): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(1197,22): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(1203,22): run-time error CSS1039: Token not allowed after unary operator: '-magtek-blue'
(1220,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1241,23): run-time error CSS1039: Token not allowed after unary operator: '-border-radius-lg'
(1244,20): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(1245,20): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(1250,20): run-time error CSS1039: Token not allowed after unary operator: '-shadow-lg'
(1260,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-primary'
(1265,20): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(1276,15): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(1282,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(1320,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-primary'
(1357,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-accent'
(1382,23): run-time error CSS1039: Token not allowed after unary operator: '-border-radius-lg'
(1384,20): run-time error CSS1039: Token not allowed after unary operator: '-shadow-xl'
(1385,20): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(1392,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-secondary'
(1421,20): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(1432,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-primary'
(1438,20): run-time error CSS1039: Token not allowed after unary operator: '-shadow-lg'
(1439,20): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(1450,20): run-time error CSS1039: Token not allowed after unary operator: '-shadow-xl'
(1573,20): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(1587,23): run-time error CSS1039: Token not allowed after unary operator: '-border-radius-lg'
(1592,20): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(1643,23): run-time error CSS1039: Token not allowed after unary operator: '-border-radius'
(1677,23): run-time error CSS1039: Token not allowed after unary operator: '-border-radius-lg'
(1681,20): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(1706,20): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(1722,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-primary'
(1731,20): run-time error CSS1039: Token not allowed after unary operator: '-magtek-blue'
(1733,26): run-time error CSS1039: Token not allowed after unary operator: '-magtek-red'
(1779,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-accent'
(1800,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-secondary'
 */
/* ============================================
   MAGTEK HOMEPAGE - STYLESHEET
   ============================================
   
   REQUIRES: magtek-standardization.css (loaded first)
   This file extends the base standardization with
   Homepage-specific styles.
   
   ============================================ */

:root {
  --primary: #fff;
  --secondary: #f7f9fb;
  --magtek-red: #d21242;
  --magtek-red-dark: #b01035;
  --magtek-red-light: #e63946;
  --magtek-blue: #263c50;
  --magtek-blue-dark: #1e293b;
  --text-primary: #263c50;
  --text-secondary: #1e293b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  --border-radius: 18px;
  --border-radius-lg: 32px;
  --transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-primary: linear-gradient(135deg, #d21242 0%, #b01035 100%);
  --gradient-secondary: linear-gradient(135deg, #263c50 0%, #1e293b 100%);
  --gradient-accent: linear-gradient(135deg, #f7f9fb 0%, #eaf1f8 100%);
  --gradient-hero: linear-gradient(
    135deg,
    #f8fafc 0%,
    #e2e8f0 50%,
    #cbd5e1 100%
  );
  --gradient-overlay: linear-gradient(
    135deg,
    rgba(210, 18, 66, 0.1) 0%,
    rgba(38, 60, 80, 0.1) 100%
  );

  /* Homepage hero — tall above-the-fold presence (no max-height cap) */
  --hero-home-min-height: max(680px, calc(100svh - 5.5rem));
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Override Bootstrap container behavior */
.container-fluid {
  margin: 0 !important;
  padding: 0 !important;
}

/* ============================================
     HERO — single responsive layout (all viewports)
     Content-driven height; text left / image right
     until stacked on narrow screens.
     ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(210, 18, 66, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(38, 60, 80, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(59, 130, 246, 0.04) 0%,
      transparent 70%
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23e2e8f0" stroke-width="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.6;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  opacity: 0.1;
  z-index: -1;
}

.hero-content {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 0;
  align-items: stretch;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  min-height: var(--hero-home-min-height);
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(1.35rem, 2.8vh, 2.25rem);
  min-width: 0;
  padding: clamp(3.5rem, 6vh, 5.5rem) clamp(1.5rem, 3vw, 2.5rem)
    clamp(3.5rem, 6vh, 5.5rem) clamp(1.25rem, 4vw, 5rem);
}

.hero-text h1 {
  font-size: clamp(2.5rem, 2.6vw + 1.25rem, 5rem);
  font-weight: 900;
  line-height: 1.12;
  margin: 0;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  max-width: 100%;
  text-wrap: balance;
}

.hero-text .highlight {
  background: linear-gradient(135deg, #d21242 0%, #e63946 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  position: relative;
  display: inline-block;
  width: 100%;
}

.hero-text .highlight::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(135deg, #d21242 0%, #e63946 100%);
  border-radius: 2px;
  opacity: 0.4;
  transition: var(--transition);
}

.hero-text .highlight:hover::after {
  opacity: 0.6;
  transform: scaleX(1.05);
}

.hero-text p {
  font-size: clamp(1.45rem, 0.55vw + 1.2rem, 2rem);
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.65;
  max-width: 62ch;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 2rem);
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.stat-item {
  text-align: center;
  position: relative;
  padding: clamp(0.25rem, 1vw, 0.5rem);
  background: transparent;
  border: none;
  transition: var(--transition-slow);
  cursor: pointer;
  min-width: 0;
}

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

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: calc(clamp(0.75rem, 2vw, 2rem) / -2);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 55%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--magtek-red),
    transparent
  );
  opacity: 0.2;
}

.stat-number {
  font-size: clamp(2rem, 1.5vw + 1.25rem, 3.25rem);
  font-weight: 900;
  background: linear-gradient(135deg, #d21242 0%, #e63946 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.8rem;
  line-height: 1;
}

.stat-label {
  font-size: clamp(1rem, 0.35vw + 0.85rem, 1.35rem);
  color: var(--text-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-wrap: balance;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: clamp(0.25rem, 1vw, 0.75rem) 0 0;
  align-items: center;
}

/* Beat magtek-heroes.css rounded “card” treatment on homepage */
.hero .hero-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  align-self: stretch;
  border-radius: 0;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

.hero .hero-image-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  border: none;
}

.hero .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: var(--transition-slow);
  border-radius: 0;
  min-height: 100%;
}

.hero .hero-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  z-index: -1;
  pointer-events: none;
}

.hero .hero-image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero .hero-image-container:hover::after {
  opacity: 1;
}

/* Hero — narrow phone: stack stats for readable labels */
@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .stat-item {
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.9);
  }
}

/* ============================================
     BUTTONS NOW IN magtek-buttons.css
     ============================================ */
.section-padding {
  padding: 6rem 0;
}

.section-padding-lg {
  padding: 8rem 0;
}

/* Tap to Pay on iPhone — below hero (typography matches Apple-style reference art) */
.tap-to-pay-iphone-section {
  --tap-gray: #707070;
  --tap-gray-emphasis: #505050;
  --tap-black: #000000;
  --tap-terms-muted: #b0b0b0;
  padding: 6rem 0;
  background: #ffffff;
  position: relative;
  z-index: 2;
  font-family:
    -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial,
    sans-serif;
}

.tap-to-pay-header .section-title {
  margin-bottom: 1rem;
}

.tap-to-pay-lead {
  margin-bottom: 3rem !important;
  font-size: 2rem;
  color: var(--text-primary);
  font-weight: 500;
}

.tap-to-pay-cards {
  --tap-card-radius: 20px;
  /* Layout slot (flex) stays fixed; visual size uses transform below — no change to card metrics */
  --tap-visual-frame-h: clamp(300px, 32vw, 400px);
  --tap-img-boost: 1.17;
  /* Second card (QwickPAY) — a touch more than the SDK card */
  --tap-img-boost-right-delta: 0.17;
  /* Hover: smooth lift + shadow + light scale (clickable cards only) */
  --tap-card-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tap-card-hover-dur: 0.55s;
}

/*
    Dedicated layout — do NOT use Bootstrap .row/.col here.
    Mixing display:grid on .row with Bootstrap floats/clearfix broke the section (staggered cards).
  */
.tap-to-pay-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2rem;
  width: 100%;
}

@media (min-width: 992px) {
  .tap-to-pay-grid {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 2rem;
  }

  .tap-to-pay-grid > .tap-to-pay-card {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }

  /*
      Same intro band height so headings line up.
      Never use display:flex on the <p> — its text nodes + <strong> become flex items in a ROW and the sentence splits across columns.
    */
  .tap-to-pay-card-intro {
    min-height: 14rem;
    display: block;
    box-sizing: border-box;
  }
}

.tap-to-pay-card {
  position: relative;
  background: #fff;
  border-radius: var(--tap-card-radius);
  border: 1px solid rgba(226, 232, 240, 0.9);
  /* Three drop layers (plus inset) so hover can interpolate without a “pop” */
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 4px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: inherit;
}

/* Full-card hit target; must be last in <article> so it stacks above the footer for pointer events */
.tap-to-pay-stretched-link {
  position: absolute;
  inset: 0;
  z-index: 8;
  border-radius: inherit;
  /* Invisible control: destination + focus ring; label is aria-label on the <a> */
}

.tap-to-pay-stretched-link:focus {
  outline: none;
}

.tap-to-pay-stretched-link:focus-visible {
  outline: 3px solid var(--magtek-red);
  outline-offset: 4px;
  z-index: 9;
}

.tap-to-pay-card--clickable {
  cursor: pointer;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  transition:
    box-shadow var(--tap-card-hover-dur, 0.55s)
      var(--tap-card-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    border-color var(--tap-card-hover-dur, 0.55s)
      var(--tap-card-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    transform var(--tap-card-hover-dur, 0.55s)
      var(--tap-card-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.tap-to-pay-card--clickable:hover,
.tap-to-pay-card--clickable:focus-within {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 8px rgba(15, 23, 42, 0.04),
    0 20px 52px rgba(38, 60, 80, 0.14);
  transform: translate3d(0, -5px, 0) scale(1.01);
  border-color: rgba(148, 163, 184, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .tap-to-pay-card--clickable {
    transition:
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .tap-to-pay-card--clickable:hover,
  .tap-to-pay-card--clickable:focus-within {
    transform: none;
  }
}

/* Centered sub-headline: medium gray + darker bold emphasis */
.tap-to-pay-card-intro {
  position: relative;
  z-index: 3;
  text-align: center;
  font-size: clamp(1.7rem, 2.1vw, 2.2rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--tap-gray);
  padding: 2.8rem 2.4rem 2.6rem;
  margin: 0;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
}

.tap-to-pay-card-intro strong {
  color: var(--tap-gray-emphasis);
  font-weight: 700;
}

/* body-inner holds copy + art; terms sit in the left column so there’s no gap strip above the footer */
.tap-to-pay-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0 2.4rem 0;
  overflow: visible;
}

/* One row: copy (title+desc+terms) | image. Stretch so art column can grow; pin image to the bottom. */
.tap-to-pay-card-body-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.6rem;
  flex: 1 1 auto;
  min-height: var(--tap-visual-frame-h);
  overflow: visible;
}

.tap-to-pay-card-copy {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  text-align: left;
  justify-content: flex-start;
  align-self: stretch;
}

/* Headline + body copy vertically centered in the area above “Terms apply.” */
.tap-to-pay-card-copy-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.tap-to-pay-card-title {
  font-size: clamp(2.8rem, 4.2vw, 4rem);
  font-weight: 800;
  color: var(--tap-black);
  margin: 0 0 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.tap-to-pay-card-desc {
  font-size: clamp(1.65rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--tap-gray);
  margin: 0;
  max-width: min(100%, 28rem);
}

.tap-to-pay-terms {
  position: relative;
  z-index: 2;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--tap-terms-muted);
  margin: 0 0 0.4rem;
  padding-top: 0.5rem;
  padding-bottom: 0;
  flex: 0 0 auto;
  background: #fff;
}

.tap-to-pay-card-visual {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  box-sizing: border-box;
  width: min(44%, 272px);
  max-width: 272px;
  min-width: 0;
  min-height: var(--tap-visual-frame-h);
  height: auto;
  align-self: stretch;
  overflow: visible;
}

.tap-to-pay-feature-img {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Pin artwork to the bottom edge so hands meet the bar visually */
  object-position: 100% 100%;
  border-radius: 0;
  /* Boost from bottom-right so the scaled bitmap stays down against the footer */
  transform: scale(var(--tap-img-boost));
  transform-origin: 100% 100%;
  pointer-events: none;
}

.tap-to-pay-grid > .tap-to-pay-card:nth-child(2) .tap-to-pay-card-visual {
  margin-left: 0.4rem;
}

.tap-to-pay-grid > .tap-to-pay-card:nth-child(2) .tap-to-pay-feature-img {
  transform: translateX(10px)
    scale(calc(var(--tap-img-boost) + var(--tap-img-boost-right-delta)));
  transform-origin: 100% 100%;
}

.tap-to-pay-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  /* Taller bar on both cards — padding + badge (2.75rem) + link line stay within one band */
  min-height: 5.25rem;
  padding: 1rem 2rem;
  box-sizing: border-box;
  background: #0f0f0f;
  color: #fff;
}

.tap-to-pay-footer-label {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* CTA is text-only (visual); the real control is .tap-to-pay-stretched-link */
.tap-to-pay-footer-cta {
  position: relative;
  z-index: 1;
  color: #fff !important;
  font-size: 1.75rem;
  font-weight: 600;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  transition: color 0.45s var(--tap-card-ease, cubic-bezier(0.22, 1, 0.36, 1));
  pointer-events: none;
  user-select: none;
}

.tap-to-pay-footer-cta-label {
  text-decoration: none;
  transition: color 0.45s var(--tap-card-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.tap-to-pay-footer-cta .fa-chevron-right {
  font-size: 0.75em;
  opacity: 0.9;
  transition:
    transform 0.5s var(--tap-card-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    opacity 0.45s var(--tap-card-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.tap-to-pay-card--clickable:hover .tap-to-pay-footer-cta,
.tap-to-pay-card--clickable:focus-within .tap-to-pay-footer-cta {
  color: #e2e8f0 !important;
}

.tap-to-pay-card--clickable:hover .tap-to-pay-footer-cta-label,
.tap-to-pay-card--clickable:focus-within .tap-to-pay-footer-cta-label {
  text-decoration: underline !important;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(255, 255, 255, 0.85);
}

.tap-to-pay-card--clickable:hover .tap-to-pay-footer-cta .fa-chevron-right,
.tap-to-pay-card--clickable:focus-within
  .tap-to-pay-footer-cta
  .fa-chevron-right {
  transform: translateX(4px);
  opacity: 1;
}

.tap-to-pay-qwick-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  background: #fff;
  border-radius: 8px;
  max-width: min(100%, 280px);
  /* Sized to the shared footer min-height so both black bars match */
  height: 2.75rem;
  min-height: 2.75rem;
  box-sizing: border-box;
  line-height: 0;
  flex-shrink: 0;
}

.tap-to-pay-qwick-logo-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: left center;
}

/* ——— Tablet + small laptop: section rhythm, stack cards (already column <992), stack image over copy ——— */
@media (max-width: 991px) {
  /* Beats later global `.section-padding` in @media (max-width: 768px) (same element has both classes) */
  .tap-to-pay-iphone-section.section-padding {
    padding: clamp(3.5rem, 8vw, 5rem) 0;
  }

  .tap-to-pay-iphone-section .tap-to-pay-header .section-title {
    font-size: clamp(2.4rem, 5.2vw, 3.6rem) !important;
    line-height: 1.15;
    margin-bottom: 0.8rem;
    padding-bottom: 1.5rem;
  }

  .tap-to-pay-iphone-section .tap-to-pay-lead {
    font-size: clamp(1.55rem, 2.6vw, 1.9rem) !important;
    margin-bottom: 2.25rem !important;
  }

  .tap-to-pay-grid {
    gap: 1.5rem;
  }

  .tap-to-pay-cards {
    --tap-img-boost: 1.14;
    --tap-img-boost-right-delta: 0.04;
  }

  .tap-to-pay-card-intro {
    min-height: 0;
    display: block;
    padding: 2.2rem 1.8rem 2rem;
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  }

  .tap-to-pay-card-body {
    padding: 0 1.8rem 0;
  }

  .tap-to-pay-card-body-inner {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    gap: 1.4rem;
  }

  .tap-to-pay-card-copy {
    text-align: center;
    align-items: center;
  }

  .tap-to-pay-card-copy-main {
    justify-content: center;
  }

  .tap-to-pay-card-title {
    font-size: clamp(2.1rem, 4.2vw, 2.8rem);
  }

  .tap-to-pay-card-desc {
    font-size: clamp(1.45rem, 2.4vw, 1.75rem);
    max-width: 36ch;
  }

  .tap-to-pay-card-visual {
    order: -1;
    width: 100%;
    max-width: min(100%, 380px);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    min-height: clamp(260px, 48vw, 360px);
    height: auto;
    align-self: center;
  }

  .tap-to-pay-terms {
    text-align: center;
    width: 100%;
  }

  .tap-to-pay-feature-img {
    object-position: 50% 100%;
    transform-origin: 50% 100%;
  }

  .tap-to-pay-grid > .tap-to-pay-card:nth-child(2) .tap-to-pay-card-visual {
    margin-left: auto;
  }

  .tap-to-pay-grid > .tap-to-pay-card:nth-child(2) .tap-to-pay-feature-img {
    transform: translateX(6px)
      scale(calc(var(--tap-img-boost) + var(--tap-img-boost-right-delta)));
  }

  .tap-to-pay-card-footer {
    min-height: 4.5rem;
    padding: 0.9rem 1.4rem;
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }

  .tap-to-pay-footer-label,
  .tap-to-pay-footer-cta {
    font-size: clamp(1.45rem, 3.2vw, 1.65rem);
  }
}

/* ——— Phone: tighter gutters, safe-area aware padding, footers that wrap cleanly ——— */
@media (max-width: 575px) {
  .tap-to-pay-iphone-section.section-padding {
    padding: 3rem 0 max(3rem, env(safe-area-inset-bottom));
  }

  .tap-to-pay-iphone-section .tap-to-pay-header .section-title {
    font-size: clamp(2rem, 6.5vw, 2.85rem) !important;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .tap-to-pay-iphone-section .tap-to-pay-lead {
    font-size: 1.5rem !important;
    margin-bottom: 1.75rem !important;
    padding: 0 0.5rem;
  }

  .tap-to-pay-grid {
    gap: 1.25rem;
  }

  .tap-to-pay-card {
    border-radius: 16px;
  }

  .tap-to-pay-cards {
    --tap-card-radius: 16px;
    --tap-img-boost: 1.1;
    --tap-img-boost-right-delta: 0.03;
  }

  .tap-to-pay-card-intro {
    padding: 1.6rem 1.2rem 1.5rem;
    font-size: clamp(1.4rem, 3.8vw, 1.65rem);
  }

  .tap-to-pay-card-body {
    padding: 0 1.1rem 0;
  }

  .tap-to-pay-card-body-inner {
    gap: 1rem;
  }

  .tap-to-pay-card-title {
    font-size: clamp(1.85rem, 5.5vw, 2.35rem);
  }

  .tap-to-pay-card-desc {
    font-size: clamp(1.35rem, 3.6vw, 1.55rem);
  }

  .tap-to-pay-card-visual {
    min-height: clamp(220px, 58vw, 300px);
    max-width: none;
  }

  .tap-to-pay-terms {
    font-size: 1.1rem;
    padding-top: 0.4rem;
    margin-bottom: 0.5rem;
  }

  .tap-to-pay-grid > .tap-to-pay-card:nth-child(2) .tap-to-pay-card-visual {
    margin-left: auto;
  }

  .tap-to-pay-grid > .tap-to-pay-card:nth-child(2) .tap-to-pay-feature-img {
    transform: translateX(4px)
      scale(calc(var(--tap-img-boost) + var(--tap-img-boost-right-delta)));
  }

  .tap-to-pay-card-footer {
    padding: 0.85rem 1rem;
    min-height: 4.25rem;
  }

  .tap-to-pay-footer-label,
  .tap-to-pay-footer-cta {
    font-size: clamp(1.35rem, 4.2vw, 1.55rem);
  }

  .tap-to-pay-qwick-badge {
    max-height: 2.5rem;
    height: 2.5rem;
    min-height: 2.5rem;
    max-width: min(100%, 200px);
  }
}

/* Customer Success Section - Leverage Bootstrap grid */
.customer-success {
  padding: 6rem 0;
  background: white;
  position: relative;
  z-index: 2;
}

.customer-success .cta-buttons {
  margin-top: 3rem;
}

.customer-success .small-card-footer {
  font-size: 1.4rem;
  color: #64748b;
  line-height: 1.5;
}

.customer-success .small-card-footer strong {
  color: #263c50;
}

/* Standardized Section Headers */
.section-title,
.success-header h2,
.america-text h2,
.qwantum-header h2,
.cta-title,
h2.section-title {
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle,
.success-header p,
.america-text p,
.qwantum-header p,
.cta-description {
  font-size: 2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* White text variants for dark sections */
.qwantum-header h2 {
  color: white;
  background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.qwantum-header p {
  color: white;
}

.cta-title {
  color: white;
}

.cta-description {
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.9;
}

/* ============================================
     TESTIMONIAL CARDS
     NOW IN magtek-cards.css
     ============================================ */

/* Trust & Quality Section - Streamlined */
.trust-quality-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.trust-quality-content {
  padding: 2rem 0;
}

.trust-quality-content .section-subtitle {
  margin-bottom: 2.5rem;
  font-size: 2.1rem;
}

.trust-quality-content .section-title {
  margin-bottom: 2rem;
}

.trust-features {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.trust-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
  padding: 1rem;
  border-radius: 12px;
  transition: var(--transition);
  cursor: pointer;
}

.trust-feature:hover {
  background: rgba(210, 18, 66, 0.05);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.trust-feature .feature-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-feature .feature-icon i {
  font-size: 1.5rem;
  color: white;
}

.trust-feature span {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
}

.headquarters-caption {
  margin-top: 1rem;
  font-size: 1.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  justify-content: center;
}

.headquarters-caption i {
  color: var(--magtek-red);
  font-size: 1.6rem;
}

.america-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

/* Manufacturing Hero - Clean Dual Image */
.manufacturing-hero {
  margin-bottom: 4rem;
}

/* Unified Image Styling - Match Building Height */
.facility-image-container,
.assembly-image-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
  margin-bottom: 2rem;
  height: 350px; /* Increased height for better image display */
  border: 4px solid var(--magtek-red);
}

.facility-image-container:hover,
.assembly-image-container:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.manufacturing-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.facility-image-container:hover .manufacturing-image,
.assembly-image-container:hover .manufacturing-image {
  transform: scale(1.01);
}

/* Modern Image Badges - 2025 Style */
.image-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.1rem;
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.image-badge i {
  font-size: 1rem;
}

.facility-badge {
  background: rgba(210, 18, 66, 0.95);
  color: white;
  border-color: var(--magtek-red);
}

.assembly-badge {
  background: rgba(38, 60, 80, 0.95);
  color: white;
  border-color: var(--magtek-blue);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  padding: 2rem;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.5rem;
  backdrop-filter: blur(10px);
}

/* Events Integration */
.america-events-integration {
  padding: 4rem 0 0 0;
  position: relative;
  z-index: 2;
}

.events-content-integrated {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.events-content-integrated:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.85);
}

/* Section CTAs use standardized .btn-primary / .btn-secondary (magtek-buttons.css) */

.events-icon-integrated {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.events-icon-integrated i {
  font-size: 3.5rem;
  color: white;
}

.events-text-integrated h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.event-teaser {
  font-size: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Solutions Overview - Use Bootstrap grid */
.solutions-overview {
  padding: 6rem 0;
  background: white;
}

.solutions-overview-grid {
  align-items: stretch;
}

.solutions-overview .small-card {
  width: 100%;
}

.solutions-overview .small-card-footer .btn-text {
  gap: 0.5rem !important;
}

/* Section Header Variants */
.section-header.left-accent {
  text-align: left;
  margin-bottom: 4rem;
  position: relative;
  padding-left: 2rem;
}

.section-header.left-accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-header.left-accent .section-subtitle {
  max-width: 500px;
  margin-left: 0;
  margin-right: 0;
}

.section-header.split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  text-align: left;
}

.section-header.split .section-subtitle {
  margin-left: 0;
  margin-right: 0;
}

/* ============================================
     SIMPLE CARDS
     NOW IN magtek-cards.css
     ============================================ */

/* ============================================
     PEOPLE CARD
     NOW IN magtek-cards.css
     ============================================ */

/* Featured Hardware Section */
.featured-hardware {
  padding: 6rem 0;
  background: var(--gradient-accent);
  position: relative;
  overflow: hidden;
}

.featured-hardware::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: -1;
}

.hardware-showcase {
  margin-top: 3rem;
}

.video-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--primary);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--gradient-secondary);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(38, 60, 80, 0.9) 0%,
    rgba(30, 41, 59, 0.9) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: var(--transition);
  cursor: pointer;
}

.video-container:hover .video-overlay {
  opacity: 1;
}

.play-button {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.play-button i {
  font-size: 24px;
  color: white;
  margin-left: 4px;
}

.play-button:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.video-info h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.video-info p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 400px;
  margin: 0 auto;
}

/* Qwantum Security Section */
.qwantum-section {
  padding: 6rem 0;
  background: linear-gradient(
    135deg,
    #0a1628 0%,
    #0f1b2e 25%,
    #162845 50%,
    #1a2f4d 75%,
    #1e3a5f 100%
  );
  position: relative;
  overflow: hidden;
  color: white;
  z-index: 2;
}

/* Quantum circuit pattern overlay for homepage */
.qwantum-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(59, 130, 246, 0.04) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(96, 165, 250, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 20%,
      rgba(147, 197, 253, 0.025) 0%,
      transparent 50%
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="quantum-grid-home" width="25" height="25" patternUnits="userSpaceOnUse"><path d="M 25 0 L 0 0 0 25" fill="none" stroke="rgba(59,130,246,0.06)" stroke-width="0.5"/><circle cx="0" cy="0" r="1.5" fill="rgba(96,165,250,0.1)"/><circle cx="25" cy="25" r="1.5" fill="rgba(96,165,250,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23quantum-grid-home)"/></svg>');
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

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

.qwantum-logo-container {
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qwantum-logo {
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(59, 130, 246, 0.3));
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.qwantum-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 30px rgba(59, 130, 246, 0.5));
}

.qwantum-background {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.qwantum-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="qwantum-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23d21242" opacity="0.1"/><circle cx="20" cy="20" r="3" fill="none" stroke="%23d21242" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23qwantum-pattern)"/></svg>');
  opacity: 0.4;
}

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

.qwantum-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #d21242 0%, #ff6b9d 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

/* Qwantum headers use standardized section headers */
.qwantum-section .section-title {
  color: white;
}

.qwantum-section .section-subtitle {
  color: white;
}

.qwantum-feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(96, 165, 250, 0.2);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
}

.qwantum-feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.15);
}

.qwantum-feature-card .feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.8rem;
  color: white;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
}

.qwantum-feature-card h4 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.qwantum-feature-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 1.5rem;
  flex: 1;
  margin-bottom: 0;
}

.qwantum-stats {
  margin: 4rem 0;
}

.qwantum-stats .stat-item {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
}

.qwantum-stats .stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #60a5fa;
  display: block;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.qwantum-stats .stat-label {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.qwantum-section .product-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.2);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.qwantum-section .product-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.15);
}

.qwantum-section .product-card.featured {
  border: 2px solid rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.product-badge {
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
}

.product-badge.featured {
  background: var(--magtek-blue);
  color: white;
  border: 2px solid var(--magtek-red);
  box-shadow: 0 4px 12px rgba(210, 18, 66, 0.2);
}

.product-content {
  padding: 2rem;
}

.product-content h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.product-content p {
  color: white;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.qwantum-note {
  font-size: 1.5rem;
  color: white;
  font-style: italic;
  margin-top: 18px;
}

.qwantum-cta {
  margin-top: 4rem;
}

/* Industries Section - Use Bootstrap grid */
.industries-section {
  padding: 8rem 0;
  background: white;
}

.industries-section .small-card-footer .btn-text {
  gap: 0.5rem !important;
}

/* Developers Section - Use Bootstrap grid */
.developers {
  padding: 6rem 0;
  background: var(--gradient-accent);
  position: relative;
  z-index: 2;
}

.developers .cta-buttons {
  margin-top: 3rem;
}

.developers .small-card-content {
  padding-bottom: 2.5rem;
}

/* ============================================
     DEVELOPER CARDS
     NOW IN magtek-cards.css
     ============================================ */

/* CTA Section */
.cta-section {
  padding: 8rem 0;
  background: var(--gradient-secondary);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.cta-section .cta-title {
  margin-bottom: 3rem;
}

.cta-section .cta-description {
  margin-bottom: 4rem;
}

.cta-buttons {
  display: flex !important;
  gap: 2rem;
  justify-content: center !important;
  align-items: center;
  flex-direction: row !important;
  flex-wrap: nowrap;
  width: 100% !important;
}

.cta-buttons.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.cta-buttons .col-sm-6,
.cta-buttons .col-xs-12 {
  flex: 0 0 auto !important;
  max-width: none !important;
  width: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 25% 25%,
      rgba(210, 18, 66, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(38, 60, 80, 0.1) 0%,
      transparent 50%
    );
  opacity: 0.3;
}

/* CTA section uses standardized buttons from magtek-buttons.css */

/* Utility Classes */
.text-center {
  text-align: center;
}
.mb-3 {
  margin-bottom: 3rem;
}
.mb-4 {
  margin-bottom: 4rem;
}
.hidden {
  display: none !important;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* AOS Performance Optimizations */
[data-aos] {
  will-change: transform, opacity;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    animation-duration: 0.01ms !important;
    animation-delay: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Bootstrap Grid Row Equal Heights */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.row > [class*="col-"] {
  display: flex;
  flex-direction: column;
  padding-left: 15px;
  padding-right: 15px;
}

/* Override for footer social icons to display in a row */
.footer-social {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  width: 100% !important;
  text-align: center !important;
}

/* Ensure the parent row centers the social icons */
.row.text-center .footer-social {
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

/* Mobile-specific Bootstrap overrides */
@media (max-width: 768px) {
  .trust-features.row,
  .qwantum-stats.row,
  .qwantum-stats,
  .qwantum-stats .stat-item {
    display: none !important;
  }

  /* Reset Bootstrap margins for mobile */
  .cta-buttons.row {
    margin-left: 0;
    margin-right: 0;
  }

  /* Reset Bootstrap padding for mobile columns */
  .trust-features .col-xs-12,
  .qwantum-stats .col-xs-12,
  .cta-buttons .col-xs-12,
  .col-xs-12 {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 1rem;
  }

  /* Ensure proper spacing for mobile cards */
  .col-sm-12 {
    margin-bottom: 1.5rem;
  }

  /* Mobile-specific button improvements */

  /* Mobile section padding adjustments */
  .section-padding {
    padding: 4rem 0;
  }

  .section-padding-lg {
    padding: 5rem 0;
  }

  /* Mobile container padding */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ============================================
     CARD HEIGHT OVERRIDES
     NOW IN magtek-cards.css
     ============================================ */

/* Tablet-specific optimizations */
@media (max-width: 1024px) and (min-width: 769px) {
  .section-title {
    font-size: clamp(3.5rem, 5vw, 4rem);
  }

  .section-subtitle {
    font-size: clamp(1.8rem, 3vw, 2rem);
  }

  .trust-features {
    gap: 2rem;
  }

  .trust-feature {
    padding: 1.5rem;
  }

  .facility-image-container,
  .assembly-image-container {
    height: 300px;
  }

  .manufacturing-image {
    height: 300px;
  }

  .qwantum-feature-card {
    min-height: 280px;
    padding: 2rem;
  }

  .qwantum-stats .stat-item {
    padding: 2.5rem 1.5rem;
  }

  .video-container {
    margin: 0 2rem;
  }

  .play-button {
    width: 80px;
    height: 80px;
  }

  .play-button i {
    font-size: 2rem;
  }

  .video-info h3 {
    font-size: clamp(2.2rem, 3vw, 2.4rem);
  }

  .video-info p {
    font-size: clamp(1.5rem, 2.5vw, 1.6rem);
  }
}

/* Hero — tablet portrait, narrow laptop, phone (stacked) */
@media (max-width: 992px) {
  .hero {
    padding: 0 0 clamp(3.5rem, 8vw, 5rem);
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 5vw, 2.5rem);
    padding: 0;
    min-height: 0;
  }

  .hero .hero-visual {
    order: -1;
    min-height: 0;
    aspect-ratio: 16 / 9;
    min-height: clamp(280px, 48vw, 420px);
  }

  .hero-text {
    align-items: center;
    text-align: center;
    gap: clamp(1.25rem, 4vw, 1.75rem);
    padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 4vw, 1.5rem) 0;
  }

  .hero-text h1 {
    max-width: none;
  }

  .hero-text p {
    max-width: 65ch;
  }

  .hero-image-container {
    position: absolute;
    inset: 0;
    border-radius: 0;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.5rem, 2vw, 1rem);
    max-width: 100%;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .trust-features.row,
  .qwantum-stats.row,
  .qwantum-stats,
  .qwantum-stats .stat-item {
    display: none !important;
  }

  .facility-image-container,
  .assembly-image-container {
    height: 320px;
  }

  .manufacturing-image {
    height: 320px;
  }

  .image-badge {
    padding: 0.6rem 1rem;
    font-size: 1rem;
  }

  .events-content-integrated {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .trust-quality-content {
    padding: 2rem 0 !important;
    text-align: center !important;
    margin-bottom: 4rem !important;
  }

  .trust-quality-content .section-title {
    font-size: clamp(2.5rem, 6vw, 3rem) !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
  }

  .trust-quality-content .section-subtitle {
    font-size: clamp(1.6rem, 4vw, 1.8rem) !important;
    margin-bottom: 0 !important;
    line-height: 1.5 !important;
  }

  .trust-features {
    flex-direction: column !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
    align-items: center !important;
  }

  .trust-feature {
    padding: 1.5rem !important;
    margin-bottom: 0 !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 300px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
  }

  .trust-feature .feature-icon {
    width: 60px !important;
    height: 60px !important;
    flex-shrink: 0 !important;
    border-radius: 14px !important;
  }

  .trust-feature .feature-icon i {
    font-size: 1.6rem !important;
  }

  .trust-feature span {
    font-size: clamp(1.5rem, 3vw, 1.7rem) !important;
    font-weight: 700 !important;
  }

  .facility-image-container {
    margin-top: 1rem;
  }

  .events-icon-integrated {
    width: 70px;
    height: 70px;
  }

  .events-icon-integrated i {
    font-size: 1.75rem;
  }

  .events-text-integrated h3 {
    font-size: 2rem;
  }

  .section-title,
  .success-header h2,
  .america-text h2,
  .qwantum-header h2,
  .cta-title,
  h2.section-title {
    font-size: clamp(2.5rem, 6vw, 3rem);
    line-height: 1.2;
  }

  .section-subtitle,
  .success-header p,
  .america-text p,
  .qwantum-header p,
  .cta-description {
    font-size: clamp(1.6rem, 4vw, 1.8rem);
    line-height: 1.6;
  }

  /* Qwantum specific mobile improvements */
  .qwantum-logo {
    max-width: 200px !important;
  }

  .qwantum-logo-container {
    margin-bottom: 2rem !important;
  }

  .qwantum-feature-card {
    min-height: 280px !important;
    padding: 2rem !important;
    margin-bottom: 0 !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
  }

  .qwantum-feature-card h4 {
    font-size: clamp(1.8rem, 4vw, 2rem) !important;
    margin-bottom: 1.2rem !important;
    font-weight: 700 !important;
  }

  .qwantum-feature-card p {
    font-size: clamp(2rem, 3vw, 2.2rem) !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
  }

  .qwantum-stats {
    margin: 3rem 0 !important;
  }

  .qwantum-stats .stat-item {
    padding: 2rem 1.5rem !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  .qwantum-stats .stat-number {
    font-size: clamp(2rem, 5vw, 2.4rem) !important;
    margin-bottom: 0.8rem !important;
    font-weight: 900 !important;
  }

  .qwantum-stats .stat-label {
    font-size: clamp(1.1rem, 3vw, 1.3rem) !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
  }

  .product-content h3 {
    font-size: clamp(2rem, 4vw, 2.2rem) !important;
    margin-bottom: 0 !important;
    font-weight: 700 !important;
  }

  .product-content p {
    font-size: clamp(2rem, 3vw, 2.2rem) !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
  }

  .section-header.left-accent {
    padding-left: 1rem;
    margin-bottom: 2rem;
  }

  .section-header.left-accent .section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
  }

  .section-header.left-accent .section-subtitle {
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    margin-bottom: 0;
    max-width: 100%;
  }

  .section-header.split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .video-container {
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
  }

  .play-button {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
  }

  .play-button i {
    font-size: 2rem !important;
  }

  .video-info h3 {
    font-size: clamp(2.2rem, 4vw, 2.6rem) !important;
    margin-bottom: 1.5rem !important;
    font-weight: 700 !important;
  }

  .video-info p {
    font-size: clamp(2rem, 3vw, 2.2rem) !important;
    line-height: 1.6 !important;
    max-width: 90% !important;
  }

  .product-showcase {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-image {
    height: 180px;
  }

  .cta-section {
    padding: 6rem 0 !important;
  }

  .cta-section .cta-title {
    margin-bottom: 4rem !important;
    font-size: clamp(2.5rem, 6vw, 3rem) !important;
    line-height: 1.2 !important;
  }

  .cta-section .cta-description {
    margin-bottom: 3.5rem !important;
    font-size: clamp(1.6rem, 4vw, 1.8rem) !important;
    line-height: 1.6 !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .cta-buttons .col-sm-6,
  .cta-buttons .col-xs-12 {
    flex: none !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
  }

  /* Additional mobile improvements */
  .simple-card,
  .developer-card,
  .testimonial-card,
  .qwantum-feature-card {
    margin-bottom: 4rem !important;
  }

  /* Mobile text improvements */
  .section-title {
    margin-bottom: 0 !important;
    font-size: clamp(2.5rem, 6vw, 3rem) !important;
    line-height: 1.2 !important;
  }

  .section-subtitle {
    margin-bottom: 4rem !important;
    font-size: clamp(1.6rem, 4vw, 1.8rem) !important;
    line-height: 1.6 !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Mobile section padding improvements */
  .section-padding {
    padding: 5rem 0 !important;
  }

  .section-padding-lg {
    padding: 6rem 0 !important;
  }

  /* Mobile container improvements */
  .container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  /* Mobile video improvements */
  .video-container {
    margin: 0;
    border-radius: 8px;
  }

  /* Mobile product showcase */
  .product-showcase {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Mobile events section */
  .events-content-integrated {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1rem;
  }

  .events-icon-integrated {
    width: 60px;
    height: 60px;
  }

  .events-icon-integrated i {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .simple-card-image,
  .developer-card-image,
  .testimonial-image {
    height: 150px;
  }

  .simple-icon,
  .developer-icon,
  .testimonial-icon {
    width: 55px;
    height: 55px;
    top: 125px;
  }

  .simple-icon i,
  .developer-icon i,
  .testimonial-icon i {
    font-size: 1.3rem;
  }

  .simple-card-content,
  .developer-card-content,
  .testimonial-content {
    padding: 2rem 1rem 1rem 1rem;
  }

  .simple-card h3,
  .developer-title {
    font-size: clamp(2rem, 4vw, 2.2rem) !important;
  }

  .simple-card p,
  .developer-description,
  .testimonial-text {
    font-size: clamp(1.8rem, 3vw, 2rem) !important;
  }

  .author-info h4 {
    font-size: clamp(1.6rem, 3vw, 1.8rem) !important;
  }

  .author-info span {
    font-size: clamp(1.7rem, 2.5vw, 1.9rem) !important;
  }

  .facility-image-container,
  .assembly-image-container {
    height: 250px;
    margin-bottom: 1rem;
  }

  .manufacturing-image {
    height: 250px;
  }

  .image-badge {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    top: 0.8rem;
    left: 0.8rem;
  }

  .image-badge span {
    display: none;
  }

  .trust-quality-content .section-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .trust-quality-content .section-subtitle {
    font-size: clamp(1.4rem, 4vw, 1.6rem);
  }

  .trust-feature {
    padding: 1rem;
    margin-bottom: 0.5rem;
  }

  .trust-feature .feature-icon {
    width: 45px;
    height: 45px;
  }

  .trust-feature .feature-icon i {
    font-size: 1.2rem;
  }

  .trust-feature span {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
  }

  .headquarters-caption {
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    margin-top: 0.6rem;
  }

  .headquarters-caption i {
    font-size: 1.2rem;
  }

  .video-container {
    margin: 0 0.5rem;
    border-radius: 12px;
  }

  .play-button {
    width: 60px;
    height: 60px;
  }

  .play-button i {
    font-size: 1.6rem;
  }

  .video-info h3 {
    font-size: clamp(1.6rem, 4vw, 1.8rem);
  }

  .video-info p {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
  }

  .section-title,
  .success-header h2,
  .america-text h2,
  .qwantum-header h2,
  .cta-title,
  h2.section-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .section-subtitle,
  .success-header p,
  .america-text p,
  .qwantum-header p,
  .cta-description {
    font-size: clamp(1.3rem, 4vw, 1.5rem);
  }

  .section-header.left-accent {
    padding-left: 0.8rem;
  }

  .section-header.split {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .cta-section {
    padding: 4rem 0;
  }

  .cta-section .cta-title {
    margin-bottom: 1.5rem;
  }

  .cta-section .cta-description {
    margin-bottom: 2rem;
  }

  /* Small mobile additional improvements */
  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .section-padding-lg {
    padding: 4rem 0;
  }

  /* Small mobile card improvements - NOW IN magtek-cards.css */

  /* Small mobile button improvements */

  /* Qwantum mobile improvements */
  .qwantum-feature-card {
    min-height: 240px;
    padding: 1.2rem;
    margin-bottom: 1rem;
  }

  .qwantum-feature-card h4 {
    font-size: clamp(1.6rem, 4vw, 1.8rem) !important;
  }

  .qwantum-feature-card p {
    font-size: clamp(1.8rem, 3vw, 2rem) !important;
  }

  .qwantum-stats .stat-item {
    padding: 1.5rem 0.8rem;
    margin-bottom: 0.8rem;
  }

  .qwantum-stats .stat-number {
    font-size: clamp(1.8rem, 5vw, 2rem);
  }

  .qwantum-stats .stat-label {
    font-size: clamp(1rem, 3vw, 1.1rem);
  }

  .product-content h3 {
    font-size: clamp(1.6rem, 4vw, 1.8rem);
  }

  .product-content p {
    font-size: clamp(1.1rem, 3vw, 1.2rem);
  }
}

