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

:root {
  /* Color Palette */
  --bg-primary: #071120;
  --bg-secondary: #0A1630;
  --bg-darker: #050B15;
  --accent-blue: #1479FF;
  --accent-cyan: #1EA7FF;
  --accent-gradient: linear-gradient(135deg, #1479FF 0%, var(--accent-cyan) 100%);
  --accent-glow: rgba(30, 167, 255, 0.15);
  --glass-bg: rgba(10, 22, 48, 0.45);
  --glass-bg-hover: rgba(15, 33, 72, 0.65);
  --glass-border: rgba(30, 167, 255, 0.12);
  --glass-border-hover: rgba(30, 167, 255, 0.35);
  
  /* Typography */
  --text-primary: #FFFFFF;
  --text-secondary: #C3CAD5;
  --text-muted: #828F9E;
  --font-sans: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  /* Spacing */
  --container-max-width: 1240px;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

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

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

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Reusable Components */

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Spacing */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px 0 rgba(30, 167, 255, 0.18), inset 0 1px 2px rgba(255, 255, 255, 0.18);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(20, 121, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(30, 167, 255, 0.65);
}

.btn-secondary {
  background: rgba(20, 121, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
  background: rgba(20, 121, 255, 0.15);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 167, 255, 0.2);
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 980px;
  z-index: 1000;
  transition: var(--transition-smooth);
  border: 1px solid var(--glass-border);
  background: rgba(10, 22, 48, 0.45);
  border-radius: 100px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled {
  background: rgba(7, 17, 32, 0.88);
  border-color: var(--glass-border-hover);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  top: 1rem;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.logo img {
  height: 46px;
  width: auto;
  display: block;
}

.footer-brand .logo img {
  height: 42px;
}

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

.nav-links a {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(30, 167, 255, 0.5);
}

.nav-links .btn-nav {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  white-space: nowrap;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(20, 121, 255, 0.20);
  background: var(--accent-gradient);
  border: 1px solid rgba(30, 167, 255, 0.25);
  color: var(--text-primary);
  margin-left: 0.5rem;
}

.nav-links .btn-nav:hover {
  box-shadow: 0 6px 20px rgba(30, 167, 255, 0.65);
  transform: translateY(-1px);
  border-color: var(--accent-cyan);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1100;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  margin-bottom: 6px;
  transition: var(--transition-smooth);
}

.mobile-toggle span:last-child {
  margin-bottom: 0;
}

/* Background Cyber Grid & Glows */
.bg-glow-top {
  position: absolute;
  top: -20%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30, 167, 255, 0.07) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.bg-glow-bottom {
  position: absolute;
  bottom: -20%;
  right: 10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(30, 167, 255, 0.05) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(30, 167, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 167, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

/* Floating Cinematic Glow Orbs */
.glow-orb {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 167, 255, 0.07) 0%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  animation: float-orb 22s infinite alternate ease-in-out;
}

.glow-orb-secondary {
  background: radial-gradient(circle, rgba(20, 121, 255, 0.12) 0%, transparent 75%);
  animation-duration: 28s;
  animation-delay: -5s;
}

@keyframes float-orb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, -50px) scale(1.1); }
  100% { transform: translate(-40px, 120px) scale(0.9); }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: radial-gradient(circle at 50% 50%, rgba(10, 22, 48, 0.6) 0%, #071120 100%);
  padding-top: 120px;
  overflow: hidden;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  position: relative;
  max-width: 900px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  z-index: 3;
}

.hero-tag {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 121, 255, 0.08);
  border: 1px solid rgba(20, 121, 255, 0.2);
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-tag span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
  from { opacity: 0.4; }
  to { opacity: 1; filter: drop-shadow(0 0 4px var(--accent-cyan)); }
}

.hero-title {
  font-size: 6rem;
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.hero-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-primary);
  font-weight: 400;
  line-height: 1.35;
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.95;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  margin-top: 1rem;
}

.hero-badges {
  margin-top: 3rem;
  width: 100%;
}

.hero-badges-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.badge-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trust-badge {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.trust-badge:hover {
  border-color: var(--accent-cyan);
  background: rgba(20, 121, 255, 0.04);
  color: var(--accent-cyan);
}

/* Back-layer Fullscreen Canvas Component */
.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.visual-scene {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  display: block;
}

.topology-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.45;
  pointer-events: none;
}

.hero-widget {
  position: absolute;
  transition: var(--transition-smooth);
  z-index: 3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.threat-widget {
  top: 25%;
  left: 6%;
  width: 200px;
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  animation: float-widget-1 5.5s ease-in-out infinite;
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.5rem;
}

.widget-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.widget-dot.cyan {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.widget-dot.blue {
  background: var(--accent-blue);
  box-shadow: 0 0 8px var(--accent-blue);
}

.widget-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.threat-score {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.15rem;
}

.threat-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.threat-chart {
  width: 100%;
  height: 30px;
}

.sparkline {
  display: block;
}

.automation-widget {
  top: 30%;
  right: 6%;
  width: 200px;
  padding: 1rem 1.25rem;
  animation: float-widget-2 6.5s ease-in-out infinite;
}

.widget-content-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 0.25rem;
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring__circle {
  transition: stroke-dashoffset 0.35s;
  transform-origin: 50% 50%;
}

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

.progress-num {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

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

.code-widget {
  bottom: 18%;
  left: 7%;
  width: 260px;
  padding: 1rem;
  font-family: monospace;
  font-size: 0.72rem;
  line-height: 1.45;
  border-color: rgba(30, 167, 255, 0.25);
  animation: float-widget-3 7.5s ease-in-out infinite;
}

.code-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-secondary);
}

.code-line .keyword {
  color: var(--accent-cyan);
}

.code-line .string {
  color: var(--text-muted);
}

.code-line .boolean {
  color: var(--text-primary);
}

.code-line .indent {
  padding-left: 12px;
}

.shield-widget {
  bottom: 20%;
  right: 8%;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--bg-darker);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(30, 167, 255, 0.35);
  z-index: 2;
  animation: float-widget-4 4.5s ease-in-out infinite;
}

.shield-widget svg {
  width: 38px;
  height: 38px;
  fill: var(--accent-cyan);
}

@keyframes float-widget-1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(0.5deg); }
}

@keyframes float-widget-2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes float-widget-3 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(-0.5deg); }
}

@keyframes float-widget-4 {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-12px) scale(1.02); }
}

/* Stats / Trust Section */
.stats-section {
  padding: 4rem 0;
  background: var(--bg-darker);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  z-index: 2;
}

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

.stat-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.3rem;
  display: block;
}

.stat-title {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Services Grid Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  width: 54px;
  height: 54px;
  background: rgba(20, 121, 255, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-cyan);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: var(--accent-blue);
  color: var(--text-primary);
  box-shadow: 0 0 15px var(--accent-blue);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-list li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
}

/* Why Choose Cyintrix Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.why-card {
  display: flex;
  gap: 1.5rem;
}

.why-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(30, 167, 255, 0.08);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.why-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.why-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Featured Solutions Section */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.solution-card {
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition-smooth);
}

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

.solution-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.solution-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.solution-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.solution-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.solution-link svg {
  transition: transform 0.25s ease;
}

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

/* Partners Tech Stack Section */
.partners-section {
  background: var(--bg-darker);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 4rem 0;
}

.partners-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.partners-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  width: 100%;
}

.partner-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.6;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
}

.partner-logo:hover {
  opacity: 1;
  color: var(--text-primary);
}

.partner-logo svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Case Studies Slider Section */
.case-studies-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.case-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.case-image {
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  aspect-ratio: 1.5;
}

.case-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(7, 17, 32, 0.8));
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.case-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.case-tag {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.case-title {
  font-size: 1.6rem;
  font-weight: 700;
}

.case-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.case-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.case-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.case-detail-item h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.case-detail-item p {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-btn:hover {
  border-color: var(--accent-cyan);
  background: rgba(20, 121, 255, 0.1);
  color: var(--accent-cyan);
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-text {
  color: var(--text-secondary);
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: rgba(20, 121, 255, 0.15);
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gradient);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
}

.author-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Blog / Insights Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.blog-img {
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom: 1px solid var(--glass-border);
}

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

.blog-meta-row {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.blog-title:hover {
  color: var(--accent-cyan);
}

.blog-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-readmore {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-card:hover .blog-readmore svg {
  transform: translateX(4px);
}

/* Contact / Form Section */
.contact-section {
  position: relative;
  background-image: radial-gradient(circle at 90% 80%, rgba(20, 121, 255, 0.08) 0%, transparent 60%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

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

.contact-item {
  display: flex;
  gap: 1.25rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(20, 121, 255, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.contact-item-details h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.contact-item-details p,
.contact-item-details a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  background: rgba(10, 22, 48, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(30, 167, 255, 0.25);
  background: rgba(10, 22, 48, 0.7);
}

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

.form-feedback {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
  padding: 0.75rem;
  border-radius: 4px;
}

.form-feedback.success {
  background: rgba(0, 200, 115, 0.15);
  border: 1px solid rgba(0, 200, 115, 0.3);
  color: #00e676;
}

.form-feedback.error {
  background: rgba(255, 75, 75, 0.15);
  border: 1px solid rgba(255, 75, 75, 0.3);
  color: #ff5252;
}

/* Footer Section */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--glass-border);
  padding: 5rem 0 2rem 0;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 0.7fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.footer-links-col h4 {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.2px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-newsletter h4 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.newsletter-input {
  flex-grow: 1;
  background: rgba(10, 22, 48, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 0.65rem 0.85rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(10, 22, 48, 0.7);
}

.newsletter-btn {
  background: var(--accent-gradient);
  border: none;
  border-radius: 4px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.newsletter-btn:hover {
  box-shadow: 0 0 15px rgba(30, 167, 255, 0.6);
}

.footer-newsletter p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--accent-cyan);
}

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

@keyframes rotate-dashed {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Sub-page Specific Layout Styles */
.page-header {
  padding: 8rem 0 4rem 0;
  background-image: radial-gradient(circle at 50% 20%, rgba(20, 121, 255, 0.08) 0%, transparent 55%);
  border-bottom: 1px solid var(--glass-border);
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Detailed Services / Solutions List */
.details-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.detail-row.reverse {
  direction: rtl;
}

.detail-row.reverse > * {
  direction: ltr;
}

.detail-visual {
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  aspect-ratio: 1.6;
  background: rgba(10, 22, 48, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.detail-visual svg {
  width: 35%;
  height: 35%;
  fill: var(--accent-cyan);
  opacity: 0.85;
  filter: drop-shadow(0 0 15px rgba(30, 167, 255, 0.4));
}

.detail-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.detail-content h2 {
  font-size: 2rem;
}

.detail-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.detail-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.detail-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.detail-feature-item svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* Industries Cards Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.industry-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.industry-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(20, 121, 255, 0.1);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.industry-card h3 {
  font-size: 1.35rem;
}

.industry-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* About Core Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.value-card h3 {
  font-size: 1.25rem;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Lead Info Cards (Contact page) */
.contact-leads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .hero .container {
    gap: 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }
  .hero {
    padding-top: 120px;
    min-height: auto;
    padding-bottom: 4.5rem;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    order: -1;
  }
  .canvas-container {
    max-width: 320px;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(7, 17, 32, 0.98);
    border-left: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    transition: var(--transition-smooth);
    z-index: 1050;
  }
  .nav-links.active {
    right: 0;
  }
  .mobile-toggle {
    display: block;
  }
  
  /* Mobile Hamburger Animation */
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .case-slide {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-leads {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .detail-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .detail-row.reverse {
    display: flex;
    flex-direction: column;
  }
  .detail-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Premium Logo Animations & Hover Shimmer */
.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: visible; /* Let particles float outside */
}

.logo img {
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.logo:hover img {
  filter: drop-shadow(0 0 10px rgba(30, 167, 255, 0.45));
  transform: scale(1.02);
}

/* Scanline shimmer sweep on hover */
.logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(30, 167, 255, 0.15) 30%,
    rgba(30, 167, 255, 0.4) 50%,
    rgba(30, 167, 255, 0.15) 70%,
    transparent
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 3;
}

.logo:hover::after {
  animation: logo-shimmer 1.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes logo-shimmer {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}

/* Logo Particle System */
.logo-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.logo-particle {
  position: absolute;
  border-radius: 1px;
  opacity: 0;
}

@keyframes logo-drift {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0;
  }
  15% {
    opacity: 0.9;
  }
  85% {
    opacity: 0.8;
  }
  100% {
    transform: translate(var(--drift-x, 30px), var(--drift-y, -10px)) scale(0.1) rotate(270deg);
    opacity: 0;
  }
}

/* HUD Services Visual Animations */
.detail-visual svg.hud-svg {
  width: 100% !important;
  height: 100% !important;
  fill: none;
  opacity: 1;
  filter: none;
  padding: 1.25rem;
  box-sizing: border-box;
}

/* Radar rotation */
.radar-sweep {
  animation: radar-rotate 8s linear infinite;
}

@keyframes radar-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Blinking Cursor in IDE */
.blinking-cursor {
  animation: cursor-blink 1s steps(2, start) infinite;
}

@keyframes cursor-blink {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

/* Dash Flow Animations */
.dash-flow-anim {
  stroke-dasharray: 8 8;
  animation: dash-move-x 4s linear infinite;
}

@keyframes dash-move-x {
  to {
    stroke-dashoffset: -32;
  }
}

.dash-flow-anim-y {
  stroke-dasharray: 8 8;
  animation: dash-move-y 4s linear infinite;
}

@keyframes dash-move-y {
  to {
    stroke-dashoffset: -32;
  }
}

/* Pulsing flowing dots */
.flowing-dot-1 {
  animation: flow-dot-horizontal-1 3s infinite linear;
}

.flowing-dot-2 {
  animation: flow-dot-horizontal-2 3s infinite linear;
}

@keyframes flow-dot-horizontal-1 {
  0% {
    cx: 70;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    cx: 150;
    opacity: 0;
  }
}

@keyframes flow-dot-horizontal-2 {
  0% {
    cx: 230;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    cx: 310;
    opacity: 0;
  }
}

/* Load Balancer slow scale pulse */
.load-balancer-anim {
  animation: lb-pulse 2s ease-in-out infinite alternate;
  transform-origin: 190px 105px;
}

@keyframes lb-pulse {
  0% {
    stroke: var(--accent-cyan);
    filter: drop-shadow(0 0 2px rgba(30, 167, 255, 0.4));
  }
  100% {
    stroke: var(--accent-blue);
    filter: drop-shadow(0 0 8px rgba(20, 121, 255, 0.7));
  }
}

/* Dash lines drawing animation */
.dash-line-anim {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: draw-line 3s ease-in-out infinite alternate;
}

@keyframes draw-line {
  0% {
    stroke-dashoffset: 120;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.dash-circle-anim {
  animation: draw-circle 3s ease-in-out infinite alternate;
}

@keyframes draw-circle {
  0% {
    stroke-dashoffset: 138;
  }
  100% {
    stroke-dashoffset: 35;
  }
}

/* Threat Node Pulse Animation */
.threat-node-pulse {
  animation: red-pulse 1s infinite alternate ease-in-out;
}

@keyframes red-pulse {
  0% {
    opacity: 0.45;
  }
  100% {
    opacity: 1;
  }
}

/* VAPT Portfolio Styling */
.vapt-portfolio-section {
  position: relative;
  background: radial-gradient(circle at 50% -20%, rgba(30, 167, 255, 0.08) 0%, transparent 60%);
  padding: 6.5rem 0;
  border-top: 1px solid var(--glass-border);
}

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

@media (max-width: 992px) {
  .vapt-portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-category-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.portfolio-category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 167, 255, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.portfolio-category-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 10px 30px rgba(7, 17, 32, 0.5), 0 0 20px rgba(30, 167, 255, 0.05);
}

.portfolio-category-card:hover::before {
  opacity: 1;
}

.portfolio-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 1.25rem;
}

.portfolio-category-header svg {
  color: var(--accent-cyan);
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 8px rgba(30, 167, 255, 0.4));
}

.portfolio-category-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: 0.5px;
}

.portfolio-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.portfolio-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: rgba(5, 11, 21, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.portfolio-item:hover {
  background: rgba(20, 121, 255, 0.06);
  border-color: rgba(30, 167, 255, 0.20);
  transform: translateX(3px);
}

.portfolio-item-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  padding-right: 1rem;
}

.portfolio-item-name {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.portfolio-item-platform {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: monospace;
}

.portfolio-links-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.portfolio-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  background: rgba(20, 121, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(30, 167, 255, 0.2);
  transition: var(--transition-smooth);
  cursor: pointer;
  letter-spacing: 0.5px;
}

.portfolio-link-btn:hover {
  background: var(--accent-gradient);
  color: var(--bg-darker) !important;
  border-color: transparent;
  box-shadow: 0 0 10px rgba(30, 167, 255, 0.4);
  transform: translateY(-1px);
}

@media (max-width: 576px) {
  .portfolio-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .portfolio-links-group {
    justify-content: flex-start;
    width: 100%;
  }
}


