/*
 * ═══════════════════════════════════════════════════════════
 *  Veyho Technologies — Global Stylesheet
 *  File: css/style.css
 *  Import order: tokens.css → style.css → page-specific.css
 * ═══════════════════════════════════════════════════════════
 */

@import url('tokens.css');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text-primary);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol { list-style: none; }

/* ─── Layout Utilities ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding-block: var(--space-24);
}

.section--sm {
  padding-block: var(--space-16);
}

.section--lg {
  padding-block: var(--space-32);
}

/* ─── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--color-text-primary);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  line-height: var(--lh-relaxed);
  color: var(--color-text-secondary);
}

.text-on-dark {
  color: var(--color-text-on-dark);
}

.text-on-dark p {
  color: rgba(255,255,255,0.72);
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-teal);
  display: block;
  margin-bottom: var(--space-3);
}

/* ─── Logo Component ─────────────────────────────────────── */
/* Clean static SVGs are used instead of legacy dynamic elements. */

/* ─── Navigation ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), var(--shadow-sm);
  border-bottom-color: rgba(0,0,0,0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav__link {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-gray-700);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-teal);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav__link:hover { color: var(--color-navy); }
.nav__link:hover::after { width: 100%; }
.nav__link.active { color: var(--color-navy); font-weight: var(--fw-bold); }
.nav__link.active::after { width: 100%; }

/* Accessibility Focus States */
.nav__link:focus-visible,
.site-logo:focus-visible,
.footer-col a:focus-visible,
.footer-legal a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  background: transparent;
  border: none;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: var(--color-white);
  z-index: var(--z-dropdown);
  padding: var(--space-8) var(--space-6);
  flex-direction: column;
  gap: var(--space-2);
  border-top: 1px solid var(--color-border);
  animation: slideDown var(--transition-base) ease;
  overflow-y: auto;
}

.nav__mobile.open { display: flex; }

.nav__mobile a {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-gray-700);
  padding: var(--space-3) 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-gray-100);
  transition: color var(--transition-fast);
}

.nav__mobile a:hover,
.nav__mobile a.active { color: var(--color-navy); font-weight: var(--fw-bold); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: background var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base),
              transform var(--transition-fast),
              box-shadow var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn:active { transform: scale(0.97); }

/* Primary — Teal filled */
.btn--primary {
  background: var(--color-teal);
  color: var(--color-navy-dark);
  border-color: var(--color-teal);
}

.btn--primary:hover {
  background: #36CFC0;
  border-color: #36CFC0;
  box-shadow: var(--shadow-teal-glow);
  transform: translateY(-1px);
}

/* Secondary — Navy outlined */
.btn--secondary {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

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

/* Ghost — for dark backgrounds */
.btn--ghost {
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-1px);
}

/* Sizes */
.btn--sm  { font-size: var(--text-xs); padding: 10px 18px; }
.btn--lg  { font-size: var(--text-base); padding: 16px 32px; }

/* ─── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Feature card — for the 2x2 grid */
.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal);
  transform: translateY(-3px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(var(--rgb-teal),0.18), rgba(var(--rgb-teal),0.04));
  border: 1px solid rgba(var(--rgb-teal),0.15);
  box-shadow: inset 0 1px 0 rgba(var(--rgb-teal),0.12), 0 0 12px rgba(var(--rgb-teal),0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-teal);
  transition: box-shadow var(--transition-base), background var(--transition-base);
}

.feature-card:hover .feature-card__icon {
  background: radial-gradient(circle at top left, rgba(var(--rgb-teal),0.26), rgba(var(--rgb-teal),0.08));
  box-shadow: inset 0 1px 0 rgba(var(--rgb-teal),0.2), 0 0 20px rgba(var(--rgb-teal),0.12);
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
  letter-spacing: var(--ls-tight);
}

.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

/* ─── Feature Pill Tags (the "Also includes" row) ────────── */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: var(--color-gray-700);
  background: var(--color-gray-100);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-full);
  padding: 5px 12px;
}

.pill::before {
  content: '+';
  color: var(--color-teal);
  font-weight: var(--fw-bold);
}

/* ─── Forms ──────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-gray-700);
}

.form-label .required {
  color: #E53E3E;
  margin-left: 2px;
}

.form-control {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background: var(--color-white);
  border: 1.5px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.form-control:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(42,132,197,0.12);
}

.form-control::placeholder { color: var(--color-gray-300); }

/* Checkbox group */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-teal);
  cursor: pointer;
}

.checkbox-item span {
  font-size: var(--text-sm);
  color: var(--color-gray-700);
}

/* Form status messages */
.form-success,
.form-error {
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  display: none;
}

.form-success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.form-error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* ─── Section Headings ───────────────────────────────────── */
.section-heading {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.section-heading h2 {
  margin-bottom: var(--space-4);
}

.section-heading p {
  font-size: var(--text-lg);
}

/* ─── Tab Component ──────────────────────────────────────── */
.tabs {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.tab-list {
  display: flex;
  gap: var(--space-2);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0;
}

.tab-btn {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-gray-500);
  padding: var(--space-3) var(--space-6);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  background: none;
  cursor: pointer;
  border-top: none;
  border-left: none;
  border-right: none;
}

.tab-btn:hover { color: var(--color-navy); }
.tab-btn.active {
  color: var(--color-navy);
  border-bottom-color: var(--color-teal);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ─── CTA Banner Component ───────────────────────────────── */
.cta-banner {
  background: var(--color-bg-hero);
  padding-block: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--rgb-teal), 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--rgb-blue), 0.08) 0%, transparent 65%);
  pointer-events: none;
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--color-navy-dark);
  color: var(--color-white);
  padding-block: var(--space-16) var(--space-8);
  border-top: 1px solid rgba(var(--rgb-teal), 0.45);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  margin-top: var(--space-4);
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-5);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }

.footer-col ul li a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  transition: all var(--transition-fast) ease-in-out;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--color-teal);
  transform: translateX(4px);
}

/* Pulsing Live Dot */
.live-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-teal);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-teal);
  animation: pulse-glow 2s infinite;
  display: inline-block;
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
    box-shadow: 0 0 6px var(--color-teal);
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 0 0 12px var(--color-teal);
  }
  100% {
    transform: scale(0.95);
    opacity: 0.8;
    box-shadow: 0 0 6px var(--color-teal);
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  transition: color var(--transition-fast);
}

.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ─── Cookie Banner ──────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-toast);
  width: calc(100% - var(--space-8));
  max-width: 680px;
  background: var(--color-navy-dark);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.08);
  animation: slideUp var(--transition-slow) ease;
}

.cookie-banner p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  line-height: var(--lh-relaxed);
}

.cookie-banner p a {
  color: var(--color-teal);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

.cookie-banner.hidden { display: none; }

/* ─── Scroll-Reveal Animations ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal--delay-4 { transition-delay: 400ms; }

/* ─── Utility Classes ────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }

.text-center { text-align: center; }
.text-teal    { color: var(--color-teal); }
.text-navy    { color: var(--color-navy); }
.text-blue    { color: var(--color-blue); }

.bg-dark  { background-color: var(--color-bg-dark); }
.bg-light { background-color: var(--color-bg-light); }
.bg-white { background-color: var(--color-white); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── Contact Page Grid ──────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

/* ─── Animations ─────────────────────────────────────────── */
@keyframes slideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Item 6 — Hero chip float */
@keyframes floatChip {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-4px); }
  100% { transform: translateY(0px); }
}

/* Variant for chips that are centered with translateY(-50%) */
@keyframes floatChipCentered {
  0%   { transform: translateY(-50%); }
  50%  { transform: translateY(calc(-50% - 4px)); }
  100% { transform: translateY(-50%); }
}

.chip-float {
  animation: floatChip 4s ease-in-out infinite;
}
.chip-float--centered {
  animation: floatChipCentered 4s ease-in-out infinite;
}
.chip-float--delay-1 { animation-delay: 1.4s; }
.chip-float--delay-2 { animation-delay: 2.6s; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav { gap: var(--space-4); }
  .nav__links { gap: var(--space-4); }
}

@media (max-width: 1024px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
}

@media (max-width: 900px) {
  .nav { gap: var(--space-3); }
  .nav__links { gap: var(--space-3); }
  .hero-grid { grid-template-columns: 1fr !important; gap: 40px !important; text-align: center; }
  .hero-grid p { margin-inline: auto; }
  .hero-content > div[style*="display:flex"] { justify-content: center; }
  .hero-visual { margin-inline: auto !important; max-width: 580px !important; justify-content: center !important; }
}

@media (max-width: 768px) {
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-xl); }

  .container { padding-inline: var(--space-4); }
  .section { padding-block: var(--space-16); }

  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .ecosystem-flow-line,
  .step-connector-line { display: none !important; }

  .support-strip-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-6) !important;
  }

  .support-strip-item {
    border-right: none !important;
    border-bottom: 1px solid var(--color-gray-200);
    padding-bottom: var(--space-4);
  }
  .support-strip-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .eco-column-item {
    border-right: none !important;
    border-bottom: 1px solid var(--color-gray-200);
    padding-bottom: var(--space-6);
  }
  .eco-column-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--space-4); }

  .cookie-banner { flex-direction: column; align-items: flex-start; bottom: 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }

  .tab-list { overflow-x: auto; }

  /* CTA Banner Section 7 Tablet & Mobile Center Alignment */
  .cta-banner .grid-2 > div[style*="text-align:left"] {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .cta-banner .grid-2 p {
    margin-inline: auto !important;
  }
  .cta-banner .grid-2 div[style*="display:grid"] {
    margin-inline: auto !important;
    justify-content: center !important;
  }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-brand p { max-width: 100%; }
}

@media (max-width: 480px) {
  h1 { font-size: var(--text-2xl); }
  .btn--lg { padding: 14px 24px; font-size: var(--text-sm); }
}

/* ════════════════════════════════════════════
   GLOBAL PLATFORM-AGNOSTIC RESPONSIVE SCALING & DEVICE MOCKUPS
════════════════════════════════════════════ */

/* Global Viewport Overflow Protection */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Device Mockup Graphic Wrappers */
.device-showcase-wrapper {
  position: relative;
  width: 100%;
  max-width: 660px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Laptop Fluid Casing */
.laptop-casing-responsive {
  width: 100%;
  max-width: 480px;
  margin-bottom: -16px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* Dual Smartphones Container */
.smartphones-row-responsive {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 640px;
  position: relative;
  z-index: 3;
  box-sizing: border-box;
}

.smartphone-frame-responsive {
  width: 175px;
  height: 360px;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Breakpoint Adaptation: Tablets & Mobiles (<= 768px) */
@media (max-width: 768px) {
  .hero-visual {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 24px !important;
  }

  .showcase-viewport {
    height: auto !important;
    min-height: 380px !important;
  }

  .device-showcase-wrapper {
    max-width: 100% !important;
    padding-inline: 10px !important;
  }

  .laptop-casing-responsive {
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: 0px !important;
  }

  .smartphones-row-responsive {
    max-width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-top: 16px !important;
  }

  .smartphone-frame-responsive {
    width: min(46%, 175px) !important;
    height: auto !important;
    aspect-ratio: 175 / 360 !important;
  }

  /* ── Mobile Card & CTA Button Full-Width & Ergonomic Centering ── */
  /* Product Suite & ERP Card Action Buttons */
  a.btn[href*="campus"],
  a.btn[href*="communication"],
  .card a.btn,
  .cta-banner a.btn {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    margin-inline: auto !important;
  }

  /* Hero Section Dual CTA Buttons Stacking (Targeting Primary & Secondary Hero CTAs) */
  #hero-cta-primary,
  #hero-cta-secondary,
  .hero-grid a.btn {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    margin-inline: auto !important;
  }

  /* Protect Hero Showcase Shell & Tab Bar from Vertical Stacking */
  .hero-showcase {
    width: 100% !important;
    max-width: 580px !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
  }

  .showcase-tabs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: auto !important;
  }

  .showcase-tab {
    flex: 1 !important;
    white-space: nowrap !important;
    padding: 5px 8px !important;
    font-size: 0.65rem !important;
  }
}

/* Small Mobile Devices (<= 480px) */
@media (max-width: 480px) {
  .hero-visual {
    margin-top: 16px !important;
  }
  
  .smartphones-row-responsive {
    gap: 12px !important;
  }
  
  .smartphone-frame-responsive {
    width: min(48%, 160px) !important;
  }

  /* Mini pill tags inside cards */
  div[style*="border-radius:6px"][style*="padding:4px"],
  div[style*="border-radius:8px"][style*="padding:6px"] {
    font-size: 0.7rem !important;
  }
}
