/* ═══════════════════════════════════════════════════════════════
   SCV SOFTWARE — FUTURISTIC DESIGN SYSTEM
   Dark Theme · Neon Accents · Glassmorphism · No Gradients
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ─── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Base Colors */
  --void:        #030712;   /* Near black */
  --surface-0:   #080f1c;   /* Card background */
  --surface-1:   #0d1a2e;   /* Elevated card */
  --surface-2:   #112240;   /* Hover state */

  /* Accent — Cyan Electric */
  --cyan:        #00d4ff;
  --cyan-dim:    rgba(0, 212, 255, 0.15);
  --cyan-glow:   rgba(0, 212, 255, 0.08);

  /* Accent — Violet */
  --violet:      #7c3aed;
  --violet-dim:  rgba(124, 58, 237, 0.15);

  /* Text */
  --text-primary:   #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted:     #475569;

  /* Borders */
  --border:       rgba(0, 212, 255, 0.12);
  --border-hover: rgba(0, 212, 255, 0.35);
  --border-dim:   rgba(255, 255, 255, 0.05);

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing & Shape */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-cyan:  0 0 30px rgba(0, 212, 255, 0.08);
  --shadow-lg:    0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-display);
  background-color: var(--void);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* ─── GRID BACKGROUND PATTERN ───────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { position: relative; z-index: 1; }

/* ─── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 212, 255, 0.3), 0 0 30px rgba(0, 212, 255, 0.1); }
  50%       { box-shadow: 0 0 20px rgba(0, 212, 255, 0.5), 0 0 60px rgba(0, 212, 255, 0.2); }
}
@keyframes scanline {
  from { transform: translateY(-100%); }
  to   { transform: translateY(100%); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes glitch {
  0%, 100% { clip-path: inset(0 0 100% 0); }
  20% { clip-path: inset(10% 0 80% 0); }
  40% { clip-path: inset(40% 0 50% 0); }
  60% { clip-path: inset(70% 0 20% 0); }
  80% { clip-path: inset(90% 0 2% 0); }
}

.animate-fade-up { animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* ─── HEADER ─────────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease;
}

header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(3, 7, 18, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: -1;
}

header.scrolled::before {
  background-color: rgba(3, 7, 18, 0.92);
  border-bottom-color: rgba(0, 212, 255, 0.2);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.logo-text span {
  color: var(--cyan);
}

/* Desktop Nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::before {
  content: '//';
  margin-right: 0.3rem;
  color: var(--cyan);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  color: var(--cyan);
}

.nav-link:hover::before {
  opacity: 1;
}

/* CTA Button in Nav */
.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background-color: var(--cyan-dim);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

/* Mobile Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--cyan);
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 4.5rem;
  left: 0;
  right: 0;
  background-color: rgba(8, 15, 28, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  gap: 1rem;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-dim);
  transition: color 0.2s ease;
}

.nav-mobile-link:hover { color: var(--cyan); }

/* ─── HERO SECTION ───────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 9rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

/* Radial glow behind hero */
.hero-section::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -10%;
  width: 50rem;
  height: 50rem;
  background-color: rgba(0, 212, 255, 0.03);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 35rem;
  height: 35rem;
  background-color: rgba(124, 58, 237, 0.04);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
}

/* Left — Text Content */
.hero-content { display: flex; flex-direction: column; gap: 2rem; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--cyan);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

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

.hero-title .cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background-color: var(--cyan);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: blink 1.2s step-end infinite;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 500px;
}

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

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--void);
  background-color: var(--cyan);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  background-color: #33dcff;
  box-shadow: 0 0 35px rgba(0, 212, 255, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--border-hover);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--cyan-dim);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

/* Hero Stats Bar */
.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-dim);
  margin-top: 0.5rem;
}

.stat-item {}

.stat-number {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* Right — Visual Panel */
.hero-visual {
  display: none;
  position: relative;
}

@media (min-width: 1024px) {
  .hero-visual { display: block; }
}

.hero-panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--surface-0);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

/* Panel header bar */
.panel-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background-color: var(--surface-1);
}

.panel-dot { width: 10px; height: 10px; border-radius: 50%; }
.panel-dot-red    { background-color: #ff5f57; }
.panel-dot-yellow { background-color: #febc2e; }
.panel-dot-green  { background-color: #28c840; }

.panel-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: auto;
  margin-right: auto;
}

/* Carousel inside panel */
.hero-carousel-slides {
  position: relative;
  height: 22rem;
  background-color: #040b15;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-carousel-slide.active { opacity: 1; z-index: 2; }

.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

/* Scanline effect */
.hero-carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.12) 2px,
    rgba(0,0,0,0.12) 4px
  );
  pointer-events: none;
  z-index: 3;
}

.carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(0, 212, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  width: 20px;
  border-radius: 3px;
  background-color: var(--cyan);
}

/* Corner decorations */
.panel-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  z-index: 10;
}
.panel-corner::before, .panel-corner::after {
  content: '';
  position: absolute;
  background-color: var(--cyan);
}
.panel-corner::before { width: 100%; height: 1.5px; }
.panel-corner::after  { width: 1.5px; height: 100%; }

.panel-corner-tl { top: -1px; left: -1px; }
.panel-corner-tr { top: -1px; right: -1px; transform: scaleX(-1); }
.panel-corner-bl { bottom: -1px; left: -1px; transform: scaleY(-1); }
.panel-corner-br { bottom: -1px; right: -1px; transform: scale(-1); }

/* ─── SECTION HEADER ─────────────────────────────────────────── */
.section-header {
  margin-bottom: 4rem;
}

.section-header.centered { text-align: center; }
.section-header.centered .section-label::before { margin: 0 auto 0 auto; }

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.section-header.centered .section-label {
  justify-content: center;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background-color: var(--cyan);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

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

.section-desc {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 40rem;
  line-height: 1.7;
}

.section-header.centered .section-desc { margin: 1rem auto 0; }

/* ─── ABOUT SECTION ──────────────────────────────────────────── */
.about-section { padding: 7rem 1.5rem; }

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

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-text { display: flex; flex-direction: column; gap: 1.5rem; }

.about-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.about-body strong { color: var(--text-primary); font-weight: 600; }

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feature-card {
  padding: 1.5rem;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  background-color: var(--surface-0);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover { border-color: var(--border-hover); background-color: var(--surface-1); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-box {
  border-color: var(--cyan);
  background-color: var(--cyan-dim);
}

.feature-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.feature-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── SERVICES SECTION ───────────────────────────────────────── */
.services-section { padding: 7rem 1.5rem; background-color: rgba(8, 15, 28, 0.5); }

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

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

.service-card {
  padding: 2rem;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  background-color: var(--surface-0);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}

/* Cyan corner accent */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 40px 40px;
  border-color: transparent transparent var(--cyan-dim) transparent;
  transition: border-width 0.3s ease;
}

.service-card:hover {
  border-color: var(--border-hover);
  background-color: var(--surface-1);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 212, 255, 0.1);
}

.service-card:hover::after { border-width: 0 0 60px 60px; }

.service-number {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.service-icon-box {
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
  border-color: var(--cyan);
  background-color: var(--cyan-dim);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.15);
}

.service-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.service-card:hover .service-title { color: var(--cyan); }

.service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── CLIENTS SECTION ────────────────────────────────────────── */
.clients-section { padding: 7rem 1.5rem; overflow: hidden; }

.clients-carousel-outer { position: relative; width: 100%; overflow: hidden; padding: 1rem 0; }

.clients-carousel-inner { display: flex; gap: 1.25rem; transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1); }

.client-slide { flex-shrink: 0; }

.client-card {
  position: relative;
  height: 8rem;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.client-card:hover { border-color: var(--border-hover); box-shadow: 0 0 16px rgba(0, 212, 255, 0.15); }

.client-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: none;
  transition: all 0.3s ease;
}

/* Name fallback */
.client-name-fallback {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.client-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--surface-1);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.client-card:hover .client-overlay { opacity: 0.95; }

.client-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.clients-indicators {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 2.5rem;
}

.client-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(0, 212, 255, 0.15);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.client-dot.active { width: 20px; border-radius: 3px; background-color: var(--cyan); }

/* ─── CTA SECTION ────────────────────────────────────────────── */
.cta-section {
  padding: 7rem 1.5rem;
  position: relative;
  overflow: hidden;
  background-color: rgba(8, 15, 28, 0.6);
}

.cta-frame {
  max-width: 56rem;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  background-color: var(--surface-0);
}

.cta-frame::before, .cta-frame::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border-color: var(--cyan);
  border-style: solid;
}
.cta-frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-radius: var(--radius-xl) 0 0 0; }
.cta-frame::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-radius: 0 0 var(--radius-xl) 0; }

.cta-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.cta-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* ─── PORTFOLIO SECTION ──────────────────────────────────────── */
.portfolio-section { padding: 7rem 1.5rem; }

.portfolio-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-dim);
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.filter-btn:hover { color: var(--cyan); border-color: var(--border); }

.filter-btn.active {
  color: var(--void);
  background-color: var(--cyan);
  border-color: var(--cyan);
}

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

@media (min-width: 640px)  { .portfolio-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

.portfolio-item {
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  background-color: var(--surface-0);
  overflow: hidden;
  transition: all 0.35s ease;
  position: relative;
}

.portfolio-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 212, 255, 0.1);
}

.portfolio-img-box {
  position: relative;
  height: 13rem;
  background-color: #040b15;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: all 0.5s ease;
}

.portfolio-item:hover .portfolio-img { opacity: 0.85; transform: scale(1.04); }

.portfolio-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  background-color: rgba(3, 7, 18, 0.8);
  z-index: 2;
}

.portfolio-info { padding: 1.5rem; }

.portfolio-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  transition: color 0.2s ease;
}

.portfolio-item:hover .portfolio-title { color: var(--cyan); }

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

/* Overlay */
.portfolio-hover-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(8, 15, 28, 0.96);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 2rem;
  z-index: 5;
}

.portfolio-item:hover .portfolio-hover-overlay { opacity: 1; }

.portfolio-overlay-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.portfolio-overlay-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.btn-details {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--border-hover);
  padding: 0.5rem 1.5rem;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.btn-details:hover {
  background-color: var(--cyan-dim);
  border-color: var(--cyan);
}

/* ─── MODAL ──────────────────────────────────────────────────── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(3, 7, 18, 0.97);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.modal.open { display: flex; }

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.2rem;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close:hover { border-color: var(--cyan); color: var(--cyan); }

.modal-content {
  width: 100%;
  height: 100%;
  max-width: 80rem;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

/* ─── CONTACT SECTION ────────────────────────────────────────── */
.contact-section { padding: 7rem 1.5rem; background-color: rgba(8, 15, 28, 0.5); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1.6fr; }
}

/* Contact Info Side */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

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

.contact-info-card:hover { border-color: var(--border-hover); background-color: var(--surface-1); }

.contact-icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon-box {
  border-color: var(--cyan);
  background-color: var(--cyan-dim);
}

.contact-card-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.contact-card-text {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-card-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.contact-card-link:hover { opacity: 0.8; text-decoration: underline; }

/* Contact Form */
.contact-form {
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  background-color: var(--surface-0);
  padding: 2.5rem;
}

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

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

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

.form-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--border-hover);
  background-color: rgba(0, 212, 255, 0.02);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.06);
}

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

.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  outline: none;
  resize: none;
  margin-bottom: 1.5rem;
}

.form-textarea:focus {
  border-color: var(--border-hover);
  background-color: rgba(0, 212, 255, 0.02);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.06);
}

.form-textarea::placeholder { color: var(--text-muted); }

.btn-submit {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--void);
  background-color: var(--cyan);
  padding: 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.btn-submit:hover {
  background-color: #33dcff;
  box-shadow: 0 0 35px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border-dim);
  padding: 4rem 1.5rem 2rem;
  position: relative;
  z-index: 1;
}

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

@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

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

.footer-brand-name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.footer-brand-name span { color: var(--cyan); }

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 18rem;
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}

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

.footer-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-link:hover { color: var(--text-secondary); }

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

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.footer-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #28c840;
  animation: blink 2s ease-in-out infinite;
}

/* ─── WHATSAPP FLOAT ─────────────────────────────────────────── */
.whatsapp-btn {
  display: none;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.25rem;
  height: 3.25rem;
  background-color: #25D366;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-icon { width: 2rem; height: 2rem; fill: #ffffff; }
