/* ==========================================================================
   UNITECH HORIZON — Webflow-to-Wonder / Invofy Design System
   Aesthetic: High-end, clean European hardware portal with warm pastel aura,
   Inter Tight display typography, obsidian pill buttons, and rounded-3xl cards.
   ========================================================================== */

/* Google Fonts loaded via HTML: Inter Tight (Display) & Inter (Body) */

:root {
  /* Invofy Core Palette */
  --invofy-dark: #0a101d;
  --invofy-dark-rgb: 10, 16, 29;
  --invofy-gray: #52525b;
  --invofy-border: #e5e7eb;
  --border-subtle: #f1f1f1;
  --border-card: #eaeaea;

  --background: #ffffff;
  --background-alt: #fafafa;
  --background-muted: #f4f4f6;
  
  --foreground: #0a101d;
  --muted-foreground: #52525b;
  --text-light: #71717a;

  /* Accent & Aura */
  --accent-peach: #ffd5cc;
  --accent-coral: #ffbeaf;
  --accent-rose: #ffded7;
  --accent-blue-soft: #e8f0fe;
  --accent-green-soft: #eaf5ee;

  /* Typography */
  --font-sans: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Radii */
  --radius-2xl: 36px;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(10, 16, 29, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(10, 16, 29, 0.08);
  --shadow-lg: 0 20px 45px -15px rgba(10, 16, 29, 0.1);
  --shadow-card: 0 14px 34px -10px rgba(0, 0, 0, 0.04);

  /* Layout */
  --container-wide: 1440px;
  --container-narrow: 1120px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Section Header Typography */
.section-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-foreground);
  margin-bottom: 16px;
}

.section-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--invofy-dark);
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--invofy-dark);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted-foreground);
  line-height: 1.65;
  font-weight: 400;
}

/* ==========================================================================
   Buttons (Pill Shapes)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
}

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

.btn-primary {
  background-color: var(--invofy-dark);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(10, 16, 29, 0.15);
}

.btn-primary:hover {
  background-color: #172136;
  box-shadow: 0 8px 20px rgba(10, 16, 29, 0.22);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--invofy-dark);
  border-color: var(--invofy-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: #ffffff;
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ==========================================================================
   Site Header & Floating Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo picture {
  display: flex;
  align-items: center;
}

/* Domyślny wygląd na desktopie */
.header-logo-img {
  max-width: 260px;
  height: 40px; /* lub dopasowana wysokość, np. 36px - 44px */
  width: auto;
  display: block;
  object-fit: contain;
}

/* Wersja mobilna: ta sama wysokość, max-width dostosowane do kwadratowego/pionowego logotypu */
@media (max-width: 768px) {
  .header-logo-img {
    height: 40px;
    max-width: none;
  }
}



.brand-symbol {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background-color: var(--invofy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(10, 16, 29, 0.15);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--invofy-dark);
}

.brand-sub {
  font-size: 0.68rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted-foreground);
  padding: 8px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--invofy-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--background-muted);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--invofy-border);
}

.lang-btn {
  background: transparent;
  border: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted-foreground);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: #ffffff;
  color: var(--invofy-dark);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--invofy-border);
  border-radius: var(--radius-sm);
  color: var(--invofy-dark);
  padding: 8px;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section (Warm Peach/Pink Mesh Aura & Centered Impact)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 80px 0 60px;
  overflow: visible;
  background: 
    radial-gradient(circle at -2% 55%, rgba(236, 72, 153, 0.42) 0%, rgba(251, 113, 133, 0.22) 32%, transparent 62%),
    radial-gradient(circle at 102% 55%, rgba(251, 146, 60, 0.45) 0%, rgba(255, 190, 175, 0.25) 32%, transparent 62%),
    radial-gradient(circle at 50% 15%, rgba(255, 235, 230, 0.5) 0%, transparent 55%),
    #ffffff;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
  z-index: 5;
}

.hero-header-box {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #4b5563;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.8rem, 5.6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--invofy-dark);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--muted-foreground);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* Hero Showcase Cards Row (4 Vertical Phone Cards on Colored Backdrops) */
.hero-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1380px;
  width: 100%;
  margin: 0 auto -110px;
  position: relative;
  z-index: 10;
  align-items: stretch;
}

.hero-phone-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 3 / 4;
  transition: box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: #f4f4f6;
  --parallax-offset: 0px;
}

/* Staggered alternating heights matching user specification:
   Card 1 (UH-28) & Card 3 (UH-18) start HIGHER (-30px)
   Card 2 (UH-24) & Card 4 (UH-17) start LOWER (+30px) */
.hero-phone-card:nth-child(odd) {
  transform: translateY(calc(-30px + var(--parallax-offset, 0px)));
}

.hero-phone-card:nth-child(even) {
  transform: translateY(calc(30px + var(--parallax-offset, 0px)));
}

.hero-phone-card:nth-child(odd):hover {
  transform: translateY(calc(-40px + var(--parallax-offset, 0px)));
  box-shadow: 0 24px 48px -10px rgba(0, 0, 0, 0.22);
}

.hero-phone-card:nth-child(even):hover {
  transform: translateY(calc(20px + var(--parallax-offset, 0px)));
  box-shadow: 0 24px 48px -10px rgba(0, 0, 0, 0.22);
}

.hero-phone-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-phone-card:hover .hero-phone-card-img {
  transform: scale(1.04);
}

.hero-phone-card-footer {
  position: relative;
  z-index: 2;
  margin: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: background var(--transition-fast);
}

.hero-phone-card:hover .hero-phone-card-footer {
  background: #ffffff;
}

.hero-phone-model {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--invofy-dark);
}

.hero-phone-tag {
  font-size: 0.72rem;
  color: var(--muted-foreground);
  font-weight: 600;
}

/* ==========================================================================
   Trust Cloud / Badges Strip
   ========================================================================== */
.trust-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: #ffffff;
}

.trust-strip-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-card {
  background: var(--background-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition-fast);
}

.trust-card:hover {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border-color: var(--invofy-border);
}

.trust-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--invofy-dark);
  flex-shrink: 0;
}

.trust-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--invofy-dark);
  line-height: 1.35;
}

/* ==========================================================================
   Hardware Scrollytelling Section (Invofy Card Arena)
   ========================================================================== */
.scrolly-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.scrolly-arena-card {
  background: var(--background-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.scrolly-stage-box {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.02);
}

.scrolly-stage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.scrolly-controls-bar {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--invofy-border);
  border-radius: var(--radius-full);
  padding: 6px;
  display: flex;
  gap: 8px;
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  z-index: 10;
}

.scrolly-step-btn {
  background: transparent;
  border: none;
  color: var(--muted-foreground);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.scrolly-step-btn:hover {
  color: var(--invofy-dark);
}

.scrolly-step-btn.active {
  background-color: var(--invofy-dark);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(10, 16, 29, 0.2);
}

/* Feature Hotspot Cards */
.scrolly-features-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.scrolly-feature-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  transition: all var(--transition-normal);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.scrolly-feature-card:hover, .scrolly-feature-card.highlight {
  border-color: var(--invofy-dark);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.scrolly-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.scrolly-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--background-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--invofy-dark);
  flex-shrink: 0;
}

.scrolly-feature-card.highlight .scrolly-card-icon {
  background-color: var(--invofy-dark);
  color: #ffffff;
}

.scrolly-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--invofy-dark);
}

.scrolly-card-desc {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.55;
  padding-left: 44px;
}

/* ==========================================================================
   Product Models Showcase (Invofy Features Tabbed Area)
   ========================================================================== */
.phones-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.phone-tabs-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.phone-tab-btn {
  background: var(--background-alt);
  border: 1px solid var(--border-subtle);
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.phone-tab-btn:hover {
  color: var(--invofy-dark);
  border-color: var(--invofy-border);
}

.phone-tab-btn.active {
  background-color: var(--invofy-dark);
  color: #ffffff;
  border-color: var(--invofy-dark);
  box-shadow: 0 4px 14px rgba(10, 16, 29, 0.15);
}

.phone-showcase-item {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.phone-showcase-item.active {
  display: block;
}

.showcase-main-body {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  padding: 48px;
  align-items: center;
}

.showcase-gallery-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.showcase-main-image-wrap {
  background: var(--background-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.showcase-main-image-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.07));
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Color Swatches Bar */
.showcase-palette-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--background-alt);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  width: fit-content;
}

.palette-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.palette-swatches {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-swatch-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), outline 0.2s;
  outline: 2px solid transparent;
}

.color-swatch-btn:hover {
  transform: scale(1.15);
}

.color-swatch-btn.active {
  transform: scale(1.18);
  outline: 2px solid var(--invofy-dark);
  outline-offset: 2px;
}

.swatch-check {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  display: none;
  line-height: 1;
}

.color-swatch-btn[data-color="white"] .swatch-check {
  color: #222222;
}

.color-swatch-btn.active .swatch-check {
  display: block;
}

.showcase-thumb-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.view-btn {
  background: var(--background-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.view-btn:hover {
  border-color: var(--invofy-border);
  color: var(--invofy-dark);
}

.view-btn.active {
  background: var(--invofy-dark);
  color: #ffffff;
  border-color: var(--invofy-dark);
}

.showcase-info-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.showcase-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
}

.showcase-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--invofy-dark);
  line-height: 1.15;
}

.showcase-tagline {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--invofy-dark);
}

.showcase-desc {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.highlights-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
  list-style: none;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--invofy-dark);
  font-weight: 500;
}

.highlight-icon {
  width: 18px;
  height: 18px;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

.showcase-cta-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

/* Detailed Specifications Inside Showcase */
.spec-table-box {
  border-top: 1px solid var(--border-subtle);
  padding: 36px 48px;
  background: var(--background-alt);
}

.spec-table-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--invofy-dark);
  margin-bottom: 20px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 36px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
}

.spec-name {
  color: var(--muted-foreground);
  font-weight: 500;
}

.spec-val {
  color: var(--invofy-dark);
  font-weight: 600;
  text-align: right;
}

/* ==========================================================================
   Motion Sequences (V2 Flip & V3 Dock)
   ========================================================================== */
.sequences-section {
  padding: 0 0 100px;
  background-color: #ffffff;
}

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

.seq-card {
  background: var(--background-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.seq-viewer-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.seq-viewer-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.seq-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--invofy-dark);
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.seq-desc {
  font-size: 0.925rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.seq-steps-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.seq-step-btn {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.seq-step-btn:hover {
  color: var(--invofy-dark);
  border-color: var(--invofy-border);
}

.seq-step-btn.active {
  background-color: var(--invofy-dark);
  color: #ffffff;
  border-color: var(--invofy-dark);
}

/* ==========================================================================
   Category 1: Bento Grid (Lifestyle & Real-World Applications)
   ========================================================================== */
.lifestyle-section {
  padding: 170px 0 100px;
  background-color: var(--background-alt);
  position: relative;
  z-index: 2;
}

.bento-lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  grid-auto-rows: 360px;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

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

.bento-col-7 { grid-column: span 7; }
.bento-col-5 { grid-column: span 5; }
.bento-col-6 { grid-column: span 6; }

.bento-card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.bento-card:hover .bento-card-bg-img {
  transform: scale(1.04);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 29, 0.05) 20%, rgba(10, 16, 29, 0.85) 100%);
}

.bento-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.bento-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.bento-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.bento-desc {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  max-width: 520px;
}

/* ==========================================================================
   Category 2: Macro Engineering Details
   ========================================================================== */
.macro-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.macro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.macro-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.macro-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--invofy-border);
}

.macro-img-box {
  height: 280px;
  overflow: hidden;
  background: var(--background-alt);
}

.macro-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.macro-card:hover .macro-img-box img {
  transform: scale(1.05);
}

.macro-info-box {
  padding: 28px;
}

.macro-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--invofy-dark);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.macro-card-text {
  font-size: 0.925rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ==========================================================================
   Turnkey OEM Workflow ("How It Works" Style)
   ========================================================================== */
.workflow-section {
  padding: 100px 0;
  background-color: var(--background-alt);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.workflow-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.workflow-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--invofy-border);
}

.workflow-num-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--invofy-dark);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(10, 16, 29, 0.2);
}

.workflow-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--invofy-dark);
}

.workflow-card-desc {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Category 3: Retail Packaging Banner */
.oem-packaging-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: 32px;
}

.oem-packaging-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.oem-packaging-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.oem-packaging-info {
  padding: 56px;
}

.oem-packaging-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--invofy-dark);
  margin: 14px 0 18px;
  line-height: 1.18;
}

.oem-packaging-desc {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  margin-bottom: 28px;
}

/* ==========================================================================
   Specifications Comparison Table (PricingComparison Style)
   ========================================================================== */
.comparison-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.comp-table-card {
  background: var(--background-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  padding: 40px;
}

.comp-table-responsive {
  overflow-x: auto;
}

.comp-styled-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comp-styled-table th {
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--invofy-dark);
  border-bottom: 2px solid var(--invofy-border);
}

.comp-styled-table th:first-child {
  width: 25%;
}

.comp-styled-table td {
  padding: 18px 24px;
  font-size: 0.925rem;
  color: var(--invofy-dark);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.comp-styled-table td:first-child {
  font-weight: 600;
  color: var(--muted-foreground);
}

.comp-styled-table tr:hover td {
  background-color: #ffffff;
}

/* ==========================================================================
   FAQ Section (Invofy Accordion Style)
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background-color: var(--background-alt);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--invofy-border);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--invofy-dark);
  letter-spacing: -0.01em;
  padding-right: 18px;
}

.faq-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--invofy-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item.open .faq-icon-circle {
  transform: rotate(45deg);
}

.faq-content {
  display: none;
  padding: 0 28px 24px;
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.faq-item.open .faq-content {
  display: block;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.about-narrative {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.about-lead {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--invofy-dark);
}

.about-body-text {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  background: var(--background-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
}

.value-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--invofy-dark);
  margin-bottom: 12px;
}

.value-card-text {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

/* ==========================================================================
   Contact & RFQ Form Section
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background: 
    radial-gradient(ellipse 65% 55% at 50% 10%, rgba(255, 213, 204, 0.45) 0%, transparent 60%),
    #ffffff;
}

.contact-wrapper {
  max-width: 880px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: 56px;
  box-shadow: var(--shadow-card);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--invofy-dark);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--invofy-border);
  background: var(--background-alt);
  color: var(--invofy-dark);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  background: #ffffff;
  border-color: var(--invofy-dark);
  box-shadow: 0 0 0 3px rgba(10, 16, 29, 0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit-row {
  margin-top: 10px;
  text-align: center;
}

.form-success-box {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--invofy-dark);
  margin-bottom: 10px;
}

.form-success-text {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin-bottom: 24px;
}

/* Direct Contacts Strip Below Form */
.contact-direct-strip {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.direct-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--background-alt);
  border: 1px solid var(--border-subtle);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.direct-contact-item:hover {
  border-color: var(--invofy-border);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.direct-contact-item svg {
  color: var(--invofy-dark);
  flex-shrink: 0;
}

.direct-contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.direct-contact-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--invofy-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.direct-contact-link:hover {
  color: #2563eb;
}

@media (max-width: 640px) {
  .contact-direct-strip {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--background-alt);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 60px;
}

.footer-desc {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 360px;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--invofy-dark);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.footer-link:hover {
  color: var(--invofy-dark);
}

.footer-address-text {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Mobile Bottom Quick Action Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 20px;
  z-index: 99;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
}

.mobile-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--muted-foreground);
  font-size: 0.725rem;
  font-weight: 600;
}

.mobile-bar-btn:hover {
  color: var(--invofy-dark);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-cards-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: -70px;
  }
  .bento-col-7, .bento-col-5, .bento-col-6 { grid-column: span 12; }
  .bento-lifestyle-grid { grid-auto-rows: 280px; }
  .oem-packaging-grid { grid-template-columns: 1fr; }
  .showcase-main-body { grid-template-columns: 1fr; padding: 32px; }
  .spec-table-box { padding: 32px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .sequences-grid { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .hero-cards-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: -50px;
  }
  .hero-phone-card:nth-child(odd) {
    transform: translateY(0);
  }
  .hero-phone-card:nth-child(even) {
    transform: translateY(16px);
  }
  .lifestyle-section {
    padding-top: 110px;
  }
}

@media (max-width: 768px) {
  body { padding-bottom: 68px; }
  .mobile-bottom-bar { display: flex; }

  .hero-cards-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: -40px;
  }
  .hero-phone-card:nth-child(odd),
  .hero-phone-card:nth-child(even) {
    transform: translateY(0);
  }
  .hero-phone-card-footer {
    margin: 8px;
    padding: 6px 10px;
  }
  .hero-phone-model {
    font-size: 0.75rem;
  }
  .hero-phone-tag {
    font-size: 0.65rem;
  }
  .lifestyle-section {
    padding-top: 90px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.open { display: flex; }
  .mobile-toggle { display: block; }
  .header-actions .btn-primary { display: none; }

  .hero-title { font-size: 2.4rem; }
  .form-grid-2col { grid-template-columns: 1fr; }
  .highlights-list { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .about-narrative { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .macro-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr; }

  .contact-wrapper { padding: 32px 20px; }
}

@media (max-width: 480px) {
  .hero-cards-row {
    grid-template-columns: 1fr;
    margin-bottom: 0;
  }
  .lifestyle-section {
    padding-top: 60px;
  }
}
