/* ==========================================================================
   THREE-BRAND PORTAL: ALTISY | SOFTNAXIN | TECHNAXON
   ENTERPRISE SECURITY & CREATIVE DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Color Palette - Core System */
  --bg-primary: #080a10;
  --bg-secondary: #0d121d;
  --bg-tertiary: #131b2e;
  --bg-card: rgba(19, 27, 46, 0.7);
  --bg-card-hover: rgba(25, 36, 61, 0.85);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 255, 255, 0.15);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Brand Accents */
  /* Altisy: Creative Purple & Neon Cyan */
  --altisy-main: #a855f7;
  --altisy-glow: rgba(168, 85, 247, 0.4);
  --altisy-gradient: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
  --altisy-badge: rgba(168, 85, 247, 0.15);
  
  /* Softnaxin: Emerald SaaS Green & Mint */
  --softnaxin-main: #10b981;
  --softnaxin-glow: rgba(16, 185, 129, 0.4);
  --softnaxin-gradient: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
  --softnaxin-badge: rgba(16, 185, 129, 0.15);
  
  /* Technaxon: Electric Azure & Cyber Indigo */
  --technaxon-main: #3b82f6;
  --technaxon-glow: rgba(59, 130, 246, 0.4);
  --technaxon-gradient: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  --technaxon-badge: rgba(59, 130, 246, 0.15);

  /* Unified Gradient */
  --brand-trio-gradient: linear-gradient(90deg, #a855f7, #10b981, #3b82f6);
  
  /* Font Families */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Transitions & Shadows */
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --glow-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   STRICT ANTI-COPY & ANTI-THEFT BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  
  /* Global Unselectable */
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
  -webkit-user-drag: none !important;
}

/* Allow typing in search input */
input.search-input {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(168, 85, 247, 0.04) 0%, transparent 40%),
              radial-gradient(circle at 90% 40%, rgba(16, 185, 129, 0.04) 0%, transparent 40%),
              radial-gradient(circle at 50% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
              var(--bg-primary);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* ==========================================================================
   DYNAMIC REPEATING WATERMARK CANVAS OVERLAY
   ========================================================================== */
.watermark-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  opacity: 0.045;
  background-repeat: repeat;
  mix-blend-mode: screen;
}

/* ==========================================================================
   SECURITY PRIVACY SHIELD (SCREENSHOT & BLUR PROTECTION)
   ========================================================================== */
#privacyShield {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 16, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

#privacyShield.active {
  opacity: 1;
  pointer-events: all;
}

.shield-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 2px solid #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  animation: shieldPulse 1.8s infinite;
}

@keyframes shieldPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(239, 68, 68, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.shield-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #f87171;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.shield-desc {
  max-width: 520px;
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* ==========================================================================
   CUSTOM SECURITY TOAST NOTIFICATION
   ========================================================================== */
#securityToast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #1e1b4b;
  border: 1px solid #6366f1;
  color: #f8fafc;
  padding: 1rem 1.4rem;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 0 20px rgba(99, 102, 241, 0.3);
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  max-width: 420px;
}

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

#securityToast .toast-icon {
  font-size: 1.6rem;
}

#securityToast .toast-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #a5b4fc;
}

#securityToast .toast-body p {
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-top: 2px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 10, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-pill {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* Protected Brand Logo Images */
.brand-logo-img {
  object-fit: contain;
  pointer-events: none !important;
  -webkit-user-drag: none !important;
  user-select: none !important;
  transition: var(--transition-smooth);
}

.brand-logo-nav {
  width: 22px;
  height: 22px;
  border-radius: 4px;
}

.brand-logo-card {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glow);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.brand-logo-banner {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glow);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.brand-logo-timeline {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  margin-bottom: 0.75rem;
}

.brand-pill.altisy {
  background: var(--altisy-badge);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.brand-pill.softnaxin {
  background: var(--softnaxin-badge);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.brand-pill.technaxon {
  background: var(--technaxon-badge);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.brand-divider {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-toggle-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  transition: var(--transition-smooth);
}

.mobile-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-glow);
}

.mobile-toggle-btn .bar {
  width: 18px;
  height: 2px;
  background: #f8fafc;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.mobile-toggle-btn.open .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle-btn.open .bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle-btn.open .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.security-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #34d399;
  white-space: nowrap;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* ==========================================================================
   RESPONSIVE COMPONENT HELPERS
   ========================================================================== */
.journey-badge-box {
  text-align: center;
  min-width: 220px;
  background: rgba(0, 0, 0, 0.3);
  padding: 1.8rem;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.table-responsive-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 4rem;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.mobile-table-hint {
  display: none;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: #38bdf8;
  text-align: right;
  padding: 0.45rem 1rem;
  background: rgba(56, 189, 248, 0.08);
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   LAYOUT CONTAINERS & SECTION WRAPPERS
   ========================================================================== */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glow);
  color: var(--text-secondary);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glow);
  margin-bottom: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-badge span {
  color: #38bdf8;
  font-weight: 600;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.gradient-trio {
  background: var(--brand-trio-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-meta-bar {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.meta-item strong {
  color: var(--text-primary);
}

/* 3-Brand Master Interactive Trio Cards */
.hero-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.trio-card {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.trio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.trio-card.altisy::before { background: var(--altisy-gradient); }
.trio-card.softnaxin::before { background: var(--softnaxin-gradient); }
.trio-card.technaxon::before { background: var(--technaxon-gradient); }

.trio-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
}

.trio-card.altisy:hover { border-color: var(--altisy-main); box-shadow: 0 12px 35px var(--altisy-glow); }
.trio-card.softnaxin:hover { border-color: var(--softnaxin-main); box-shadow: 0 12px 35px var(--softnaxin-glow); }
.trio-card.technaxon:hover { border-color: var(--technaxon-main); box-shadow: 0 12px 35px var(--technaxon-glow); }

.trio-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.trio-card-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.trio-card.altisy .trio-card-title { color: #d8b4fe; }
.trio-card.softnaxin .trio-card-title { color: #6ee7b7; }
.trio-card.technaxon .trio-card-title { color: #93c5fd; }

.trio-founded-badge {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.trio-headline {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.trio-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.trio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.trio-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-card-explore {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.trio-card.altisy .btn-card-explore { background: var(--altisy-badge); color: #d8b4fe; }
.trio-card.softnaxin .btn-card-explore { background: var(--softnaxin-badge); color: #6ee7b7; }
.trio-card.technaxon .btn-card-explore { background: var(--technaxon-badge); color: #93c5fd; }

.trio-card:hover .btn-card-explore {
  opacity: 0.9;
  transform: translateX(3px);
}

/* ==========================================================================
   TIMELINE & ECOSYSTEM LAYER ARCHITECTURE
   ========================================================================== */
.ecosystem-flow-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 2.5rem;
  margin-top: 3rem;
  text-align: center;
  position: relative;
}

.ecosystem-layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
}

.layer-step {
  background: var(--bg-primary);
  border-radius: 14px;
  padding: 1.6rem;
  border: 1px solid var(--border-subtle);
  position: relative;
  text-align: left;
}

.layer-step .step-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.layer-step h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.layer-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   INTERACTIVE BRAND HUBS (TABS & DEEP DIVES)
   ========================================================================== */
.brand-nav-pills {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.brand-tab-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}

.brand-tab-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.brand-tab-btn.active.altisy {
  background: var(--altisy-badge);
  border-color: var(--altisy-main);
  color: #f3e8ff;
  box-shadow: 0 0 20px var(--altisy-glow);
}

.brand-tab-btn.active.softnaxin {
  background: var(--softnaxin-badge);
  border-color: var(--softnaxin-main);
  color: #ecfdf5;
  box-shadow: 0 0 20px var(--softnaxin-glow);
}

.brand-tab-btn.active.technaxon {
  background: var(--technaxon-badge);
  border-color: var(--technaxon-main);
  color: #eff6ff;
  box-shadow: 0 0 20px var(--technaxon-glow);
}

.brand-tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.brand-tab-content.active {
  display: block;
}

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

/* Brand Banner Card */
.brand-hero-banner {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid var(--border-subtle);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.brand-hero-banner.altisy { border-left: 6px solid var(--altisy-main); }
.brand-hero-banner.softnaxin { border-left: 6px solid var(--softnaxin-main); }
.brand-hero-banner.technaxon { border-left: 6px solid var(--technaxon-main); }

.banner-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.banner-title {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.banner-subtitle {
  font-size: 1.25rem;
  color: #38bdf8;
  font-weight: 600;
  margin-top: 0.3rem;
}

.banner-tagline-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-glow);
  padding: 1.2rem 1.6rem;
  border-radius: 12px;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
}

.banner-funnel-formula {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #94a3b8;
}

.formula-step {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  color: #f1f5f9;
  font-weight: 600;
}

.formula-arrow {
  color: var(--text-muted);
}

/* Service Grids */
.services-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.services-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.service-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.altisy .service-icon { background: var(--altisy-badge); color: #c084fc; }
.softnaxin .service-icon { background: var(--softnaxin-badge); color: #34d399; }
.technaxon .service-icon { background: var(--technaxon-badge); color: #60a5fa; }

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.feature-list li::before {
  content: '✓';
  font-weight: 700;
  font-size: 0.8rem;
}

.altisy .feature-list li::before { color: #c084fc; }
.softnaxin .feature-list li::before { color: #34d399; }
.technaxon .feature-list li::before { color: #60a5fa; }

/* SaaS Products Showcase Specifics */
.saas-showcase-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.saas-product-card {
  background: var(--bg-tertiary);
  border-radius: 18px;
  padding: 2.2rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.saas-product-card:hover {
  transform: translateY(-5px);
  border-color: #10b981;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.product-type-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  margin-bottom: 0.9rem;
}

.product-name {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: #f1f5f9;
}

.product-tagline {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.saas-portfolio-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.05) 100%);
  border: 1px dashed rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.portfolio-checklist {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.portfolio-item-tag {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   CUSTOMER JOURNEY (STAGES 1 TO 6)
   ========================================================================== */
.journey-timeline-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.journey-step-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.2rem 0.8rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.journey-step-btn:hover {
  background: var(--bg-card-hover);
}

.journey-step-btn.active {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

.journey-step-btn .stage-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.3rem;
}

.journey-step-btn .stage-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  line-height: 1.3;
}

.journey-step-btn .stage-brand {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.4rem;
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.stage-brand.b-altisy { background: var(--altisy-badge); color: #d8b4fe; }
.stage-brand.b-softnaxin { background: var(--softnaxin-badge); color: #6ee7b7; }
.stage-brand.b-technaxon { background: var(--technaxon-badge); color: #93c5fd; }
.stage-brand.b-hybrid { background: rgba(255,255,255,0.08); color: #fde047; }

.journey-display-card {
  background: var(--bg-tertiary);
  border-radius: 20px;
  padding: 2.8rem;
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.journey-details {
  max-width: 650px;
}

.journey-details h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.journey-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.journey-tag-badge {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #e2e8f0;
}

/* ==========================================================================
   CROSS-SELLING MATRIX & ECOSYSTEM INTERACTIVITY
   ========================================================================== */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.matrix-flow-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
  position: relative;
}

.matrix-flow-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
}

.matrix-route {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.route-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   MARKETING, AEO, GEO & AGENCY BRIEF SECTIONS
   ========================================================================== */
.strategy-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.strategy-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-subtle);
}

.strategy-card h4 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.strategy-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Funnel Visualizer */
.funnel-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.funnel-tier {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.funnel-tier:hover {
  transform: scale(1.02);
  border-color: var(--border-glow);
}

.funnel-tier-label {
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.funnel-tier-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

/* Accordion Component */
.accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 1050px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.accordion-trigger {
  width: 100%;
  padding: 1.4rem 1.8rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-trigger:hover {
  background: rgba(255, 255, 255, 0.02);
}

.accordion-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.8rem;
}

.accordion-item.active .accordion-panel {
  max-height: 1200px;
  padding: 0 1.8rem 1.8rem;
}

.accordion-panel p, .accordion-panel ul {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.accordion-panel ul {
  margin-left: 1.2rem;
  margin-top: 0.75rem;
}

.accordion-panel li {
  margin-bottom: 0.4rem;
}

/* Question List Grid */
.questions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.question-card {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem 1.2rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.q-num {
  font-family: var(--font-mono);
  font-weight: 800;
  color: #38bdf8;
}

/* ==========================================================================
   LIVE SEARCH BAR & FILTER COMPONENT
   ========================================================================== */
.search-filter-wrapper {
  max-width: 650px;
  margin: 0 auto 3rem;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1rem 1.5rem 1rem 3.2rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glow);
  border-radius: 9999px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  outline: none;
  transition: var(--transition-smooth);
}

.search-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.search-icon-svg {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
footer {
  background: #05070c;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2.5rem;
  margin-top: 4rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 1rem;
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-smooth);
}

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

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

/* ==========================================================================
   PRINT PROTECTION: COMPLETE CONTENT BLANKING & SECURITY NOTICE
   ========================================================================== */
@media print {
  body * {
    display: none !important;
    visibility: hidden !important;
  }
  body {
    background: #ffffff !important;
    color: #dc2626 !important;
  }
  body::before {
    content: "⚠️ SECURITY NOTICE: PRINTING, EXPORTING, OR CREATING PDFS OF THE ALTISY | SOFTNAXIN | TECHNAXON PROPRIETARY BRIEF IS STRICTLY PROHIBITED BY SECURITY POLICY.";
    display: block !important;
    visibility: visible !important;
    font-family: monospace, sans-serif !important;
    font-size: 18pt !important;
    font-weight: 800 !important;
    text-align: center !important;
    padding: 120pt 30pt !important;
    border: 3pt solid #dc2626 !important;
    margin: 40pt auto !important;
    max-width: 600pt !important;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & PHONES)
   ========================================================================== */
/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & PHONES)
   ========================================================================== */

/* Large Tablets & Small Desktops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .hero-trio-grid { grid-template-columns: 1fr; }
  .ecosystem-layers { grid-template-columns: 1fr; }
  .services-grid-3col { grid-template-columns: 1fr 1fr; }
  .saas-showcase-container { grid-template-columns: 1fr; }
  .journey-timeline-nav { grid-template-columns: repeat(3, 1fr); }
  .strategy-cards-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* Tablets & Mobile Navigation Trigger (<= 920px) */
@media (max-width: 920px) {
  .mobile-toggle-btn {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(8, 10, 16, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glow);
    padding: 1.5rem 1.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.8);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    padding: 0.75rem 0;
    width: 100%;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
}

/* Standard Tablets & Mobile Phones (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 1.1rem;
  }

  section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.95rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .navbar {
    padding: 0.75rem 1rem;
  }

  .hero {
    padding: 4rem 0 2.5rem;
  }

  .hero-title {
    font-size: 2.15rem;
    line-height: 1.18;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 1.8rem;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    text-align: center;
    line-height: 1.4;
  }

  .hero-meta-bar {
    flex-direction: column;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    align-items: flex-start;
    margin-bottom: 2.5rem;
  }

  .trio-card {
    padding: 1.75rem 1.35rem;
  }

  .ecosystem-flow-box {
    padding: 1.6rem 1.1rem;
    margin-top: 2rem;
  }

  .ecosystem-flow-box h3 {
    font-size: 1.35rem;
  }

  .services-grid-2x2, 
  .services-grid-3col {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-card {
    padding: 1.6rem 1.25rem;
  }

  .matrix-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .matrix-flow-card {
    padding: 1.6rem 1.25rem;
  }

  /* Customer Journey Mobile */
  .journey-timeline-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .journey-step-btn {
    padding: 0.85rem 0.5rem;
  }

  .journey-display-card {
    padding: 1.6rem 1.2rem;
    gap: 1.5rem;
  }

  .journey-badge-box {
    width: 100%;
    min-width: unset;
    padding: 1.2rem;
  }

  /* Brand Deep Dive Banners */
  .brand-hero-banner {
    padding: 1.8rem 1.2rem;
  }

  .banner-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .banner-title {
    font-size: 2rem;
  }

  .banner-subtitle {
    font-size: 1.05rem;
  }

  .brand-logo-banner {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    padding: 6px;
  }

  .banner-tagline-box {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .banner-funnel-formula {
    gap: 0.4rem;
    font-size: 0.78rem;
  }

  .formula-step {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }

  /* Funnel & Strategy */
  .funnel-tier {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem 1.2rem;
  }

  .funnel-tier-label {
    font-size: 0.98rem;
  }

  .funnel-tier-desc {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .strategy-card {
    padding: 1.6rem 1.25rem;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-checklist {
    grid-template-columns: 1fr;
  }

  /* Table Hint */
  .mobile-table-hint {
    display: block;
  }

  /* Accordions */
  .accordion-trigger {
    padding: 1.1rem 1.2rem;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .accordion-panel {
    padding: 0 1.2rem 1.2rem;
  }

  .questions-grid {
    grid-template-columns: 1fr;
  }

  .question-card {
    padding: 0.85rem 1rem;
    font-size: 0.84rem;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

/* Small Smartphone Optimization (<= 640px) */
@media (max-width: 640px) {
  /* Brand Tabs Segmented Control */
  .brand-nav-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
    width: 100%;
  }

  .brand-tab-btn {
    padding: 0.65rem 0.3rem;
    font-size: 0.78rem;
    justify-content: center;
    gap: 0.35rem;
  }

  .brand-tab-btn small {
    display: none !important;
  }

  .brand-tab-btn .brand-logo-nav {
    width: 18px;
    height: 18px;
  }

  /* Privacy Shield Mobile */
  #privacyShield {
    padding: 1.5rem 1rem;
  }

  .shield-icon {
    width: 68px;
    height: 68px;
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .shield-title {
    font-size: 1.5rem;
  }

  .shield-desc {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* Security Toast Mobile */
  #securityToast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: calc(100% - 2rem);
    padding: 0.85rem 1rem;
  }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
  .navbar {
    padding: 0.65rem 0.85rem;
  }

  .brand-logos {
    gap: 0.3rem;
  }

  .brand-pill {
    font-size: 0.68rem;
    padding: 0.2rem 0.38rem;
    gap: 0.22rem;
    letter-spacing: 0.04em;
  }

  .brand-logo-nav {
    width: 16px;
    height: 16px;
  }

  .brand-divider {
    font-size: 0.7rem;
    margin: 0 -0.15rem;
  }

  .security-indicator .sec-text {
    display: none;
  }

  .security-indicator {
    padding: 0.35rem 0.5rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .trio-card-title {
    font-size: 1.5rem;
  }

  .brand-logo-card {
    width: 44px;
    height: 44px;
  }

  .banner-title {
    font-size: 1.7rem;
  }

  .journey-timeline-nav {
    grid-template-columns: 1fr;
  }

  .search-input {
    padding: 0.85rem 1rem 0.85rem 2.6rem;
    font-size: 0.85rem;
  }

  .search-icon-svg {
    left: 0.85rem;
    width: 16px;
    height: 16px;
  }
}
