/* ===================================================================
   NeuraWorks Application Development Studio - Custom Design System
   neuraworksdev.com
   =================================================================== */

:root {
  --nw-bg-dark: #06080d;
  --nw-bg-elevated: #0c101a;
  --nw-card-bg: rgba(14, 19, 31, 0.75);
  --nw-card-hover: rgba(22, 30, 48, 0.85);
  --nw-border: rgba(255, 255, 255, 0.09);
  --nw-border-glow: rgba(0, 240, 255, 0.35);
  
  --nw-cyan: #00f0ff;
  --nw-cyan-rgb: 0, 240, 255;
  --nw-violet: #8b5cf6;
  --nw-violet-rgb: 139, 92, 246;
  --nw-emerald: #10b981;
  --nw-pink: #ec4899;
  
  --nw-text-main: #f3f4f6;
  --nw-text-muted: #94a3b8;
  --nw-text-dim: #64748b;
  
  --nw-gradient-primary: linear-gradient(135deg, #00f0ff 0%, #8b5cf6 50%, #d946ef 100%);
  --nw-gradient-surface: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --nw-gradient-glow: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.15) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);

  --nw-font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --nw-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --nw-font-mono: 'JetBrains Mono', monospace;
}

/* Base & Typography */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

::selection {
  background: rgba(0, 240, 255, 0.3);
  color: #ffffff;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--nw-font-heading);
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #ffffff;
}

.font-mono {
  font-family: var(--nw-font-mono);
}

.text-muted {
  color: var(--nw-text-muted) !important;
}

/* Background Atmosphere & Grid */
.bg-grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 60%, transparent 100%);
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.ambient-orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.18), transparent 70%);
  top: -150px;
  left: 15%;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.ambient-orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
  top: 300px;
  right: 5%;
  animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}

.ambient-orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 70%);
  top: 1800px;
  left: 5%;
}

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

/* Glassmorphism & Containers */
.glass-panel {
  background: var(--nw-card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--nw-border);
  border-radius: 18px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 240, 255, 0.08);
}

.glass-card-interactive {
  position: relative;
  overflow: hidden;
}

.glass-card-interactive::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  transition: 0.6s;
  pointer-events: none;
}

.glass-card-interactive:hover::before {
  left: 100%;
}

/* Navigation Bar */
.navbar-custom {
  background: rgba(6, 8, 13, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nw-border);
  transition: all 0.3s ease;
  z-index: 1030;
}

.navbar-custom.scrolled {
  background: rgba(6, 8, 13, 0.95);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

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

.brand-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(8, 12, 22, 0.95), rgba(14, 19, 31, 0.95));
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.2);
  transition: all 0.3s ease;
}

.brand-logo-wrap:hover .brand-icon {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.45);
  border-color: rgba(0, 240, 255, 0.6);
}

.brand-text {
  font-family: var(--nw-font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.brand-text span {
  background: var(--nw-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link-custom {
  color: var(--nw-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  transition: all 0.2s ease;
  border-radius: 8px;
}

.nav-link-custom:hover, .nav-link-custom.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

/* Gradients & Text Glows */
.text-gradient-primary {
  background: var(--nw-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #00f0ff, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-violet {
  background: linear-gradient(135deg, #c084fc, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges & Tags */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--nw-cyan);
  letter-spacing: 0.02em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--nw-cyan);
  box-shadow: 0 0 10px var(--nw-cyan);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(0, 240, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

.tech-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: var(--nw-font-mono);
  color: var(--nw-text-muted);
  transition: all 0.2s;
}

.tech-tag:hover {
  background: rgba(0, 240, 255, 0.1);
  color: var(--nw-cyan);
  border-color: rgba(0, 240, 255, 0.3);
}

/* Buttons */
.btn-nw-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #7c3aed 100%);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px -6px rgba(0, 240, 255, 0.35);
  transition: all 0.3s ease;
  z-index: 1;
}

.btn-nw-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #38bdf8 0%, #9333ea 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-nw-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(0, 240, 255, 0.5);
}

.btn-nw-primary:hover::before {
  opacity: 1;
}

.btn-nw-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 12px;
  border: 1px solid var(--nw-border);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.btn-nw-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 70px;
  z-index: 1;
}

#neuralCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.3rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtext {
  font-size: clamp(1.05rem, 1.25vw, 1.28rem);
  color: var(--nw-text-muted);
  max-width: 600px;
  line-height: 1.6;
}

/* Hero Showcase Frame */
.showcase-frame {
  position: relative;
  border-radius: 20px;
  padding: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(0, 240, 255, 0.1), rgba(139, 92, 246, 0.15));
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 240, 255, 0.15);
  transition: transform 0.5s ease;
}

.showcase-frame:hover {
  transform: translateY(-4px);
}

.showcase-inner {
  border-radius: 14px;
  overflow: hidden;
  background: #090c14;
}

.showcase-inner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Floating Metric Badges in Hero */
.floating-metric-card {
  position: absolute;
  padding: 14px 20px;
  background: rgba(10, 14, 24, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
  z-index: 3;
  animation: floatMetric 6s ease-in-out infinite alternate;
}

.floating-metric-1 {
  top: 12%;
  left: -20px;
}

.floating-metric-2 {
  bottom: 8%;
  right: -20px;
  animation-delay: -3s;
}

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

/* Partner / Client Logos Marquee */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
  display: inline-flex;
  gap: 50px;
  animation: marqueeScroll 28s linear infinite;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.client-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--nw-font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--nw-text-muted);
  filter: grayscale(100%);
  opacity: 0.85;
  transition: all 0.3s;
}

.client-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  color: #ffffff;
}

/* Services / Capabilities Section */
.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(0, 240, 255, 0.1);
  color: var(--nw-cyan);
  border: 1px solid rgba(0, 240, 255, 0.2);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.glass-panel:hover .service-icon-box {
  background: linear-gradient(135deg, var(--nw-cyan), var(--nw-violet));
  color: #ffffff;
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.service-card-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0 0;
}

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

.service-card-list li i {
  color: var(--nw-emerald);
  font-size: 0.9rem;
}

/* Development Engine / Process Section */
.process-step-num {
  font-family: var(--nw-font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--nw-cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 12px;
}

.timeline-connector {
  position: relative;
}

.timeline-connector::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -25px;
  width: 25px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.5), transparent);
}

@media (max-width: 991px) {
  .timeline-connector::after {
    display: none;
  }
}

/* Portfolio / Case Studies */
.portfolio-filter-btn {
  background: transparent;
  border: 1px solid var(--nw-border);
  color: var(--nw-text-muted);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.portfolio-filter-btn.active, .portfolio-filter-btn:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.4);
  color: var(--nw-cyan);
}

.case-card-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16/9;
}

.case-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.glass-panel:hover .case-card-img-wrap img {
  transform: scale(1.04);
}

.case-overlay-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--nw-border);
}

.metric-highlight {
  font-family: var(--nw-font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--nw-cyan);
}

/* Interactive Project Scope Estimator Tool */
.calculator-box {
  background: linear-gradient(145deg, rgba(14, 19, 31, 0.95), rgba(9, 12, 20, 0.95));
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 240, 255, 0.05);
}

.calc-option-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--nw-border);
  color: var(--nw-text-main);
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-option-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.calc-option-btn.selected {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--nw-cyan);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.calc-feature-check {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--nw-border);
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  font-size: 0.9rem;
}

.calc-feature-check input[type="checkbox"] {
  accent-color: var(--nw-cyan);
  width: 17px;
  height: 17px;
}

.calc-feature-check:has(input:checked) {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.4);
  color: #ffffff;
}

.calc-output-summary {
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 24px;
}

/* Comparison Table (NeuraWorks vs Traditional) */
.comparison-table-wrap {
  overflow-x: auto;
}

.table-custom {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.table-custom th, .table-custom td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--nw-border);
  vertical-align: middle;
}

.table-custom th {
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--nw-font-heading);
  font-size: 0.95rem;
  color: var(--nw-text-muted);
}

.table-custom tr:last-child td {
  border-bottom: none;
}

.table-custom .col-highlight {
  background: rgba(0, 240, 255, 0.04);
  border-left: 1px solid rgba(0, 240, 255, 0.2);
  border-right: 1px solid rgba(0, 240, 255, 0.2);
  font-weight: 600;
  color: #ffffff;
}

/* Testimonial Cards */
.quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: rgba(0, 240, 255, 0.2);
  font-family: Georgia, serif;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 240, 255, 0.4);
}

.stars-row {
  color: #fbbf24;
  font-size: 0.85rem;
}

/* FAQ Accordion Custom Styling */
.accordion-custom .accordion-item {
  background: var(--nw-card-bg);
  border: 1px solid var(--nw-border);
  margin-bottom: 14px;
  border-radius: 12px !important;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.accordion-custom .accordion-button {
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 20px 24px;
  box-shadow: none !important;
}

.accordion-custom .accordion-button:not(.collapsed) {
  background: rgba(0, 240, 255, 0.05);
  color: var(--nw-cyan);
}

.accordion-custom .accordion-button::after {
  filter: invert(1);
  transition: transform 0.3s ease;
}

.accordion-custom .accordion-button:not(.collapsed)::after {
  filter: invert(65%) sepia(90%) saturate(600%) hue-rotate(150deg);
}

.accordion-custom .accordion-body {
  color: var(--nw-text-muted);
  line-height: 1.7;
  padding: 10px 24px 24px 24px;
}

/* Forms & Consultation */
.form-control-custom, .form-select-custom {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--nw-border);
  color: #ffffff;
  border-radius: 10px;
  padding: 12px 16px;
  transition: all 0.2s;
}

.form-control-custom:focus, .form-select-custom:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--nw-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
  color: #ffffff;
}

.form-control-custom::placeholder {
  color: var(--nw-text-dim);
}

/* Footer */
.footer-custom {
  background: #040508;
  border-top: 1px solid var(--nw-border);
  padding-top: 70px;
  padding-bottom: 35px;
  position: relative;
  z-index: 2;
}

.footer-link {
  color: var(--nw-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: inline-block;
  margin-bottom: 10px;
}

.footer-link:hover {
  color: var(--nw-cyan);
  transform: translateX(3px);
}

.system-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 999px;
  font-size: 0.78rem;
  font-family: var(--nw-font-mono);
  color: var(--nw-emerald);
}

.status-green-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nw-emerald);
  box-shadow: 0 0 8px var(--nw-emerald);
}

/* Tech Stack Pills Matrix */
.tech-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.tech-matrix-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--nw-border);
  padding: 12px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--nw-text-muted);
  transition: all 0.2s ease;
}

.tech-matrix-item:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
}

.tech-matrix-item i {
  font-size: 1.2rem;
  color: var(--nw-cyan);
}

/* Modals */
.modal-content-custom {
  background: #0d111a;
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  color: var(--nw-text-main);
}

.modal-header-custom {
  border-bottom: 1px solid var(--nw-border);
  padding: 20px 25px;
}

.modal-body-custom {
  padding: 25px;
}

/* Team Section */
.team-card {
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 240, 255, 0.12);
}

.team-img-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #0a0e1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.04);
}

.team-role-badge {
  font-family: var(--nw-font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nw-cyan);
  display: inline-block;
  margin-bottom: 6px;
}

/* Scroll reveal helper */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 110px;
    text-align: center;
  }
  .hero-subtext {
    margin: 0 auto;
  }
  .floating-metric-card {
    display: none;
  }
  .calculator-box {
    padding: 20px;
  }
}
