/* Status Badges */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(0, 242, 254, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-badge i {
  margin-right: 0.4rem;
  font-size: 0.8em;
}

.status-badge.core {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #000;
  border: 1px solid rgba(79, 172, 254, 0.5);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.status-badge.core::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.status-badge.core:hover::before {
  opacity: 1;
}

.status-badge.core .status-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  top: 0;
  left: 0;
  z-index: -1;
  animation: pulse 2s infinite;
}

.status-badge.fallen {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
  color: #fff;
  border: 1px solid rgba(255, 107, 107, 0.5);
  position: relative;
  overflow: hidden;
}

.status-badge.fallen::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.status-badge.fallen:hover::after {
  left: 100%;
  opacity: 0.5;
}

.status-badge.version {
  background: rgba(255, 255, 255, 0.1);
  color: #b0b0b0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.status-badge.version:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Status badge animations */
@keyframes statusPulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.status-badge.core {
  animation: statusPulse 3s infinite ease-in-out;
}

.status-badge.fallen {
  animation: float 3s infinite ease-in-out;
}

/* Add a subtle glow to active status */
.status-value.active {
  position: relative;
  padding-right: 1.2em;
}

.status-value.active::after {
  content: '•';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #4facfe;
  animation: pulse 2s infinite;
  font-size: 1.2em;
  line-height: 1;
}

/* Product Header */
.product-header {
  text-align: center;
  margin-bottom: 3rem;
}

.product-badges {
  position: absolute;
  margin-bottom: 1.5rem;
}

/* Product Showcase */
.product-showcase {
  margin: 3rem 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: rgba(30, 30, 40, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1em;
  box-sizing: border-box;
}

.app-preview {
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-screenshot {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.app-screenshot:hover {
  transform: translateY(-5px);
}

.app-demo {
  width: 100%;
  max-width: 700px;
  background: rgba(20, 20, 30, 0.8);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.app-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.app-icon {
  width: 40px;
  height: 40px;
  margin-right: 1rem;
  border-radius: 10px;
}

.app-head.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0 0 1.5rem 0;
  background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.app-actions {
  display: flex;
  gap: 1rem;
}

.app-button {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.app-button i {
  font-size: 1.1em;
}

.app-button.primary {
  background: rgba(255, 255, 255, 0.1);
  color: #000;
}

.app-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

.app-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Features Grid */
@keyframes cardHover {
  0% {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  100% {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  }
}

.feature-card h4 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: #fff;
}

.feature-card p {
  margin: 0;
  color: #b0b0b0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Integrations */
.integrations {
  margin: 3rem 0;
  text-align: center;
}

.integrations h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  color: #fff;
  position: relative;
  display: inline-block;
}

.integrations h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%);
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.product-card {
  background: rgba(20, 20, 30, 0.6);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  margin: 1rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(123, 77, 255, 0.05) 0%,
    rgba(0, 229, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.2),
    0 0 30px var(--primary);
}

.product-card:hover::before {
  opacity: 1;
}

.integration {
  background: rgba(30, 30, 40, 0.6);
  border-radius: 10px;
  padding: 1.5rem 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.integration:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(79, 172, 254, 0.3);
  background: rgba(40, 40, 55, 0.8);
}

.integration i {
  font-size: 2rem;
  color: #4facfe;
  margin-bottom: 0.5rem;
}

.integration span {
  font-size: 0.9rem;
  color: #e0e0e0;
  font-weight: 500;
}

/* Status Card */
.status-card {
  background: rgba(20, 20, 30, 0.8);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-card h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-card h3::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-left: 1rem;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 7px;
}

.status-label {
  font-size: 0.9rem;
  color: #b0b0b0;
}

.status-value {
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-value i {
  font-size: 0.7em;
}

.status-value.active {
  color: #4facfe;
}

.status-value.active i {
  color: #4facfe;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* API Demo */
.api-demo {
  margin: 3rem 0;
  background: rgba(20, 20, 30, 0.8);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.api-demo h3 {
  margin: 0;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  font-size: 1.1rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.code-block {
  background: #1e1e2d;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin: 1.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.code-block pre {
  margin: 0;
  padding: 1.5rem;
  font-family: 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #e0e0e0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  counter-reset: line;
}

.code-block code {
  display: block;
  white-space: pre;
  position: relative;
  font-family: inherit;
  tab-size: 2;
}

/* Syntax Highlighting */
.code-block .token.comment,
.code-block .token.prolog,
.code-block .token.doctype,
.code-block .token.cdata {
  color: #6c7986;
  font-style: italic;
}

.code-block .token.punctuation {
  color: #abb2bf;
}

.code-block .token.property,
.code-block .token.tag,
.code-block .token.boolean,
.code-block .token.number,
.code-block .token.constant,
.code-block .token.symbol,
.code-block .token.deleted {
  color: #d19a66;
}

.code-block .token.selector,
.code-block .token.attr-name,
.code-block .token.string,
.code-block .token.char,
.code-block .token.builtin,
.code-block .token.inserted {
  color: #98c379;
}

.code-block .token.operator,
.code-block .token.entity,
.code-block .token.url,
.code-block .language-css .token.string,
.code-block .style .token.string {
  color: #56b6c2;
}

.code-block .token.atrule,
.code-block .token.attr-value,
.code-block .token.keyword {
  color: #c678dd;
}

.code-block .token.function,
.code-block .token.class-name {
  color: #61afef;
}

.code-block .token.regex,
.code-block .token.important,
.code-block .token.variable {
  color: #e06c75;
}

/* Line numbers */
.code-block .line-number {
  position: relative;
  padding-left: 2.5em;
  counter-increment: line;
}

.code-block .line-number::before {
  content: counter(line);
  position: absolute;
  left: 0;
  width: 2em;
  text-align: right;
  padding-right: 0.75em;
  color: #6c7986;
  user-select: none;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Product Tabs */
.product-tabs {
  position: relative;
  margin: 2rem 0 1rem;
}

.tabs-container {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  box-sizing: border-box;
}

.product-tab {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(30, 30, 40, 0.5);
  border: 1px solid rgba(123, 77, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  flex: 1;
  margin: 0 0.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.product-tab::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.product-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.product-tab:focus {
  box-shadow: 0 0 0 2px rgba(79, 172, 254, 0.3);
}

.product-tab.active {
  color: #fff;
  background: rgba(79, 172, 254, 0.1);
}

.product-tab.active::before {
  transform: scaleX(1);
  transform-origin: left;
}

.tab-indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

/* Product Content */
.product-content {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

.product-content.active {
  display: block;
  animation: slideIn 0.5s ease-out;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .integration-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
  }
  
  .status-grid {
    grid-template-columns: 1fr;
  }
  
  .app-demo {
    padding: 1rem;
  }
  
  .app-actions {
    flex-direction: column;
  }
  
  .app-button {
    width: 100%;
  }
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 2rem 1rem;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #7B4DFF, #00E5FF) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 2px;
}

.hero .tagline {
  font-size: 1.5rem;
  color: #e0e0e0;
  margin-block: 3rem;
}

.hero .description {
  font-size: 1.2rem;
  color: #b0b0b0;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Products Section */
.products-section {
  padding: 4rem 1rem;
  position: relative;
  /* background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%); */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  width: 95%;
}

/* Product Content */
.product-content {
  background: rgba(20, 20, 30, 0.6);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 0;
  max-width: 1400px;
  width: 100%;
  position: relative;
  border: 1px solid rgba(123, 77, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  box-sizing: border-box;
}

.product-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(123, 77, 255, 0.05) 0%,
    rgba(0, 229, 255, 0.05) 100%);
  z-index: -1;
  opacity: 0.7;
}

.product-content h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
  font-weight: 600;
  background: linear-gradient(90deg, #fff 0%, #b4b4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(123, 77, 255, 0.2);
}

.product-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-size: 1.15rem;
  max-width: 800px;
}

/* Product Features */
.product-features {
  margin: 2.5rem 0 3rem;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.product-features li {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  padding: 1.25rem 1.5rem 1.25rem 3.5rem;
  position: relative;
  font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(5px);
  overflow: hidden;
}

.product-features li:hover {
  transform: translateX(5px);
  background: rgba(123, 77, 255, 0.1);
  border-color: rgba(123, 77, 255, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-features li::before {
  content: '→';
  position: absolute;
  left: 1.25rem;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  opacity: 0.8;
}

.product-features li:hover::before {
  transform: translateX(5px);
  opacity: 1;
  color: var(--secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .product-content {
    padding: 2rem 1.5rem;
    margin: 2rem 1rem 0;
  }
  
  .product-content h2 {
    font-size: 2rem;
  }
  
  .product-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .product-features li {
    padding: 1rem 1.25rem 1rem 3rem;
  }
  
  .product-features li::before {
    left: 1rem;
  }
}

.products-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(123, 77, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 229, 255, 0.1) 0%, transparent 40%);
  z-index: -1;
  pointer-events: none;
}

.products-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.products-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #fff;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.products-section h2:after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%);
  bottom: -10px;
  left: 20%;
}

/* Product Tabs */
.product-tabs {
  margin: 0;
  position: relative;
  z-index: 2;
}

.tabs-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.product-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-sizing: border-box;
  background: none;
}

.product-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.product-tab::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(123, 77, 255, 0.05) 0%,
    rgba(0, 229, 255, 0.05) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-tab:hover {
  transform: translateY(-8px) scale(1.02);
  background: var(--hover-bg);
  border-color: var(--primary);
  box-shadow: 
    0 15px 40px -10px rgba(123, 77, 255, 0.3),
    0 0 0 1px var(--primary),
    0 0 40px -5px rgba(123, 77, 255, 0.4);
  
  /* Enhanced neon glow */
  &::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--accent), var(--primary-light));
    z-index: -1;
    border-radius: 24px;
    opacity: 0.7;
    animation: borderGlow 3s linear infinite;
    background-size: 200% 200%;
  }
  
  .tab-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(123, 77, 255, 0.15), rgba(0, 229, 255, 0.1));
    box-shadow: 0 0 25px rgba(123, 77, 255, 0.3);
    border-color: rgba(123, 77, 255, 0.5);
  }
}

@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.product-tab:hover::after {
  opacity: 1;
}

.product-tab.active {
  background: rgba(30, 30, 40, 0.8);
  border-color: var(--primary);
  box-shadow: 
    0 25px 50px -12px rgba(123, 77, 255, 0.3),
    0 0 40px var(--primary);
  transform: translateY(-5px);
}

.product-tab.active::before {
  transform: scaleX(1);
}

.product-tab.active::after {
  opacity: 1;
}

.tab-icon {
  width: 80px;
  height: 80px;
  margin: 0 0 1.25rem 0;
  color: var(--primary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: rgba(123, 77, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #00b4ff;
  padding: 0.5rem;
  position: relative;
  overflow: hidden;
  
  /* Add a subtle inner glow */
  box-shadow: inset 0 0 10px rgba(0, 180, 255, 0.3);
  
  /* Icon/image styling */
  .tab-icon-img {
    zoom: 1.2;
    position: relative;
    width: 90px;
  }
  
  /* Icon color variations based on product */
  &[data-product="operator"] { --primary: #7B4DFF; --primary-light: #9e7bff; }
  &[data-product="katz"] { --primary: #FF4444; --primary-light: #ff7b7b; }
  &[data-product="sentinel"] {
    --primary: #00C853;
    --primary-light: #4cff8f;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.1) 0%, rgba(0, 200, 83, 0.05) 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 200, 83, 0.1);
  }
}

.product-tab:hover .tab-icon {
  transform: scale(1.1);
  background: rgba(123, 77, 255, 0.15);
  box-shadow: 0 0 20px rgba(123, 77, 255, 0.2);
}

.tab-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: #fff;
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
  line-height: 1.3;
  
  /* Gradient text for active tab */
  .product-tab.active & {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(123, 77, 255, 0.3);
  }
}

.tab-description {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  font-size: 1rem;
  font-weight: 400;
  max-width: 280px;
  opacity: 0.9;
  
  /* Smoother text rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Responsive adjustments for tabs */
@media (max-width: 1024px) {
  .tabs-container {
    gap: 1.5rem;
  }
  
  .product-tab {
    width: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .tabs-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .product-tab {
    width: 100%;
    max-width: 400px;
    padding: 2rem 1.5rem;
  }
  
  .tab-icon {
    width: 80px;
    height: 80px;
    font-size: 2.2rem;
  }
}

.tab-glow {
  position: absolute;
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, rgba(0, 242, 254, 0) 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.tab-content h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #fff;
}

.tab-content p {
  color: #b0b0b0;
  margin: 0;
}

/* Product Contents */
.product-contents {
  position: relative;
  min-height: 400px;
}

.product-content {
  display: none;
  animation: fadeIn 0.5s ease-out;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  background: rgba(15, 15, 30, 0.7);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.product-content.active {
  display: block;
}

.product-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  background: linear-gradient(45deg, #7B4DFF, #00E5FF);
  background-clip: border-box;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.product-content .tagline {
  font-size: 1.3rem;
  color: #00f2fe;
  margin-block: 1.5rem;
  display: block;
}

.product-content .description {
  font-size: 1.1rem;
  color: #d0d0d0;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Status Card */
.status-card {
  background: rgba(10, 10, 20, 0.7);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 500px;
  text-align: left;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.status-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(123, 77, 255, 0.05) 0%,
    rgba(0, 229, 255, 0.05) 100%);
  z-index: -1;
  opacity: 0.5;
}

.status-card h3 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
  font-weight: 600;
}

.status-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.status-label {
  color: #b0b0b0;
  font-weight: 400;
}

.status-value {
  color: #4facfe;
  font-weight: 500;
  position: relative;
  padding-left: 1.5rem;
}

.status-value::before {
  content: '•';
  position: absolute;
  left: 0.5rem;
  color: var(--primary);
}

.status-value.active {
  color: #4caf50;
}

.status-value.active::before {
  color: #4caf50;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero .tagline {
    font-size: 1.2rem;
    font-weight: 100;
  }
  
  .tabs-container {
    flex-direction: column;
    align-items: center;
  }
  
  .product-tab {
    width: 100%;
    max-width: 400px;
    padding: 1em;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .description {
    font-size: 0.9rem;
  }
  .products-section {
    margin: 0;
    width: 100%;
    padding: 0;
  }

  .products-section h2 {
    font-size: 2rem;
  }
  
  .product-content h2 {
    font-size: 2rem;
    margin-bottom: auto;
  }
  
  .product-content .tagline {
    font-size: 1.1rem !important;
    margin: 2.5rem 1rem 1rem !important;
  }
  
  .product-content .description {
    font-size: 1rem;
  }

  .status-badge {
    position: relative;
    top: 0 !important;
    padding: 4px !important;
    border-radius: 20px;
    font-size: 0.5rem !important;
  }

  .product-badges {
    top: 5.5em;
  }
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(20px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* === Sentinel Section Revamp === */

/* Code Example Block Styling */
.code-example-block {
  background: #0d1117; /* GitHub dark theme background */
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
  text-align: left;
  overflow-x: auto;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
}

.code-example-block pre {
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.code-example-block code {
  color: #c9d1d9; /* Default text color */
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Syntax Highlighting */
.code-example-block .code-comment { color: #8b949e; } /* Gray for comments */
.code-example-block .code-keyword { color: #ff7b72; } /* Red/Orange for keywords like const, await */
.code-example-block .code-function { color: #d2a8ff; } /* Purple for functions */
.code-example-block .code-string { color: #a5d6ff; } /* Blue for strings */
.code-example-block .code-property { color: #79c0ff; } /* Light blue for properties */

/* Status Indicator States */
.status-value.inactive {
    color: #ff6b6b; /* Red for offline status */
}

.status-value.inactive::before {
    color: #ff6b6b;
}

/* Responsive Status Card */
@media (max-width: 768px) {
  .status-card {
    padding: 1rem;
    max-width: 90%;
  }

  .status-card h3 {
    font-size: 1.1rem;
  }

  .status-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 0;
  }

  .status-label {
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
  }

  .status-value {
    font-size: 0.9rem;
    padding-left: 0;
  }

  .status-value::before {
      display: none; /* Hide the bullet on mobile for a cleaner look */
  }

  .status-value i {
      margin-right: 0.5rem;
  }
}
