﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CNM BiliÅŸim â€” style.css
   Dark & tech-themed corporate site
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€â”€ CSS VARIABLES â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root {
  --bg-primary:    #050810;
  --bg-secondary:  #0a0f1c;
  --bg-tertiary:   #111827;
  --accent-cyan:   #00d4ff;
  --accent-blue:   #0066ff;
  --accent-green:  #00ff88;
  --text-primary:  #e6f1ff;
  --text-secondary: #8892b0;
  --border-glow:   rgba(0, 212, 255, 0.2);
  --glass-bg:      rgba(17, 24, 39, 0.5);
  --transition:    cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --section-pad:   6rem;
  --container-max: 1200px;
}

/* â”€â”€â”€ RESET & BASE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100vw; }

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  cursor: none; /* replaced by custom cursor */
}

@media (max-width: 768px) { body { cursor: auto; } }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
video, svg, iframe { max-width: 100%; height: auto; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea { font-family: inherit; }

.mono { font-family: 'JetBrains Mono', monospace; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* â”€â”€â”€ SCROLL PROGRESS BAR â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* â”€â”€â”€ CUSTOM CURSOR â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--accent-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s var(--transition), width 0.2s, height 0.2s, background 0.2s;
  box-shadow: 0 0 12px var(--accent-cyan), 0 0 24px rgba(0,212,255,0.4);
  mix-blend-mode: screen;
}

#cursor-trail {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--transition), width 0.2s, height 0.2s;
}

body.cursor-hover #cursor { width: 18px; height: 18px; background: var(--accent-green); }
body.cursor-hover #cursor-trail { width: 48px; height: 48px; border-color: rgba(0,255,136,0.3); }

@media (max-width: 768px) { #cursor, #cursor-trail { display: none; } }

/* â”€â”€â”€ ANIMATED GRID BACKGROUND â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  0%   { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

/* â”€â”€â”€ PARTICLE CANVAS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* â”€â”€â”€ UTILITY COLORS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.text-cyan  { color: var(--accent-cyan); }
.text-green { color: var(--accent-green); }
.text-blue  { color: var(--accent-blue); }
.text-secondary { color: var(--text-secondary); }

.text-glow {
  color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.6), 0 0 40px rgba(0, 212, 255, 0.3);
}

/* â”€â”€â”€ BUTTONS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s var(--transition);
  position: relative;
  overflow: hidden;
  cursor: none;
}

@media (max-width: 768px) { .btn { cursor: pointer; } }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

.btn-glow {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4), 0 4px 20px rgba(0, 102, 255, 0.3);
}

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.7), 0 8px 30px rgba(0, 102, 255, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glow);
}

.btn-ghost:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.05);
  transform: translateY(-2px);
}

.btn-large { padding: 16px 36px; font-size: 1.05rem; }

.btn-pulse {
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0,212,255,0.4), 0 4px 20px rgba(0,102,255,0.3); }
  50%       { box-shadow: 0 0 40px rgba(0,212,255,0.8), 0 8px 40px rgba(0,102,255,0.6); }
}

/* â”€â”€â”€ REVEAL ANIMATION â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.services-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.5s; }
.services-grid .reveal:nth-child(7) { transition-delay: 0.6s; }
.services-grid .reveal:nth-child(8) { transition-delay: 0.7s; }
.stats-container .reveal:nth-child(3){ transition-delay: 0.1s; }
.stats-container .reveal:nth-child(5){ transition-delay: 0.2s; }
.stats-container .reveal:nth-child(7){ transition-delay: 0.3s; }

/* â”€â”€â”€ SECTION LAYOUT â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-pad) 2rem;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  color: var(--accent-cyan);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Neon underline for section titles */
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  border-radius: 2px;
  margin: 0.75rem auto 0;
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   NAVBAR
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.4s var(--transition);
}

#navbar.scrolled {
  background: rgba(5, 8, 16, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glow);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 2px;
  font-weight: 800;
  font-size: 1.3rem;
  flex-shrink: 0;
  cursor: none;
  transition: opacity 0.2s;
}

.nav-logo:hover { opacity: 0.85; }

.logo-cnm {
  color: var(--accent-cyan);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.02em;
  position: relative;
}

.logo-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--accent-cyan);
  border-radius: 50%;
  margin-left: 1px;
  vertical-align: middle;
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 8px var(--accent-cyan); }
  50%       { box-shadow: 0 0 16px var(--accent-cyan), 0 0 28px rgba(0,212,255,0.5); }
}

.logo-bilisim {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-left: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  padding: 8px 14px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--transition);
  position: relative;
  cursor: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px; height: 2px;
  background: var(--accent-cyan);
  border-radius: 1px;
  transition: transform 0.25s var(--transition);
}

.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px; height: 24px;
  justify-content: center;
  padding: 0;
  z-index: 1001;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: dotPulse 1.5s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  min-height: 4.5em;
}

.typing-prefix { color: var(--accent-green); }

#typing-text {
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typing-cursor {
  color: var(--accent-cyan);
  animation: blink 1s step-end infinite;
  font-weight: 300;
}

@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0;} }

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Floating code snippets */
.hero-code-snippets {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.code-snippet {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  opacity: 0.7;
  animation: floatSnippet 6s ease-in-out infinite;
  position: absolute;
  white-space: nowrap;
}

.code-dim  { color: var(--text-secondary); }

.snippet-1 { bottom: 38%; right: 0;    top: auto; left: auto; animation-delay: 0s; }
.snippet-2 { bottom: 22%; right: 12px; top: auto; left: auto; animation-delay: 2s; }
.snippet-3 { bottom:  6%; right: 24px; top: auto; left: auto; animation-delay: 4s; }

@keyframes floatSnippet {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* Hero visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.shield-wrapper {
  position: relative;
  z-index: 2;
  transition: transform 0.1s ease-out;
}

.shield-svg {
  width: 100%;
  max-width: 340px;
  filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.3));
  animation: shieldFloat 4s ease-in-out infinite;
}

@keyframes shieldFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.orbit-dot  { animation: orbitA 3s linear infinite; transform-origin: 150px 180px; }
.orbit-dot-2{ animation: orbitB 4s linear infinite reverse; transform-origin: 150px 180px; }
.orbit-dot-3{ animation: orbitA 5s linear infinite; transform-origin: 150px 180px; }

@keyframes orbitA { from { transform: rotate(0deg)   translate(120px) rotate(0deg);   } to { transform: rotate(360deg) translate(120px) rotate(-360deg); } }
@keyframes orbitB { from { transform: rotate(0deg)   translate(100px) rotate(0deg);   } to { transform: rotate(360deg) translate(100px) rotate(-360deg); } }

.shield-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.badge-top    { top: 10%; right: -20px; }
.badge-bottom { bottom: 15%; left: -20px; }

.badge-status {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-status.green { background: var(--accent-green); box-shadow: 0 0 8px var(--accent-green); }
.badge-status.cyan  { background: var(--accent-cyan);  box-shadow: 0 0 8px var(--accent-cyan);  }

/* Glow rings */
.glow-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.12);
  animation: ringPulse 3s ease-in-out infinite;
}

.ring-1 { width: 400px; height: 400px; animation-delay: 0s;   }
.ring-2 { width: 500px; height: 500px; animation-delay: 1.5s; border-color: rgba(0, 102, 255, 0.1); }

@keyframes ringPulse {
  0%, 100% { transform: scale(0.95); opacity: 0.5; }
  50%       { transform: scale(1.05); opacity: 1; }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
  animation: fadeInDown 2s ease 2s both;
}

.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--accent-cyan), transparent);
  animation: scrollDown 1.8s ease-in-out infinite;
}

.scroll-text { font-size: 0.65rem; color: var(--text-secondary); letter-spacing: 0.1em; }

@keyframes scrollDown { 0%{transform:scaleY(0.5);opacity:0.3;} 50%{transform:scaleY(1);opacity:0.8;} 100%{transform:scaleY(0.5);opacity:0.3;} }
@keyframes fadeInDown { from{opacity:0;transform:translateX(-50%) translateY(-10px);} to{opacity:0.4;transform:translateX(-50%) translateY(0);} }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   STATS BAR
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#stats {
  position: relative;
  z-index: 1;
  border-top:    1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-glow);
  background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(10,15,28,0.8) 100%);
  backdrop-filter: blur(8px);
}

.stats-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 140px;
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(0,212,255,0.5);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px; height: 60px;
  background: var(--border-glow);
  flex-shrink: 0;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SERVICES
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#services {
  position: relative;
  z-index: 1;
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s var(--transition);
  overflow: hidden;
}

.card-glow-border {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  opacity: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(0,102,255,0.05));
  transition: opacity 0.3s var(--transition);
  pointer-events: none;
}

.service-card:hover { transform: translateY(-6px); border-color: rgba(0,212,255,0.4); box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(0,212,255,0.1); }
.service-card:hover .card-glow-border { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent-cyan);
  transition: all 0.3s var(--transition);
}

.service-icon svg { width: 26px; height: 26px; }

.service-card:hover .service-icon {
  background: rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
  transform: scale(1.1) rotate(5deg);
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ABOUT
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#about {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Section title in non-centered contexts */
#about .section-title::after { margin: 0.75rem 0 0; }

.strengths-list { display: flex; flex-direction: column; gap: 1.25rem; }

.strength-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.strength-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-top: 2px;
}

.strength-icon svg { width: 20px; height: 20px; }

.strength-item strong { display: block; font-size: 0.95rem; color: var(--text-primary); margin-bottom: 3px; }
.strength-item p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

/* About visual column */
.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.about-stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.about-stat-card:hover {
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 8px 24px rgba(0,212,255,0.1);
}

.about-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.about-stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Terminal */
.about-terminal {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border-glow);
}

.t-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}

.t-dot.red    { background: #ff5f57; }
.t-dot.yellow { background: #ffbd2e; }
.t-dot.green  { background: #28ca42; }

.t-title { font-size: 0.75rem; color: var(--text-secondary); margin-left: auto; margin-right: auto; }

.terminal-body {
  padding: 1.25rem;
  font-size: 0.82rem;
  line-height: 1.8;
}

.t-prompt { color: var(--accent-cyan); }
.t-cmd    { color: var(--text-primary); }
.t-output { color: var(--text-secondary); padding-left: 0; }

.t-cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
  color: var(--accent-cyan);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CLIENT LOGOS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#clients {
  position: relative;
  z-index: 1;
  background: var(--bg-primary);
}

.clients-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
}

.clients-title::after {
  content: '';
  display: block;
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

.logo-strip-wrapper {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

/* Fade edges */
.logo-strip-wrapper::before,
.logo-strip-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.logo-strip-wrapper::before { left: 0;  background: linear-gradient(to right,  var(--bg-primary), transparent); }
.logo-strip-wrapper::after  { right: 0; background: linear-gradient(to left, var(--bg-primary), transparent); }

.logo-strip {
  display: flex;
  gap: 2rem;
  animation: logoScroll 70s linear infinite;
  width: max-content;
}

.logo-strip-wrapper:hover .logo-strip { animation-play-state: paused; }

@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logo-item {
  flex-shrink: 0;
  padding: 0.75rem 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.logo-item:hover { border-color: rgba(0,212,255,0.4); box-shadow: 0 4px 16px rgba(0,212,255,0.1); }

.logo-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.logo-item:hover .logo-text { color: var(--accent-cyan); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CTA SECTION
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#cta {
  position: relative;
  z-index: 1;
  background: var(--bg-primary);
}

.cta-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-pad) 2rem;
  text-align: center;
  position: relative;
}

.cta-glow-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CONTACT
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#contact {
  position: relative;
  z-index: 1;
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Form */
.contact-form-wrapper {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1.25rem; }

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.required { color: var(--accent-cyan); }

.form-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: none;
}

.form-input::placeholder { color: var(--text-secondary); opacity: 0.6; }

.form-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}

.form-input.error {
  border-color: #ff4d6d;
  box-shadow: 0 0 0 3px rgba(255,77,109,0.1);
}

.form-textarea { min-height: 130px; }

.form-error { font-size: 0.78rem; color: #ff4d6d; min-height: 1.1em; }

.btn-submit { width: 100%; justify-content: center; }

.form-success {
  margin-top: 1rem;
  padding: 12px 16px;
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.25);
  border-radius: var(--radius-sm);
  color: var(--accent-green);
  font-size: 0.9rem;
  text-align: center;
}

/* Contact info */
.contact-info { display: flex; flex-direction: column; gap: 1rem; }

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.info-card:hover { border-color: rgba(0,212,255,0.3); box-shadow: 0 4px 20px rgba(0,212,255,0.08); }

.info-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.info-icon svg { width: 20px; height: 20px; }

.info-title { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.info-text   { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.info-text a { transition: color 0.2s; cursor: none; }
.info-text a:hover { color: var(--accent-cyan); }
@media (max-width: 768px) { .info-text a { cursor: pointer; } }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#footer {
  position: relative;
  z-index: 1;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-glow);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo { margin-bottom: 1rem; display: inline-flex; }

.footer-brand-desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}


.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-links a {
  font-size: 0.87rem;
  color: var(--text-secondary);
  transition: color 0.2s, padding-left 0.2s;
  cursor: none;
}

.footer-links a:hover { color: var(--accent-cyan); padding-left: 4px; }
@media (max-width: 768px) { .footer-links a { cursor: pointer; } }

.footer-contact-info {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-contact-info p { margin: 0; }

.footer-contact-info a {
  font-size: 0.87rem;
  color: var(--text-secondary);
  transition: color 0.2s;
  cursor: none;
}

.footer-contact-info a:hover { color: var(--accent-cyan); }
@media (max-width: 768px) { .footer-contact-info a { cursor: pointer; } }


.footer-bottom {
  border-top: 1px solid var(--border-glow);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copy { font-size: 0.82rem; color: var(--text-secondary); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE â€” TABLET (â‰¤1024px)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-grid    { gap: 3rem; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE â€” MOBILE (â‰¤768px)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 768px) {
  :root { --section-pad: 4rem; }

  /* Navbar */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(5, 8, 16, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-glow);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.35s var(--transition), opacity 0.35s;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link { padding: 12px 16px; font-size: 1rem; }

  /* Hero */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem;
    text-align: center;
  }

  .hero-badge { margin: 0 auto 1.5rem; }
  .hero-subtitle { margin: 0 auto 2rem; }
  .hero-ctas { justify-content: center; }
  .hero-code-snippets { display: none; }
  .hero-visual { order: -1; }
  .shield-svg { max-width: 220px; }
  .badge-top    { right: 0; top: 0; }
  .badge-bottom { left: 0;  bottom: 0; }
  .glow-ring { display: none; }
  .scroll-indicator { display: none; }

  /* Stats */
  .stats-container { flex-direction: column; gap: 1.5rem; }
  .stat-divider    { width: 60px; height: 1px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  #about .section-title::after { margin: 0.75rem 0 0; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 1.5rem; }

  /* Footer */
  .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Section container padding */
  .section-container { padding: var(--section-pad) 1.25rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .btn-large  { padding: 14px 28px; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   COMING SOON MODAL
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
body.modal-open { overflow: hidden; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  max-width: 540px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 212, 255, 0.08);
  text-align: center;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.3s;
}

.modal-close:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: rotate(90deg);
}

.modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(0, 102, 255, 0.08));
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  animation: modalIconPulse 3s ease-in-out infinite;
}

@keyframes modalIconPulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0   rgba(0, 212, 255, 0.2); }
  50%       { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(0, 212, 255, 0);   }
}

.modal-category {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--accent-cyan);
  border-radius: 100px;
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.modal-description {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.modal-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.modal-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.modal-feature svg { color: var(--accent-cyan); flex-shrink: 0; }

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
  transition: box-shadow 0.2s, transform 0.2s;
}

.modal-btn-primary:hover {
  box-shadow: 0 6px 28px rgba(0, 212, 255, 0.5);
  transform: translateY(-2px);
}

.modal-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: none;
  transition: border-color 0.2s, color 0.2s;
}

@media (max-width: 768px) {
  .modal-close,
  .modal-btn-secondary { cursor: pointer; }
}

.modal-btn-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .modal-content { padding: 2rem 1.5rem; width: 95%; }
  .modal-title   { font-size: 1.25rem; }
  .modal-actions { flex-direction: column; }
  .modal-btn-primary,
  .modal-btn-secondary { width: 100%; justify-content: center; }
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FORM MESSAGES
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.form-message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideDown 0.3s ease-out;
}

.form-message-success {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.4);
  color: var(--accent-green);
}

.form-message-error {
  background: rgba(255, 64, 87, 0.1);
  border: 1px solid rgba(255, 64, 87, 0.4);
  color: #ff4057;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-message::before {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.form-message-success::before { content: 'âœ“'; }
.form-message-error::before   { content: 'âš '; }

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOBILE RESPONSIVE v2 â€” Root cause fixes
   Replaces v1 which introduced max-width:100%
   on * causing left-shift / clip on Android
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€â”€ GLOBAL: iOS form-field zoom prevention
   Input font-size <16px triggers iOS zoom    */
input, select, textarea { font-size: 16px; }

/* â”€â”€â”€ PART 14: Touch / coarse-pointer devices */
@media (hover: none), (pointer: coarse) {
  #cursor,
  #cursor-trail { display: none !important; }
  body          { cursor: auto !important; }
  a, button     { cursor: pointer !important; }
}

/* â”€â”€â”€ PART 15: iOS rubber-band behaviour     */
@supports (-webkit-touch-callout: none) {
  body { overscroll-behavior: none; }
}

/* â”€â”€â”€ PART 3: NAVBAR â€” critical mobile fix â”€â”€ */
@media (max-width: 768px) {
  /* Force navbar to span the full viewport   */
  #navbar {
    width: 100% !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
  }

  /* Override max-width:1200px centering so the
     container fills the full navbar width    */
  .nav-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 1rem !important;
    height: 72px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
    box-sizing: border-box !important;
  }

  /* Logo must never be clipped              */
  .nav-logo {
    flex-shrink: 0 !important;
    font-size: 1.15rem !important;
    cursor: pointer !important;
  }
}

/* â”€â”€â”€ PART 2: All major containers â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {
  .section-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: var(--section-pad) 1rem !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .cta-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 3rem 1rem !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .footer-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 3rem 1rem 1.5rem !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}

/* â”€â”€â”€ PART 4: HERO SECTION â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€  */
@media (max-width: 768px) {
  #hero {
    width: 100% !important;
    max-width: 100vw !important;
    min-height: auto !important;
    padding: 5rem 0 2rem !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* Convert 2-col grid â†’ single flex column */
  .hero-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 1rem !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 2rem !important;
  }

  /* Text column below the shield            */
  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    order: 2 !important;
    box-sizing: border-box !important;
  }

  /* Shield above the text                   */
  .hero-visual {
    order: 1 !important;
    width: 200px !important;
    max-width: 200px !important;
    margin: 0 auto !important;
    flex-shrink: 0 !important;
  }

  .shield-svg {
    width: 100% !important;
    max-width: 200px !important;
    height: auto !important;
  }

  /* Title: clamp font, force word-break      */
  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2.25rem) !important;
    line-height: 1.15 !important;
    min-height: auto !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Badge pill: shrink + centre             */
  .hero-badge {
    font-size: 0.72rem !important;
    padding: 5px 10px !important;
    margin: 0 auto 1rem !important;
    max-width: calc(100% - 2rem) !important;
  }

  .hero-subtitle {
    font-size: 0.9rem !important;
    max-width: 100% !important;
    margin: 0 auto 1.5rem !important;
  }

  /* CTA buttons: full-width stacked column  */
  .hero-ctas {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0.75rem !important;
    align-items: stretch !important;
    margin-bottom: 0 !important;
  }

  .hero-ctas .btn {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    padding: 0.875rem 1rem !important;
    box-sizing: border-box !important;
  }

  /* Keep shield status badges within bounds */
  .badge-top    { top: 0 !important; right: 0 !important; left: auto !important; }
  .badge-bottom { bottom: 0 !important; left: 0 !important; right: auto !important; }
}

/* â”€â”€â”€ PART 5: STATS BAR â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€  */
@media (max-width: 768px) {
  #stats {
    width: 100% !important;
    overflow: hidden !important;
  }

  /* 2Ã—2 grid; hide decorative dividers     */
  .stats-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    padding: 1.5rem 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* min-width:140px would overflow 2-col
     grid on 320px screens â€” reset it       */
  .stat-item {
    min-width: 0 !important;
    flex: unset !important;
    width: 100% !important;
    padding: 0.5rem 0.25rem !important;
    text-align: center !important;
  }

  .stat-number { font-size: clamp(1.5rem, 7vw, 2.2rem) !important; }
  .stat-label  { font-size: 0.7rem !important; }
  .stat-divider { display: none !important; }
}

/* Very small phones: single column stats   */
@media (max-width: 360px) {
  .stats-container { grid-template-columns: 1fr !important; }
}

/* â”€â”€â”€ PART 6: ALL SECTIONS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€  */
@media (max-width: 768px) {
  section {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .section-title,
  .cta-title,
  .clients-title {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
}

/* â”€â”€â”€ PART 7: ABOUT / HAKKIMIZDA â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€  */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .about-stat-card { padding: 1rem !important; }

  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 768px) {
  /* Terminal: allow horizontal scroll for
     long code lines rather than overflow    */
  .about-terminal {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    box-sizing: border-box !important;
  }

  .terminal-body {
    font-size: 0.74rem !important;
    padding: 0.875rem !important;
  }
}

@media (max-width: 480px) {
  .about-stats-grid { grid-template-columns: 1fr 1fr !important; }
}

/* â”€â”€â”€ PART 8: SERVICES GRID â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€  */
@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .service-card {
    padding: 1.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* â”€â”€â”€ PART 9: CTA SECTION â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€  */
@media (max-width: 768px) {
  #cta {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  .cta-title {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
    word-break: break-word !important;
  }

  .cta-subtitle {
    font-size: 0.9rem !important;
    max-width: 100% !important;
  }

  #cta .btn {
    max-width: 90% !important;
    margin: 0 auto !important;
  }
}

/* â”€â”€â”€ PART 10: CLIENT LOGOS MARQUEE â”€â”€â”€â”€â”€â”€â”€â”€â”€  */
@media (max-width: 768px) {
  #clients {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  /* Wrapper clips the scrolling strip       */
  .logo-strip-wrapper {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  /* Smaller logos on mobile                 */
  .logo-item   { padding: 0.5rem 0.75rem !important; }
  .logo-text   { font-size: 0.78rem !important; }
}

/* â”€â”€â”€ PART 11: CONTACT SECTION â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€  */
@media (max-width: 768px) {
  #contact {
    width: 100% !important;
    overflow: hidden !important;
  }

  .contact-form-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.25rem !important;
    box-sizing: border-box !important;
  }

  .contact-info,
  .info-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Prevent inputs from overflowing the form */
  .form-input,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    font-size: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .btn-submit {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* â”€â”€â”€ PART 12: FOOTER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€  */
@media (max-width: 768px) {
  #footer {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  .footer-container {
    padding: 2.5rem 1rem 1.5rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: left !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.5rem !important;
  }
}

/* â”€â”€â”€ PART 13: MODALS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€  */
@media (max-width: 768px) {
  .modal-overlay { padding: 0.5rem !important; }

  .modal-content {
    width: 95vw !important;
    max-width: 95vw !important;
    max-height: 90vh !important;
    box-sizing: border-box !important;
  }
}

/* â”€â”€â”€ PERFORMANCE: mobile animations â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {
  /* Stop animated grid â€” saves battery      */
  .grid-bg {
    animation: none !important;
    opacity: 0.3 !important;
  }

  /* Particle canvas is JS-driven and costly */
  #particle-canvas { display: none !important; }
}

/* ═══════════════════════════════════════
   FOOTER SERVICES - Clean 2-column grid
   ═══════════════════════════════════════ */

.footer-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.footer-services-grid li {
  list-style: none;
  width: 100%;
}

.footer-services-grid a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary, #8892b0);
  text-decoration: none;
  padding: 0.4rem 0;
  white-space: nowrap;
  transition: color 0.2s;
}

.footer-services-grid a:hover {
  color: var(--accent-cyan, #00d4ff);
}

@media (max-width: 480px) {
  .footer-services-grid {
    grid-template-columns: 1fr;
  }
}
