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

:root {
  --bg-dark: #05080d;
  --bg-darker: #020407;
  --bg-surface: #0a0f18;
  --bg-card: rgba(13, 20, 32, 0.7);
  --bg-card-hover: rgba(18, 28, 45, 0.85);
  --bg-glass: rgba(16, 25, 40, 0.65);
  
  --cyan-neon: #00f0ff;
  --cyan-bright: #38bdf8;
  --cyan-deep: #0284c7;
  --cyan-glow: 0 0 25px rgba(0, 240, 255, 0.45);
  --cyan-glow-sm: 0 0 12px rgba(0, 240, 255, 0.3);
  --cyan-glow-lg: 0 0 50px rgba(0, 240, 255, 0.25);
  --cyan-subtle: rgba(0, 240, 255, 0.08);

  --silver-bright: #f8fafc;
  --silver-mid: #cbd5e1;
  --silver-dark: #64748b;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border-glass: rgba(255, 255, 255, 0.09);
  --border-cyan: rgba(0, 240, 255, 0.3);
  --border-cyan-active: rgba(0, 240, 255, 0.7);

  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

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

/* Background Cyber Grid & Glows */
.cyber-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  pointer-events: none;
}

.glow-orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #00f0ff 0%, rgba(2, 132, 199, 0.3) 60%, transparent 80%);
  top: -150px;
  right: -100px;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.glow-orb-2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #0284c7 0%, rgba(0, 240, 255, 0.15) 60%, transparent 80%);
  bottom: 20%;
  left: -200px;
  animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.08); }
  100% { transform: translate(-30px, 30px) scale(0.95); }
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition);
}

.glass-panel:hover {
  border-color: var(--border-cyan);
  box-shadow: 0 10px 30px -10px rgba(0, 240, 255, 0.15);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Header & Navbar */
.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 15, 24, 0.75);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img {
  height: 44px;
  width: 44px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
  transition: var(--transition);
}

.brand-logo:hover img {
  transform: scale(1.08);
  border-color: rgba(0, 240, 255, 0.8);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.7);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.brand-text span {
  color: var(--cyan-neon);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--cyan-neon);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-neon) 0%, #0088cc 100%);
  color: #030811;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--border-cyan);
  color: var(--cyan-neon);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-icon-right {
  transition: transform 0.2s ease;
}

.btn:hover .btn-icon-right {
  transform: translateX(4px);
}

/* Badge High-tech */
.badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 240, 255, 0.07);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan-neon);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-neon);
  box-shadow: 0 0 10px var(--cyan-neon);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--cyan-neon); }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  padding: 150px 0 90px;
  display: flex;
  align-items: center;
  position: relative;
}

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

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text-silver {
  background: linear-gradient(180deg, #ffffff 10%, #cbd5e1 60%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #00f0ff 0%, #00b4d8 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 35px rgba(0, 240, 255, 0.4);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

/* Hero Stats Bar */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}

.stat-number span {
  color: var(--cyan-neon);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Visual / 3D Device & Floating Cards */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-card {
  width: 100%;
  max-width: 470px;
  background: linear-gradient(145deg, rgba(20, 30, 48, 0.8), rgba(9, 14, 24, 0.95));
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 240, 255, 0.12);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--cyan-neon);
  font-family: var(--font-display);
  background: rgba(0, 240, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.hero-preview-img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  display: block;
  transition: transform 0.4s ease;
}

.hero-main-card:hover .hero-preview-img {
  transform: scale(1.02);
}

/* Floating Glass Badges (Pinterest Insp: Pin 3, 5, 7) */
.floating-badge {
  position: absolute;
  background: rgba(14, 23, 38, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.2);
  z-index: 3;
  animation: floatBadge 6s ease-in-out infinite alternate;
}

.badge-top-right {
  top: -20px;
  right: -25px;
  animation-delay: 0s;
}

.badge-bottom-left {
  bottom: -25px;
  left: -25px;
  animation-delay: -3s;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(0, 240, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-neon);
  font-size: 1.1rem;
}

.badge-info h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.badge-info p {
  font-size: 0.74rem;
  color: var(--cyan-neon);
}

/* Section Common Styles */
.section {
  padding: 110px 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-header p {
  font-size: 1.08rem;
  color: var(--text-secondary);
}

/* Bento Grid System (Pin 6 Inspiration) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-card {
  background: linear-gradient(160deg, rgba(16, 26, 42, 0.75) 0%, rgba(8, 14, 24, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.4), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.bento-card:hover {
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 15px 40px -10px rgba(0, 240, 255, 0.15);
  transform: translateY(-4px);
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-12 { grid-column: span 12; }

.bento-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.bento-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Lighthouse & Performance Gauge */
.lighthouse-display {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: auto;
}

.gauge-item {
  background: rgba(0, 240, 255, 0.04);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  text-align: center;
}

.gauge-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #00f0ff;
  border: 3px solid #00f0ff;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3), inset 0 0 10px rgba(0, 240, 255, 0.2);
}

.gauge-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Preventive Maintenance Live Status (Core Request) */
.maintenance-monitor {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}

.status-row-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.status-value {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--cyan-neon);
}

/* Services Cards Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: linear-gradient(160deg, rgba(16, 26, 42, 0.6) 0%, rgba(9, 14, 24, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 38px 30px;
  transition: var(--transition-slow);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 20px 45px -10px rgba(0, 240, 255, 0.2);
}

.service-featured {
  border-color: rgba(0, 240, 255, 0.35);
  background: linear-gradient(160deg, rgba(14, 28, 48, 0.8) 0%, rgba(8, 16, 30, 0.95) 100%);
  box-shadow: 0 10px 30px -10px rgba(0, 240, 255, 0.15);
}

.service-pill-top {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, #00f0ff 0%, #0088ff 100%);
  color: #020610;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  transition: var(--transition);
}

.service-card:hover .service-pill-top {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.service-pill-top.pill-essencial {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.service-card:hover .service-pill-top.pill-essencial {
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-neon);
  font-size: 1.6rem;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(5deg);
  background: var(--cyan-neon);
  color: #05080d;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.service-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--silver-mid);
}

.check-icon {
  color: var(--cyan-neon);
  font-size: 0.9rem;
}

/* Interactive Portfolio Section */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  background: rgba(0, 240, 255, 0.06);
  color: #fff;
  border-color: rgba(0, 240, 255, 0.2);
}

.filter-btn.active {
  background: rgba(0, 240, 255, 0.12);
  color: var(--cyan-neon);
  border-color: var(--cyan-neon);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.25);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.portfolio-card {
  background: linear-gradient(160deg, rgba(18, 28, 44, 0.7) 0%, rgba(9, 14, 22, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition-slow);
  position: relative;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-cyan);
  box-shadow: 0 20px 40px -10px rgba(0, 240, 255, 0.2);
}

.portfolio-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.portfolio-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 13, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.portfolio-tag {
  background: rgba(0, 240, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--cyan-neon);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.portfolio-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portfolio-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.portfolio-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.portfolio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.portfolio-metric {
  font-size: 0.85rem;
  color: var(--cyan-bright);
  font-weight: 600;
}

.portfolio-link-btn {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.portfolio-link-btn:hover {
  color: var(--cyan-neon);
  gap: 10px;
}

/* Interactive Quote / Budget Simulator */
.calculator-section {
  background: linear-gradient(180deg, rgba(8, 14, 24, 0.6) 0%, rgba(5, 8, 13, 0.9) 100%);
  border-top: 1px solid rgba(0, 240, 255, 0.15);
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  background: rgba(14, 23, 38, 0.7);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 240, 255, 0.1);
}

.calc-options {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-group-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-group-title span {
  color: var(--cyan-neon);
}

.calc-grid-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.calc-select-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
}

.calc-select-card:hover {
  border-color: rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.04);
}

.calc-select-card.selected {
  border-color: var(--cyan-neon);
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.calc-select-card input {
  display: none;
}

.calc-card-icon {
  font-size: 1.5rem;
  color: var(--cyan-neon);
  margin-bottom: 8px;
}

.calc-card-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  display: block;
}

.calc-card-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

/* Custom Checkbox Toggle for Maintenance */
.checkbox-toggle-wrapper {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
}

.checkbox-toggle-wrapper:hover {
  background: rgba(0, 240, 255, 0.08);
}

.toggle-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.toggle-info p {
  font-size: 0.8rem;
  color: var(--cyan-bright);
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .3s;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--cyan-neon);
  box-shadow: 0 0 12px var(--cyan-neon);
  border-color: var(--cyan-neon);
}

input:checked + .slider:before {
  transform: translateX(20px);
  background-color: #030811;
}

/* Calculator Summary Box */
.calc-summary-box {
  background: linear-gradient(160deg, rgba(20, 32, 52, 0.8) 0%, rgba(9, 15, 25, 0.95) 100%);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.calc-summary-header {
  margin-bottom: 24px;
}

.calc-summary-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.calc-summary-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.calc-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.calc-item-row strong {
  color: #fff;
}

.calc-price-total {
  padding-top: 20px;
  border-top: 1px dashed rgba(0, 240, 255, 0.3);
  margin-bottom: 28px;
}

.total-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.total-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cyan-neon);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.total-recurrence {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateY(-4px);
}

.stars {
  color: #facc15;
  font-size: 1rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.94rem;
  color: var(--silver-mid);
  line-height: 1.65;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-neon), #0077fe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #05080d;
  font-family: var(--font-display);
}

.author-info h5 {
  font-size: 0.92rem;
  color: #fff;
  font-weight: 600;
}

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

/* Contact & Final CTA */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  background: linear-gradient(150deg, rgba(16, 26, 42, 0.85) 0%, rgba(8, 14, 24, 0.95) 100%);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 50px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 240, 255, 0.15);
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--silver-mid);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-item:hover {
  color: var(--cyan-neon);
  transform: translateX(4px);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-neon);
  font-size: 1.1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--silver-mid);
}

.form-input, .form-textarea {
  background: rgba(5, 9, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--cyan-neon);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
  background: rgba(10, 16, 26, 0.85);
}

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

/* Footer */
.site-footer {
  padding: 60px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
  background: var(--bg-darker);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--cyan-neon);
  color: var(--cyan-neon);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.84rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom a {
  color: var(--cyan-bright);
  text-decoration: none;
}

/* Modal for Project Preview */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 7, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: linear-gradient(160deg, #0e1726, #070c14);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 240, 255, 0.3);
  transform: scale(0.95) translateY(20px);
  transition: var(--transition);
  position: relative;
}

.modal-backdrop.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--cyan-neon);
  color: #000;
}

.modal-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.modal-inner-body {
  padding: 32px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .bento-col-8, .bento-col-4, .bento-col-6 {
    grid-column: span 12;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .calculator-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .calc-grid-selector {
    grid-template-columns: 1fr;
  }

  .lighthouse-display {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
}

/* Floating WhatsApp Quick Action Button */
.floating-wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  text-decoration: none;
}

.floating-wa-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 16px 35px rgba(37, 211, 102, 0.65);
  color: #ffffff;
}

.floating-wa-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .floating-wa-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
  .floating-wa-btn svg {
    width: 28px;
    height: 28px;
  }
}

