/*
 * ACCOUNTS CUBE CORPORATE CONSULTING LLP
 * Master Stylesheet - Redesign 2026 (Premium Futuristic Fintech Theme)
 */

/* Import Google Fonts: Archivo Black, Archivo, Space Mono & Inter */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Archivo:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

/* --- Design Tokens & Variables --- */
:root {
  /* Ultra-Dark Technical Background System */
  --primary: #05070B;        /* Deep Black / Near-Black (Main BG) */
  --primary-light: #080C14;  /* Dark Navy Card Base */
  --primary-rgb: 5, 7, 11;
  
  --bg-primary: #05070B;      /* Main background */
  --bg-secondary: #080C14;    /* Primary card & section background */
  --bg-tertiary: #0D1522;     /* Elevated surface, input & card hover */
  --bg-dark: #030508;         /* Deepest dark background (Footer, Modals) */
  
  /* Accounts Cube Core Brand Colors */
  --accent: #13C583;         /* Accounts Cube Vibrant Mint Green */
  --accent-hover: #10B981;   /* Emerald Green Hover */
  --accent-rgb: 19, 197, 131;
  --accent-glow: rgba(19, 197, 131, 0.22);
  
  --secondary: #0284C7;      /* Accounts Cube Financial Blue */
  --secondary-light: #00E5FF;/* Electric Cyan Tech Highlight */
  --secondary-rgb: 2, 132, 199;
  --secondary-glow: rgba(2, 132, 199, 0.28);
  
  /* High-Contrast Technical Typography Colors */
  --text-dark: #FFFFFF;       /* Pure White for Headings */
  --text-light: #F8FAFC;      /* Slate 50 Body Text */
  --text-main: #94A3B8;       /* Slate 400 Secondary Text */
  --text-muted: #64748B;      /* Slate 500 Metadata & Captions */
  
  /* Technical Fine Borders */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(2, 132, 199, 0.5);
  --border-glow-blue: rgba(2, 132, 199, 0.35);
  --border-glow-green: rgba(19, 197, 131, 0.35);
  
  /* Typography System */
  --font-hero: 'Archivo Black', 'Archivo', sans-serif;
  --font-heading: 'Archivo', sans-serif;
  --font-tech: 'Space Mono', monospace;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-premium: 0 24px 64px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 24px rgba(2, 132, 199, 0.22);
  --shadow-glow-green: 0 0 24px rgba(19, 197, 131, 0.2);
  
  /* Radii: Clean, sharp, technical - avoiding oversized pills */
  --radius-xs: 4px;
  --radius-sm: 6px;           /* Buttons & micro-labels */
  --radius-md: 10px;          /* Cards (8–14px) */
  --radius-lg: 14px;          /* Containers & modals */
  --radius-full: 9999px;      /* Status indicators only */
  
  /* Transitions */
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s ease;
  
  --max-width: 1300px;
}

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

html {
  scroll-padding-top: 85px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  /* Dark Technical Grid Background: 80px CSS grid */
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center top;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-main);
}

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

ul {
  list-style: none;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* --- Global Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

/* Generous Section Spacing (100–140px desktop, 70–90px mobile) */
.section-padding {
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 4.8rem;
    padding-bottom: 4.8rem;
  }
}

.text-center {
  text-align: center;
}

.accent-text {
  color: var(--accent);
}

/* Section Header Utility with Technical Hierarchy */
.section-header {
  max-width: 740px;
  margin: 0 auto 4.5rem auto;
  text-align: center;
}

/* Technical Micro-Labels (Space Mono, 11-13px, uppercase, 0.18em spacing) */
.subtitle, 
.section-tag,
.hero-tagline,
.hero-badge,
.about-hero-badge {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  background: rgba(19, 197, 131, 0.06);
  border: 1px solid rgba(19, 197, 131, 0.25);
  border-radius: var(--radius-xs);
  padding: 5px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 0 14px rgba(19, 197, 131, 0.08);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-dark);
}

.section-header p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-main);
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 1.95rem;
  }
  .section-header p {
    font-size: 0.95rem;
  }
}

/* Custom Gradients with Ambient Radial Cones */
.gradient-bg-light {
  background: 
    radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(19, 197, 131, 0.05) 0%, transparent 45%),
    var(--bg-primary);
}

.gradient-bg-dark {
  background: 
    radial-gradient(circle at 20% 30%, rgba(2, 132, 199, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(19, 197, 131, 0.08) 0%, transparent 50%),
    var(--bg-dark);
}

/* Modern Technical Buttons (Sharp 6px corners, 48-52px height, no oversized pills) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 26px;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  gap: 0.65rem;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s ease;
}

/* Primary Button: Accounts Cube Blue/Green Gradient Accent with Controlled Glow */
.btn-primary {
  background: linear-gradient(135deg, #0284C7 0%, #13C583 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.3), 0 0 14px rgba(19, 197, 131, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0284C7 20%, #10B981 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(2, 132, 199, 0.45), 0 0 22px rgba(19, 197, 131, 0.35);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

/* Secondary Button: Dark Translucent Glass with Fine Border */
.btn-secondary {
  background: rgba(255, 255, 255, 0.035);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(2, 132, 199, 0.45);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45), 0 0 18px rgba(2, 132, 199, 0.2);
}

.btn-secondary:hover svg {
  transform: translateX(3px);
}

.btn-outline-white {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.15);
}

.btn-white {
  background-color: #FFFFFF;
  color: var(--primary);
  border-radius: var(--radius-sm);
}

.btn-white:hover {
  background-color: #F8FAFC;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* --- 1. Header & Navigation --- */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  background-color: rgba(5, 7, 11, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-wrapper.scrolled {
  background-color: rgba(5, 7, 11, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-bottom-color: rgba(255, 255, 255, 0.09);
  padding: 0.4rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition-smooth);
}

.header-wrapper.scrolled .header-container {
  height: 66px;
}

/* Logo Design */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: 215px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease, height 0.3s ease;
}

.header-wrapper.scrolled .logo-img {
  height: 34px;
  max-width: 185px;
}

.logo:hover .logo-img {
  filter: drop-shadow(0 0 14px rgba(2, 132, 199, 0.45));
  transform: scale(1.02);
}

.footer-logo {
  margin-bottom: 1.25rem;
  display: inline-block;
}

.footer-logo .logo-img {
  height: 44px;
  max-width: 230px;
}

@media (max-width: 768px) {
  .logo-img {
    height: 34px;
    max-width: 170px;
  }
  .header-wrapper.scrolled .logo-img {
    height: 30px;
    max-width: 155px;
  }
}

/* Desktop Nav Menu: Minimal Technical Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-family: var(--font-tech);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-main);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #FFFFFF;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Navigation Link Login item */
.nav-link-login {
  color: var(--accent) !important;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-tech);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
}

.nav-link-login svg {
  color: var(--accent);
  transition: transform var(--transition-fast);
}

.nav-link-login:hover svg {
  transform: translateX(2px);
}

/* Minimal Technical Login Button in Header */
.btn-login {
  height: 44px;
  padding: 0 22px;
  font-family: var(--font-tech);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(2, 132, 199, 0.45);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 14px rgba(2, 132, 199, 0.15);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-login:hover {
  background: rgba(2, 132, 199, 0.18);
  border-color: var(--secondary-light);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.35);
}

.btn-login svg {
  width: 16px;
  height: 16px;
  color: var(--secondary-light);
  transition: var(--transition-fast);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  cursor: pointer;
  z-index: 1010;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Open states for toggle */
.mobile-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

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

/* Media Queries for Header */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 1.4rem;
  }
  .nav-cta {
    gap: 0.65rem;
  }
  .btn-login, .nav-cta .btn-primary {
    padding: 0.65rem 1.15rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    gap: 1rem;
  }
}

@media (max-width: 991px) {
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-secondary);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 2.5rem 2rem 2.5rem;
    gap: 2rem;
    transition: var(--transition-smooth);
    z-index: 1005;
    border-left: 1px solid var(--border-color);
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-link {
    font-size: 1.15rem;
    width: 100%;
  }
  
  .nav-cta {
    width: 100%;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }
  
  .nav-cta .btn {
    width: 100%;
  }
  
  .header-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(4, 10, 18, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1002;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
  }
  
  .header-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }
}


/* --- 2. Hero Section --- */
.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 11rem;
  padding-bottom: 7.5rem;
  background-color: var(--bg-primary);
  /* Technical Grid Background with Ambient Lighting Cones */
  background-image: 
    radial-gradient(ellipse 65% 50% at 50% 12%, rgba(2, 132, 199, 0.12) 0%, rgba(19, 197, 131, 0.05) 50%, transparent 80%),
    linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 100% 100%, 80px 80px, 80px 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
}

.hero-content {
  max-width: 660px;
}

/* Technical Micro-Label */
.hero-tagline {
  font-family: var(--font-tech);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(19, 197, 131, 0.06);
  border: 1px solid rgba(19, 197, 131, 0.28);
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.85rem;
  box-shadow: 0 0 16px rgba(19, 197, 131, 0.1);
}

.hero-tagline svg {
  width: 14px;
  height: 14px;
}

/* Massive High-Contrast Hero Headline (Archivo Black 900, 64–82px desktop) */
.hero-title {
  font-family: var(--font-hero);
  font-weight: 900;
  font-size: clamp(2.45rem, 5.2vw, 4.85rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin-bottom: 1.85rem;
  text-transform: uppercase;
}

.hero-title span {
  background: linear-gradient(135deg, #FFFFFF 15%, var(--accent) 70%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 20px rgba(19, 197, 131, 0.25));
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.75;
  margin-bottom: 2.75rem;
  color: var(--text-main);
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Hero Illustration / 3D Graphics Integration */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  width: 100%;
  max-width: 520px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.65));
}

.hero-glow-1 {
  position: absolute;
  top: 10%;
  left: 20%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 197, 131, 0.16) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
}

.hero-glow-2 {
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.14) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
}

/* Floating Technical Badges in Hero */
.hero-floating-badge {
  position: absolute;
  background: rgba(8, 12, 20, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 5;
  animation: float 6s ease-in-out infinite;
}

.hero-badge-1 {
  bottom: 12%;
  left: 5%;
  animation-delay: 0s;
}

.hero-badge-2 {
  top: 15%;
  right: 5%;
  animation-delay: 3s;
}

.badge-icon {
  width: 38px;
  height: 38px;
  background-color: rgba(19, 197, 131, 0.1);
  border: 1px solid rgba(19, 197, 131, 0.25);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.badge-info {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.badge-text {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  color: var(--text-muted);
}

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

/* Tablet Responsive Typography (50–64px) */
@media (max-width: 991px) {
  .hero-section {
    padding-top: 8.5rem;
    padding-bottom: 5.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-title {
    font-size: clamp(3.2rem, 6.2vw, 3.95rem);
    line-height: 0.95;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* Mobile Responsive Typography (38–48px) */
@media (max-width: 576px) {
  .hero-section {
    padding-top: 7.2rem;
    padding-bottom: 4.5rem;
  }

  .hero-title {
    font-size: clamp(2.35rem, 9.5vw, 2.95rem);
    line-height: 0.96;
  }
  
  .hero-subtitle {
    font-size: 0.98rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-floating-badge {
    display: none; /* Clean presentation on compact mobile viewports */
  }
}


/* --- 3. Stats / Trust Section --- */
.stats-section {
  background-color: var(--bg-primary);
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
}

.stats-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  padding: 2.75rem 2.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
}

.stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.4), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.06);
}

.stat-number {
  font-size: clamp(2.4rem, 3.8vw, 3.1rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
  font-family: var(--font-heading);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 1.5rem;
  }
  
  .stat-item:nth-child(2n)::after {
    display: none;
  }
  
  .stat-item:not(:last-child)::after {
    right: -0.75rem;
  }
}

@media (max-width: 576px) {
  .stats-card {
    padding: 2rem 1.25rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .stat-item::after {
    display: none !important;
  }
}


/* --- 4. About Section --- */
.about-section {
  background-color: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content-left h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-dark);
}

.about-content-left p {
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.about-content-left p:last-of-type {
  margin-bottom: 2.5rem;
}

/* Core Values Card Layout on the Right */
.about-grid-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.value-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border-color);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.value-card:hover {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 20px rgba(2, 132, 199, 0.12);
  transform: translateY(-4px);
}

.value-icon {
  width: 46px;
  height: 46px;
  background-color: rgba(2, 132, 199, 0.08);
  color: var(--accent-blue);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(2, 132, 199, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition-smooth);
}

.value-card:hover .value-icon {
  background-color: var(--accent-blue);
  color: #FFFFFF;
  border-color: var(--accent-blue);
  box-shadow: 0 0 16px rgba(2, 132, 199, 0.4);
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  color: var(--text-dark);
}

.value-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 576px) {
  .about-grid-right {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .about-content-left h2 {
    font-size: 1.95rem;
  }
}


/* --- 5. Core Services Section --- */
.services-section {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.service-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 2.25rem 2rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 20px rgba(2, 132, 199, 0.12);
  border-color: rgba(2, 132, 199, 0.35);
}

.service-header-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(2, 132, 199, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
  border: 1px solid rgba(2, 132, 199, 0.22);
}

.service-card:hover .service-header-icon {
  background-color: var(--accent-blue);
  color: #FFFFFF;
  border-color: var(--accent-blue);
  box-shadow: 0 0 16px rgba(2, 132, 199, 0.4);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex-grow: 1;
  color: var(--text-main);
}

.service-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
  gap: 0.45rem;
  transition: var(--transition-fast);
}

.service-link svg {
  width: 14px;
  height: 14px;
  transition: var(--transition-fast);
}

.service-card:hover .service-link {
  color: var(--accent-blue);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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


/* --- 6. Why Choose Us Section --- */
.why-section {
  background-color: var(--bg-primary);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.why-left h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-dark);
}

.why-left p {
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  color: var(--text-main);
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.why-check {
  width: 24px;
  height: 24px;
  background-color: rgba(19, 197, 131, 0.1);
  border: 1px solid rgba(19, 197, 131, 0.3);
  color: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.why-check svg {
  width: 13px;
  height: 13px;
}

.why-item-content h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
  color: var(--text-dark);
}

.why-item-content p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 0;
}

/* Why Right: Graphic Visual */
.why-right {
  position: relative;
}

.why-visual-box {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 3.25rem;
  position: relative;
  z-index: 2;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.why-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-mini-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.why-mini-card:hover {
  transform: translateY(-3px);
  border-color: rgba(2, 132, 199, 0.3);
}

.why-mini-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-blue);
  line-height: 1;
}

.why-mini-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
}

.why-mini-text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.why-glow {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.1) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 1;
}

@media (max-width: 991px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 576px) {
  .why-left h2 {
    font-size: 2rem;
  }
  .why-visual-box {
    padding: 2rem 1.5rem;
  }
  .why-visual-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


/* --- 7. Finmultiverse Section --- */
.finmultiverse-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: var(--bg-primary);
}

.fin-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 4.5rem 3.5rem;
  color: white;
  box-shadow: var(--shadow-card);
  background: radial-gradient(circle at 80% 50%, rgba(2, 132, 199, 0.12) 0%, transparent 50%),
              var(--bg-secondary);
  border: 1px solid var(--border-color);
}

.fin-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

.fin-tag {
  background-color: rgba(2, 132, 199, 0.08);
  color: var(--accent-blue);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.fin-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: white;
}

.fin-title span {
  color: var(--accent-blue);
}

.fin-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 2.25rem;
  max-width: 600px;
}

.fin-graphic {
  display: flex;
  justify-content: center;
  position: relative;
}

/* ==========================================================================
   7. Finmultiverse - 3D Accounting, Finance & Tax Ecosystem Animation
   ========================================================================== */

.fin-ecosystem-scene {
  width: 100%;
  max-width: 440px;
  height: 380px;
  position: relative;
  perspective: 1200px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  user-select: none;
  animation: ecoSceneFloat 10s ease-in-out infinite;
}

.fin-ambient-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 197, 131, 0.16) 0%, rgba(2, 132, 199, 0.1) 45%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

/* Holographic Financial Trend SVG Curve */
.fin-trend-svg {
  position: absolute;
  width: 100%;
  max-width: 380px;
  height: auto;
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
}

.trend-path {
  stroke-dasharray: 500;
  stroke-dashoffset: 0;
  animation: trendGlowPulse 4s ease-in-out infinite;
}

.trend-dot {
  filter: drop-shadow(0 0 6px rgba(19, 197, 131, 0.8));
  animation: dotPulse 2.5s ease-in-out infinite alternate;
}

.trend-dot.dot-2 {
  animation-delay: 0.8s;
  filter: drop-shadow(0 0 6px rgba(2, 132, 199, 0.8));
}

.trend-dot.dot-3 {
  animation-delay: 1.6s;
  filter: drop-shadow(0 0 10px rgba(19, 197, 131, 1));
}

/* Central 3D Financial Core Hub */
.fin-core-hub {
  width: 180px;
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  z-index: 5;
}

.core-hologram-disc {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(19, 197, 131, 0.35) 0%, rgba(11, 25, 44, 0.95) 75%);
  border: 2px solid rgba(19, 197, 131, 0.75);
  box-shadow: 
    0 0 35px rgba(19, 197, 131, 0.45), 
    0 0 70px rgba(2, 132, 199, 0.25),
    inset 0 0 20px rgba(19, 197, 131, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 6;
  animation: pulseHubCore 4s ease-in-out infinite;
}

.core-currency-symbol {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 0 15px rgba(19, 197, 131, 0.9), 0 0 30px rgba(19, 197, 131, 0.5);
  line-height: 1;
}

.core-pulse-energy {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1.5px solid rgba(19, 197, 131, 0.6);
  animation: energyRipple 3s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
  pointer-events: none;
}

/* 3D Coordinate Ticker Rings */
.core-ticker-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
  transform-style: preserve-3d;
}

.core-ticker-ring.ring-1 {
  width: 155px;
  height: 155px;
  border: 1.5px dashed rgba(19, 197, 131, 0.5);
  box-shadow: 0 0 14px rgba(19, 197, 131, 0.15);
  animation: spinTickerRing1 16s linear infinite;
}

.core-ticker-ring.ring-2 {
  width: 215px;
  height: 215px;
  border: 1.5px dotted rgba(2, 132, 199, 0.45);
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.15);
  animation: spinTickerRing2 22s linear infinite reverse;
}

.core-ticker-ring.ring-3 {
  width: 275px;
  height: 275px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top-color: rgba(19, 197, 131, 0.7);
  border-bottom-color: rgba(2, 132, 199, 0.7);
  animation: spinTickerRing3 26s linear infinite;
}

/* Floating Micro-Tokens */
.fin-micro-token {
  position: absolute;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 8;
}

.token-gst {
  top: 22%;
  left: 20%;
  background: rgba(19, 197, 131, 0.15);
  color: #13C583;
  border: 1px solid rgba(19, 197, 131, 0.4);
  animation: floatTokenGST 6s ease-in-out infinite;
}

.token-tax {
  bottom: 24%;
  right: 18%;
  background: rgba(2, 132, 199, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(2, 132, 199, 0.4);
  animation: floatTokenTax 7s ease-in-out infinite 1s;
}

.token-pct {
  top: 25%;
  right: 22%;
  background: rgba(245, 158, 11, 0.12);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  animation: floatTokenPct 6.5s ease-in-out infinite 0.5s;
}

.token-inr {
  bottom: 22%;
  left: 22%;
  background: rgba(19, 197, 131, 0.12);
  color: #34D399;
  border: 1px solid rgba(19, 197, 131, 0.4);
  animation: floatTokenINR 7.5s ease-in-out infinite 1.5s;
}

/* 3D Floating Accounting & Finance Domain Cards */
.fin-float-card {
  position: absolute;
  background: rgba(11, 25, 44, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(19, 197, 131, 0.08);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 10;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  transform-style: preserve-3d;
}

.fin-float-card:hover {
  border-color: rgba(19, 197, 131, 0.5);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(19, 197, 131, 0.25);
  z-index: 20;
}

.fcard-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fcard-badge-icon svg {
  width: 20px;
  height: 20px;
}

.tax-icon {
  background: rgba(19, 197, 131, 0.15);
  color: var(--accent);
  border: 1px solid rgba(19, 197, 131, 0.3);
}

.ledger-icon {
  background: rgba(245, 158, 11, 0.12);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.media-icon {
  background: rgba(2, 132, 199, 0.15);
  color: var(--secondary);
  border: 1px solid rgba(2, 132, 199, 0.3);
}

.fcard-content {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.fcard-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.fcard-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.fcard-status-pill {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(19, 197, 131, 0.15);
  color: var(--accent);
}

.fcard-trend-up {
  font-size: 0.7rem;
  font-weight: 700;
  color: #10B981;
}

.fcard-metric {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
  font-family: var(--font-heading);
  line-height: 1.2;
}

.fcard-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Animated Equalizer Bar Chart */
.fcard-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 32px;
  padding: 2px;
}

.fcard-bars .bar {
  width: 5px;
  border-radius: 2px;
  background: linear-gradient(to top, var(--secondary), var(--accent));
  animation: barWave 1.8s ease-in-out infinite alternate;
}

.fcard-bars .bar-1 { height: 45%; animation-delay: 0.1s; }
.fcard-bars .bar-2 { height: 80%; animation-delay: 0.4s; }
.fcard-bars .bar-3 { height: 60%; animation-delay: 0.2s; }
.fcard-bars .bar-4 { height: 100%; animation-delay: 0.6s; }

/* Positioning the 4 Domain Cards in 3D Space */
.card-tax {
  top: 15px;
  left: 0;
  animation: floatCardTax 7s ease-in-out infinite;
}

.card-analytics {
  bottom: 25px;
  right: 0;
  animation: floatCardAnalytics 8s ease-in-out infinite 0.5s;
}

.card-ledger {
  bottom: 30px;
  left: 10px;
  animation: floatCardLedger 7.5s ease-in-out infinite 1.2s;
}

.card-media {
  top: 25px;
  right: 10px;
  animation: floatCardMedia 8.5s ease-in-out infinite 0.8s;
}

/* Keyframe Animations */
@keyframes ecoSceneFloat {
  0%, 100% { transform: rotateX(0deg) rotateY(0deg); }
  50% { transform: rotateX(4deg) rotateY(-5deg); }
}

@keyframes pulseHubCore {
  0%, 100% {
    transform: scale(1);
    box-shadow: 
      0 0 35px rgba(19, 197, 131, 0.45), 
      0 0 70px rgba(2, 132, 199, 0.25),
      inset 0 0 20px rgba(19, 197, 131, 0.3);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 
      0 0 50px rgba(19, 197, 131, 0.7), 
      0 0 90px rgba(2, 132, 199, 0.4),
      inset 0 0 25px rgba(19, 197, 131, 0.5);
  }
}

@keyframes energyRipple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@keyframes spinTickerRing1 {
  0% { transform: translate(-50%, -50%) rotateX(65deg) rotateY(15deg) rotateZ(0deg); }
  100% { transform: translate(-50%, -50%) rotateX(65deg) rotateY(15deg) rotateZ(360deg); }
}

@keyframes spinTickerRing2 {
  0% { transform: translate(-50%, -50%) rotateX(-45deg) rotateY(35deg) rotateZ(360deg); }
  100% { transform: translate(-50%, -50%) rotateX(-45deg) rotateY(35deg) rotateZ(0deg); }
}

@keyframes spinTickerRing3 {
  0% { transform: translate(-50%, -50%) rotateX(25deg) rotateZ(0deg); }
  100% { transform: translate(-50%, -50%) rotateX(25deg) rotateZ(-360deg); }
}

@keyframes barWave {
  0% { transform: scaleY(0.4); opacity: 0.7; }
  100% { transform: scaleY(1); opacity: 1; }
}

@keyframes trendGlowPulse {
  0%, 100% { opacity: 0.7; filter: drop-shadow(0 0 3px rgba(19, 197, 131, 0.4)); }
  50% { opacity: 1; filter: drop-shadow(0 0 10px rgba(19, 197, 131, 0.8)); }
}

@keyframes dotPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.3); opacity: 1; }
}

/* Card Floating Keyframes */
@keyframes floatCardTax {
  0%, 100% { transform: translateY(0) rotateX(0deg) translateZ(30px); }
  50% { transform: translateY(-10px) rotateX(3deg) translateZ(45px); }
}

@keyframes floatCardAnalytics {
  0%, 100% { transform: translateY(0) rotateY(0deg) translateZ(35px); }
  50% { transform: translateY(-12px) rotateY(-4deg) translateZ(50px); }
}

@keyframes floatCardLedger {
  0%, 100% { transform: translateY(0) rotateX(0deg) translateZ(25px); }
  50% { transform: translateY(-8px) rotateX(-3deg) translateZ(40px); }
}

@keyframes floatCardMedia {
  0%, 100% { transform: translateY(0) rotateY(0deg) translateZ(30px); }
  50% { transform: translateY(-10px) rotateY(4deg) translateZ(45px); }
}

/* Micro-Tokens Floating */
@keyframes floatTokenGST {
  0%, 100% { transform: translate3d(0, 0, 20px) rotate(0deg); }
  50% { transform: translate3d(6px, -10px, 35px) rotate(8deg); }
}

@keyframes floatTokenTax {
  0%, 100% { transform: translate3d(0, 0, 20px) rotate(0deg); }
  50% { transform: translate3d(-8px, -12px, 35px) rotate(-6deg); }
}

@keyframes floatTokenPct {
  0%, 100% { transform: translate3d(0, 0, 20px) scale(1); }
  50% { transform: translate3d(5px, 8px, 35px) scale(1.15); }
}

@keyframes floatTokenINR {
  0%, 100% { transform: translate3d(0, 0, 20px) scale(1); }
  50% { transform: translate3d(-5px, 10px, 35px) scale(1.15); }
}

@media (max-width: 991px) {
  .fin-card {
    padding: 4rem 3rem;
  }
  .fin-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  .fin-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .fin-graphic {
    order: -1; /* Place graphic above text on small screens */
  }
}

@media (max-width: 576px) {
  .fin-card {
    padding: 3rem 1.5rem;
  }
  .fin-title {
    font-size: 2.25rem;
  }
  .fin-ecosystem-scene {
    max-width: 330px;
    height: 320px;
  }
  .fin-core-hub {
    width: 140px;
    height: 140px;
  }
  .core-hologram-disc {
    width: 72px;
    height: 72px;
  }
  .core-currency-symbol {
    font-size: 2rem;
  }
  .core-ticker-ring.ring-1 { width: 120px; height: 120px; }
  .core-ticker-ring.ring-2 { width: 165px; height: 165px; }
  .core-ticker-ring.ring-3 { width: 215px; height: 215px; }
  .fin-float-card {
    padding: 0.6rem 0.85rem;
    gap: 0.6rem;
  }
  .fcard-badge-icon {
    width: 32px;
    height: 32px;
  }
  .fcard-badge-icon svg {
    width: 16px;
    height: 16px;
  }
  .fcard-title {
    font-size: 0.65rem;
  }
  .fcard-metric {
    font-size: 0.82rem;
  }
  .fcard-sub {
    font-size: 0.62rem;
  }
  .card-tax {
    top: 5px;
    left: -5px;
  }
  .card-analytics {
    bottom: 10px;
    right: -5px;
  }
  .card-ledger {
    bottom: 15px;
    left: 0;
  }
  .card-media {
    top: 15px;
    right: 0;
  }
}


/* --- 8. Clients / Logo Ticker --- */
.clients-section {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 4rem 0;
  overflow: hidden;
}

.clients-title {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.ticker-wrap::before, .ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.ticker {
  display: flex;
  width: max-content;
  animation: ticker-slide 30s linear infinite;
  gap: 4.5rem;
}

.ticker:hover {
  animation-play-state: paused;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  min-width: 150px;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0.88;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.client-logo:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(2, 132, 199, 0.35);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(2, 132, 199, 0.15);
}

.client-logo img {
  max-height: 42px;
  max-width: 165px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.35s ease;
}

.client-logo:hover img {
  transform: scale(1.06);
}

.client-logo svg {
  height: 100%;
  width: auto;
}

@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Animates half of double list width */
}


/* --- 9. Blog Section --- */
.blog-section {
  background-color: var(--bg-primary);
}

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

.blog-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 20px rgba(2, 132, 199, 0.12);
  border-color: rgba(2, 132, 199, 0.35);
}

.blog-image {
  height: 220px;
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-tag-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background-color: rgba(5, 7, 11, 0.9);
  color: var(--accent-blue);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.blog-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: block;
}

.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text-dark);
}

.blog-card h3 a:hover {
  color: var(--accent-blue);
}

.blog-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  color: var(--text-main);
}

.blog-read-more {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-read-more svg {
  width: 14px;
  height: 14px;
  transition: var(--transition-fast);
}

.blog-card:hover .blog-read-more {
  color: var(--accent-blue);
}

.blog-card:hover .blog-read-more svg {
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-card:last-child {
    display: none; /* Hide third on tablet if columns is 2 */
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-card:last-child {
    display: flex; /* Show all on mobile single list stack */
  }
}


/* --- 10. Contact Section --- */
.contact-section {
  background-color: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: border-color 0.3s ease;
}

.contact-info-card:hover {
  border-color: rgba(2, 132, 199, 0.3);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(2, 132, 199, 0.08);
  border-radius: var(--radius-sm);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(2, 132, 199, 0.22);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-details h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
  color: var(--text-dark);
}

.contact-details p, .contact-details a {
  font-size: 0.92rem;
  color: var(--text-main);
}

.contact-details a:hover {
  color: var(--accent-blue);
}

/* Contact Form Styling */
.contact-form-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  padding: 3rem 2.5rem;
}

.contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.contact-form-card .form-desc {
  margin-bottom: 2.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group-full {
  margin-bottom: 1.75rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.form-input, .form-select, .form-textarea {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  width: 100%;
  color: #FFFFFF;
  font-family: var(--font-body);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-blue);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25);
  outline: none;
}

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

.submit-btn {
  width: 100%;
  height: 48px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 768px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 576px) {
  .contact-form-card {
    padding: 2rem 1.25rem;
  }
}


/* --- 11. Footer Section --- */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-main);
  padding-top: 5.5rem;
  padding-bottom: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4.5rem;
}

.footer-col-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo .logo-brand {
  color: white;
}

.footer-logo .logo-tag {
  color: var(--text-muted);
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-main);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  border: 1px solid var(--border-color);
}

.social-link:hover {
  background-color: var(--accent-blue);
  color: white;
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--accent-blue);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-main);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-blue);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  padding-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: var(--text-muted);
  position: relative;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.35), transparent);
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom .copyright {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.footer-live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  padding: 0.28rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(19, 197, 131, 0.08);
  border: 1px solid rgba(19, 197, 131, 0.28);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulseLiveDot 2s ease-in-out infinite alternate;
}

@keyframes pulseLiveDot {
  0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 4px var(--accent); }
  100% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px var(--accent); }
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.86rem;
  transition: var(--transition-fast);
  position: relative;
}

.footer-bottom-links a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(19, 197, 131, 0.5);
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  transition: var(--transition-fast);
  margin-left: 0.5rem;
}

.footer-back-to-top:hover {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(19, 197, 131, 0.4);
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
  }
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
  }
  .footer-bottom-left {
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
  }
  .footer-bottom-links {
    justify-content: center;
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}


/* --- 12. Floating Widgets & Mobile Navigation --- */

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 60px;
  height: 60px;
  background-color: #13C583; /* Matching our mint green */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(19, 197, 131, 0.3);
  z-index: 999;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(19, 197, 131, 0.45);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* Mobile Quick Actions (Fixed Bottom) */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: var(--bg-secondary);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.5);
  grid-template-columns: repeat(3, 1fr);
  z-index: 998;
  border-top: 1px solid var(--border-color);
}

.mobile-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dark);
  gap: 0.25rem;
  border-right: 1px solid var(--border-color);
}

.mobile-action-btn:last-child {
  border-right: none;
}

.mobile-action-btn svg {
  width: 20px;
  height: 20px;
}

.mobile-action-btn.wa-btn {
  background-color: var(--accent);
  color: white;
}

@media (max-width: 768px) {
  .mobile-action-bar {
    display: grid;
  }
  
  .whatsapp-float {
    bottom: 5rem; /* Push floating button up to clear action bar */
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
  
  body {
    padding-bottom: 60px; /* Leave space for bottom bar */
  }
}


/* --- 13. Dynamic Modal / Popup (Service details) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 10, 18, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: var(--bg-secondary);
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  transition: var(--transition-smooth);
  padding: 3rem;
  color: var(--text-main);
}

.modal-overlay.open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  background-color: var(--bg-tertiary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: var(--transition-fast);
  border: 1px solid var(--border-color);
}

.modal-close-btn:hover {
  background-color: var(--accent);
  color: white;
  border-color: var(--accent);
}

.modal-close-btn svg {
  width: 18px;
  height: 18px;
}

.modal-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(19, 197, 131, 0.1);
  color: var(--accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  border: 1px solid rgba(19, 197, 131, 0.2);
}

.modal-icon svg {
  width: 28px;
  height: 28px;
}

.modal-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.modal-content-text {
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.modal-content-text ul {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-left: 1.25rem;
  list-style-type: disc;
}

.modal-content-text li {
  margin-bottom: 0.5rem;
}

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

.modal-actions .btn {
  flex-grow: 1;
}

@media (max-width: 576px) {
  .modal-container {
    padding: 2rem 1.5rem;
  }
  .modal-title {
    font-size: 1.5rem;
  }
  .modal-actions {
    flex-direction: column;
  }
  .login-modal-container {
    padding: 2.25rem 1.35rem;
  }
}

/* --- Client Portal Login Modal Styles --- */
.login-modal-container {
  max-width: 480px;
  padding: 2.75rem 2.5rem;
}

.login-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.login-badge-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(19, 197, 131, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  border: 1px solid rgba(19, 197, 131, 0.25);
  box-shadow: 0 4px 15px rgba(19, 197, 131, 0.15);
}

.login-badge-icon svg {
  width: 26px;
  height: 26px;
}

.login-header .modal-title {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.login-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Portal Role Tabs */
.login-tabs {
  display: flex;
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 1.75rem;
  border: 1px solid var(--border-color);
}

.login-tab {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  color: var(--text-main);
  transition: var(--transition-fast);
  cursor: pointer;
  background: transparent;
  border: none;
}

.login-tab.active {
  background-color: var(--bg-secondary);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.login-tab:hover:not(.active) {
  color: var(--text-light);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.form-label-row .form-label {
  margin-bottom: 0;
}

.forgot-pass-link {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  transition: var(--transition-fast);
}

.forgot-pass-link:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 1rem;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-fast);
}

.input-with-icon .form-input {
  padding-left: 2.85rem;
  padding-right: 2.85rem;
}

.input-with-icon .form-input:focus ~ .input-icon,
.input-with-icon .form-input:focus + .input-icon {
  color: var(--accent);
}

.password-toggle-btn {
  position: absolute;
  right: 0.85rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition-fast);
  background: transparent;
  border: none;
}

.password-toggle-btn:hover {
  color: var(--text-light);
}

.password-toggle-btn svg {
  width: 18px;
  height: 18px;
}

.login-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.remember-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
}

.remember-checkbox-label input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.login-submit-btn {
  width: 100%;
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
  margin-top: 0.5rem;
  gap: 0.6rem;
}

.login-footer-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-align: center;
}

.login-footer-security svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  flex-shrink: 0;
}


/* --- 14. Premium Interaction, Scroll & Cursor System --- */

/* 14.1 Top Glowing Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #0284C7 0%, #13C583 60%, #10B981 100%);
  box-shadow: 0 0 10px rgba(19, 197, 131, 0.75), 0 0 20px rgba(19, 197, 131, 0.35);
  z-index: 10002;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
  transition: width 0.05s linear;
  will-change: width;
}

/* 14.2 Luxury Minimal Custom Cursor (Desktop Only) */
.luxury-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  transform: translate3d(-50%, -50%, 0);
  box-shadow: 0 0 10px rgba(19, 197, 131, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.08s ease-out;
  will-change: transform, opacity;
}

.luxury-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(19, 197, 131, 0.45);
  background: rgba(19, 197, 131, 0.03);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  transition: width 0.26s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.26s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.26s ease,
              background 0.26s ease,
              opacity 0.3s ease;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  will-change: transform, width, height;
}

.luxury-cursor-ring.cursor-hover {
  width: 52px;
  height: 52px;
  border-color: rgba(19, 197, 131, 0.85);
  background: rgba(19, 197, 131, 0.12);
  box-shadow: 0 0 20px rgba(19, 197, 131, 0.25);
}

.luxury-cursor-ring.cursor-click {
  transform: translate3d(-50%, -50%, 0) scale(0.85);
}

.luxury-cursor-dot.cursor-active,
.luxury-cursor-ring.cursor-active {
  opacity: 1;
}

@media (hover: none), (pointer: coarse) {
  .luxury-cursor-dot,
  .luxury-cursor-ring {
    display: none !important;
  }
}

/* 14.3 3D Card Tilt & Interactive Cursor Spotlight */
.service-card,
.blog-card,
.fin-float-card,
.why-mini-card,
.stat-item {
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  transform-style: preserve-3d;
}

.service-card:hover,
.blog-card:hover,
.fin-float-card:hover,
.why-mini-card:hover,
.stat-item:hover {
  will-change: transform;
}

/* Dynamic radial glass spotlight sheen following cursor */
.service-card::before,
.blog-card::before,
.why-mini-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    500px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(19, 197, 131, 0.14),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.service-card:hover::before,
.blog-card:hover::before,
.why-mini-card:hover::before {
  opacity: 1;
}

/* Image depth & subtle zoom inside cards */
.blog-image {
  overflow: hidden;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.blog-image img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

/* 14.4 Magnetic Buttons & Interactive Elements */
.btn-primary,
.btn-login,
.logo,
.mobile-toggle {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              background-color 0.2s ease;
}

.btn-primary:hover,
.btn-login:hover {
  will-change: transform;
}

.btn > span,
.btn > svg {
  pointer-events: none;
}

/* 14.5 Upgraded Viewport Reveals with Apple Cubic-Bezier Easing */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger sequence utilities */
.delay-100, .stagger-1 { transition-delay: 0.09s; }
.delay-200, .stagger-2 { transition-delay: 0.18s; }
.delay-300, .stagger-3 { transition-delay: 0.27s; }
.delay-400, .stagger-4 { transition-delay: 0.36s; }
.stagger-5 { transition-delay: 0.45s; }
.stagger-6 { transition-delay: 0.54s; }

/* 14.6 Hero Exit Reactor & Parallax Layers */
.hero-content {
  will-change: transform, opacity;
  transform-origin: center top;
}

.hero-image-wrapper {
  will-change: transform;
}

.hero-glow-1,
.hero-glow-2,
.fin-ambient-glow,
.why-glow {
  will-change: transform;
}

/* 14.7 Accessibility Overrides (Prefers-Reduced-Motion) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  .luxury-cursor-dot,
  .luxury-cursor-ring {
    display: none !important;
  }
  
  .service-card,
  .blog-card,
  .fin-float-card,
  .why-mini-card,
  .stat-item,
  .btn-primary,
  .btn-login {
    transform: none !important;
  }
}


/* --- 15. Toast Alerts (Form feedback) --- */
.toast-container {
  position: fixed;
  bottom: 2.5rem;
  left: 2.5rem;
  z-index: 10005;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .toast-container {
    bottom: 5.5rem;
    left: 1rem;
    right: 1rem;
  }
}

.toast {
  background-color: var(--bg-secondary);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transform: translateX(-40px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  border-left: 4px solid var(--accent);
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon {
  color: var(--accent);
  display: flex;
  align-items: center;
}

.toast-icon svg {
  width: 20px;
  height: 20px;
}

.toast-message {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ==========================================================================
   16. Futuristic 3D Solving Cube Hero Animation
   ========================================================================== */

.cyber-scene {
  width: 100%;
  max-width: 440px;
  height: 440px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin: 0 auto;
  user-select: none;
}

/* 3D Viewport & Scene Parent */
.cube-viewport {
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  transform-style: preserve-3d;
  position: relative;
  z-index: 3;
}

/* Main 3D Cube Structure */
.cube-3d {
  width: 108px;
  height: 108px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-25deg) rotateY(45deg);
  animation: rotateWholeCube 20s infinite linear;
}

/* 3D Layers */
.cube-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform-style: preserve-3d;
}

.layer-top {
  animation: spinTopLayer 10s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

.layer-bottom {
  animation: spinBottomLayer 10s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

/* Individual Cubies */
.cubie {
  position: absolute;
  width: 50px;
  height: 50px;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

/* Position Cubies in 2x2x2 space with a clear gap (28.5px offset from center) */
/* This leaves a physical 7px gap between cubie shells, simulating realistic mechanics */
.cubie-tlf { transform: translate3d(-28.5px, -28.5px, 28.5px); }
.cubie-trf { transform: translate3d(28.5px, -28.5px, 28.5px); }
.cubie-tlb { transform: translate3d(-28.5px, -28.5px, -28.5px); }
.cubie-trb { transform: translate3d(28.5px, -28.5px, -28.5px); }
.cubie-blf { transform: translate3d(-28.5px, 28.5px, 28.5px); }
.cubie-brf { transform: translate3d(28.5px, 28.5px, 28.5px); }
.cubie-blb { transform: translate3d(-28.5px, 28.5px, -28.5px); }
.cubie-brb { transform: translate3d(28.5px, 28.5px, -28.5px); }

/* Cubie Face Styles - Frosted dark acrylic glass look */
.face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 60%), rgba(11, 25, 44, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* Face positioning - translateZ(25px) sets faces flush with the 50px cubie boundary */
.face.front  { transform: rotateY(0deg) translateZ(25px); }
.face.back   { transform: rotateY(180deg) translateZ(25px); }
.face.left   { transform: rotateY(-90deg) translateZ(25px); }
.face.right  { transform: rotateY(90deg) translateZ(25px); }
.face.top    { transform: rotateX(90deg) translateZ(25px); }
.face.bottom { transform: rotateX(-90deg) translateZ(25px); }

/* Premium Inset Sticker Styles */
.sticker {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background-color: rgba(19, 197, 131, 0.05);
  border: 1.5px solid var(--accent);
  box-shadow: inset 0 0 6px rgba(19, 197, 131, 0.15), 0 0 10px rgba(19, 197, 131, 0.1);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sticker Color coding animations - solving/scrambling cycle */
/* 10-second loop:
   0s - 2.5s: Solved state (0% to 25%) - All stickers pulse matching mint green
   2.5s - 4.5s: Scrambled state 1 (25% to 45%) - Mixed colors
   4.5s - 7.5s: Scrambled state 2 (45% to 75%) - Mixed colors
   7.5s - 8.5s: Solving alignment transition (75% to 85%)
   8.5s - 10.0s: Solved pulse bloom (85% to 100%)
*/

/* Front Stickers (Green unsolved, green solved) */
.cubie-tlf .face.front .sticker, .cubie-trf .face.front .sticker,
.cubie-blf .face.front .sticker, .cubie-brf .face.front .sticker {
  animation: pulseFrontSticker 10s infinite ease-in-out;
}

/* Back Stickers (Blue unsolved, green solved) */
.cubie-tlb .face.back .sticker, .cubie-trb .face.back .sticker,
.cubie-blb .face.back .sticker, .cubie-brb .face.back .sticker {
  animation: pulseBackSticker 10s infinite ease-in-out;
}

/* Top Stickers (Yellow unsolved, green solved) */
.layer-top .cubie .face.top .sticker {
  animation: pulseTopSticker 10s infinite ease-in-out;
}

/* Bottom Stickers (Purple unsolved, green solved) */
.layer-bottom .cubie .face.bottom .sticker {
  animation: pulseBottomSticker 10s infinite ease-in-out;
}

/* Left Stickers (Orange unsolved, green solved) */
.cubie-tlf .face.left .sticker, .cubie-tlb .face.left .sticker,
.cubie-blf .face.left .sticker, .cubie-blb .face.left .sticker {
  animation: pulseLeftSticker 10s infinite ease-in-out;
}

/* Right Stickers (Red unsolved, green solved) */
.cubie-trf .face.right .sticker, .cubie-trb .face.right .sticker,
.cubie-brf .face.right .sticker, .cubie-brb .face.right .sticker {
  animation: pulseRightSticker 10s infinite ease-in-out;
}

/* ==========================================================================
   Refined Animations Keyframes
   ========================================================================== */

/* Slow overall viewport drift rotation */
@keyframes rotateWholeCube {
  0% { transform: rotateX(-20deg) rotateY(0deg); }
  50% { transform: rotateX(-30deg) rotateY(180deg); }
  100% { transform: rotateX(-20deg) rotateY(360deg); }
}

/* Turning top/bottom layers independently (Snap twists) */
/* 10s cycle:
   0% to 25%: Solved / Static (0s to 2.5s)
   25% to 35%: Top layer rotates 180deg (2.5s to 3.5s)
   35% to 55%: Held (3.5s to 5.5s)
   55% to 65%: Bottom layer rotates -90deg (5.5s to 6.5s)
   65% to 80%: Held in scrambled state (6.5s to 8.0s)
   80% to 90%: Realigning both layers back (8.0s to 9.0s)
   90% to 100%: Solved / Static (9.0s to 10s)
*/
@keyframes spinTopLayer {
  0%, 25% { transform: rotateY(0deg); }
  35%, 80% { transform: rotateY(180deg); }
  90%, 100% { transform: rotateY(360deg); }
}

@keyframes spinBottomLayer {
  0%, 55% { transform: rotateY(0deg); }
  65%, 80% { transform: rotateY(-90deg); }
  90%, 100% { transform: rotateY(0deg); }
}

/* Sticker Color Animations */

/* Front: Green (remains green, pulses brighter when solved) */
@keyframes pulseFrontSticker {
  0%, 25%, 85%, 100% {
    background-color: rgba(19, 197, 131, 0.2);
    border-color: rgba(19, 197, 131, 1);
    box-shadow: inset 0 0 10px rgba(19, 197, 131, 0.4), 0 0 15px rgba(19, 197, 131, 0.45);
  }
  26%, 84% {
    background-color: rgba(19, 197, 131, 0.05);
    border-color: rgba(19, 197, 131, 0.6);
    box-shadow: inset 0 0 5px rgba(19, 197, 131, 0.15), 0 0 8px rgba(19, 197, 131, 0.1);
  }
}

/* Back: Tech Blue -> Solves to Mint Green */
@keyframes pulseBackSticker {
  0%, 25%, 85%, 100% {
    background-color: rgba(19, 197, 131, 0.2);
    border-color: rgba(19, 197, 131, 1);
    box-shadow: inset 0 0 10px rgba(19, 197, 131, 0.4), 0 0 15px rgba(19, 197, 131, 0.45);
  }
  26%, 84% {
    background-color: rgba(2, 132, 199, 0.1);
    border-color: #0284C7;
    box-shadow: inset 0 0 5px rgba(2, 132, 199, 0.2), 0 0 8px rgba(2, 132, 199, 0.25);
  }
}

/* Top: Gold -> Solves to Mint Green */
@keyframes pulseTopSticker {
  0%, 25%, 85%, 100% {
    background-color: rgba(19, 197, 131, 0.2);
    border-color: rgba(19, 197, 131, 1);
    box-shadow: inset 0 0 10px rgba(19, 197, 131, 0.4), 0 0 15px rgba(19, 197, 131, 0.45);
  }
  26%, 84% {
    background-color: rgba(245, 158, 11, 0.08);
    border-color: #F59E0B;
    box-shadow: inset 0 0 5px rgba(245, 158, 11, 0.15), 0 0 8px rgba(245, 158, 11, 0.2);
  }
}

/* Bottom: Purple -> Solves to Mint Green */
@keyframes pulseBottomSticker {
  0%, 25%, 85%, 100% {
    background-color: rgba(19, 197, 131, 0.2);
    border-color: rgba(19, 197, 131, 1);
    box-shadow: inset 0 0 10px rgba(19, 197, 131, 0.4), 0 0 15px rgba(19, 197, 131, 0.45);
  }
  26%, 84% {
    background-color: rgba(139, 92, 246, 0.08);
    border-color: #8B5CF6;
    box-shadow: inset 0 0 5px rgba(139, 92, 246, 0.15), 0 0 8px rgba(139, 92, 246, 0.2);
  }
}

/* Left: Orange -> Solves to Mint Green */
@keyframes pulseLeftSticker {
  0%, 25%, 85%, 100% {
    background-color: rgba(19, 197, 131, 0.2);
    border-color: rgba(19, 197, 131, 1);
    box-shadow: inset 0 0 10px rgba(19, 197, 131, 0.4), 0 0 15px rgba(19, 197, 131, 0.45);
  }
  26%, 84% {
    background-color: rgba(249, 115, 22, 0.08);
    border-color: #F97316;
    box-shadow: inset 0 0 5px rgba(249, 115, 22, 0.15), 0 0 8px rgba(249, 115, 22, 0.2);
  }
}

/* Right: Red -> Solves to Mint Green */
@keyframes pulseRightSticker {
  0%, 25%, 85%, 100% {
    background-color: rgba(19, 197, 131, 0.2);
    border-color: rgba(19, 197, 131, 1);
    box-shadow: inset 0 0 10px rgba(19, 197, 131, 0.4), 0 0 15px rgba(19, 197, 131, 0.45);
  }
  26%, 84% {
    background-color: rgba(239, 68, 68, 0.08);
    border-color: #EF4444;
    box-shadow: inset 0 0 5px rgba(239, 68, 68, 0.15), 0 0 8px rgba(239, 68, 68, 0.2);
  }
}

@media (max-width: 991px) {
  .cyber-scene {
    max-width: 360px;
    height: 360px;
  }
  .cube-viewport {
    width: 240px;
    height: 240px;
  }
  .cube-3d {
    width: 86px;
    height: 86px;
  }
  .cubie {
    width: 40px;
    height: 40px;
  }
  .cubie-tlf { transform: translate3d(-22px, -22px, 22px); }
  .cubie-trf { transform: translate3d(22px, -22px, 22px); }
  .cubie-tlb { transform: translate3d(-22px, -22px, -22px); }
  .cubie-trb { transform: translate3d(22px, -22px, -22px); }
  .cubie-blf { transform: translate3d(-22px, 22px, 22px); }
  .cubie-brf { transform: translate3d(22px, 22px, 22px); }
  .cubie-blb { transform: translate3d(-22px, 22px, -22px); }
  .cubie-brb { transform: translate3d(22px, 22px, -22px); }
  .face.front  { transform: rotateY(0deg) translateZ(20px); }
  .face.back   { transform: rotateY(180deg) translateZ(20px); }
  .face.left   { transform: rotateY(-90deg) translateZ(20px); }
  .face.right  { transform: rotateY(90deg) translateZ(20px); }
  .face.top    { transform: rotateX(90deg) translateZ(20px); }
  .face.bottom { transform: rotateX(-90deg) translateZ(20px); }
  .sticker {
    width: 28px;
    height: 28px;
    border-radius: 3px;
  }
}

/* --- 16. Products Showcase Page Styles --- */
.products-hero {
  padding-top: 9.5rem;
  padding-bottom: 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.products-hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.products-hero-title {
  font-family: var(--font-hero);
  font-size: clamp(2.4rem, 5.2vw, 3.85rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.products-hero-title span {
  background: linear-gradient(135deg, #0284C7 0%, #38BDF8 50%, #13C583 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.products-hero-desc {
  font-size: 1.08rem;
  color: var(--text-main);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.products-pills-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.product-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-sm);
  background-color: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.22);
  color: var(--accent-blue);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-pill svg {
  width: 14px;
  height: 14px;
}

/* Products Cards Grid */
.products-section {
  padding: 3rem 0 6rem 0;
}

.products-grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.product-card {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 3.5rem;
  align-items: center;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.4s ease;
}

.product-card:hover {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(2, 132, 199, 0.12);
  transform: translateY(-4px);
}

.product-card:nth-child(even) {
  grid-template-columns: 1fr 440px;
}

.product-card:nth-child(even) .product-visual {
  order: 2;
}

.product-card:nth-child(even) .product-content {
  order: 1;
}

/* Product Visual Showcase Box */
.product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at center, rgba(2, 132, 199, 0.08) 0%, rgba(4, 10, 18, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 2rem;
  min-height: 280px;
  overflow: hidden;
}

.product-visual-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 3;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-visual-link:hover .product-logo-img {
  transform: scale(1.08);
}

.product-visual-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.2) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(30px);
  z-index: 1;
}

.product-logo-img {
  max-width: 100%;
  max-height: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-logo-img {
  transform: scale(1.04);
}

/* White-bg logo box for MCA CS Pro */
.product-visual.visual-light {
  background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-visual.visual-light .product-logo-img {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.12));
}

/* Product Info Content */
.product-badge,
.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  background-color: rgba(2, 132, 199, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(2, 132, 199, 0.22);
}

.product-title {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.product-tagline {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 1.15rem;
}

.product-desc {
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.product-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
  margin-bottom: 2rem;
  list-style: none;
  padding: 0;
}

.product-features-list li,
.product-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.45;
}

.product-features-list li svg,
.product-feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Suite CTA Banner */
.suite-cta-banner {
  background: radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.12) 0%, transparent 65%), var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
  box-shadow: var(--shadow-card);
}

.suite-cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.suite-cta-banner p {
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto 2rem auto;
  color: var(--text-main);
}

.suite-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .product-card,
  .product-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.25rem 1.75rem;
  }
  
  .product-card:nth-child(even) .product-visual {
    order: 1;
  }
  
  .product-card:nth-child(even) .product-content {
    order: 2;
  }
  
  .product-features-list {
    grid-template-columns: 1fr;
  }

  .products-hero-title {
    font-size: 2.4rem;
  }

  .suite-cta-banner {
    padding: 2.5rem 1.5rem;
  }

  .suite-cta-banner h2 {
    font-size: 1.85rem;
  }
}

/* --- 17. Glassmorphism Product Portal Hub Modal --- */
.modal-overlay {
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  background-color: rgba(3, 8, 18, 0.82);
}

.glass-portal-container {
  max-width: 980px;
  width: 94%;
  padding: 3rem 2.5rem 2.25rem;
  background: linear-gradient(135deg, rgba(13, 27, 46, 0.88) 0%, rgba(6, 15, 26, 0.96) 100%);
  backdrop-filter: blur(35px) saturate(190%);
  -webkit-backdrop-filter: blur(35px) saturate(190%);
  border: 1px solid rgba(19, 197, 131, 0.3);
  border-radius: 28px;
  box-shadow: 
    0 35px 90px -15px rgba(0, 0, 0, 0.85),
    0 0 50px rgba(19, 197, 131, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.2),
    inset 0 -1px 2px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

/* Ambient Glass Glow Orbs */
.glass-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.glass-ambient-glow.glow-1 {
  top: -50px;
  left: 8%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(19, 197, 131, 0.55) 0%, transparent 70%);
}

.glass-ambient-glow.glow-2 {
  bottom: -60px;
  right: 12%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.45) 0%, transparent 70%);
}

/* Portal Header */
.glass-portal-header {
  text-align: center;
  margin-bottom: 2.25rem;
  position: relative;
  z-index: 2;
}

.portal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(19, 197, 131, 0.1);
  border: 1px solid rgba(19, 197, 131, 0.32);
  border-radius: var(--radius-full);
  padding: 0.35rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
  box-shadow: 0 0 15px rgba(19, 197, 131, 0.15);
}

.portal-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulseLiveDot 1.8s infinite alternate;
}

.portal-modal-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.portal-modal-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Portal Cards Grid */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
  position: relative;
  z-index: 2;
  margin-bottom: 1.85rem;
}

/* Individual Product Card */
.portal-card {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.portal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.portal-card:hover::before {
  left: 100%;
}

.portal-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(19, 197, 131, 0.55);
  background: rgba(19, 197, 131, 0.07);
  box-shadow: 
    0 18px 35px -8px rgba(0, 0, 0, 0.65),
    0 0 25px rgba(19, 197, 131, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.portal-card.active-portal {
  border-color: rgba(19, 197, 131, 0.4);
  box-shadow: 0 0 20px rgba(19, 197, 131, 0.12);
}

.portal-visual {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  background: radial-gradient(circle at center, rgba(19, 197, 131, 0.14) 0%, rgba(11, 25, 44, 0.75) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 8px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.portal-visual.portal-visual-light {
  background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
  border-color: rgba(255, 255, 255, 0.3);
}

.portal-card:hover .portal-visual {
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(19, 197, 131, 0.3);
}

.portal-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.portal-visual.portal-visual-light .portal-logo-img {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.portal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.portal-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 1rem;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.38rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-light);
  transition: all 0.25s ease;
  margin-top: auto;
  white-space: nowrap;
}

.portal-action-btn svg {
  width: 13px;
  height: 13px;
  transition: transform 0.25s ease;
}

.portal-card:hover .portal-action-btn {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(19, 197, 131, 0.5);
}

.portal-card:hover .portal-action-btn svg {
  transform: translate(2px, -2px);
}

.portal-card.active-portal .portal-action-btn {
  background: rgba(19, 197, 131, 0.18);
  border-color: rgba(19, 197, 131, 0.4);
  color: var(--accent);
}

/* Portal Footer */
.glass-portal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.portal-security-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.portal-security-note svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

@media (max-width: 991px) {
  .portal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .portal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .glass-portal-container {
    padding: 2.25rem 1.25rem 1.5rem;
  }
  .portal-modal-title {
    font-size: 1.65rem;
  }
  .portal-visual {
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 440px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   18. 3D ANIMATED CUBIQ AI AGENT & GLASSMORHPISM CHATBOT SUITE
   ========================================================================== */

/* --- Floating 3D AI Agent Trigger Widget --- */
.cubiq-agent-wrapper {
  position: fixed;
  bottom: 2.25rem;
  right: 2.25rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.cubiq-agent-float {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(14, 28, 54, 0.95), rgba(6, 14, 28, 0.98));
  border: 2px solid rgba(0, 229, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 
              0 0 25px rgba(0, 229, 255, 0.45), 
              inset 0 0 15px rgba(139, 92, 246, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  outline: none;
  transform-style: preserve-3d;
  animation: cubiqLevitate 4.5s ease-in-out infinite, cubiqGlowPulse 3s ease-in-out infinite alternate;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.cubiq-agent-float:hover {
  transform: translateY(-8px) scale(1.08) rotate(2deg);
  border-color: #00e5ff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 
              0 0 40px rgba(0, 229, 255, 0.7), 
              inset 0 0 20px rgba(139, 92, 246, 0.5);
}

.cubiq-agent-float:active {
  transform: translateY(-2px) scale(0.96);
}

/* 3D Levitation & Neon Pulse Keyframes */
@keyframes cubiqLevitate {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-7px) rotate(-1.5deg) scale(1.02);
  }
  50% {
    transform: translateY(-11px) rotate(0deg) scale(1.03);
  }
  75% {
    transform: translateY(-6px) rotate(1.5deg) scale(1.01);
  }
}

@keyframes cubiqGlowPulse {
  0% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 
                0 0 20px rgba(0, 229, 255, 0.35), 
                inset 0 0 12px rgba(139, 92, 246, 0.3);
  }
  100% {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 
                0 0 35px rgba(0, 229, 255, 0.65), 
                0 0 60px rgba(139, 92, 246, 0.3),
                inset 0 0 18px rgba(0, 229, 255, 0.5);
  }
}

/* Radar Beacon Expanding Rings */
.cubiq-beacon-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 229, 255, 0.7);
  pointer-events: none;
  animation: beaconExpand 3s cubic-bezier(0.1, 0.6, 0.3, 1) infinite;
  opacity: 0;
}

.cubiq-beacon-ring.ring-2 {
  animation-delay: 1.5s;
  border-color: rgba(139, 92, 246, 0.7);
}

@keyframes beaconExpand {
  0% {
    transform: scale(0.9);
    opacity: 0.85;
  }
  60% {
    opacity: 0.4;
  }
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

/* Avatar Orb Container */
.cubiq-orb-container {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 35%, rgba(0, 229, 255, 0.2), #070e1c);
}

.cubiq-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 2px 8px rgba(0, 229, 255, 0.3));
}

.cubiq-agent-float:hover .cubiq-avatar-img {
  transform: scale(1.1);
}

/* Online status pulsing dot */
.cubiq-online-dot {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #0B192C;
  box-shadow: 0 0 10px #10B981;
  z-index: 2;
  animation: statusDotPulse 2s ease-in-out infinite;
}

@keyframes statusDotPulse {
  0%, 100% {
    box-shadow: 0 0 6px #10B981;
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 14px #10B981, 0 0 20px rgba(16, 185, 129, 0.5);
    transform: scale(1.15);
  }
}

/* Close Icon (Visible when active) */
.cubiq-close-icon {
  display: none;
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(185, 28, 28, 0.95));
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.3s ease;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.cubiq-close-icon svg {
  width: 28px;
  height: 28px;
}

.cubiq-agent-float.active .cubiq-orb-container,
.cubiq-agent-float.active .cubiq-beacon-ring {
  display: none;
}

.cubiq-agent-float.active .cubiq-close-icon {
  display: flex;
}

.cubiq-agent-float.active {
  animation: none;
  border-color: rgba(239, 68, 68, 0.8);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

/* Tooltip Badge */
.cubiq-float-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: linear-gradient(135deg, rgba(11, 25, 44, 0.94), rgba(7, 14, 26, 0.98));
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 229, 255, 0.25);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.3s;
}

.cubiq-agent-wrapper:hover .cubiq-float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.cubiq-agent-float.active ~ .cubiq-float-tooltip,
.cubiq-agent-wrapper.chat-open .cubiq-float-tooltip {
  display: none !important;
}

.cubiq-float-tooltip strong {
  color: #00e5ff;
}

/* --- Glassmorphism CUBIQ AI Chat Window --- */
.cubiq-chat-window {
  position: fixed;
  bottom: 7.25rem;
  right: 2.25rem;
  width: 430px;
  max-width: calc(100vw - 2.5rem);
  height: 640px;
  max-height: calc(100vh - 9rem);
  background: linear-gradient(155deg, rgba(14, 25, 46, 0.86), rgba(7, 14, 26, 0.96));
  backdrop-filter: blur(35px) saturate(190%);
  -webkit-backdrop-filter: blur(35px) saturate(190%);
  border: 1px solid rgba(0, 229, 255, 0.32);
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 
              0 0 50px rgba(0, 229, 255, 0.16), 
              inset 0 1px 1px rgba(255, 255, 255, 0.2);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px) scale(0.94);
  transform-origin: bottom right;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cubiq-chat-window.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Chat Window Ambient Glow Orbs */
.cubiq-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  pointer-events: none;
  z-index: 0;
}

.cubiq-ambient-glow.glow-cyan {
  top: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.22), transparent 70%);
}

.cubiq-ambient-glow.glow-purple {
  bottom: 30px;
  right: -30px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18), transparent 70%);
}

/* Chat Header */
.cubiq-chat-header {
  position: relative;
  z-index: 2;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cubiq-header-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cubiq-header-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: relative;
  border: 1.5px solid rgba(0, 229, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.35);
  background: #0B192C;
  flex-shrink: 0;
}

.cubiq-header-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.cubiq-header-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #0B192C;
  box-shadow: 0 0 6px #10B981;
}

.cubiq-header-text {
  display: flex;
  flex-direction: column;
}

.cubiq-header-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cubiq-header-title-row h3 {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: white;
  margin: 0;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #ffffff, #00e5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cubiq-ai-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(139, 92, 246, 0.25));
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: #00e5ff;
  padding: 2px 7px;
  border-radius: 999px;
}

.cubiq-header-subtitle {
  font-size: 0.76rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

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

.cubiq-hdr-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cubiq-hdr-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: rgba(0, 229, 255, 0.4);
}

.cubiq-hdr-btn svg {
  width: 18px;
  height: 18px;
}

/* Chat Body */
.cubiq-chat-body {
  position: relative;
  z-index: 2;
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  scroll-behavior: smooth;
}

.cubiq-chat-body::-webkit-scrollbar {
  width: 5px;
}

.cubiq-chat-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

.cubiq-chat-body::-webkit-scrollbar-thumb {
  background: rgba(0, 229, 255, 0.3);
  border-radius: 999px;
}

/* Welcome Card */
.cubiq-welcome-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(0, 229, 255, 0.06));
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 20px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.cubiq-hero-fig-wrap {
  width: 130px;
  height: 195px;
  margin-bottom: 0.75rem;
  position: relative;
  filter: drop-shadow(0 10px 20px rgba(0, 229, 255, 0.35));
  animation: heroSubtleFloat 5s ease-in-out infinite;
}

@keyframes heroSubtleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.cubiq-hero-full-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cubiq-welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.cubiq-welcome-content h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.4rem;
}

.cubiq-welcome-content p {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

.cubiq-welcome-content strong {
  color: #00e5ff;
}

/* Suggestions Chips */
.cubiq-suggestions-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.suggestions-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.suggestions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cubiq-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 0.78rem;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.cubiq-chip:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.25);
}

.chip-icon {
  font-size: 0.85rem;
}

/* Messages Stream */
.cubiq-messages-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* User Message Bubble */
.cubiq-msg-user {
  align-self: flex-end;
  max-width: 82%;
  background: linear-gradient(135deg, #0284c7, #026ca3);
  color: white;
  padding: 10px 15px;
  border-radius: 18px 18px 4px 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
  word-wrap: break-word;
  animation: msgSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* AI Message Bubble */
.cubiq-msg-ai {
  align-self: flex-start;
  max-width: 90%;
  display: flex;
  gap: 10px;
  animation: msgSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cubiq-msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
  margin-top: 2px;
}

.cubiq-msg-bubble {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px 18px 18px 18px;
  padding: 12px 16px;
  color: #e2e8f0;
  font-size: 0.88rem;
  line-height: 1.6;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cubiq-msg-bubble strong {
  color: #00e5ff;
}

.cubiq-msg-bubble ul {
  margin: 8px 0;
  padding-left: 18px;
}

.cubiq-msg-bubble li {
  margin-bottom: 4px;
}

.cubiq-msg-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.cubiq-msg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cubiq-msg-btn.btn-cyan {
  background: linear-gradient(135deg, #00e5ff, #0284c7);
  color: #0B192C;
  box-shadow: 0 3px 12px rgba(0, 229, 255, 0.3);
}

.cubiq-msg-btn.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(0, 229, 255, 0.45);
}

.cubiq-msg-btn.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cubiq-msg-btn.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.4);
}

@keyframes msgSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Typing Indicator */
.cubiq-typing-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: 4px;
}

.typing-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 229, 255, 0.5);
}

.typing-bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e5ff;
  opacity: 0.4;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
  animation-delay: -0.32s;
}
.typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typingBounce {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.3;
  }
  40% {
    transform: scale(1.15);
    opacity: 1;
    box-shadow: 0 0 8px #00e5ff;
  }
}

/* Chat Footer / Input Form */
.cubiq-chat-footer {
  position: relative;
  z-index: 2;
  padding: 0.85rem 1.15rem 1rem;
  background: rgba(7, 14, 26, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cubiq-input-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 4px 6px 4px 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cubiq-input-form:focus-within {
  border-color: rgba(0, 229, 255, 0.6);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.cubiq-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 0.88rem;
  font-family: inherit;
}

.cubiq-input::placeholder {
  color: var(--text-muted);
}

.cubiq-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00e5ff, #0284c7);
  border: none;
  color: #0B192C;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cubiq-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

.cubiq-send-btn:active {
  transform: scale(0.92);
}

.cubiq-send-btn svg {
  width: 17px;
  height: 17px;
  transform: rotate(45deg) translate(-1px, -1px);
}

.cubiq-footer-info {
  text-align: center;
}

.cubiq-footer-info span {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.03em;
}

/* Mobile Quick Action CUBIQ Button */
.mobile-action-btn.cubiq-mobile-btn {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(139, 92, 246, 0.2));
  color: #00e5ff;
}

.mobile-cubiq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #00e5ff;
}

/* Media Queries for CUBIQ */
@media (max-width: 768px) {
  .cubiq-agent-wrapper {
    bottom: 5rem; /* Clear bottom mobile action bar */
    right: 1.25rem;
  }
  .cubiq-agent-float {
    width: 64px;
    height: 64px;
  }
  .cubiq-orb-container {
    width: 52px;
    height: 52px;
  }
  .cubiq-chat-window {
    bottom: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border: none;
  }
  .cubiq-float-tooltip {
    display: none !important;
  }
}

/* ==========================================================================
   19. ABOUT PAGE, GLOBAL PRESENCE (WORLD MAP) & LEADERSHIP DIRECTORS
   ========================================================================== */

/* --- About Hero --- */
.about-hero {
  padding: 8.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.28);
  padding: 6px 18px;
  border-radius: var(--radius-sm);
  color: var(--accent-blue);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.15);
}

.about-hero-title {
  font-family: var(--font-hero);
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1.5rem;
}

.about-hero-title span {
  background: linear-gradient(135deg, #0284C7 0%, #38BDF8 50%, #13C583 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-hero-subtitle {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-main);
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

/* Quick CTAs */
.about-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Stats Counter Strip */
.about-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  background: var(--bg-secondary);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-card);
  max-width: 1060px;
  margin: 0 auto;
}

.about-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.about-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.625rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.about-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--accent-blue);
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
}

.about-stat-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* --- Corporate Story & Mission Section --- */
.about-story-section {
  padding: 5rem 0;
  position: relative;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.about-story-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.about-story-content p {
  color: var(--text-main);
  line-height: 1.75;
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
}

.about-story-highlight {
  border-left: 3px solid var(--accent-blue);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #e2e8f0;
}

.mission-vision-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mission-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.mission-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.mission-card-icon svg {
  width: 22px;
  height: 22px;
}

.mission-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.mission-card p {
  color: var(--text-main);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* --- Strategic Pillars Grid --- */
.pillars-section {
  padding: 5rem 0;
  background: radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.06), transparent 70%);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.pillar-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(2, 132, 199, 0.12);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  margin-bottom: 1.25rem;
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.pillar-card p {
  font-size: 0.86rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.pillar-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   INTERACTIVE WORLD MAP SECTION (KERALA & BAHRAIN)
   ========================================================================== */

.world-map-section {
  padding: 5.5rem 0;
  position: relative;
}

.world-map-frame {
  background: var(--bg-secondary);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

/* Map Header Bar */
.map-telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 1rem;
}

.map-telemetry-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: mapStatusDot 2s infinite ease-in-out;
}

@keyframes mapStatusDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.map-telemetry-title span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-hub-switchers {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.map-switcher-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-switcher-btn:hover {
  background: rgba(2, 132, 199, 0.12);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-2px);
}

.map-switcher-btn.active {
  background: rgba(2, 132, 199, 0.18);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.3);
}

.map-switcher-btn#btn-focus-bahrain:hover,
.map-switcher-btn#btn-focus-bahrain.active {
  background: rgba(167, 139, 250, 0.2);
  border-color: #a78bfa;
  color: #c084fc;
  box-shadow: 0 0 15px rgba(167, 139, 250, 0.35);
}

.map-telemetry-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.telemetry-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* SVG World Map Viewport */
.world-map-svg-wrap {
  width: 100%;
  position: relative;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 65% 40%, rgba(2, 132, 199, 0.06), rgba(4, 10, 20, 0.98) 75%);
  border: 1px solid rgba(2, 132, 199, 0.18);
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.75);
}

.world-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Natural Earth SVG Landmasses */
.map-land-natural {
  fill: #0c1a32;
  stroke: rgba(2, 132, 199, 0.16);
  stroke-width: 0.65;
  transition: all 0.3s ease;
}

.map-land-natural:hover {
  fill: #13274a;
  stroke: rgba(2, 132, 199, 0.35);
}

.map-land-gcc {
  fill: #1a1b4b;
  stroke: #a78bfa;
  stroke-width: 1.2;
  filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.45));
  transition: all 0.3s ease;
}

.map-land-gcc:hover {
  fill: #26216a;
}

.map-land-india {
  fill: #0c3349;
  stroke: #0284c7;
  stroke-width: 1.2;
  filter: drop-shadow(0 0 10px rgba(2, 132, 199, 0.5));
  transition: all 0.3s ease;
}

.map-land-india:hover {
  fill: #114867;
}

/* Graticule Grid & Degrees */
.map-grid-line {
  stroke: rgba(2, 132, 199, 0.08);
  stroke-width: 0.5;
  stroke-dasharray: 2 4;
}

.map-equator-line {
  stroke: #10b981;
  stroke-opacity: 0.3;
  stroke-dasharray: 4 4;
}

.map-prime-meridian {
  stroke: #0284c7;
  stroke-opacity: 0.25;
}

.map-degree-label {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 600;
  fill: rgba(2, 132, 199, 0.4);
  letter-spacing: 0.05em;
}

.map-degree-label.equator-label {
  fill: #10b981;
  font-weight: 700;
}

/* Dynamic Connection Flight Arc & Laser */
.map-laser-arc {
  stroke-dasharray: 8 6;
  animation: laserDashFlow 2.4s linear infinite;
  filter: drop-shadow(0 0 8px rgba(2, 132, 199, 0.75));
}

@keyframes laserDashFlow {
  from { stroke-dashoffset: 28; }
  to { stroke-dashoffset: 0; }
}

/* Map Pulse Rings & Radar Waves */
.map-radar-pulse {
  transform-origin: center;
  animation: radarPulseFlow 2.8s cubic-bezier(0.2, 0.7, 0.4, 1) infinite;
  pointer-events: none;
}

.map-radar-pulse.delay-1 {
  animation-delay: 0.9s;
}

.map-radar-pulse.delay-2 {
  animation-delay: 1.8s;
}

@keyframes radarPulseFlow {
  0% { r: 5; opacity: 1; }
  50% { opacity: 0.5; }
  100% { r: 28; opacity: 0; }
}

/* Map Location Pin Interactive Buttons */
.map-pin {
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.map-pin:hover {
  transform: scale(1.15);
}

/* Holographic Pin Badges */
.map-badge-card {
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.65));
}

.badge-bahrain-bg {
  fill: rgba(14, 20, 42, 0.94);
  stroke: #a78bfa;
  stroke-width: 1;
}

.badge-kerala-bg {
  fill: rgba(7, 24, 38, 0.94);
  stroke: #0284c7;
  stroke-width: 1;
}

.map-badge-title-bh {
  font-family: var(--font-heading);
  font-size: 8.5px;
  font-weight: 800;
  fill: #c084fc;
  letter-spacing: 0.04em;
}

.map-badge-sub-bh {
  font-family: var(--font-heading);
  font-size: 7.5px;
  font-weight: 700;
  fill: #f1f5f9;
}

.map-badge-title-in {
  font-family: var(--font-heading);
  font-size: 8.5px;
  font-weight: 800;
  fill: #0284c7;
  letter-spacing: 0.04em;
}

.map-badge-sub-in {
  font-family: var(--font-heading);
  font-size: 7.5px;
  font-weight: 700;
  fill: #f1f5f9;
}

/* Dual Office Location Details Cards */
.office-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.office-card {
  background: var(--bg-secondary);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.office-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(2, 132, 199, 0.15);
}

.office-card.card-bahrain {
  border-color: rgba(139, 92, 246, 0.35);
}

.office-card.card-bahrain:hover {
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.25);
}

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

.office-flag-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.office-flag-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.office-card-title h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: white;
  margin: 0;
}

.office-card-title span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.office-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.office-badge.hq {
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.35);
  color: var(--accent-blue);
}

.office-badge.gcc {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.45);
  color: #a78bfa;
}

.office-detail-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.office-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.55;
}

.office-detail-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.office-card.card-bahrain .office-detail-item svg {
  color: #a78bfa;
}

.office-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   BOARD OF DIRECTORS & LEADERSHIP SECTION
   ========================================================================== */

.leadership-section {
  padding: 5.5rem 0;
  position: relative;
}

.leadership-mca-strip {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.mca-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.28);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.12);
}

.mca-badge-pill svg {
  width: 16px;
  height: 16px;
  color: var(--accent-green);
  flex-shrink: 0;
}

.directors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.director-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.director-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(2, 132, 199, 0.15);
}

.director-header-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.director-header-icon svg {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease;
}

.director-card:hover .director-header-icon svg {
  transform: scale(1.1);
}

.director-header-icon.icon-basith {
  background: rgba(2, 132, 199, 0.08);
  border: 1.5px solid rgba(2, 132, 199, 0.35);
  color: var(--accent-blue);
}

.director-card:hover .director-header-icon.icon-basith {
  background: rgba(2, 132, 199, 0.18);
  border-color: var(--accent-blue);
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.4);
}

.director-header-icon.icon-mehaboob {
  background: rgba(167, 139, 250, 0.1);
  border: 1.5px solid rgba(167, 139, 250, 0.4);
  color: #c084fc;
}

.director-card:hover .director-header-icon.icon-mehaboob {
  background: rgba(167, 139, 250, 0.22);
  border-color: #a78bfa;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
}

.director-header-icon.icon-saleem {
  background: rgba(16, 185, 129, 0.1);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
}

.director-card:hover .director-header-icon.icon-saleem {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.director-header-icon .director-status-dot {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid var(--bg-secondary);
  box-shadow: 0 0 8px #10b981;
}

.director-din-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-blue);
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.28);
  padding: 3px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.director-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.director-legal-name {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.director-designation-wrap {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.director-designation {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
}

.director-designation.badge-founder {
  background: rgba(2, 132, 199, 0.12);
  color: var(--accent-blue);
  border: 1px solid rgba(2, 132, 199, 0.35);
}

.director-designation.badge-cofounder {
  background: rgba(167, 139, 250, 0.15);
  color: #c084fc;
  border: 1px solid rgba(167, 139, 250, 0.4);
}

.director-designation.badge-partner {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.director-designation.badge-gst {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
}


.director-bio {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 1.4rem;
  flex: 1;
}

.director-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
}

.director-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
  transition: all 0.25s ease;
}

.director-card:hover .director-tag {
  color: #e2e8f0;
  border-color: rgba(2, 132, 199, 0.25);
  background: rgba(2, 132, 199, 0.06);
}

/* Responsive Media Queries for Section 19 */
@media (max-width: 1024px) {
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .directors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 7rem 0 3.5rem;
  }
  .about-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
    padding: 1.5rem;
  }
  .about-stat-item:nth-child(2)::after {
    display: none;
  }
  .office-cards-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .directors-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Director Mobile Contact & Website Buttons */
.director-phone-btn,
.director-website-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 16px;
  margin: 0.5rem 0 0.9rem;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.28);
  border-radius: var(--radius-sm);
  color: var(--accent-blue);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.director-card .director-website-btn {
  margin-top: -0.45rem;
  margin-bottom: 0.9rem;
}

.director-phone-btn svg,
.director-website-btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
  transition: transform 0.25s ease;
}

.director-phone-btn:hover,
.director-website-btn:hover {
  background: rgba(2, 132, 199, 0.18);
  border-color: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.3);
  transform: translateY(-2px);
}

.director-phone-btn:hover svg {
  transform: scale(1.15) rotate(-10deg);
}

.director-website-btn:hover svg {
  transform: scale(1.15) rotate(15deg);
}

/* CTA Section for Inner Pages */
.cta-section {
  padding: 5rem 0 6rem;
  position: relative;
}

.cta-card {
  background: radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.12) 0%, transparent 65%), var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 4rem 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.cta-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.28);
  color: var(--accent-blue);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.cta-subtitle {
  font-size: 1.02rem;
  color: var(--text-main);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 3.5rem 0 4.5rem;
  }
  .cta-card {
    padding: 2.5rem 1.25rem;
  }
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- About Page Standard Executive Button Enhancements --- */
#about-page .btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#about-page .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(2, 132, 199, 0.5);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 16px rgba(2, 132, 199, 0.18);
  transform: translateY(-2px);
}

#about-page .btn-primary {
  background: var(--accent-blue);
  border: 1.5px solid var(--accent-blue);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#about-page .btn-primary:hover {
  background: #0396e6;
  border-color: #0396e6;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 20px rgba(2, 132, 199, 0.35);
  transform: translateY(-2px);
}


