:root {
  /* Colors - Neumorphic Base */
  --bg-color: #EFEFF4;
  /* Neumorphic Base Color (Light Blue-Grey) */
  --text-primary: #1E293B;
  /* Slate-800 */
  --text-secondary: #64748B;
  /* Slate-500 */
  --accent-purple: #6366F1;
  /* Indigo-500 */
  --accent-purple-hover: #4F46E5;
  --white: #EFEFF4;
  /* "White" in neumorphism is often the base color */
  --shadow-light: #FFFFFF;
  --shadow-dark: #D1D5DB;
  /* Grey-300 */
  --border-color: rgba(255, 255, 255, 0.5);
  /* Highlight border */

  /* Typography Scale - Enhanced Fluid Type */
  --font-main: 'DM Sans', sans-serif;
  --fs-hero: clamp(2.5rem, 6vw, 4rem);
  --fs-section: clamp(2rem, 5vw, 3rem);
  --fs-subhead: clamp(1.25rem, 2vw, 1.5rem);
  --fs-body: clamp(1rem, 1vw + 0.5rem, 1.125rem);
  --lh-body: 1.6;

  /* Spacing & Grid */
  --container-padding: 2rem;
  --section-spacing: 6rem;
  --max-width: 1280px;
  /* Slightly tighter for readablity */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --card-radius: 16px;
  --btn-radius: 12px;

  --dark-bg: #1E1B4B;
  --bg-purple-light: #F3F4F6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: var(--lh-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Global Hero Section */
.hero {
  padding-top: 9rem;
  padding-bottom: 6rem;
  position: relative;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 7rem;
    /* Reduced top padding for mobile to fix overlap/gap */
    padding-bottom: 4rem;
  }
}

/* Typography Utility */
h1 {
  font-size: var(--fs-hero);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--fs-section);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--fs-subhead);
  line-height: 1.4;
  font-weight: 500;
}

p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger>* {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.reveal-stagger.active>*:nth-child(1) {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(2) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(3) {
  transition-delay: 0.3s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(4) {
  transition-delay: 0.4s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(5) {
  transition-delay: 0.5s;
  opacity: 1;
  transform: translateY(0);
}

/* Apple-Style Global Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.8rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  padding: 0 1.5rem;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
}

.nav-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-left: auto;
}

.nav-links a,
.nav-right a {
  text-decoration: none;
  color: #374151;
  /* Dark grey */
  font-size: 0.85rem;
  font-weight: 700;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  white-space: nowrap;
  position: relative;
}

/* Mobile Menu Button - Initial State Hidden */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  padding: 0.5rem;
}

@media (max-width: 992px) {
  .mobile-menu-btn {
    display: block;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    /* Above navbar */
  }

  .nav-links {
    position: fixed;
    top: 60px;
    /* Below navbar */
    left: 0;
    width: 100%;
    height: 0;
    flex-direction: column;
    background: var(--white);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    padding: 0;
    gap: 0;
    transform: none;
    /* Reset desktop centering */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
  }

  .nav-links.active {
    height: auto;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
  }

  /* Mobile Link Styles */
  .nav-item-wrapper {
    width: 100%;
    padding: 0;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  }

  /* Hide Nav Right (Contact) on mobile and move into menu if needed, 
     or keep it specific. For now, nav-right often breaks layout. 
     Let's hide nav-right and rely on main menu or ensure it doesn't overlap. */
  .nav-right {
    display: none;
  }

  /* If user wants contact in mobile menu, ideally we duplicate it in JS or HTML, 
     but for CSS-only fix, we focus on the main links. */

  /* Mega Menu Reset for Mobile */
  .mega-menu {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: #F8FAFC;
    box-shadow: none;
    padding: 0;
    display: none;
    /* Hidden by default code, handled by click or always open? 
                      Let's set to none and only show if parent is active/hovered 
                      OR just simplify for mobile stability first. */
    border-radius: 0;
  }

  /* For this fix, we will simplify mobile nav to just show top level links clearly 
     or ensure the dropdowns don't break the screen 
     Given "missing basic design rules", a clean list is safer. */

  .nav-links.active {
    overflow-y: auto;
    max-height: 80vh;
  }
}

.nav-links a:hover,
.nav-links a.active,
.nav-right a:hover {
  color: var(--accent-blue);
}

.btn-purple {
  background: #8776FF;
  color: #FFFFFF !important;
  padding: 1rem 2.5rem;
  border-radius: var(--btn-radius);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  text-align: center;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2),
    -5px -5px 10px rgba(255, 255, 255, 0.2);
}

.btn-purple:active {
  box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.2),
    inset -5px -5px 10px rgba(255, 255, 255, 0.1);
  transform: translateY(1px);
}

/* Navbar Contact Button Specific Override */
.nav-right .btn-purple {
  padding: 0.8rem 2.5rem;
  /* Smaller button */
  border-radius: var(--btn-radius);
  /* Standardized shape */
  margin-left: 1rem;
  /* Space around the button */
  font-size: 1rem;
  /* Slightly smaller text */
}

.btn-purple:hover {
  background: var(--accent-purple-hover);
  transform: translateY(-2px);
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.25),
    -6px -6px 12px rgba(255, 255, 255, 0.2);
  color: var(--white) !important;
}



/* Neumorphic Secondary Button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--btn-radius);
  border: none;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  background: var(--bg-color);
  color: #1E293B;
  box-shadow: 10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  --glow-color: rgba(99, 102, 241, 0.15);
  /* Brand Purple Glow */
}

.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y),
      var(--glow-color),
      transparent 40%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.btn-secondary:hover::before {
  opacity: 1;
}

.btn-secondary span,
.btn-secondary i {
  position: relative;
  z-index: 2;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  color: var(--accent-purple);
  box-shadow: 12px 12px 24px var(--shadow-dark),
    -12px -12px 24px var(--shadow-light);
}

.btn-secondary:active {
  transform: translateY(1px);
  box-shadow: inset 6px 6px 12px var(--shadow-dark),
    inset -6px -6px 12px var(--shadow-light);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 2px;
}

/* Hover Bridge: Invisible area between nav and menu */
.nav-item-wrapper {
  position: static;
  padding: 1.2rem 0;
  /* Vertical padding to close the hover gap */
}

.has-mega-menu {
  position: static;
}

/* Individual Mega Menu Architecture */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: calc(100vw - 40px);
  max-width: var(--max-width);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  padding: 4rem 2rem;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
  z-index: 1000;
  pointer-events: none;
  transition-delay: 0.1s;
}

.nav-item-wrapper:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
  transition-delay: 0s;
}

.force-hidden {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mega-menu-content {
  display: flex;
  justify-content: flex-start;
  gap: 8rem;
  /* Increased gap for better separation */
  max-width: 1000px;
  margin: 0;
  padding-left: 2rem;
}

.mega-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  /* Increased gap between title and list */
}

.mega-column.explore {
  min-width: 250px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 16px;
}

.mega-logo {
  height: 80px;
  width: 100%;
  max-width: 200px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.mega-logo:hover {
  transform: scale(1.05);
}

.column-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  opacity: 0.6;
}

.mega-column ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.mega-column ul li a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.mega-column ul li a.large-link {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
  display: block;
}

.mega-column ul li a:hover {
  color: var(--accent-blue);
}

/* Left Section: Context */
.mega-info {
  padding-right: 2rem;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.mega-info .icon-box {
  width: 48px;
  height: 48px;
  background: rgba(79, 70, 229, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-blue);
}

/* Core Capabilities Redesign - Glassmorphic Steps */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 3rem 0;
  position: relative;
}

/* Modern SaaS Card Design */
.capability-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--card-radius);
  padding: 0;
  /* Remove padding to let image bleed */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  /* rounded corners clip image */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: rgba(124, 58, 237, 0.1);
}

/* Hide Step Label */
.capability-step {
  display: none;
}

/* Visual Image Container */
.capability-image {
  width: 100%;
  height: 200px;
  background: #F3F4F6;
  margin: 0;
  border-radius: 0;
  border: none;
  position: relative;
}

.capability-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.capability-card:hover .capability-image img {
  transform: scale(1.05);
}

/* Remove old visual styling */
.capability-visual {
  display: none;
}

/* Content Container */
.capability-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.capability-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  padding: 0 1.5rem;
  margin-top: 1.5rem;
}

.capability-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding: 0 1.5rem;
  flex-grow: 1;
}

/* Badge */
.capability-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: #F1F5F9;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748B;
  width: fit-content;
  transition: all 0.3s ease;
}

.capability-card:hover .capability-badge {
  background: rgba(var(--accent-primary-rgb, 79, 70, 229), 0.1);
  color: var(--accent-primary, var(--accent-blue));
}

/* Connectors (Arrow Buttons) - Removed per user request */
.capability-card:not(:last-child)::after {
  display: none;
}

.capability-card:not(:last-child):hover::after {
  display: none;
}

/* Responsive */
@media (max-width: 1200px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .capability-card:not(:last-child)::after {
    display: none;
    /* Hide connectors on tablet/mobile */
  }

  /* Create vertical connectors for 2-column if needed, or just hide */
  .capability-card:nth-child(odd):not(:last-child)::after {
    /* Optional: Could add connector pointing right for 2-col layout */
    display: flex;
    right: -1rem;
  }

  .capability-card:nth-child(even)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .capability-card::after {
    display: none !important;
  }
}


.mega-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.mega-info p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Right Section: Use Cases Grid */
.mega-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
}

.use-case-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.use-case-link::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #D1D5DB;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.use-case-link:hover {
  color: var(--accent-blue);
  transform: translateX(4px);
}

.use-case-link:hover::before {
  background: var(--accent-blue);
}

.mega-column h4 {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.mega-column ul {
  list-style: none;
  padding: 0;
}

.mega-column ul li {
  margin-bottom: 0.6rem;
}

.mega-column ul li a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  opacity: 0.9;
  text-decoration: none;
  transition: color 0.2s;
}

.mega-column ul li a:hover {
  color: var(--accent-blue);
  opacity: 1;
}

.btn-contact {
  background: #8776FF;
  color: white !important;
  padding: 0.7rem 1.8rem;
  border-radius: var(--btn-radius);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  text-align: center;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2),
    -5px -5px 10px rgba(255, 255, 255, 0.3);
}

.btn-contact:active {
  box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.2),
    inset -5px -5px 10px rgba(255, 255, 255, 0.1);
  transform: translateY(1px);
}

.btn-contact:hover {
  background: var(--accent-purple-hover);
  transform: translateY(-2px);
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.25),
    -6px -6px 12px rgba(255, 255, 255, 0.3);
}

/* Ticker Tape */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
}

.ticker {
  display: flex;
  width: fit-content;
  animation: ticker-rtl 30s linear infinite;
}

.ticker-item {
  flex-shrink: 0;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-color);
}

.ticker-item:last-child {
  border-right: none;
}

.ticker-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

@media (max-width: 768px) {
  .ticker-wrap {
    padding: 1.5rem 0;
  }

  .ticker-item {
    padding: 0 2rem;
  }

  .ticker-val {
    font-size: 1.8rem;
    /* Smaller ticker text */
  }

  .ticker-label {
    font-size: 0.65rem;
  }
}

.ticker-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-blue);
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

.ticker-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@keyframes ticker-rtl {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Enhanced Section Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Ken Product Suite Redesign - Light Theme Accordion */
.ken-suite-section {
  padding: 10rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.ken-suite-container {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.ken-suite-left {
  flex: 0 0 30%;
  position: sticky;
  top: 120px;
}

.ken-suite-right {
  flex: 1;
}

.product-accordion {
  display: flex;
  gap: 1.25rem;
  height: 650px;
  width: 100%;
}

.accordion-item {
  flex: 1;
  height: 100%;
  background: #FCFCFD;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  position: relative;
  padding: 2.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

/* Base Expanded State */
.accordion-item.active,
.product-accordion .accordion-item:hover {
  flex: 5.5;
  background: #FFFFFF;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.06);
  border-color: transparent;
}

/* Reset other items when hovering the container */
.product-accordion:hover .accordion-item:not(:hover) {
  flex: 1;
  background: #FCFCFD;
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.04);
}

/* Color Themes - Active/Hover States */
.accordion-item.color-blue.active,
.accordion-item.color-blue:hover {
  border-bottom: 4px solid #4F46E5;
}

.accordion-item.color-purple.active,
.accordion-item.color-purple:hover {
  border-bottom: 4px solid #7C3AED;
}

.accordion-item.color-orange.active,
.accordion-item.color-orange:hover {
  border-bottom: 4px solid #F97316;
}

.accordion-item.color-green.active,
.accordion-item.color-green:hover {
  border-bottom: 4px solid #10B981;
}

.accordion-item.color-yellow.active,
.accordion-item.color-yellow:hover {
  border-bottom: 4px solid #F59E0B;
}

.accordion-item.color-red.active,
.accordion-item.color-red:hover {
  border-bottom: 4px solid #EF4444;
}

/* Visual Section in Card */
.accordion-visual {
  height: 250px;
  margin: -2.5rem -2.5rem 2.5rem;
  position: relative;
  overflow: hidden;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2rem;
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
  mix-blend-mode: multiply;
}

.accordion-item:hover .accordion-visual img,
.footer-col a,
.footer-col p,
.footer-col h4,
.footer-col h5,
.footer-col li,
.footer-social a {
  color: #FFFFFF !important;
}

.footer-col a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.Contact-info p,
.Contact-info i {
  color: #FFFFFF !important;
}

.accordion-icon {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  z-index: 5;
  transition: all 0.4s ease;
}

.accordion-item:hover .accordion-icon {
  transform: translateY(-5px);
  background: var(--white);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Product Specific Icon Colors on Hover */
.color-blue:hover .accordion-icon {
  color: #4F46E5;
}

.color-purple:hover .accordion-icon {
  color: #7C3AED;
}

.color-orange:hover .accordion-icon {
  color: #F97316;
}

.color-green:hover .accordion-icon {
  color: #10B981;
}

.color-yellow:hover .accordion-icon {
  color: #F59E0B;
}

.color-red:hover .accordion-icon {
  color: #EF4444;
}

/* Header Section */
.accordion-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.accordion-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: #CBD5E0;
  transition: color 0.4s ease;
}

.accordion-item:hover .accordion-number,
.accordion-item.active .accordion-number {
  color: var(--text-primary);
}

.accordion-header h3 {
  font-size: 1.75rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--text-primary);
  transition: transform 0.4s ease;
}

.accordion-item:hover .accordion-header h3 {
  transform: translateX(5px);
}

/* Content Section */
.accordion-content {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0s;
  pointer-events: none;
  max-width: 480px;
}

.accordion-item:hover .accordion-content,
.product-accordion:not(:hover) .accordion-item.active .accordion-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  transition-delay: 0.35s;
}

.accordion-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.accordion-features {
  list-style: none;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.accordion-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.accordion-features li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E2E8F0;
  transition: background 0.4s ease;
}

.color-blue:hover li::before {
  background: #4F46E5;
}

.color-purple:hover li::before {
  background: #7C3AED;
}

.color-orange:hover li::before {
  background: #F97316;
}

.color-green:hover li::before {
  background: #10B981;
}

.color-yellow:hover li::before {
  background: #F59E0B;
}

.color-red:hover li::before {
  background: #EF4444;
}

.accordion-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.accordion-link:hover {
  gap: 0.8rem;
}

/* Static Card Feature Lists */
.static-features {
  list-style: none;
  margin-bottom: 2.5rem;
  padding: 0;
}

.static-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.static-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E2E8F0;
  transition: background 0.3s ease;
}

/* Static Card Hover Colors */
.color-blue-static:hover {
  border-color: #4F46E5 !important;
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.08) !important;
}

.color-blue-static:hover li::before {
  background: #4F46E5;
}

.color-purple-static:hover {
  border-color: #7C3AED !important;
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.08) !important;
}

.color-purple-static:hover li::before {
  background: #7C3AED;
}

.color-orange-static:hover {
  border-color: #F97316 !important;
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.08) !important;
}

.color-orange-static:hover li::before {
  background: #F97316;
}

.color-green-static:hover {
  border-color: #10B981 !important;
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.08) !important;
}

.color-green-static:hover li::before {
  background: #10B981;
}

.color-yellow-static:hover {
  border-color: #F59E0B !important;
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.08) !important;
}

.color-yellow-static:hover li::before {
  background: #F59E0B;
}

.color-red-static:hover {
  border-color: #EF4444 !important;
  box-shadow: 0 20px 40px rgba(239, 68, 68, 0.08) !important;
}

.color-red-static:hover li::before {
  background: #EF4444;
}

/* Responsive Customization */
@media (max-width: 1200px) {
  .product-accordion {
    height: 750px;
  }
}

@media (max-width: 1024px) {
  .ken-suite-section {
    padding: 6rem 0;
  }

  .ken-suite-container {
    flex-direction: column;
  }

  .ken-suite-left {
    width: 100%;
    margin-bottom: 3rem;
    position: relative;
    top: 0;
  }

  .product-accordion {
    flex-direction: column;
    height: auto;
    gap: 1.5rem;
  }

  .accordion-item {
    flex: none !important;
    height: auto;
    padding: 3rem;
  }

  .accordion-content {
    opacity: 1;
    transform: none;
    display: block;
    max-width: 100%;
    margin-top: 1rem;
  }

  .accordion-header h3 {
    font-size: 1.5rem;
  }
}


/* Standardized Neumorphic Card Styling - Base */
.card,
.stack-card,
.feature-card,
.capability-card,
.benefit-card,
.use-case-item,
.process-card {
  background: var(--bg-color);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 10px 10px 20px var(--shadow-dark), -10px -10px 20px var(--shadow-light);
  transition: var(--transition-smooth);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.card:hover,
.stack-card:hover,
.feature-card:hover,
.capability-card:hover,
.benefit-card:hover,
.use-case-item:hover,
.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 12px 12px 24px var(--shadow-dark), -12px -12px 24px var(--shadow-light);
  z-index: 2;
  border-color: rgba(255, 255, 255, 0.8);
}

/* Feature Cards with Images */
.feature-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.feature-card .feature-card-image {
  width: 100%;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.feature-card .feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.feature-card:hover .feature-card-image img {
  transform: scale(1.05);
}

.card {
  background: var(--bg-color);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 9px 9px 16px var(--shadow-dark),
    -9px -9px 16px var(--shadow-light);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card i {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover i {
  transform: scale(1.2) rotate(5deg);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-visual {
  height: 160px;
  background: #050505;
  margin: -2rem -2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

.card:hover .card-visual img {
  transform: scale(1.1);
}

.card-clickable {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-clickable p {
  margin-bottom: 1rem;
}

.card-clickable ul {
  margin-bottom: auto !important;
  /* Forces list to take available space, pushing button down */
}

.card-clickable .btn-purple {
  margin-top: 2rem;
  /* Ensure consistent spacing from content */
  width: 100%;
  /* Ensure full width as per HTML */
}

.card-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-blue);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: block;
}

/* 3D and Advanced Animations */
.perspective-container {
  perspective: 1000px;
}

.card-3d {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
}

.card-3d:hover {
  transform: rotateY(10deg) rotateX(5deg);
}

.card-rotate-360 {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-rotate-360:hover {
  transform: rotate(360deg);
}

.stacked-cards {
  position: relative;
  height: 300px;
}

.stacked-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.stacked-card:nth-child(1) {
  transform: translateY(0) scale(1);
  z-index: 3;
}

.stacked-card:nth-child(2) {
  transform: translateY(20px) scale(0.95);
  z-index: 2;
  opacity: 0.8;
}

.stacked-card:nth-child(3) {
  transform: translateY(40px) scale(0.9);
  z-index: 1;
  opacity: 0.6;
}

.stacked-cards:hover .stacked-card:nth-child(2) {
  transform: translateY(-10px) rotate(-2deg);
}

.stacked-cards:hover .stacked-card:nth-child(3) {
  transform: translateY(-20px) rotate(2deg);
}

/* Camera Hero Interaction */
.camera-container {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-head {
  width: 120px;
  height: 70px;
  background: var(--dark-bg);
  border-radius: 40px 10px 10px 40px;
  position: relative;
  transform-origin: 30px 35px;
  transition: transform 0.1s linear;
}

.camera-lens {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #111;
  border-radius: 50%;
  border: 2px solid #333;
}

.camera-lens::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 5px;
  height: 5px;
  background: rgba(255, 0, 0, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 10px red;
}

/* Ken Hub Graphic Style (Reference Match) */
.ken-hub-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1/1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ken-hub-center {
  width: 160px;
  height: 160px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 20px 60px rgba(79, 70, 229, 0.15), 0 0 0 1px rgba(79, 70, 229, 0.05);
}

.ken-hub-center h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

.ken-hub-center span {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-blue);
  letter-spacing: 0.1em;
}

.ken-hub-spoke {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.spoke-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 1px;
  background: var(--accent-purple);
  opacity: 0.3;
  transform-origin: left center;
  z-index: 1;
}

.spoke-node-wrapper {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  z-index: 2;
  pointer-events: all;
  transition: var(--transition-smooth);
}

.spoke-node {
  width: 72px;
  height: 72px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.06);
  transition: var(--transition-smooth);
}

.spoke-node-wrapper:hover .spoke-node {
  transform: scale(1.1);
  border-color: var(--accent-blue);
  box-shadow: 0 15px 30px rgba(79, 70, 229, 0.12);
}

.spoke-node i {
  width: 28px;
  height: 28px;
  color: var(--accent-purple);
}

.spoke-node-wrapper span {
  font-size: 0.85rem;
  font-weight: 700;
  color: #2D3748;
}

/* Positioning spokes in a circle (6 nodes = 60 degrees apart) */
/* Top: 270deg */
.node-top {
  transform: translate(-50%, -236px);
  top: 50%;
  left: 50%;
}

.line-top {
  transform: rotate(-90deg) translateX(65px);
}



/* Top Right: 330deg */
.node-top-right {
  transform: translate(calc(-50% + 173px), -136px);
  top: 50%;
  left: 50%;
}

.line-top-right {
  transform: rotate(-30deg) translateX(65px);
}

/* Bottom Right: 30deg */
.node-bottom-right {
  transform: translate(calc(-50% + 173px), 64px);
  top: 50%;
  left: 50%;
}

.line-bottom-right {
  transform: rotate(30deg) translateX(65px);
}

/* Bottom: 90deg */
.node-bottom {
  transform: translate(-50%, 164px);
  top: 50%;
  left: 50%;
}

.line-bottom {
  transform: rotate(90deg) translateX(65px);
}

/* Bottom Left: 150deg */
.node-bottom-left {
  transform: translate(calc(-50% - 173px), 64px);
  top: 50%;
  left: 50%;
}

.line-bottom-left {
  transform: rotate(150deg) translateX(65px);
}

/* Top Left: 210deg */
.node-top-left {
  transform: translate(calc(-50% - 173px), -136px);
  top: 50%;
  left: 50%;
}

.line-top-left {
  transform: rotate(210deg) translateX(65px);
}

/* Industry Visuals Style */
.industry-visual-card {
  position: relative;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-color);
}

/* Feature Box Design (Neumorph) */
.feature-box {
  background: var(--bg-color);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 12px 12px 20px rgba(163, 177, 198, 0.7), -12px -12px 20px rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.6);
}

.feature-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.industry-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-visual-card:hover img {
  transform: scale(1.05);
}

.industry-content-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  color: var(--white);
}

.industry-content-overlay h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.industry-content-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Feature Point with Icon */
.feature-point {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.feature-point-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(79, 70, 229, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  flex-shrink: 0;
}

/* Footer (Updated for shared use) */
footer {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 5rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--section-spacing);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #8B5CF6;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: #A0A0A0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #8B5CF6;
}

.location-info h5 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.location-info p {
  color: #A0A0A0;
  font-size: 0.85rem;
}

/* Footer Social Links */
.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: #8B5CF6;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

/* Bento Grid V2 (3-Column) */
.bento-grid-v3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem 0;
}

@media (max-width: 1024px) {
  .bento-grid-v3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bento-grid-v3 {
    grid-template-columns: 1fr;
  }
}


/* Zig-Zag Use Cases Layout */
.use-case-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 4rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.use-case-item {
  background: var(--white);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  gap: 4rem;
  transition: transform 0.3s ease;
}

.use-case-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
}

.use-case-item:nth-child(even) {
  flex-direction: row-reverse;
}

.use-case-image-wrapper {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  background: #C4C4FC;
  /* Placeholder backdrop color from reference */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.use-case-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.use-case-item:hover .use-case-image {
  transform: scale(1.05);
}

.use-case-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.use-case-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.use-case-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.use-case-content a {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.use-case-content a:hover {
  gap: 0.8rem;
  color: var(--accent-blue);
}

@media (max-width: 992px) {
  .use-case-item {
    flex-direction: column !important;
    /* Stack vertically on mobile/tablet */
    text-align: center;
    gap: 2rem;
    padding: 2rem;
  }

  .use-case-content {
    align-items: center;
    /* Center align text on mobile */
  }

  .use-case-image-wrapper {
    width: 100%;
    height: 250px;
  }
}

/* Feature Cards Row (Section 2) */
.feature-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.02);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.feature-card .icon-wrapper {
  background: #C4C4FC;
  /* Light Purple from reference */
  color: var(--white);
  width: 100%;
  height: 180px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  /* subtle icon style inside */
}

.feature-card .icon-wrapper i {
  width: 48px;
  height: 48px;
  opacity: 0.5;
  /* Subtle icon to mimic the 'empty' look or just context */
  stroke-width: 1.5;
}

.feature-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #000;
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .feature-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .feature-cards-row {
    grid-template-columns: 1fr;
  }
}

/* Graphic Container Base */
.bento-graphic-box {
  width: 100%;
  height: 160px;
  background: #F8FAFC;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 1. Flow Graphic */
.graphic-flow {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flow-node {
  width: 48px;
  height: 48px;
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  position: relative;
  z-index: 2;
}

.flow-line {
  height: 2px;
  width: 40px;
  background: var(--accent-blue);
  position: relative;
}

.flow-line::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent-blue);
  border-bottom: 2px solid var(--accent-blue);
  transform: rotate(-45deg);
}

/* 2. Orbit Graphic */
.graphic-orbit {
  position: relative;
  width: 120px;
  height: 120px;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  z-index: 2;
}

.orbit-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(79, 70, 229, 0.2);
  border-radius: 50%;
  animation: spin 10s linear infinite;
}

.orbit-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #FFF;
  border: 2px solid var(--accent-blue);
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* 3. UI Mock Graphic */
.graphic-ui-mock {
  width: 80%;
  height: 80%;
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ui-line {
  height: 6px;
  background: #F1F5F9;
  border-radius: 4px;
  width: 100%;
}

.ui-line.short {
  width: 60%;
}

.ui-btn {
  margin-top: auto;
  height: 24px;
  background: var(--accent-blue);
  border-radius: 6px;
  width: 80px;
}

/* 4. Fan Graphic */
.graphic-fan {
  position: relative;
  width: 100px;
  height: 80px;
}

.fan-card {
  position: absolute;
  width: 80px;
  height: 60px;
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--accent-blue);
}

.fan-card:nth-child(1) {
  transform: rotate(-15deg) translate(-20px, 10px);
  z-index: 1;
}

.fan-card:nth-child(2) {
  transform: rotate(0deg) translate(0, 0);
  z-index: 2;
}

.fan-card:nth-child(3) {
  transform: rotate(15deg) translate(20px, 10px);
  z-index: 1;
}

/* 5. Line Chart Graphic */
.graphic-line-chart {
  width: 80%;
  height: 60%;
  position: relative;
  border-left: 2px solid #E2E8F0;
  border-bottom: 2px solid #E2E8F0;
}

.chart-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  stroke: var(--accent-blue);
  stroke-width: 2;
  fill: none;
}

.chart-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-blue);
  border-radius: 50%;
  border: 2px solid #FFF;
}

/* 6. Bar Chart Graphic */
.graphic-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 60%;
}

.bar-col {
  width: 24px;
  background: var(--accent-blue);
  border-radius: 6px 6px 0 0;
  opacity: 0.2;
}

.bar-col.active {
  opacity: 1;
  height: 80% !important;
  box-shadow: 0 4px 6px rgba(79, 70, 229, 0.2);
}

/* Visual Animations */
.scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
  box-shadow: 0 0 15px var(--accent-blue);
  animation: scan 3s linear infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes scan {
  0% {
    top: 0;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

.scanner-box {
  position: absolute;
  border: 1px solid var(--accent-blue);
  background: rgba(0, 113, 227, 0.05);
  transition: opacity 1s;
  pointer-events: none;
}

.scanner-box::before {
  content: 'DETECTED';
  position: absolute;
  top: -12px;
  left: 0;
  font-size: 8px;
  font-weight: 800;
  color: var(--accent-blue);
  white-space: nowrap;
}

.pulse-wave {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid var(--accent-blue);
  border-radius: 50%;
  opacity: 0;
  animation: ripple 3s ease-out infinite;
  pointer-events: none;
}

@keyframes ripple {
  0% {
    transform: scale(0.5);
    opacity: 0.5;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.iot-node {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-blue);
  animation: pulse-node 2s infinite alternate;
  z-index: 2;
}

@keyframes pulse-node {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.5);
    opacity: 1;
  }
}

.iot-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-blue), transparent);
  transform-origin: left center;
  opacity: 0.2;
  z-index: 1;
}

.sphere-core {
  width: 60px;
  height: 60px;
  background: var(--accent-gradient);
  border-radius: 50%;
  box-shadow: 0 0 50px var(--accent-blue);
  position: relative;
  z-index: 5;
  animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.sphere-ring {
  position: absolute;
  border: 1px solid var(--accent-blue);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.ring-0 {
  width: 300px;
  height: 300px;
  animation: rotate 30s linear infinite;
}

.ring-1 {
  width: 400px;
  height: 400px;
  animation: rotate-reverse 40s linear infinite;
}

.ring-2 {
  width: 500px;
  height: 500px;
  animation: rotate 50s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate-reverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

.sphere-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  z-index: 10;
}

.privacy-particle {
  position: absolute;
  left: 20%;
  top: 50%;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
}

@keyframes flow-right {
  0% {
    transform: translate(0, -50%) scale(0.5);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translate(400px, -50%) scale(1.2);
    opacity: 0;
  }
}

.heatmap-spot {
  position: absolute;
  background: radial-gradient(circle, rgba(255, 60, 0, 0.6) 0%, rgba(255, 150, 0, 0) 70%);
  border-radius: 50%;
  filter: blur(10px);
  animation: pulse-heatmap 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-heatmap {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.dwell-circle {
  width: 120px;
  height: 120px;
  border: 2px solid var(--accent-blue);
  border-radius: 50%;
  position: relative;
  animation: rotate 10s linear infinite;
}

.dwell-circle::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-blue);
}

.mockup-label {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  color: #FFF;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(5px);
}

.alert-box-mockup {
  border: 1px solid #FF3B30;
  padding: 15px;
  background: rgba(255, 59, 48, 0.05);
  color: #FFF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  position: relative;
  z-index: 5;
}

/* Sticky Stacking Section */
.sticky-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: flex-start;
}

.sticky-left {
  position: sticky;
  top: 15vh;
  padding-bottom: 10vh;
}

.stacking-right {
  display: flex;
  flex-direction: column;
  gap: 40vh;
  /* Controlled gap for scroll trigger */
  padding-bottom: 20vh;
}

.stack-card {
  position: sticky;
  top: 15vh;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease;
  transform-origin: center top;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

/* Base state for reveal */
.stack-card.reveal {
  opacity: 0;
  transform: translateY(100px);
}

.stack-card.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.stack-card .card-visual {
  height: 180px;
  margin: -2rem -2rem 2rem;
  background: #050505;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  position: relative;
}

/* Mega Menu Refinements */
.mega-column.explore {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.mega-column.explore .mega-logo {
  max-width: 200px;
  height: auto;
  display: block;
}


.mega-column .column-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  display: block;
}

.mega-column li {
  margin-bottom: 1.25rem;
}

.mega-column a {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
}

.mega-column a:hover {
  color: var(--accent-blue);
}

.mega-360-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background: var(--accent-blue);
  color: white !important;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  min-width: 140px;
}

.mega-360-link:hover {
  background: #0051CC;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
  color: white !important;
}

/* Ensure sticky columns collapse on mobile */
@media (max-width: 992px) {
  .sticky-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .sticky-left {
    position: relative;
    top: 0;
  }

  .stacking-right {
    gap: 2rem;
  }

  .stack-card {
    position: relative;
    top: 0;
    min-height: auto;
  }
}

/* FAQ Accordion Styles */
.faq-container {
  max-width: 800px;
  margin-top: 4rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.05);
}

.faq-item.active {
  border-color: var(--accent-purple);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.1);
}

.faq-question {
  width: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  outline: none;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  transition: color 0.3s ease;
}

.faq-item.active .faq-question h3 {
  color: var(--accent-purple);
}

.faq-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  transition: all 0.3s ease;
}

.faq-item.active .faq-icon-wrapper {
  background: var(--accent-purple);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: #FAFAFA;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 2rem 2.5rem;
}

.faq-answer p {
  margin: 0;
  color: #4B5563;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Global Hero Visual Interactions */
.hero {
  padding: 12rem 0 8rem !important;
  /* Force standard padding to prevent clipping */
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  position: relative;
  min-height: 450px;
}

.hero-logo-container {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 400px;
  height: 400px;
  margin-left: auto;
}

.hero-logo-frame {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-container .hero-logo {
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
  position: relative;
  z-index: 10;
}

/* Background shapes styling remains same if needed, but primary interaction is centered behind logo */

/* Background Animation Shapes (KenVision style) */
.hero-bg-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

@keyframes floatElement {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(30px, -50px) rotate(5deg);
  }

  66% {
    transform: translate(-20px, 20px) rotate(-5deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

/* Agri Grid (KenAgri) */
.field-grid {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(45deg) rotateZ(-20deg);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  width: 380px;
  height: 380px;
  transform-style: preserve-3d;
  opacity: 0.2;
  z-index: 1;
}

.plant-node {
  width: 40px;
  height: 40px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.plant-node:hover {
  transform: translateZ(20px);
  background: rgba(16, 185, 129, 0.2);
  border-color: #10B981;
}

/* IoT Network (KenIoT) */
.iot-network {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  opacity: 0.2;
  z-index: 1;
}

.iot-node {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #8B5CF6;
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-purple);
}

.iot-line {
  position: absolute;
  background: #8B5CF6;
  opacity: 0.1;
  height: 1px;
  transform-origin: left center;
}

/* Robotics Path (KenRobotics) */
.robotics-hero-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 450px;
  opacity: 0.2;
  z-index: 1;
}

.floating-robot {
  position: absolute;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Home Nodes (KenHome) */
.home-visual-nodes {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  opacity: 0.2;
  z-index: 1;
}

.home-node {
  position: absolute;
  width: 32px;
  height: 32px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

/* Safety Pins (KenSafety) */
.safety-hero-nodes {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  opacity: 0.2;
  z-index: 1;
}

.safety-pin {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #EF4444;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

/* =========================================
   Mobile Responsiveness & Specific Overrides
   ========================================= */

/* Founder Profile (About Page) */
.founder-profile {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.founder-image-col {
  flex: 1 1 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.founder-content-col {
  flex: 1 1 400px;
  padding-left: 3rem;
  border-left: 1px solid var(--border-color);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* TABLET LAYOUT (768px - 1024px) */
@media (max-width: 1024px) {
  .founder-profile {
    flex-direction: column;
    gap: 2rem;
  }

  .founder-image-col {
    flex: none;
    width: 100%;
    max-width: 500px;
    /* Larger on tablet */
    margin: 0 auto;
  }

  .founder-content-col {
    flex: none;
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding-left: 0;
    padding-top: 2rem;
    text-align: center;
  }

  .grid-2 {
    grid-template-columns: 1fr 1fr;
    /* Keep 2 cols on tablet if space allows */
    gap: 2rem;
  }

  .nav-links {
    display: none;
    /* Hide standard nav on tablet/mobile */
  }
}

/* MOBILE LAYOUT (< 768px) */
@media (max-width: 768px) {

  /* Cards: 1 per row for better readability on mobile */
  .grid-3,
  .feature-cards-row {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .grid-2 {
    grid-template-columns: 1fr !important;
  }

  .feature-card,
  .card {
    padding: 1.5rem !important;
  }

  .card h3,
  .feature-card h4 {
    font-size: 0.9rem !important;
    /* Smaller headings */
  }

  .card p,
  .feature-card p {
    font-size: 0.75rem !important;
    line-height: 1.35;
  }

  .hero {
    padding: 3rem 0 2rem !important;
  }

  /* Hero Text and Image on Same Line */
  .hero .grid-2 {
    grid-template-columns: 1.3fr 0.7fr !important;
    /* Text larger, image smaller */
    align-items: center;
    gap: 0.8rem !important;
    text-align: left;
  }

  .hero h1 {
    font-size: 1.3rem !important;
    /* Force small fit */
    line-height: 1.1;
    margin-bottom: 0.5rem;
  }

  .hero p {
    font-size: 0.75rem !important;
    line-height: 1.3;
    margin-bottom: 0.8rem;
  }

  .hero-buttons {
    display: flex;
    gap: 0.5rem;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  .container {
    padding: 0 1rem;
  }

  /* Button Sizing */
  .btn-purple,
  .btn-contact {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }

  /* Footer Layout Fix */
  footer {
    padding: 3rem 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 cols */
    gap: 2rem 1rem;
    text-align: left;
    /* Left align */
  }

  /* Brand/Contact column spans full width */
  .footer-col:first-child {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Left align items */
  }

  .footer-social {
    justify-content: flex-start;
    /* Left align icons */
  }

  .Contact-info p,
  .location-info p {
    justify-content: flex-start;
    /* Left align text */
    text-align: left;
  }
}

/* HAMBURGER MENU STYLES */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  z-index: 1002;
  padding: 0.5rem;
}

/* Show Hamburger on Tablet & Mobile */
@media (max-width: 1024px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    /* Fix to screen width */
    height: 100vh;
    width: 100%;
    /* Full screen menu */
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    /* Behind button */
    padding: 2rem;
    overflow-y: auto;
    /* Allow scrolling if menu is tall */
  }

  /* Lock body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  .nav-links.active {
    display: flex;
    /* Ensure it's flex when active */
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.5rem;
    font-weight: 800;
  }

  /* Hide standard mega menu behavior on mobile/tablet */
  .mega-menu {
    display: none !important;
  }

  /* Mobile Dropdown Logic (Optional: simple stack) */
  .nav-item-wrapper {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
  }
}

/* Forced Mobile Navbar Fix */
@media (max-width: 992px) {
  .nav-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
  }

  .nav-links {
    margin-top: 0 !important;
  }
}

/* Added stack-card matching style */
.stack-card {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.stack-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: rgba(124, 58, 237, 0.1);
}

/* Mobile Vertical Stack (No Horizontal Scroll) */
@media (max-width: 768px) {
  .grid-3 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    padding-bottom: 0;
    gap: 2rem !important;
    overflow-x: visible !important;
  }

  .grid-3>* {
    flex: none;
    width: 100%;
  }
}

/* Global Neumorphism Utility */
.neumorph {
  background: var(--bg-color);
  box-shadow: 9px 9px 16px var(--shadow-dark),
    -9px -9px 16px var(--shadow-light);
  border-radius: var(--card-radius);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.neumorph-inset {
  box-shadow: inset 6px 6px 12px var(--shadow-dark),
    inset -6px -6px 12px var(--shadow-light);
}

/* Card Updates for Neumorphism */
.card,
.feature-card,
.stack-card,
.faq-item,
.capability-card {
  background: var(--bg-color) !important;
  box-shadow: 8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: var(--card-radius);
  color: var(--text-primary);
}

.card:hover,
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 12px 12px 20px rgba(163, 177, 198, 0.7),
    -12px -12px 20px rgba(255, 255, 255, 0.9) !important;
}

/* Hero Grid Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  min-height: 80vh;
}

.hero-content {
  z-index: 2;
}

.hero-visual-container {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-visual-container {
    height: 300px;
    order: -1;
  }
}



/* Fix Text Gradient Visibility */
.text-gradient {
  background: none;
  -webkit-text-fill-color: var(--accent-purple-hover);
  color: var(--accent-purple-hover);
}


/* =========================================
   MOBILE RESPONSIVENESS & UI SIMPLIFICATION
   ========================================= */

@media (max-width: 768px) {

  /* 1. Global Spacing & Layout */
  :root {
    --container-padding: 1.25rem;
    --section-spacing: 2rem;
    /* Significantly reduced */
  }

  .container {
    padding: 0 var(--container-padding);
  }

  section {
    padding: var(--section-spacing) 0 !important;
  }

  /* 2. Typography & Contrast */
  h1 {
    font-size: 2rem !important;
    line-height: 1.1;
    margin-bottom: 0.75rem !important;
    color: var(--text-primary);
  }

  h2 {
    font-size: 1.5rem !important;
    line-height: 1.2;
    margin-bottom: 0.75rem !important;
    color: var(--text-primary);
  }

  h3 {
    font-size: 1.1rem !important;
    font-weight: 600;
  }

  p {
    font-size: 0.9rem !important;
    line-height: 1.5;
    color: var(--text-secondary);
  }

  /* 3. Hero Section: Max 80vh & Tightly Grouped */
  .hero {
    padding-top: 10rem !important;
    padding-bottom: 2rem !important;
    min-height: auto !important;
    max-height: 80vh !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
  }

  .hero-content {
    text-align: left;
  }

  .hero div[style*="display: flex"] {
    flex-direction: row !important;
    gap: 0.5rem !important;
    align-items: center;
    width: 100%;
    margin-top: 0.5rem;
  }

  .hero .btn-purple,
  .hero a {
    padding: 0.6rem 0.75rem !important;
    font-size: 0.8rem !important;
    flex: 1;
    justify-content: center;
    margin: 0 !important;
    white-space: nowrap;
    min-height: auto !important;
    border-radius: 8px !important;
  }

  /* Match CTA section buttons to hero style */
  section .btn-purple,
  section a[style*="border: 1px solid"] {
    padding: 0.6rem 0.75rem !important;
    font-size: 0.8rem !important;
  }

  section div[style*="display: flex"][style*="gap: 1rem"] {
    flex-direction: row !important;
    gap: 0.5rem !important;
  }

  section div[style*="display: flex"][style*="gap: 1rem"] a {
    flex: 1;
    justify-content: center;
    white-space: nowrap;
  }

  /* CTA section specific styling */
  section[style*="padding: 6rem"] {
    padding: 3rem 0 !important;
  }

  section[style*="padding: 6rem"] h2 {
    font-size: 1.75rem !important;
    margin-bottom: 1rem !important;
  }

  section[style*="padding: 6rem"] p {
    font-size: 0.9rem !important;
    margin-bottom: 1.5rem !important;
  }

  /* 4. Ticker Tape: Minimal & Smaller */
  .ticker-wrap {
    padding: 0.6rem 0 !important;
  }

  .ticker-val {
    font-size: 1rem !important;
    line-height: 1.2 !important;
  }

  .ticker-label {
    font-size: 0.6rem !important;
    margin-top: 0.25rem !important;
    letter-spacing: 0.05em;
  }

  .ticker-item {
    padding: 0 0.75rem !important;
  }

  .ticker-desc {
    display: none !important;
  }

  /* 5. Section Layouts: Vertical Stack for All Cards */
  .feature-cards-row,
  .capabilities-grid,
  .use-case-list,
  .grid-4 {
    display: flex !important;
    flex-direction: column !important;
    overflow-x: visible !important;
    gap: 1.5rem !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    scroll-snap-type: none !important;
  }

  .feature-card,
  .capability-card,
  .use-case-item,
  .benefit-card {
    min-width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 0;
    margin-right: 0 !important;
    margin-bottom: 1.5rem !important;
  }

  /* Reset last child margin */
  .feature-card:last-child,
  .capability-card:last-child,
  .use-case-item:last-child,
  .benefit-card:last-child {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Home page: vertical stack for intelligence cards only */
  .stacking-right {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow: visible !important;
  }

  .stack-card {
    min-width: 100% !important;
    max-width: 100% !important;
  }

  /* Standardized Neumorphic Card Styling */
  .card,
  .stack-card,
  .use-case-item,
  .feature-card,
  .capability-card,
  .benefit-card,
  .process-card {
    min-width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
    padding: 1.5rem !important;
    border-radius: 20px !important;
    background: var(--bg-color) !important;
    box-shadow: 10px 10px 20px var(--shadow-dark), -10px -10px 20px var(--shadow-light) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    height: auto !important;
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .card-visual,
  .feature-card-image,
  .capability-image,
  .use-case-image-wrapper {
    height: 160px !important;
    margin-bottom: 0.75rem !important;
    border-radius: 8px !important;
    object-fit: cover;
  }

  /* Specific image sizing for feature cards */
  .feature-card-image img,
  .capability-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }

  .accordion-features {
    display: none !important;
  }

  /* 6. Ken 360 Diagram: Mobile Optimized */
  .ken-hub-wrapper {
    display: flex !important;
    justify-content: center;
    align-items: center;
    transform: scale(0.75);
    transform-origin: center center;
    margin: 2rem auto;
    width: 100%;
    height: 320px;
    overflow: visible;
  }

  .ken-hub-center {
    width: 90px;
    height: 90px;
  }

  .spoke-node {
    width: 50px;
    height: 50px;
    font-size: 0.75rem;
  }

  .spoke-node span {
    font-size: 0.7rem;
  }

  /* 6. Ken Product Suite: Single Column Vertical Stack */
  #home-products .grid-3 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    width: 100% !important;
  }

  #home-products .card {
    padding: 2rem !important;
  }

  #home-products .card h3 {
    font-size: 1.25rem !important;
  }

  #home-products .card p {
    display: block !important;
  }

  #home-products .card .btn-purple {
    padding: 0.8rem 1.5rem !important;
    font-size: 0.9rem !important;
  }

  /* 7. Compact & Grouped Footer */
  .footer {
    padding: 2rem 0 1rem !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem 1rem !important;
    text-align: left;
  }

  .footer-col:first-child {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 0.75rem;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 0.5rem;
  }

  .footer-col h4 {
    font-size: 0.85rem !important;
    margin-bottom: 0.6rem !important;
  }

  .footer-col ul li a,
  .footer-col p,
  .location-info p,
  .location-info h5 {
    text-align: left !important;
    font-size: 0.75rem !important;
  }

  .location-info {
    text-align: left !important;
  }

  .location-info h5 {
    font-size: 0.8rem !important;
    margin-top: 0.75rem !important;
    margin-bottom: 0.25rem !important;
  }



  /* Only stack layout grids (Text + Image) */
  section .container>.grid-2 {
    display: flex !important;
    flex-direction: column !important;
    /* Stack vertical */
  }

  /* Simpler Navbar */
  .navbar {
    padding: 0.5rem 0;
  }

  .nav-links {
    top: 55px;
    height: calc(100vh - 55px);
    background: var(--white);
  }
}

@media (max-width: 768px) {
  .nav-links {
    gap: 0.5rem !important;
    padding: 1rem !important;
  }

  /* Hide About and Contact from navbar on mobile */
  .nav-right {
    display: none !important;
  }

  .nav-right a {
    width: 100% !important;
    text-align: left !important;
    padding: 0.75rem 1rem !important;
  }

  .nav-right .btn-purple {
    background: var(--accent-purple) !important;
    color: white !important;
    border-radius: 8px !important;
  }

  /* Better spacing for nav items */
  .nav-item-wrapper {
    margin-bottom: 0.25rem !important;
  }

  .nav-item-wrapper>a {
    padding: 0.75rem 1rem !important;
  }
}

/* Logo Ticker */
/* Logo Ticker Refinements */
.logo-ticker-wrap {
  width: 100%;
  overflow: hidden;
  background-color: var(--white);
  padding: 3rem 0;
  white-space: nowrap;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.logo-ticker {
  display: inline-block;
  animation: ticker-ltr 40s linear infinite;
}

/* Left to Right Animation */
@keyframes ticker-ltr {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.logo-ticker-item {
  display: inline-block;
  margin: 0 2rem;
  /* Reduced spacing */
  vertical-align: middle;
}

.logo-ticker-item img {
  height: 70px;
  /* Increased size */
  width: auto;
  opacity: 1;
  /* Full opacity */
  filter: grayscale(0%);
  /* Full color */
  transition: all 0.3s ease;
}

.logo-ticker-item:hover img {
  transform: scale(1.1);
}

/* Cursor Glow Effect */
.card {
  position: relative;
  /* overflow: hidden; Removed to ensure glow isn't clipped if we want it to bleed, but 'hidden' is usually safer for internal glows. Keeping existing behavior/overriding if needed. layout assumes overflow hidden on .card-visual mostly. */
}

/* Base Glow Style */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),
      var(--glow-color),
      transparent 40%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 10;
  /* Above content but below interactive elements if needed, or adjust z-indexes of children */
  mix-blend-mode: screen;
  /* Or overlay/soft-light depending on look */
}

.card:hover::before {
  opacity: 1;
}

/* Brand Specific Glow Colors */
.card-vision {
  --glow-color: rgba(79, 70, 229, 0.15);
  /* Purple */
}

.card-iot {
  --glow-color: rgba(59, 130, 246, 0.15);
  /* Blue */
}

.card-robotics {
  --glow-color: rgba(249, 115, 22, 0.15);
  /* Orange */
}

.card-agri {
  --glow-color: rgba(16, 185, 129, 0.15);
  /* Green */
}

.card-home {
  --glow-color: rgba(245, 158, 11, 0.15);
  /* Amber/Yellow */
}

.card-safety {
  --glow-color: rgba(239, 68, 68, 0.15);
  /* Red */
}

/* Adjust Navbar Logo Size */
.logo.img-logo img {
  max-height: 40px;
  width: auto;
}

/* Grid 4 Column Utility */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Built to Grow Section Grid */
.built-to-grow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .built-to-grow-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Forced Hero Padding Fix for Mobile/Tablet Overlap */
@media screen and (max-width: 1024px) {
  .hero {
    padding-top: 11rem !important;
    min-height: auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
  }
}

/* Footer Contact Info */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #A0A0A0;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-link:hover {
  color: var(--accent-blue);
}

.footer-contact-link i {
  width: 16px;
  flex-shrink: 0;
}

/* ========================================
   Product Ecosystem - Neumorphism Section
   ======================================== */

.eco-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #EFEFF4 0%, #E8E6F0 40%, #E0DCF0 60%, #EFEFF4 100%);
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.eco-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* 3-column grid: left names | center card | right names */
.eco-grid {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 2rem;
  align-items: center;
  min-height: 480px;
  position: relative;
}

/* Product name columns */
.eco-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.eco-col-left {
  text-align: left;
}

.eco-col-right {
  text-align: right;
}

/* Individual product item (number + name) */
.eco-product-item {
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  user-select: none;
}

.eco-col-left .eco-product-item {
  padding-left: 0.5rem;
}

.eco-col-right .eco-product-item {
  padding-right: 0.5rem;
}

.eco-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.eco-name {
  display: block;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  line-height: 1.15;
  transition: color 0.3s ease;
}

/* Hover state for product items */
.eco-product-item:hover .eco-name,
.eco-product-item.eco-active .eco-name {
  color: var(--accent-purple);
}

.eco-product-item:hover .eco-num,
.eco-product-item.eco-active .eco-num {
  color: var(--accent-purple);
}

/* Active state - neumorphic pill highlight */
.eco-product-item.eco-active {
  background: rgba(99, 102, 241, 0.08);
  box-shadow:
    inset 2px 2px 4px rgba(99, 102, 241, 0.1),
    inset -2px -2px 4px rgba(255, 255, 255, 0.7);
}

.eco-col-right .eco-product-item.eco-active {
  background: rgba(99, 102, 241, 0.12);
  box-shadow:
    4px 4px 12px rgba(99, 102, 241, 0.15),
    -4px -4px 12px rgba(255, 255, 255, 0.9);
}

/* Center card area */
.eco-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

/* Neumorphic product card */
.eco-card {
  position: absolute;
  width: 100%;
  max-width: 560px;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    8px 8px 24px rgba(163, 160, 190, 0.25),
    -8px -8px 24px rgba(255, 255, 255, 0.8),
    0 0 40px rgba(99, 102, 241, 0.08);
  opacity: 0;
  transform: scale(0.92) translateY(12px);
  visibility: hidden;
  transition:
    opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.45s;
  pointer-events: none;
  z-index: 2;
}

.eco-card.eco-card-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  visibility: visible;
  pointer-events: auto;
}

/* Card inner elements */
.eco-card-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 0.5rem;
}

.eco-card-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.eco-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.eco-card-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.eco-card-feature {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.eco-card-feature-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-purple);
}

.eco-card-feature-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.eco-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease, gap 0.3s ease;
}

.eco-card-cta:hover {
  color: var(--accent-purple);
  gap: 0.75rem;
}

.eco-card-cta span {
  transition: transform 0.3s ease;
}

.eco-card-cta:hover span {
  transform: translateX(3px);
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
  .eco-grid {
    grid-template-columns: 160px 1fr 160px;
    gap: 1.5rem;
  }

  .eco-name {
    font-size: clamp(1rem, 2vw, 1.35rem);
  }

  .eco-card {
    padding: 2rem;
  }
}

/* Responsive: Mobile */
@media (max-width: 768px) {
  .eco-section {
    padding: 3rem 0;
  }

  .eco-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: auto;
  }

  .eco-col {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }

  .eco-col-left,
  .eco-col-right {
    text-align: center;
  }

  .eco-product-item {
    padding: 0.5rem 1rem;
  }

  .eco-col-left .eco-product-item,
  .eco-col-right .eco-product-item {
    padding: 0.5rem 1rem;
  }

  .eco-num {
    display: none;
  }

  .eco-name {
    font-size: 0.85rem;
  }

  .eco-center {
    min-height: 0;
    position: relative;
    order: 3;
  }

  .eco-col-left {
    order: 1;
  }

  .eco-col-right {
    order: 2;
  }

  .eco-card {
    position: relative;
    transform: none;
    max-width: 100%;
    display: none;
  }

  .eco-card.eco-card-visible {
    display: block;
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .eco-card-features {
    grid-template-columns: 1fr;
  }
}