/* 
 * Vesson Tech Media - Apple Inspired Dark Mode & 3D Parallax Stylesheet
 * Custom styles for index-staging.php
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=SF+Pro+Display:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-color: #000000;
  --panel-bg: #1d1d1f;
  --panel-bg-trans: rgba(29, 29, 31, 0.8);
  --border-color: #333336;
  --text-primary: #f5f5f7;
  --text-secondary: #86868b;
  --accent-blue: #0071e3;
  --accent-blue-hover: #0077ed;
  --accent-purple: #8e2de2;
  --accent-pink: #ff007f;
  --accent-cyan: #05f0ff;
  --font-family: 'SF Pro Display', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --navbar-height: 48px;
  --subbar-height: 52px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-family);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-blue-hover);
  text-decoration: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #444;
}

/* Premium Apple Navigation */
.apple-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background: rgba(22, 22, 23, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.apple-nav-container {
  width: 100%;
  max-width: 1024px;
  padding: 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.apple-nav-logo img {
  height: 22px;
  display: block;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.apple-nav-logo img:hover {
  opacity: 1;
}

.apple-nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.apple-nav-links a {
  color: #ccc;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  opacity: 0.8;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.apple-nav-links a:hover {
  opacity: 1;
  color: #fff;
}

.apple-nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
}

/* Apple Sub-nav (MacBook Pro Style) */
.apple-subnav {
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  width: 100%;
  height: var(--subbar-height);
  background: rgba(29, 29, 31, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 998;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.apple-subnav-container {
  width: 100%;
  max-width: 1024px;
  padding: 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.apple-subnav-title {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.011em;
  color: var(--text-primary);
}

.apple-subnav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.apple-subnav-links {
  display: flex;
  list-style: none;
  gap: 18px;
}

.apple-subnav-links a {
  color: var(--text-secondary);
  font-size: 12px;
  opacity: 0.9;
  transition: color 0.3s ease;
}

.apple-subnav-links a:hover,
.apple-subnav-links .active {
  color: var(--text-primary);
}

.apple-subnav-links a.subnav-vshare-btn {
  background: linear-gradient(135deg, #0071e3 0%, #ff2d55 100%);
  color: #fff !important;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 980px;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  box-shadow: 0 2px 8px rgba(255, 45, 85, 0.25), 
              0 0 12px rgba(0, 113, 227, 0.1);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  display: inline-block;
}

.apple-subnav-links a.subnav-vshare-btn:hover {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 45, 85, 0.4), 
              0 0 16px rgba(0, 113, 227, 0.2);
  filter: brightness(1.1);
}

.apple-btn-primary {
  background-color: var(--accent-blue);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 980px;
  font-weight: 400;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.apple-btn-primary:hover {
  background-color: var(--accent-blue-hover);
  color: #fff;
  transform: scale(1.02);
}

.apple-btn-outline {
  border: 1px solid var(--accent-blue);
  background: transparent;
  color: var(--accent-blue);
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 980px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.apple-btn-outline:hover {
  background: var(--accent-blue);
  color: #fff;
}

/* Spacer for Fixed Navigation */
.nav-spacer {
  height: calc(var(--navbar-height) + var(--subbar-height));
  background-color: #000;
}

/* 3D Scroll Video Hero Section */
.hero-scroll-container {
  position: relative;
  height: 350vh;
  /* Controlled scroll length for animation */
  background-color: #000;
}

.hero-sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Intro Cover Banner Styling */
.hero-cover-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
}

.hero-cover-banner.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-cover-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 2s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-cover-banner.fade-out .hero-cover-banner-bg {
  transform: scale(1.1);
}

.hero-cover-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.hero-cover-content {
  position: relative;
  z-index: 12;
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
  animation: coverFadeInUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-cover-tag {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
  text-shadow: 0 0 10px rgba(5, 240, 255, 0.4);
}

.hero-cover-title {
  font-size: 80px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 40%, #86868b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.hero-cover-lead {
  font-size: 24px;
  font-weight: 400;
  color: #e3e3e8;
  margin-bottom: 45px;
  letter-spacing: -0.01em;
}

.hero-cover-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-cover-scroll-indicator .scroll-text {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-secondary);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse .scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--text-primary);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollMouseAnim 1.8s infinite;
}

@keyframes scrollMouseAnim {
  0% {
    top: 6px;
    opacity: 1;
  }

  50% {
    top: 16px;
    opacity: 0;
  }

  100% {
    top: 6px;
    opacity: 1;
  }
}

@keyframes coverFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  image-rendering: -webkit-optimize-contrast;
  /* Sharp scaling on Safari */
  image-rendering: crisp-edges;
  filter: contrast(1.04) brightness(0.98);
  /* Enhances details and depth in dark mode */
}

/* Dark overlay for contrast on video */
.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-content-overlay {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  max-width: 1024px;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.hero-text-frame {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  max-width: 800px;
  padding: 50px 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-text-frame.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-title-main {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 30%, #a1a1a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  line-height: 1.15;
  text-align: center;
}

.hero-subtitle-gradient {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  text-align: center;
}

.hero-description {
  font-size: 18px;
  font-weight: 400;
  color: #f5f5f7;
  max-width: 680px;
  line-height: 1.5;
  margin-bottom: 0;
  text-align: center;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-secondary);
  font-size: 12px;
  opacity: 0.8;
  animation: pulse 2s infinite;
}

.scroll-indicator i {
  margin-top: 8px;
  font-size: 16px;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, 0);
    opacity: 0.5;
  }

  50% {
    transform: translate(-50%, 8px);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, 0);
    opacity: 0.5;
  }
}

/* Content Sections (Apple Typography) */
.section-wrapper {
  padding: 120px 0;
  background-color: #000;
  position: relative;
  overflow: hidden;
}

.section-wrapper-bg {
  background-color: var(--panel-bg);
}

.container-apple {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 40px;
}

.apple-section-header {
  margin-bottom: 64px;
  text-align: center;
}

.apple-section-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(5, 240, 255, 0.05);
  border: 1px solid rgba(5, 240, 255, 0.12);
  padding: 6px 16px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.apple-section-title {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: linear-gradient(180deg, #ffffff 40%, #a1a1a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.apple-section-title span.gradient {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.apple-section-lead {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

/* Apple-style Bento Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.bento-card {
  background: linear-gradient(135deg, rgba(22, 22, 23, 0.7) 0%, rgba(12, 12, 13, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Bento Grid Individual Card Themes & Variables */
.bento-grid>.bento-card:nth-child(1) {
  --card-accent: #0071e3;
  --card-accent-rgb: 0, 113, 227;
  --card-glow: rgba(0, 113, 227, 0.12);
}

.bento-grid>.bento-card:nth-child(2) {
  --card-accent: #ff007f;
  --card-accent-rgb: 255, 0, 127;
  --card-glow: rgba(255, 0, 127, 0.12);
}

.bento-grid>.bento-card:nth-child(3) {
  --card-accent: #00ff66;
  --card-accent-rgb: 0, 255, 102;
  --card-glow: rgba(0, 255, 102, 0.12);
}

.bento-grid>.bento-card:nth-child(4) {
  --card-accent: #8e2de2;
  --card-accent-rgb: 142, 45, 226;
  --card-glow: rgba(142, 45, 226, 0.12);
}

.bento-grid>.bento-card:nth-child(5) {
  --card-accent: #ff9f0a;
  --card-accent-rgb: 255, 159, 10;
  --card-glow: rgba(255, 159, 10, 0.12);
}

.bento-grid>.bento-card:nth-child(6) {
  --card-accent: #05f0ff;
  --card-accent-rgb: 5, 240, 255;
  --card-glow: rgba(5, 240, 255, 0.12);
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--card-accent-rgb), 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 30px var(--card-glow),
    inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.bento-card-large {
  grid-column: span 4;
  --title-size: 28px;
  --desc-size: 15.5px;
}

.bento-card-medium {
  grid-column: span 3;
  --title-size: 23px;
  --desc-size: 14.5px;
}

.bento-card-small {
  grid-column: span 2;
  --title-size: 19px;
  --desc-size: 13.5px;
}

.bento-card-full {
  grid-column: span 6;
  --title-size: 32px;
  --desc-size: 16px;
}

/* Bento Card Internal Content */
.bento-card-header {
  z-index: 2;
  position: relative;
}

.bento-card-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--card-accent);
  background: rgba(var(--card-accent-rgb), 0.08);
  border: 1px solid rgba(var(--card-accent-rgb), 0.15);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.bento-card:hover .bento-card-tag {
  background: rgba(var(--card-accent-rgb), 0.15);
  border-color: rgba(var(--card-accent-rgb), 0.3);
}

.bento-card-title {
  font-size: var(--title-size, 22px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.bento-card:hover .bento-card-title {
  color: #fff;
}

.bento-card-desc {
  font-size: var(--desc-size, 14px);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 95%;
  margin-bottom: 24px;
  transition: color 0.3s ease;
}

.bento-card:hover .bento-card-desc {
  color: rgba(255, 255, 255, 0.85);
}

/* Customized Interactive Bento Widgets styling */

/* Card 1: Performance bars */
.bento-visual-bar-group {
  margin-top: auto;
  z-index: 2;
  position: relative;
}

.bento-bar-item {
  margin-bottom: 14px;
}

.bento-bar-item:last-child {
  margin-bottom: 0;
}

.bento-bar-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

.bento-bar-label span:last-child {
  font-weight: 600;
  color: var(--card-accent);
}

.bento-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.bento-bar-fill {
  height: 100%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(var(--card-accent-rgb), 0.4);
}

.bento-bar-fill.speed-fill {
  width: 98%;
  background: linear-gradient(90deg, #ff007f, var(--card-accent));
  animation: loadFill 2s ease-out forwards;
}

.bento-bar-fill.seo-fill {
  width: 100%;
  background: linear-gradient(90deg, var(--card-accent), #00ff66);
  animation: loadFill 2s ease-out forwards;
}

@keyframes loadFill {
  from {
    width: 0%;
  }
}

/* Card 2: Center Chip Ripple */
.bento-center-card {
  align-items: center;
  justify-content: center;
  padding: 40px 24px 30px;
  text-align: center;
}

.bento-ripple-container {
  position: absolute;
  width: 250px;
  height: 250px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.bento-ripple {
  position: absolute;
  border: 1px solid rgba(var(--card-accent-rgb), 0.12);
  border-radius: 50%;
  width: 100%;
  height: 100%;
  animation: rippleAnimation 4s linear infinite;
  transform: scale(0);
}

.bento-ripple.ripple-2 {
  animation-delay: 1.3s;
}

.bento-ripple.ripple-3 {
  animation-delay: 2.6s;
}

@keyframes rippleAnimation {
  0% {
    transform: scale(0.2);
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.bento-card-footer-info {
  z-index: 2;
  margin-top: auto;
}

.bento-footer-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.bento-footer-desc {
  font-size: 11.5px;
  color: var(--text-secondary);
}

/* Card 3: Sync Visual */
.bento-sync-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  padding: 16px 20px;
  margin-top: auto;
  z-index: 2;
  position: relative;
}

.sync-node {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 22, 23, 0.85);
  border: 1px solid rgba(var(--card-accent-rgb), 0.2);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: border-color 0.3s ease;
}

.bento-card:hover .sync-node {
  border-color: rgba(var(--card-accent-rgb), 0.5);
}

.sync-node i {
  color: var(--card-accent);
  font-size: 13px;
}

.sync-node span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.sync-arrows {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.sync-arrows .sync-icon {
  color: var(--card-accent);
  font-size: 14px;
  animation: spinIcon 12s linear infinite;
  opacity: 0.8;
}

@keyframes spinIcon {
  to {
    transform: rotate(360deg);
  }
}

/* Card 4: Dashboard visual */
.bento-dashboard-visual {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  padding: 18px 20px;
  margin-top: auto;
  z-index: 2;
  position: relative;
  height: 100px;
}

.dash-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100%;
  flex-grow: 1;
}

.dash-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--card-accent) 0%, rgba(var(--card-accent-rgb), 0.1) 100%);
  border-radius: 4px 4px 0 0;
  min-height: 12%;
  animation: growBar 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.dash-bar:hover {
  transform: scaleY(1.08);
}

@keyframes growBar {
  to {
    transform: scaleY(1);
  }
}

.dash-data-badge {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 15px;
}

.dash-badge-title {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.dash-badge-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--card-accent);
  text-shadow: 0 0 10px rgba(var(--card-accent-rgb), 0.4);
}

/* Card 5: Mobile app styling & Phone Mockup */
.bento-mobile-app-card {
  padding-bottom: 0;
  overflow: hidden;
}

.bento-mockup-phone {
  width: 150px;
  height: 160px;
  background: #09090b;
  border: 4px solid #2d2d30;
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  margin: 0 auto;
  padding: 10px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-mobile-app-card:hover .bento-mockup-phone {
  transform: translateY(-10px) scale(1.05);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-notch {
  width: 55px;
  height: 10px;
  background: #2d2d30;
  border-radius: 0 0 6px 6px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.phone-app-mock {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}

.app-avatar {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--card-accent), #ff3b30);
  border-radius: 50%;
  margin-bottom: 4px;
  box-shadow: 0 0 10px rgba(var(--card-accent-rgb), 0.4);
}

.app-line {
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}

.app-line.short {
  width: 50%;
}

.app-line.long {
  width: 85%;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.app-grid-item {
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Card 6: AI search widget */
.bento-ai-search-visual {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 18px 20px;
  margin-top: auto;
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-search-query {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(22, 22, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
  color: var(--text-primary);
}

.ai-search-query i {
  color: var(--card-accent);
  font-size: 13px;
}

.ai-search-answer {
  background: rgba(var(--card-accent-rgb), 0.03);
  border: 1px solid rgba(var(--card-accent-rgb), 0.15);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
  animation: pulseAiBorder 4s ease-in-out infinite alternate;
}

.ai-answer-header {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--card-accent);
  font-size: 11px;
  font-weight: 600;
}

.ai-answer-header i {
  animation: pulseGlow 1.5s ease-in-out infinite alternate;
}

.ai-search-answer p strong {
  color: var(--text-primary);
}

@keyframes pulseAiBorder {
  0% {
    border-color: rgba(var(--card-accent-rgb), 0.15);
    box-shadow: 0 0 10px rgba(var(--card-accent-rgb), 0.02);
  }

  100% {
    border-color: rgba(var(--card-accent-rgb), 0.35);
    box-shadow: 0 0 20px rgba(var(--card-accent-rgb), 0.08);
  }
}

.bento-card-graphics {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 55%;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.bento-card-graphics-full {
  position: relative;
  width: 100%;
  height: 250px;
  margin-top: 30px;
  z-index: 1;
}

/* Specs Bento details */
.bento-stats {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.bento-stat-item {
  display: flex;
  flex-direction: column;
}

.bento-stat-num {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #fff, #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 5px;
}

.bento-stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* 3D Scroll Canvas Background */
.specs-3d-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
}

#specs-section .container-apple {
  position: relative;
  z-index: 2;
}

/* 3D Scroll Canvas for Compare Section */
.compare-3d-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.28;
}

#compare-section .container-apple {
  position: relative;
  z-index: 2;
  max-width: 1200px; /* Wider container for comparison layout space */
}

/* 3D Interactive Specs Section */
.specs-tab-container {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
}

.specs-tab-nav {
  display: inline-flex;
  justify-content: center;
  align-self: center;
  list-style: none;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 30px;
  padding: 5px;
  margin: 0 auto 40px auto;
  max-width: 100%;
}

.specs-tab-nav-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  white-space: nowrap;
}

.specs-tab-nav-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.specs-tab-nav-btn.active {
  color: #000;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.specs-tab-content-item {
  display: none;
  animation: fadeIn 0.5s ease-in-out forwards;
}

.specs-tab-content-item.active {
  display: block;
}

.specs-interactive-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: flex-start;
}

.specs-interactive-visual-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 20px 15px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.about-stat-item {
  text-align: center;
}

.about-stat-number {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #05f0ff 0%, #0071e3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  text-shadow: 0 0 20px rgba(5, 240, 255, 0.15);
}

.about-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: #86868b;
  line-height: 1.3;
}

.specs-interactive-visual {
  position: relative;
  aspect-ratio: 4/3;
  background: radial-gradient(circle at center, #1c1c1e 0%, #050506 100%);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.specs-interactive-visual:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 255, 255, 0.02);
}

.specs-interactive-visual svg {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.specs-interactive-visual:hover svg {
  transform: scale(1.06);
}

.specs-interactive-info h3 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 40%, #a1a1a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.specs-interactive-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.about-info-description {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 30px;
}

/* High-tech Interactive Visual Components */
.visual-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: center;
  pointer-events: none;
}

.connection-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.connection-line {
  stroke: rgba(5, 240, 255, 0.2);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 6 6;
  animation: dash 25s linear infinite;
}

.connection-line.line-1,
.connection-line.line-3 {
  animation-direction: reverse;
}

@keyframes dash {
  to {
    stroke-dashoffset: -1000;
  }
}

.floating-node {
  position: absolute;
  z-index: 2;
  background: rgba(22, 22, 23, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 14px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  animation: floatNode 4s ease-in-out infinite alternate;
}

.floating-node i {
  color: var(--accent-cyan);
  font-size: 13px;
  text-shadow: 0 0 6px rgba(5, 240, 255, 0.5);
}

.floating-node .node-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.node-tl {
  top: 16%;
  left: 10%;
  animation-delay: 0s;
}

.node-tr {
  top: 16%;
  right: 10%;
  animation-delay: 0.5s;
}

.node-bl {
  bottom: 16%;
  left: 10%;
  animation-delay: 1.0s;
}

.node-br {
  bottom: 16%;
  right: 10%;
  animation-delay: 1.5s;
}

.floating-node:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: rgba(5, 240, 255, 0.4);
  box-shadow: 0 12px 24px rgba(5, 240, 255, 0.15);
}

@keyframes floatNode {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-6px);
  }
}

.chip-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(5, 240, 255, 0.25) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
  animation: pulseGlow 3s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.85);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.15);
    opacity: 1;
  }
}

/* Glassmorphic Stats Grid/Container */
.about-stats-container {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  width: 100%;
}

.about-stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 20px 16px;
  flex: 1;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.about-stat-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.about-stat-card .bento-stat-num {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 6px;
  line-height: 1.1;
}

.about-stat-card .bento-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  line-height: 1.3;
}

/* Horizontal Scroll Parallax Portfolio */
.horizontal-scroll-section {
  position: relative;
  height: 300vh;
  background-color: #050506;
}

.horizontal-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Immersive Portfolio Background Gate */
.portfolio-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.portfolio-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1.08);
  -webkit-filter: blur(40px) brightness(0.22); /* High-end dark glassmorphic blur backdrop for WebKit */
  filter: blur(40px) brightness(0.22);
  /* High-end dark glassmorphic blur backdrop */
  z-index: 1;
}

.portfolio-bg-layer.active {
  opacity: 0.35;
  transform: scale(1.02);
}

.portfolio-bg-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portfolio-bg-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(5, 5, 6, 0.8) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.8) 0%, transparent 20%, transparent 80%, rgba(5, 5, 6, 0.9) 100%);
  z-index: 3;
}

/* Floating brand-colored gradient glow designs */
.portfolio-bg-glow-1 {
  position: absolute;
  top: 5%;
  left: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(5, 240, 255, 0.08) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
  -webkit-filter: blur(80px);
  filter: blur(80px);
  animation: floatGlow1 22s infinite alternate ease-in-out;
}

.portfolio-bg-glow-2 {
  position: absolute;
  bottom: 5%;
  right: 10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(142, 45, 226, 0.08) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
  -webkit-filter: blur(95px);
  filter: blur(95px);
  animation: floatGlow2 28s infinite alternate ease-in-out;
}

@keyframes floatGlow1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(90px, 40px) scale(1.1); }
}

@keyframes floatGlow2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-110px, -50px) scale(1.15); }
}

/* Blueprint / High-tech digital grid overlay design */
.portfolio-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 32px 32px, 96px 96px, 96px 96px;
  background-position: center;
  z-index: 4;
  pointer-events: none;
  opacity: 0.85;
}

.horizontal-scroll-header {
  padding-left: 8vw;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.horizontal-scroll-track-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.horizontal-scroll-track {
  display: flex;
  gap: 40px;
  /* Increased card gap for breathing room */
  padding: 0 8vw;
  width: max-content;
  will-change: transform;
}

.portfolio-card-premium {
  width: 380px;
  height: 480px;
  background: rgba(22, 22, 23, 0.65);
  /* Translucent glassmorphism */
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.45;
  /* Dimmed state */
  filter: grayscale(0.2) blur(0.5px);
  transform: scale(0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.portfolio-card-premium.focused {
  opacity: 1;
  filter: none;
  transform: scale(1.04);
  border-color: rgba(0, 113, 227, 0.4);
  background: rgba(26, 26, 28, 0.85);
  box-shadow: 0 25px 50px rgba(0, 113, 227, 0.25),
    0 0 30px rgba(5, 240, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.portfolio-card-preview {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card-premium.focused .portfolio-card-preview img {
  transform: scale(1.04);
}

.portfolio-card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.portfolio-card-premium.focused .portfolio-card-title {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.portfolio-card-category {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.portfolio-card-premium.focused .portfolio-card-category {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(5, 240, 255, 0.3);
}

/* Compare Systems Section Redesign */
.compare-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.compare-card {
  background: rgba(22, 22, 24, 0.45);
  border-radius: 24px;
  padding: 45px 30px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.compare-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(26, 26, 28, 0.65);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 255, 255, 0.03);
}

/* Most Popular Highlight Card */
.compare-card.popular-highlight {
  border-color: rgba(0, 113, 227, 0.45);
  background: rgba(26, 26, 30, 0.65);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 113, 227, 0.12);
}

.compare-card.popular-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0071e3, #05f0ff);
  z-index: 5;
}

.compare-card.popular-highlight:hover {
  border-color: rgba(0, 113, 227, 0.7);
  background: rgba(30, 30, 35, 0.75);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 113, 227, 0.22);
}

.compare-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.010em;
  background: linear-gradient(135deg, #ffffff 60%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.compare-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 25px;
  min-height: 48px; /* Force consistent heights for perfect card symmetry */
  line-height: 1.6;
  padding: 0 10px;
}

.compare-card-price {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(90deg, #05f0ff 0%, #8e2de2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.compare-badge {
  background: linear-gradient(135deg, #0071e3 0%, #05f0ff 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 980px;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(5, 240, 255, 0.3);
}

.compare-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08) 20%, rgba(255, 255, 255, 0.08) 80%, transparent);
  margin: 25px 0;
}

.compare-feature-list {
  list-style: none;
  width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.compare-feature-item:last-child {
  border-bottom: none;
}

.compare-feature-item:hover {
  transform: scale(1.02);
}

.compare-feature-value {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.5;
}

.compare-feature-label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compare-card .apple-btn-outline,
.compare-card .apple-btn-primary {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 13px 20px;
  font-size: 12px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.3s ease;
}


/* Premium Footer (Apple Style) */
.apple-footer {
  background: #161617;
  color: var(--text-secondary);
  font-size: 12px;
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
}

.apple-footer-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 40px;
}

.apple-footer-directory {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.apple-footer-col h3 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.apple-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.apple-footer-col a {
  color: var(--text-secondary);
}

.apple-footer-col a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.apple-footer-legal {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.apple-footer-legal-links {
  display: flex;
  gap: 15px;
  list-style: none;
}

.apple-footer-legal-links a {
  color: var(--text-secondary);
}

.apple-footer-legal-links a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

/* Floating Elements */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 99;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  color: #fff;
}

/* Custom interactive animation classes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Custom SVG / Graphic Assets (Engineered with CSS) */
.chip-graphic {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #1f1f21 0%, #0d0d0e 100%);
  border: 2px solid transparent;
  background-image: linear-gradient(#111, #111), linear-gradient(135deg, #05f0ff 0%, #8e2de2 100%);
  background-origin: border-box;
  background-clip: content-box, border-box;
  border-radius: 26px;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05),
    0 15px 35px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(5, 240, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chip-graphic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(5, 240, 255, 0.35) 0%, transparent 65%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 40%);
  z-index: 1;
}

.chip-text {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: 0.5px;
  color: #fff;
  z-index: 2;
  background: linear-gradient(135deg, #05f0ff 0%, #8e2de2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 12px rgba(5, 240, 255, 0.4);
}

.chip-pins {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 1.5px dashed rgba(212, 175, 55, 0.35);
  /* Gold micro connector pins */
  border-radius: 22px;
  z-index: 1;
  pointer-events: none;
}

.chip-pins::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  background: repeating-linear-gradient(0deg, transparent, transparent 4px, rgba(5, 240, 255, 0.02) 4px, rgba(5, 240, 255, 0.02) 8px),
    repeating-linear-gradient(90deg, transparent, transparent 4px, rgba(5, 240, 255, 0.02) 4px, rgba(5, 240, 255, 0.02) 8px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .bento-card-large {
    grid-column: span 4;
  }

  .bento-card-medium {
    grid-column: span 2;
  }

  .bento-card-small {
    grid-column: span 2;
  }

  .compare-container {
    grid-template-columns: 1fr 1fr;
  }

  .compare-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --subbar-height: 48px;
  }

  .apple-nav-links {
    display: none;
    /* Hide on mobile and use mobile nav */
  }

  .apple-nav-mobile-toggle {
    display: block;
  }

  .apple-subnav-links {
    display: none;
  }

  .hero-text-frame {
    width: 95%;
    padding: 28px 20px;
    border-radius: 20px;
  }

  .hero-title-main {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .hero-subtitle-gradient {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-cover-title {
    font-size: 40px !important;
    margin-bottom: 12px;
  }

  .hero-cover-lead {
    font-size: 16px !important;
    margin-bottom: 30px;
  }

  .apple-section-tag {
    font-size: 11px;
    padding: 4px 12px;
    margin-bottom: 12px;
  }

  .apple-section-title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 14px;
  }

  .apple-section-lead {
    font-size: 15px;
    line-height: 1.5;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bento-card {
    grid-column: span 1 !important;
    min-height: auto;
    padding: 28px 24px;
    --title-size: 20px !important;
    --desc-size: 13.5px !important;
  }

  .bento-mockup-phone {
    width: 120px;
    height: 130px;
    margin-top: 15px;
  }

  .bento-sync-visual,
  .bento-dashboard-visual,
  .bento-ai-search-visual {
    margin-top: auto;
    padding: 14px;
  }

  .sync-node {
    padding: 8px 12px;
  }

  .sync-node span {
    font-size: 11px;
  }

  .dash-badge-value {
    font-size: 17px;
  }

  .specs-tab-nav {
    display: flex;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    padding: 4px;
    border-radius: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 24px;
  }

  .specs-tab-nav::-webkit-scrollbar {
    display: none;
  }

  .specs-tab-nav-btn {
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 12px;
  }

  .specs-interactive-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-stats-row {
    padding: 15px 10px;
    gap: 8px;
  }

  .about-stat-number {
    font-size: 20px;
  }

  .about-stat-label {
    font-size: 9.5px;
  }

  .specs-interactive-info h3 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .spec-matrix-table td {
    padding: 10px 6px;
    font-size: 13px;
  }

  /* About section mobile visual responsiveness */
  .chip-graphic {
    width: 100px;
    height: 100px;
    border-radius: 18px;
  }

  .chip-text {
    font-size: 18px;
  }

  .floating-node {
    padding: 6px 12px;
  }

  .floating-node .node-label {
    font-size: 9px;
  }

  .node-tl {
    top: 12%;
    left: 4%;
  }

  .node-tr {
    top: 12%;
    right: 4%;
  }

  .node-bl {
    bottom: 12%;
    left: 4%;
  }

  .node-br {
    bottom: 12%;
    right: 4%;
  }

  .about-stats-container {
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
  }

  .about-stat-card {
    padding: 16px;
  }

  .about-stat-card .bento-stat-num {
    font-size: 30px;
    margin-bottom: 4px;
  }

  .compare-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .compare-card {
    grid-column: span 1 !important;
    padding: 35px 25px;
  }

  .compare-card-desc {
    min-height: auto;
    margin-bottom: 20px;
  }

  .apple-footer-directory {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .apple-footer-legal {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .portfolio-card-premium {
    width: 290px;
    height: 400px;
    padding: 20px;
  }

  .portfolio-card-preview {
    height: 160px;
  }

  .lang-selector-container {
    margin-left: auto;
    margin-right: 15px;
  }
}

/* Mobile Menu Slidedown */
.apple-mobile-menu {
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  width: 100%;
  height: 0;
  background: #000;
  z-index: 1000;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.apple-mobile-menu.open {
  height: calc(100vh - var(--navbar-height));
}

.apple-mobile-menu-links {
  list-style: none;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.apple-mobile-menu-links a {
  color: #f5f5f7;
  font-size: 24px;
  font-weight: 500;
  display: block;
}

/* Spec Matrix details */
.spec-matrix-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

.spec-matrix-table tr {
  transition: background-color 0.3s ease;
}

.spec-matrix-table tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.spec-matrix-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  transition: color 0.3s ease;
}

.spec-matrix-table td.label {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  width: 35%;
}

.spec-matrix-table td.value {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

/* Language Selector styling */
.lang-selector-container {
  position: relative;
  display: inline-block;
  margin-left: 20px;
}

.lang-selector-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f5f5f7;
  padding: 6px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.lang-selector-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(22, 22, 23, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px;
  min-width: 130px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1100;
  backdrop-filter: blur(20px);
  animation: dropdownFadeIn 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-dropdown.show {
  display: block;
}

.lang-dropdown a {
  display: block;
  color: #a1a1a6;
  padding: 8px 12px;
  font-size: 13px;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.lang-dropdown a:hover {
  color: #f5f5f7;
  background: rgba(255, 255, 255, 0.08);
}

/* About Section Grid Layout & Typography */
.about-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .about-services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.about-service-card {
  display: flex;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.about-service-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 113, 227, 0.15);
}

.about-service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.2) 0%, rgba(142, 45, 226, 0.2) 100%);
  border: 1px solid rgba(0, 113, 227, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.about-service-icon i {
  font-size: 18px;
  background: linear-gradient(135deg, #0071e3 0%, #8e2de2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-service-content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f5f5f7;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.about-service-content p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #86868b;
  margin: 0;
}