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

:root {
  --bg-primary: #000000;
  --bg-secondary: #09090b;
  --bg-tertiary: #121214;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(0, 255, 213, 0.25);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #52525b;
  --accent: #00ffd5;
  --accent-rgb: 0, 255, 213;
  --accent-dim: #0ea5e9;
  --accent-dim-rgb: 14, 165, 233;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-card: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  --title-gradient: linear-gradient(180deg, #ffffff 40%, rgba(255, 255, 255, 0.4) 100%);
  --glass-bg: rgba(9, 9, 11, 0.65);
  --glass-border: var(--border-color);
  --grid-overlay-color: rgba(255, 255, 255, 0.015);
  --radar-dome-overlay-bg: rgba(9, 9, 11, 0.85);
  --header-bg-scrolled: rgba(9, 9, 11, 0.75);
  --input-bg: rgba(255, 255, 255, 0.02);
  --input-bg-focus: rgba(255, 255, 255, 0.04);
  --btn-secondary-border: rgba(255, 255, 255, 0.2);
}

body.light-theme {
  --bg-primary: #fafafa;
  --bg-secondary: #f4f4f5;
  --bg-tertiary: #ffffff;
  --border-color: rgba(9, 9, 11, 0.08);
  --border-hover: rgba(2, 132, 199, 0.3);
  --text-primary: #09090b;
  --text-secondary: #27272a;
  --text-muted: #71717a;
  --accent: #0284c7;
  --accent-rgb: 2, 132, 199;
  --accent-dim: #0369a1;
  --accent-dim-rgb: 3, 105, 161;
  --title-gradient: linear-gradient(180deg, #09090b 40%, rgba(9, 9, 11, 0.5) 100%);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(9, 9, 11, 0.08);
  --grid-overlay-color: rgba(9, 9, 11, 0.025);
  --radar-dome-overlay-bg: rgba(244, 244, 245, 0.85);
  --header-bg-scrolled: rgba(250, 250, 250, 0.75);
  --input-bg: rgba(9, 9, 11, 0.02);
  --input-bg-focus: rgba(9, 9, 11, 0.04);
  --btn-secondary-border: rgba(9, 9, 11, 0.15);
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: var(--font-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { overflow-x: hidden; background-color: var(--bg-primary); color: var(--text-secondary); transition: background-color 0.35s ease, color 0.35s ease; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--text-primary); font-weight: 400; letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; }
button,input,textarea,select { font-family: inherit; }
img { max-width: 100%; height: auto; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Grid Overlay */
.grid-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background-image: linear-gradient(var(--grid-overlay-color) 1px, transparent 1px), linear-gradient(90deg, var(--grid-overlay-color) 1px, transparent 1px);
  background-size: 80px 80px; pointer-events: none; z-index: 1;
}

/* Ambient Glows */
.ambient-glow {
  position: fixed; top: -10%; left: 30%; width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(var(--accent-dim-rgb), 0.03) 0%, transparent 70%);
  filter: blur(100px); pointer-events: none; z-index: 0;
  animation: floatGlow 25s ease-in-out infinite alternate;
}
.ambient-glow-2 {
  position: fixed; bottom: -10%; right: 20%; width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.02) 0%, transparent 75%);
  filter: blur(120px); pointer-events: none; z-index: 0;
  animation: floatGlow 35s ease-in-out infinite alternate-reverse;
}
@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10%, 5%) scale(1.1); }
  100% { transform: translate(5%, -5%) scale(0.9); }
}

/* Glass Panel */
.glass-panel {
  background: var(--glass-bg, rgba(9, 9, 11, 0.65));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border, var(--border-color));
}

/* Landing Page Root */
.landing-page-root {
  position: relative; background-color: var(--bg-primary);
  overflow-x: hidden; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: space-between;
}

/* Section Layout */
section {
  position: relative; width: 100%; min-height: 100vh;
  padding: 140px 10% 80px 10%;
  display: flex; flex-direction: column; justify-content: center; z-index: 2;
}
.container { width: 100%; max-width: 1200px; margin: 0 auto; }
.section-tag {
  font-family: var(--font-heading); text-transform: uppercase;
  font-size: 0.75rem; letter-spacing: 0.25em; color: var(--accent);
  margin-bottom: 1.5rem; display: inline-block; font-weight: 500;
}
.section-title { font-size: 3rem; font-weight: 300; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.03em; }
.section-title span {
  font-weight: 600;
  background: var(--title-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle { font-size: 1.125rem; color: var(--text-secondary); max-width: 600px; margin-bottom: 4rem; line-height: 1.6; font-weight: 300; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; background-color: var(--text-primary); color: var(--bg-primary);
  border: 1px solid var(--text-primary); border-radius: 2px;
  font-size: 0.9rem; font-weight: 500; cursor: pointer;
  transition: var(--transition-smooth); letter-spacing: 0.03em;
}
.btn-primary:hover { background-color: transparent; color: var(--text-primary); }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; background-color: transparent; color: var(--text-primary);
  border: 1px solid var(--btn-secondary-border, rgba(255, 255, 255, 0.2));
  border-radius: 2px; font-size: 0.9rem; font-weight: 500; cursor: pointer;
  transition: var(--transition-smooth); letter-spacing: 0.03em;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 15px rgba(0, 255, 213, 0.1); }

/* Forms */
.form-group { margin-bottom: 24px; position: relative; }
.form-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-secondary); margin-bottom: 8px; }
.form-input, .form-textarea {
  width: 100%; padding: 16px; background: var(--input-bg, rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-color); border-radius: 2px;
  color: var(--text-primary); font-size: 0.95rem; transition: var(--transition-smooth);
}
.form-input:focus, .form-textarea:focus {
  outline: none; border-color: var(--accent);
  background: var(--input-bg-focus, rgba(255, 255, 255, 0.04));
  box-shadow: 0 0 15px rgba(0, 255, 213, 0.05);
}
.form-textarea { min-height: 150px; resize: vertical; }
.form-submit-btn { width: 100%; margin-top: 8px; }
.form-success-message {
  display: none; text-align: center; padding: 20px;
  border: 1px solid rgba(0, 255, 213, 0.2); border-radius: 2px;
  color: var(--accent); font-family: var(--font-heading);
  font-size: 0.9rem; letter-spacing: 0.05em; margin-top: 20px;
  background: rgba(0, 255, 213, 0.03);
}
.form-success-message.visible { display: block; }
.form-error-message {
  display: none; text-align: center; padding: 12px;
  border: 1px solid rgba(239, 68, 68, 0.25); border-radius: 2px;
  color: #ef4444; font-family: var(--font-heading);
  font-size: 0.8rem; letter-spacing: 0.05em; margin-top: 10px;
  background: rgba(239, 68, 68, 0.05);
}
.form-error-message.visible { display: block; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; height: 90px;
  z-index: 100; transition: var(--transition-smooth);
  display: flex; align-items: center;
}
.site-header.scrolled {
  height: 70px; background: var(--header-bg-scrolled);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}
.header-container {
  width: 90%; max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-placeholder-box {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border: 1px dashed var(--border-color);
  border-radius: 2px; transition: var(--transition-smooth);
}
.logo-placeholder-box:hover { border-color: var(--accent); background: rgba(0, 255, 213, 0.02); }
.logo-text {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.1rem; letter-spacing: 0.15em; color: var(--text-primary);
}

/* Logo Cyber Wave */
.logo-cyber-element {
  width: 12px; height: 12px; background: var(--accent);
  border-radius: 50%; position: relative;
  display: inline-flex; align-items: center; justify-content: center;
}
.cyber-ring {
  position: absolute; top: 50%; left: 50%;
  width: 100%; height: 100%;
  border: 1.5px solid var(--accent); border-radius: 50%;
  opacity: 0; pointer-events: none;
  transform: translate(-50%, -50%);
}
.ring-1 { animation: cyberWave 2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s; }
.ring-2 { animation: cyberWave 2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.67s; }
.ring-3 { animation: cyberWave 2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.33s; }
@keyframes cyberWave {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(2.8); opacity: 0; }
}

/* Navigation */
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-family: var(--font-body); font-size: 0.85rem;
  color: var(--text-secondary); letter-spacing: 0.05em;
  position: relative; padding: 8px 0;
  display: inline-block; transition: color 0.2s, transform 0.2s;
}
.nav-link:hover { color: var(--text-primary); transform: scale(1.05); }
.nav-link.active { color: var(--text-primary); text-shadow: 0 0 12px rgba(0, 255, 213, 0.4); }
.underline-indicator {
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.25s ease;
}
.nav-link:hover .underline-indicator, .nav-link.active .underline-indicator { width: 100%; }

/* Header Controls */
.header-controls { display: flex; align-items: center; gap: 20px; }
.theme-toggle-btn {
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border-color);
  color: var(--text-secondary); width: 36px; height: 36px;
  border-radius: 2px; cursor: pointer; transition: var(--transition-smooth);
  padding: 0;
}
.theme-toggle-btn:hover { color: var(--text-primary); border-color: var(--accent); }

/* Lang Switcher */
.lang-switcher { position: relative; }
.lang-toggle-btn {
  background: transparent; border: none; color: var(--text-secondary);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 6px;
  cursor: pointer; padding: 8px 12px; transition: color 0.2s;
  font-family: var(--font-heading);
}
.lang-toggle-btn:hover { color: var(--text-primary); }
.lang-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 170px; background: var(--glass-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color); border-radius: 4px;
  padding: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: none; flex-direction: column; gap: 4px; z-index: 200;
}
.lang-dropdown.open { display: flex; }
.lang-option {
  background: transparent; border: none; color: var(--text-secondary);
  font-size: 0.8rem; padding: 9px 12px; text-align: left;
  width: 100%; border-radius: 2px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition-smooth); font-family: var(--font-body);
}
.lang-option:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-primary); }
.lang-option.selected { color: var(--accent); font-weight: 500; }
.lang-code { font-family: var(--font-heading); font-size: 0.7rem; opacity: 0.5; }
.active-dot { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }

/* Hero Section */
.hero-section {
  position: relative; min-height: 100vh; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-primary); overflow: hidden;
  transition: background-color 0.35s ease;
}
.hero-bg-canvas-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-bg-canvas { width: 100%; height: 100%; display: block; }
.hero-gradient-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(0,0,0,0.45) 100%),
              linear-gradient(to bottom, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.55) 100%);
  pointer-events: none; transition: var(--transition-smooth);
}
body.light-theme .hero-gradient-overlay {
  background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(250,250,250,0.35) 100%),
              linear-gradient(to bottom, rgba(250,250,250,0.05) 50%, rgba(250,250,250,0.5) 100%);
}
.hero-container {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  height: 100vh; width: 90%;
}
.hero-content { max-width: 800px; margin-top: 40px; }
.hero-tagline-container { display: flex; align-items: center; gap: 12px; margin-bottom: 2rem; }
.hero-decor-line { width: 40px; height: 1px; background-color: var(--accent); display: inline-block; }
.hero-cyber-status { font-family: var(--font-heading); font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.2em; }
.hero-title {
  font-size: 8rem; font-weight: 800; letter-spacing: -0.04em;
  line-height: 0.9; margin-bottom: 1.5rem;
  background: var(--title-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: revealLetters 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes revealLetters {
  from { opacity: 0; transform: translateY(20px); letter-spacing: 0.05em; }
  to { opacity: 1; transform: translateY(0); letter-spacing: -0.04em; }
}
.hero-slogan {
  font-family: var(--font-heading); font-size: 2.25rem;
  font-weight: 300; line-height: 1.2; color: var(--text-primary);
  margin-bottom: 1.5rem; letter-spacing: -0.02em; opacity: 0.95;
}
.hero-subtext {
  font-size: 1.1rem; color: var(--text-secondary); line-height: 1.6;
  margin-bottom: 3.5rem; max-width: 580px; font-weight: 300;
}
.hero-actions { display: flex; gap: 20px; }
.hero-bottom-deco {
  position: absolute; bottom: 40px; left: 0; width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-heading); font-size: 0.7rem;
  color: var(--text-muted); letter-spacing: 0.15em;
}

/* Services Section */
.services-section { background-color: var(--bg-primary); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px;
}
.service-card {
  position: relative; padding: 40px; border-radius: 2px;
  transition: var(--transition-card); overflow: visible !important;
  cursor: pointer;
}
.service-card:hover {
  border-color: rgba(0, 255, 213, 0.3) !important;
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 255, 213, 0.06) !important;
}
.service-card:hover .icon-wrapper { color: var(--accent); border-color: rgba(0, 255, 213, 0.3); background-color: rgba(0, 255, 213, 0.02); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.icon-wrapper {
  width: 50px; height: 50px; border: 1px solid var(--border-color);
  border-radius: 2px; display: flex; align-items: center; justify-content: center;
  color: var(--text-primary); transition: var(--transition-smooth);
}
.service-icon { display: block; }
.card-number { font-family: var(--font-heading); font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.1em; }
.card-title { font-size: 1.5rem; margin-bottom: 15px; font-weight: 400; letter-spacing: -0.01em; }
.card-description { font-size: 0.9rem; line-height: 1.6; color: var(--text-secondary); font-weight: 300; }
.corner-decor { position: absolute; width: 8px; height: 8px; border: 1px solid transparent; pointer-events: none; transition: var(--transition-smooth); }
.corner-decor.top-left { top: 0; left: 0; border-top-color: var(--border-color); border-left-color: var(--border-color); }
.corner-decor.bottom-right { bottom: 0; right: 0; border-bottom-color: var(--border-color); border-right-color: var(--border-color); }
.service-card:hover .corner-decor.top-left { border-top-color: var(--accent); border-left-color: var(--accent); }
.service-card:hover .corner-decor.bottom-right { border-bottom-color: var(--accent); border-right-color: var(--accent); }

/* Service Modal */
.service-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000; animation: modalFadeIn 0.3s ease-out;
}
.service-modal-overlay.hidden { display: none; }
.service-modal-card {
  position: relative; max-width: 640px; width: 90%; max-height: 80vh;
  overflow-y: auto; padding: 40px; border-radius: 2px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  animation: modalScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-modal-close {
  position: absolute; top: 25px; right: 25px;
  background: transparent; border: none; color: var(--text-muted);
  cursor: pointer; transition: var(--transition-smooth); padding: 4px;
}
.service-modal-close:hover { color: var(--text-primary); }
.modal-badge { font-family: var(--font-heading); font-size: 0.65rem; color: var(--accent); letter-spacing: 0.15em; display: block; margin-bottom: 12px; }
.modal-title { font-size: 2.2rem; font-weight: 500; color: var(--text-primary); margin-bottom: 15px; }
.modal-desc { font-size: 1rem; line-height: 1.6; color: var(--text-secondary); margin-bottom: 30px; font-weight: 300; }
.modal-body { border-top: 1px solid var(--border-color); padding-top: 30px; }
.modal-paragraph { font-size: 0.95rem; line-height: 1.7; color: var(--text-secondary); margin-bottom: 18px; font-weight: 300; }
.modal-subheading { font-family: var(--font-heading); font-size: 1.15rem; color: var(--text-primary); margin-top: 25px; margin-bottom: 12px; letter-spacing: 0.02em; }
.modal-list { list-style: none; margin: 0 0 15px 0; padding: 0; }
.modal-list-item { font-size: 0.95rem; line-height: 1.7; color: var(--text-secondary); padding-left: 20px; margin-bottom: 8px; font-weight: 300; position: relative; }
.modal-list-item::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalScaleIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* About Section */
.about-section { background-color: var(--bg-primary); }
.about-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.about-graphic-side { display: flex; justify-content: center; align-items: center; }
.radar-dome {
  position: relative; width: 320px; height: 320px;
  border-radius: 50%; border: 1px solid var(--border-color);
  overflow: hidden; background: rgba(255, 255, 255, 0.01);
  display: flex; align-items: center; justify-content: center;
}
.radar-circle { position: absolute; border: 1px dashed var(--border-color); border-radius: 50%; }
.circle-1 { width: 80%; height: 80%; }
.circle-2 { width: 50%; height: 50%; }
.circle-3 { width: 20%; height: 20%; border-style: solid; }
.radar-sweep-line {
  position: absolute; width: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
  top: 50%; left: 50%; transform-origin: left center;
  animation: radarSweep 8s linear infinite;
}
@keyframes radarSweep { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.radar-blip {
  position: absolute; width: 4px; height: 4px;
  background-color: var(--accent); border-radius: 50%;
  box-shadow: 0 0 10px var(--accent); opacity: 0;
}
.blip-1 { top: 35%; left: 25%; animation: blipFade 4s ease infinite; animation-delay: 1s; }
.blip-2 { bottom: 40%; right: 30%; animation: blipFade 4s ease infinite; animation-delay: 3s; }
@keyframes blipFade { 0% { opacity: 0; transform: scale(0.5); } 15% { opacity: 1; transform: scale(1.2); } 50%, 100% { opacity: 0; transform: scale(0.5); } }
.radar-coordinates {
  position: absolute; bottom: 25px;
  font-family: var(--font-heading); font-size: 0.65rem;
  color: var(--text-muted); letter-spacing: 0.1em;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.about-content-side { display: flex; flex-direction: column; }
.about-subheading { font-size: 1.8rem; font-weight: 300; color: var(--text-primary); margin-bottom: 24px; line-height: 1.3; }
.about-body { margin-bottom: 40px; }
.about-para { font-size: 0.975rem; line-height: 1.7; color: var(--text-secondary); margin-bottom: 18px; font-weight: 300; }
.pillars-grid { display: flex; flex-direction: column; gap: 20px; max-width: 400px; }
.pillar-item { display: flex; flex-direction: column; gap: 8px; }
.pillar-label { font-family: var(--font-heading); font-size: 0.75rem; letter-spacing: 0.15em; color: var(--text-primary); font-weight: 500; }
.pillar-bar { width: 100%; height: 1px; background: var(--border-color); position: relative; }
.pillar-bar::after {
  content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--accent) 30%, transparent 100%);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.in-view .pillar-bar::after { transform: scaleX(1); }

/* Blog Section */
.blog-section { background-color: var(--bg-secondary); padding: 120px 10% 80px 10%; min-height: auto; }
.blog-preview-section { background-color: var(--bg-secondary); }
.blog-header-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; gap: 20px; }
.blog-page-title { font-size: 2.5rem; font-weight: 500; line-height: 1.2; margin-bottom: 15px; color: var(--text-primary); letter-spacing: -0.015em; }
.blog-page-description { font-size: 1.05rem; line-height: 1.6; color: var(--text-muted); max-width: 650px; font-weight: 300; }
.blog-list { display: flex; flex-direction: column; gap: 40px; max-width: 800px; margin: 0 auto; }
.blog-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 40px; }
.blog-card {
  padding: 16px; border-radius: 8px;
  display: flex; flex-direction: row; align-items: center; gap: 24px;
  cursor: pointer; background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 255, 213, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s, border-color 0.3s;
  overflow: hidden; min-height: 156px; max-height: 170px;
  text-decoration: none; color: inherit;
}
.blog-card:hover { border-color: rgba(0, 255, 213, 0.45); transform: scale(1.015); box-shadow: 0 12px 40px rgba(0, 255, 213, 0.08); }
.blog-card-image-box { width: 220px; height: 124px; flex-shrink: 0; overflow: hidden; border-radius: 8px; background-color: #000; border: 1px solid var(--border-color); }
.blog-card-featured-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-featured-img { transform: scale(1.06); }
.blog-card-content-box { flex-grow: 1; display: flex; flex-direction: column; min-height: 124px; justify-content: space-between; }
.blog-card-meta { font-family: var(--font-heading); font-size: 0.72rem; color: var(--accent); letter-spacing: 0.05em; text-transform: uppercase; display: flex; align-items: center; gap: 4px; }
.meta-separator { color: var(--text-muted); opacity: 0.5; }
.blog-post-title { font-size: 1.25rem; line-height: 1.3; margin-bottom: 4px; font-weight: 500; color: var(--text-primary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-post-excerpt { font-size: 0.88rem; line-height: 1.5; color: var(--text-secondary); font-weight: 300; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }
.blog-preview-card {
  padding: 30px; border-radius: 8px; cursor: pointer;
  border: 1px solid rgba(0, 255, 213, 0.1);
  transition: var(--transition-card);
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: inherit;
}
.blog-preview-card:hover { border-color: rgba(0, 255, 213, 0.35); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0, 255, 213, 0.05); }
.blog-preview-card-title { font-size: 1.1rem; font-weight: 500; color: var(--text-primary); line-height: 1.4; }
.blog-preview-card-excerpt { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 300; }
.blog-preview-card-meta { font-family: var(--font-heading); font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; margin-top: auto; }
.blog-preview-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: 0.8rem; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; transition: var(--transition-smooth); }
.blog-preview-link:hover { text-shadow: 0 0 10px rgba(0, 255, 213, 0.3); }
.blog-pagination { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 50px; flex-wrap: wrap; }
.blog-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 12px; background: transparent; border: 1px solid var(--border-color); color: var(--text-secondary); font-family: var(--font-heading); font-size: 0.8rem; letter-spacing: 0.05em; border-radius: 2px; transition: var(--transition-smooth); text-decoration: none; }
.blog-pagination .page-numbers:hover { border-color: var(--accent); color: var(--text-primary); }
.blog-pagination .page-numbers.current { border-color: var(--accent); color: var(--accent); }

/* Contact Section */
.contact-section { background-color: var(--bg-secondary); padding: 120px 10% 100px 10%; min-height: auto; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.contact-info-side { display: flex; flex-direction: column; }
.contact-desc { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 40px; font-weight: 300; }
.security-specs { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--border-color); padding-top: 30px; max-width: 420px; }
.spec-row { display: flex; justify-content: space-between; font-family: var(--font-heading); font-size: 0.8rem; letter-spacing: 0.05em; }
.spec-label { color: var(--text-muted); }
.spec-val { color: var(--text-primary); font-weight: 500; }
.contact-links-side { padding: 50px; border-radius: 4px; display: flex; flex-direction: column; justify-content: center; }
.contact-actions-list { display: flex; flex-direction: column; gap: 14px; }
.contact-link-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px 20px; font-family: var(--font-heading); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; transition: var(--transition-smooth); }
.contact-action-desc { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 10px; font-weight: 300; opacity: 0.85; }
.contact-form-section { margin-top: 60px; }

/* Single Post */
.single-post-section { background: var(--bg-primary); padding: 140px 10% 80px 10%; }
.post-back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; font-family: var(--font-heading); margin-bottom: 40px; transition: color 0.2s; }
.post-back-link:hover { color: var(--accent); }
.post-header { margin-bottom: 40px; }
.post-title { font-size: 3rem; font-weight: 500; line-height: 1.2; margin-bottom: 20px; max-width: 800px; }
.post-meta { font-family: var(--font-heading); font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
.post-featured-img { width: 100%; max-height: 500px; object-fit: cover; border-radius: 4px; margin-bottom: 40px; border: 1px solid var(--border-color); }
.post-content { max-width: 780px; line-height: 1.8; font-size: 1.05rem; font-weight: 300; color: var(--text-secondary); }
.post-content h2, .post-content h3, .post-content h4 { color: var(--text-primary); margin: 30px 0 15px; font-weight: 500; }
.post-content p { margin-bottom: 20px; }
.post-content ul, .post-content ol { margin-left: 24px; margin-bottom: 20px; }
.post-content li { margin-bottom: 8px; }
.post-content strong { color: var(--text-primary); font-weight: 600; }
.post-content em { color: var(--accent); }
.post-content code { background: rgba(0, 255, 213, 0.05); border: 1px solid rgba(0, 255, 213, 0.1); padding: 2px 6px; border-radius: 2px; font-size: 0.9em; color: var(--accent); }
.post-nav { display: flex; justify-content: space-between; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--border-color); gap: 20px; }
.post-nav a { font-family: var(--font-heading); font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.2s; }
.post-nav a:hover { color: var(--accent); }

/* 404 Page */
.not-found-section {
  text-align: center; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 100vh; padding: 100px 5%;
}
.error-code {
  font-family: var(--font-heading); font-size: 10rem; font-weight: 800;
  color: var(--accent); text-shadow: 0 0 60px rgba(0, 255, 213, 0.4);
  line-height: 1; margin-bottom: 20px;
  animation: pulseLogo 2s ease-in-out infinite;
}
.error-title { font-size: 2.5rem; font-weight: 300; color: var(--text-primary); margin-bottom: 20px; }
.error-message { font-size: 1.1rem; color: var(--text-secondary); max-width: 500px; line-height: 1.6; margin-bottom: 40px; font-weight: 300; }
@keyframes pulseLogo { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }

/* Footer */
.site-footer { border-top: 1px solid var(--border-color); padding: 30px 0; background-color: #000000; position: relative; z-index: 2; margin-top: auto; }
body.light-theme .site-footer { background-color: #f4f4f5; }
.footer-container { width: 90%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.social-link { color: var(--text-secondary); opacity: 0.6; font-size: 0.72rem; font-family: var(--font-heading); letter-spacing: 0.05em; transition: var(--transition-smooth); text-transform: uppercase; }
.social-link:hover { opacity: 1; color: var(--accent); text-shadow: 0 0 10px rgba(0, 255, 213, 0.2); }
.footer-left { display: flex; flex-direction: column; gap: 8px; }
.footer-logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.15em; color: var(--text-primary); }
.footer-slogan { font-size: 0.8rem; color: var(--text-muted); font-weight: 300; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-family: var(--font-heading); font-size: 0.7rem; letter-spacing: 0.1em; }
.copyright { color: var(--text-muted); }
.footer-address-metadata { font-family: var(--font-body); font-size: 0.72rem; color: var(--text-muted); font-style: italic; opacity: 0.7; margin-top: 4px; text-align: center; width: 100%; letter-spacing: 0.05em; text-transform: uppercase; }

/* Page Transition */
.page-transition-wrapper { animation: pageFadeIn 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; opacity: 0; }
@keyframes pageFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Scroll Reveal */
.reveal-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-on-scroll.in-view { opacity: 1; transform: translateY(0); }
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @keyframes grow-reveal { from { opacity: 0.3; transform: translateY(40px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
  .reveal-on-scroll { transition: none; animation: grow-reveal auto linear both; animation-timeline: view(); animation-range: entry 10% entry 45%; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .ambient-glow, .ambient-glow-2 { animation: none !important; }
  .radar-sweep-line { animation: none !important; }
  .hero-title { animation: none !important; opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  section { padding: 100px 5% 60px 5%; }
  .section-title { font-size: 2.25rem; }
  .hero-title { font-size: 4.5rem; }
  .hero-slogan { font-size: 1.5rem; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-bottom-deco { display: none; }
  .about-layout { grid-template-columns: 1fr; gap: 60px; }
  .radar-dome { width: 260px; height: 260px; }
  .contact-layout { grid-template-columns: 1fr; gap: 50px; }
  .contact-links-side { padding: 35px 24px; }
  .footer-container { flex-direction: column; align-items: flex-start; gap: 30px; }
  .footer-right { align-items: flex-start; }
  .blog-card { flex-direction: column; min-height: auto; max-height: none; }
  .blog-card-image-box { width: 100%; height: 180px; border-radius: 8px 8px 0 0; }
  .blog-card-content-box { padding: 16px; }
  .nav-menu { display: none; }
  .blog-section { padding: 100px 5% 60px 5%; }
  .contact-section { padding: 100px 5% 60px 5%; }
}
@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 60px; }
  .radar-dome { width: 260px; height: 260px; }
  .contact-layout { grid-template-columns: 1fr; gap: 50px; }
}

/* ============================================================
   LIGHT MODE — COMPREHENSIVE FIXES
   Ensures all text, cards, and components are visible in light mode
============================================================ */

/* Navigation */
body.light-theme .site-header { background: rgba(250,250,250,0.9); border-bottom-color: rgba(9,9,11,0.08); }
body.light-theme .nav-link { color: #52525b; }
body.light-theme .nav-link:hover,
body.light-theme .nav-link.active { color: #09090b; text-shadow: none; }
body.light-theme .nav-link .underline-indicator { background: #0284c7; }
body.light-theme .theme-toggle-btn { color: #09090b; }
body.light-theme .lang-toggle-btn { color: #09090b; }
body.light-theme .lang-dropdown { background: #ffffff; border-color: rgba(9,9,11,0.1); }
body.light-theme .lang-option { color: #27272a; }
body.light-theme .lang-option:hover { background: #f4f4f5; color: #09090b; }
body.light-theme .logo-text { color: #09090b; }
body.light-theme .cyber-ring { border-color: #0284c7; }

/* Hero Section */
body.light-theme .hero-section { background-color: #f4f4f5; }
body.light-theme .hero-bg-canvas { opacity: 0.15; }
body.light-theme .hero-cyber-status { color: #0284c7; }
body.light-theme .hero-title { color: #09090b; -webkit-text-fill-color: #09090b; }
body.light-theme .hero-slogan { color: #09090b; }
body.light-theme .hero-subtext { color: #52525b; }
body.light-theme .hero-decor-line { background: #0284c7; }
body.light-theme .hero-bottom-deco { color: #71717a; }
body.light-theme .hero-bottom-deco::before,
body.light-theme .hero-bottom-deco::after { background: rgba(9,9,11,0.15); }
body.light-theme .btn-primary { background: #09090b; color: #ffffff; border-color: #09090b; }
body.light-theme .btn-primary:hover { background: transparent; color: #09090b; }
body.light-theme .btn-secondary { color: #09090b; border-color: rgba(9,9,11,0.2); }
body.light-theme .btn-secondary:hover { border-color: #0284c7; color: #0284c7; }

/* Sections & Cards */
body.light-theme .section-title { color: #09090b; }
body.light-theme .section-title span { -webkit-text-fill-color: transparent; }
body.light-theme .section-subtitle { color: #52525b; }
body.light-theme .section-tag { color: #0284c7; }
body.light-theme .glass-panel {
  background: rgba(255,255,255,0.75);
  border-color: rgba(9,9,11,0.08);
  box-shadow: 0 2px 20px rgba(9,9,11,0.06);
}
body.light-theme .card-title { color: #09090b; }
body.light-theme .card-description { color: #52525b; }
body.light-theme .card-number { color: rgba(9,9,11,0.15); }
body.light-theme .corner-decor { border-color: rgba(2,132,199,0.3); }
body.light-theme .card-top .icon-wrapper { color: #0284c7; }
body.light-theme .card-number { color: rgba(9,9,11,0.12); }

/* About Page */
body.light-theme .about-subheading { color: #09090b; }
body.light-theme .about-para { color: #52525b; }
body.light-theme .pillar-label { color: #09090b; }
body.light-theme .pillar-bar { background: rgba(9,9,11,0.08); }
body.light-theme .pillar-bar::after { background: #0284c7; }
body.light-theme .radar-circle { border-color: rgba(2,132,199,0.25); }
body.light-theme .radar-sweep-line { background: linear-gradient(to right, transparent, rgba(2,132,199,0.5)); }
body.light-theme .radar-coordinates { color: #71717a; }
body.light-theme .radar-blip { background: #0284c7; box-shadow: 0 0 6px #0284c7; }

/* Contact Page */
body.light-theme .contact-desc { color: #52525b; }
body.light-theme .security-specs { border-color: rgba(9,9,11,0.08); }
body.light-theme .spec-label { color: #71717a; }
body.light-theme .spec-val { color: #09090b; }
body.light-theme .spec-row { border-bottom-color: rgba(9,9,11,0.06); }
body.light-theme .contact-action-desc { color: #52525b; }
body.light-theme .contact-link-btn.btn-secondary { border-color: rgba(9,9,11,0.15); }

/* Forms */
body.light-theme .form-label { color: #52525b; }
body.light-theme .form-input,
body.light-theme .form-textarea {
  background: rgba(9,9,11,0.02);
  border-color: rgba(9,9,11,0.12);
  color: #09090b;
}
body.light-theme .form-input::placeholder,
body.light-theme .form-textarea::placeholder { color: #a1a1aa; }
body.light-theme .form-input:focus,
body.light-theme .form-textarea:focus { border-color: #0284c7; background: rgba(2,132,199,0.03); }

/* Blog Page */
body.light-theme .blog-page-title { color: #09090b; }
body.light-theme .blog-page-description { color: #52525b; }
body.light-theme .blog-post-title { color: #09090b; }
body.light-theme .blog-post-excerpt { color: #52525b; }
body.light-theme .blog-card-meta { color: #71717a; }
body.light-theme .meta-separator { color: #a1a1aa; }
body.light-theme .blog-pagination a { color: #0284c7; border-color: rgba(2,132,199,0.3); }

/* Single Post */
body.light-theme .post-title { color: #09090b; }
body.light-theme .post-meta { color: #71717a; }
body.light-theme .post-content { color: #27272a; }
body.light-theme .post-content h2,
body.light-theme .post-content h3 { color: #09090b; }
body.light-theme .post-back-link { color: #0284c7; }
body.light-theme .post-nav a { color: #0284c7; }

/* Footer */
body.light-theme .footer-logo { color: #09090b; }
body.light-theme .footer-slogan { color: #71717a; }
body.light-theme .copyright { color: #71717a; }
body.light-theme .social-link { color: #71717a; }
body.light-theme .footer-address-metadata { color: #a1a1aa; }
body.light-theme .site-footer { border-top-color: rgba(9,9,11,0.08); }

/* 404 */
body.light-theme .error-code { color: #09090b; -webkit-text-fill-color: #09090b; }
body.light-theme .error-title { color: #09090b; }
body.light-theme .error-message { color: #52525b; }

/* Modals */
body.light-theme .service-modal-card { background: #ffffff; border-color: rgba(9,9,11,0.08); }
body.light-theme .modal-title { color: #09090b; }
body.light-theme .modal-desc { color: #52525b; }
body.light-theme .modal-badge { color: #0284c7; }
body.light-theme .modal-scope h3 { color: #09090b; }
body.light-theme .modal-scope li { color: #52525b; }
body.light-theme .service-modal-close { color: #52525b; }
body.light-theme .service-modal-close:hover { color: #09090b; }

/* About custom media */
.about-custom-media { width: 420px; height: 420px; overflow: hidden; border-radius: 8px; }
@media (max-width: 900px) { .about-custom-media { width: 100%; height: 280px; } }

/* Blog card no-thumbnail placeholder */
.blog-card-no-thumb {
  background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.blog-card-placeholder-icon { font-size: 2rem; opacity: 0.25; }
body.light-theme .blog-card-no-thumb { background: #e4e4e7; }
body.light-theme .blog-card { background: rgba(255,255,255,0.6); border-color: rgba(2,132,199,0.15); }
body.light-theme .blog-card:hover { border-color: rgba(2,132,199,0.4); }

/* Blog empty state */
.blog-empty-state { margin-top: 40px; padding: 40px 32px; border: 1px solid var(--border-color); border-radius: 8px; max-width: 520px; }
.blog-empty-state p { color: var(--text-muted); line-height: 1.7; }
.blog-empty-hint { font-size: 0.85rem; margin-top: 10px; }
.blog-empty-hint strong { color: var(--accent); }
body.light-theme .blog-empty-hint strong { color: #0284c7; }
