/**
 * Nexis Studio Pro: Main Stylesheet
 * Netlify Design System with Animated SVG Flow, Poppins & Manrope Typography
 */

/* ==========================================================================
   1. Global Utilities & Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--nexis-font-heading);
  color: var(--nexis-text-dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

p {
  color: var(--nexis-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.highlight, em {
  font-style: normal;
  color: var(--nexis-primary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--nexis-font-accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--nexis-primary);
  background-color: var(--nexis-primary-light);
  border: 1px solid rgba(124, 83, 240, 0.22);
  padding: 6px 18px;
  border-radius: var(--nexis-radius-full);
  margin-bottom: 18px;
}

.section-head {
  margin-bottom: 56px;
  max-width: 760px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.section-head p {
  font-size: 1.15rem;
  color: var(--nexis-text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   2. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--nexis-font-accent);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--nexis-radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--nexis-transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background-color: var(--nexis-primary);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(124, 83, 240, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background-color: var(--nexis-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 83, 240, 0.5);
  color: #ffffff;
}

.btn-ghost {
  background-color: transparent;
  color: var(--nexis-text-dark);
  border: 1.5px solid #dcd5ec;
}

.btn-ghost:hover {
  background-color: var(--nexis-light-bg);
  border-color: var(--nexis-primary);
  color: var(--nexis-primary);
  transform: translateY(-2px);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

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

/* ==========================================================================
   3. Header & Navigation
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nexis-light-border);
  transition: var(--nexis-transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--nexis-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--nexis-text-dark);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--nexis-primary);
}

.logo .mark {
  width: 34px;
  height: 34px;
  background: var(--nexis-primary);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(124, 83, 240, 0.35);
}

.logo .mark svg {
  width: 18px;
  height: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links li a {
  font-family: var(--nexis-font-accent);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--nexis-text-muted);
  transition: color 0.2s ease;
}

.nav-links li a:hover,
.nav-links li.current-menu-item a {
  color: var(--nexis-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--nexis-text-dark);
  border-radius: 2px;
  transition: var(--nexis-transition);
}

/* ==========================================================================
   4. Hero Section (Netlify 2-Column with Animated SVG Flow)
   ========================================================================== */
.hero {
  padding: 80px 0 60px;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

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

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--nexis-text-dark);
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -0.035em;
}

.hero .lead {
  font-size: 1.22rem;
  color: var(--nexis-text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--nexis-light-border);
}

.hero-meta > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-meta b {
  font-family: var(--nexis-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nexis-text-dark);
  line-height: 1;
}

.hero-meta span {
  font-size: 0.82rem;
  color: var(--nexis-text-dim);
  font-weight: 500;
}

/* Animated 3D Interactive SVG Flow Card */
.flow-card-3d-wrap {
  perspective: 1200px;
  position: relative;
  width: 100%;
}

.flow-card {
  background: radial-gradient(120% 120% at 50% 10%, #200d3d 0%, #150a29 70%, #0c0517 100%);
  border-radius: 26px;
  padding: 38px 30px;
  box-shadow: 0 25px 60px rgba(18, 7, 36, 0.45), 0 0 40px rgba(124, 83, 240, 0.18);
  border: 1px solid rgba(124, 83, 240, 0.35);
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  animation: heroFloat3D 6s ease-in-out infinite alternate;
  overflow: visible;
}

@keyframes heroFloat3D {
  0% {
    transform: translateY(0px) rotateX(1deg) rotateY(-1deg);
  }
  100% {
    transform: translateY(-8px) rotateX(-1deg) rotateY(1deg);
  }
}

.flow-card:hover {
  animation-play-state: paused;
  box-shadow: 0 30px 70px rgba(18, 7, 36, 0.55), 0 0 50px rgba(124, 83, 240, 0.3);
}

.flow-card-sheen {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 70%);
  pointer-events: none;
}

/* 3D Floating Parallax Chips */
.floating-3d-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(32, 13, 61, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(124, 83, 240, 0.4);
  padding: 8px 14px;
  border-radius: var(--nexis-radius-full);
  font-family: var(--nexis-font-accent);
  font-size: 0.78rem;
  font-weight: 700;
  color: #f1edff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 10;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.chip-top-left {
  top: -14px;
  left: 20px;
  transform: translateZ(35px);
}

.chip-bottom-right {
  bottom: -14px;
  right: 20px;
  transform: translateZ(45px);
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.chip-dot.green {
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
}

.chip-dot.purple {
  background: #a855f7;
  box-shadow: 0 0 10px #a855f7;
  animation: pulseDot 2s infinite 0.6s;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.flow-label {
  font-family: var(--nexis-font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #c4b5fd;
  margin-bottom: 22px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.flow-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 15px rgba(124, 83, 240, 0.25));
}

.flow-caption {
  font-size: 0.92rem;
  color: #bfaee3;
  line-height: 1.65;
  margin-top: 22px;
  text-align: center;
}

/* ==========================================================================
   5. Audience / Trust Strip
   ========================================================================== */
.trust {
  padding: 36px 0;
  background-color: var(--nexis-light-bg);
  border-top: 1px solid var(--nexis-light-border);
  border-bottom: 1px solid var(--nexis-light-border);
}

.trust-line {
  text-align: center;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--nexis-text-muted);
  margin-bottom: 18px;
}

.trust-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-pills span {
  font-family: var(--nexis-font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--nexis-text-dark);
  background: #ffffff;
  border: 1px solid var(--nexis-light-border);
  padding: 8px 18px;
  border-radius: var(--nexis-radius-full);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: var(--nexis-transition);
}

.trust-pills span:hover {
  border-color: var(--nexis-primary);
  color: var(--nexis-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   6. Problem vs. Solution (The Gap We Close)
   ========================================================================== */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.problem-card {
  background: #ffffff;
  border: 1px solid var(--nexis-light-border);
  border-radius: var(--nexis-radius-lg);
  padding: 40px 36px;
  box-shadow: var(--nexis-shadow-sm);
}

.problem-card h3 {
  font-size: 1.45rem;
  margin-bottom: 24px;
}

.problem-card .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.problem-card .tag-list span {
  font-family: var(--nexis-font-accent);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--nexis-radius-full);
  background: var(--nexis-light-bg);
  color: #78716c;
  border: 1px solid #e7e5e4;
}

.problem-card.dark {
  background: var(--purple-950);
  border-color: var(--purple-900);
  box-shadow: 0 16px 40px rgba(21, 10, 41, 0.2);
}

.problem-card.dark h3 {
  color: #ffffff;
}

.problem-card.dark .tag-list span {
  background: rgba(124, 83, 240, 0.18);
  color: var(--purple-100);
  border: 1px solid rgba(124, 83, 240, 0.35);
}

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

.service-card {
  background: #ffffff;
  border: 1px solid var(--nexis-light-border);
  border-radius: var(--nexis-radius-lg);
  padding: 36px 30px;
  transition: var(--nexis-transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--nexis-shadow-sm);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 83, 240, 0.35);
  box-shadow: var(--nexis-shadow-md);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--nexis-primary-light);
  color: var(--nexis-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--nexis-primary);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-list {
  margin-bottom: 24px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.service-list li {
  font-size: 0.9rem;
  color: var(--nexis-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-list li::before {
  content: "•";
  color: var(--nexis-primary);
  font-weight: bold;
}

.service-link {
  font-family: var(--nexis-font-accent);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--nexis-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  gap: 10px;
}

.service-card.cta-card {
  background: var(--purple-950);
  border-color: var(--purple-900);
  color: #ffffff;
}

.service-card.cta-card h3 {
  color: #ffffff;
}

.service-card.cta-card p {
  color: #c8bef2;
}

/* ==========================================================================
   8. Process (3-Stage Approach)
   ========================================================================== */
.process {
  background-color: var(--nexis-light-bg);
}

.process-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.process-step {
  background: #ffffff;
  border: 1px solid var(--nexis-light-border);
  border-radius: var(--nexis-radius-lg);
  padding: 38px 30px;
  box-shadow: var(--nexis-shadow-sm);
  transition: var(--nexis-transition);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--nexis-primary);
  box-shadow: var(--nexis-shadow-md);
}

.process-num {
  font-family: var(--nexis-font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--nexis-primary);
  line-height: 1;
  margin-bottom: 18px;
}

.process-step h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ==========================================================================
   9. Why Nexis Studio (6 Value Cards)
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--nexis-light-border);
  border-radius: var(--nexis-radius-lg);
  padding: 34px 28px;
  box-shadow: var(--nexis-shadow-sm);
  transition: var(--nexis-transition);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 83, 240, 0.35);
  box-shadow: var(--nexis-shadow-md);
}

.why-card svg {
  width: 32px;
  height: 32px;
  stroke: var(--nexis-primary);
  margin-bottom: 18px;
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   10. Portfolio Showcase (with Category Filter)
   ========================================================================== */
.portfolio-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 20px;
}

.portfolio-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--nexis-font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--nexis-radius-full);
  background: #ffffff;
  border: 1px solid var(--nexis-light-border);
  color: var(--nexis-text-muted);
  cursor: pointer;
  transition: var(--nexis-transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--nexis-primary);
  color: #ffffff;
  border-color: var(--nexis-primary);
}

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

.portfolio-card {
  background: #ffffff;
  border: 1px solid var(--nexis-light-border);
  border-radius: var(--nexis-radius-lg);
  overflow: hidden;
  box-shadow: var(--nexis-shadow-sm);
  transition: var(--nexis-transition);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--nexis-shadow-md);
  border-color: rgba(124, 83, 240, 0.3);
}

.portfolio-thumb-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: var(--purple-950);
}

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

.portfolio-card:hover .portfolio-img {
  transform: scale(1.06);
}

.portfolio-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 10, 41, 0.1) 0%, rgba(21, 10, 41, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  color: #ffffff;
  pointer-events: none;
}

.portfolio-preview-graphic {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  color: #ffffff;
}

.portfolio-preview-graphic.web-graphic {
  background: linear-gradient(135deg, #1f113d 0%, #3b1b6f 100%);
}

.portfolio-preview-graphic.app-graphic {
  background: linear-gradient(135deg, #151a3a 0%, #1e3a6f 100%);
}

.portfolio-preview-graphic.auto-graphic {
  background: linear-gradient(135deg, #1b2f29 0%, #134e4a 100%);
}

.graphic-dots {
  display: flex;
  gap: 5px;
}

.graphic-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.badge-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(21, 10, 41, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 6px;
  color: #ffffff;
}

.portfolio-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-cat {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nexis-primary);
  margin-bottom: 6px;
}

.portfolio-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.portfolio-desc-text {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.portfolio-outcome {
  font-size: 0.88rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 6px 12px;
  border-radius: 6px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   11. Team Directory
   ========================================================================== */
.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-member-card {
  background: #ffffff;
  border: 1px solid var(--nexis-light-border);
  border-radius: var(--nexis-radius-lg);
  padding: 32px 26px;
  box-shadow: var(--nexis-shadow-sm);
  transition: var(--nexis-transition);
  display: flex;
  flex-direction: column;
}

.team-member-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 83, 240, 0.35);
  box-shadow: var(--nexis-shadow-md);
}

.team-avatar-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.team-avatar-frame {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2.5px solid var(--nexis-primary);
  box-shadow: 0 0 16px rgba(124, 83, 240, 0.3);
  overflow: hidden;
  background: var(--nexis-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.team-member-card:hover .team-avatar-img {
  transform: scale(1.08);
}

.avatar-icon-fallback {
  color: var(--nexis-primary);
  font-size: 1.5rem;
}

.member-role-badge {
  font-family: var(--nexis-font-accent);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--nexis-light-bg);
  color: var(--nexis-text-dark);
  border: 1px solid var(--nexis-light-border);
  padding: 4px 12px;
  border-radius: var(--nexis-radius-full);
}

.member-name {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.member-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--nexis-primary);
  margin-bottom: 14px;
}

.member-bio {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.member-skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  margin-top: auto;
}

.skill-tag {
  font-size: 0.76rem;
  font-weight: 600;
  background: var(--nexis-light-bg);
  color: var(--nexis-text-muted);
  padding: 4px 10px;
  border-radius: 6px;
}

.member-socials {
  display: flex;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--nexis-light-border);
}

.member-socials a {
  color: var(--nexis-text-dim);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.member-socials a:hover {
  color: var(--nexis-primary);
}

/* ==========================================================================
   12. Interactive Project Quote Form
   ========================================================================== */
.quote-card-wrapper {
  background: #ffffff;
  border: 1px solid var(--nexis-light-border);
  border-radius: var(--nexis-radius-lg);
  padding: 48px 44px;
  box-shadow: var(--nexis-shadow-md);
  max-width: 960px;
  margin: 0 auto;
}

.quote-header-block {
  text-align: center;
  margin-bottom: 40px;
}

.form-section-block {
  margin-bottom: 32px;
}

.form-section-label {
  display: block;
  font-family: var(--nexis-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--nexis-text-dark);
  margin-bottom: 16px;
}

.service-checkbox-grid, .budget-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.service-pill-checkbox, .budget-pill {
  cursor: pointer;
}

.service-pill-checkbox input, .budget-pill input {
  display: none;
}

.pill-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--nexis-font-accent);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: var(--nexis-radius-md);
  background: var(--nexis-light-bg);
  border: 1.5px solid var(--nexis-light-border);
  color: var(--nexis-text-dark);
  transition: var(--nexis-transition);
  text-align: center;
}

.service-pill-checkbox input:checked + .pill-box,
.budget-pill input:checked + .pill-box {
  background: var(--nexis-primary-light);
  border-color: var(--nexis-primary);
  color: var(--nexis-primary-dark);
  box-shadow: 0 4px 14px rgba(124, 83, 240, 0.15);
}

.form-inputs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--nexis-text-dark);
  margin-bottom: 6px;
}

.form-group input, .form-group textarea {
  width: 100%;
  font-family: var(--nexis-font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: var(--nexis-radius-sm);
  border: 1px solid var(--nexis-light-border);
  background: #ffffff;
  color: var(--nexis-text-dark);
  transition: var(--nexis-transition);
  outline: none;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--nexis-primary);
  box-shadow: 0 0 0 3px rgba(124, 83, 240, 0.15);
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.form-feedback-message.success {
  color: #059669;
  font-weight: 600;
}

.form-feedback-message.error {
  color: #dc2626;
  font-weight: 600;
}

/* ==========================================================================
   13. CTA Band (Ready to elevate your business?)
   ========================================================================== */
.cta-band {
  background: var(--purple-950);
  border-radius: var(--nexis-radius-lg);
  padding: 60px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 20px 50px rgba(21, 10, 41, 0.25);
  border: 1px solid rgba(124, 83, 240, 0.25);
}

.cta-band h2 {
  font-size: 2.3rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.cta-band p {
  color: #c8bef2;
  font-size: 1.08rem;
  max-width: 600px;
}

/* ==========================================================================
   14. Clean Netlify Footer
   ========================================================================== */
footer {
  background: var(--purple-950);
  color: #ffffff;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(124, 83, 240, 0.2);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-brand p {
  color: #a99bd6;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--nexis-transition);
}

.footer-social a:hover {
  background: var(--nexis-primary);
  border-color: var(--nexis-primary);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
}

.footer-col h4 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 0.92rem;
  color: #a99bd6;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-newsletter .nl-form {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.footer-newsletter input {
  font-family: var(--nexis-font-body);
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: var(--nexis-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: none;
  width: 100%;
}

.footer-newsletter input::placeholder {
  color: #8b7ca8;
}

.footer-newsletter button {
  font-family: var(--nexis-font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--nexis-radius-sm);
  background: var(--nexis-primary);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: var(--nexis-transition);
}

.footer-newsletter button:hover {
  background: var(--nexis-primary-dark);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8b7ca8;
  font-size: 0.88rem;
}

.footer-bottom ul {
  display: flex;
  gap: 20px;
}

.footer-bottom ul a {
  color: #8b7ca8;
}

.footer-bottom ul a:hover {
  color: #ffffff;
}

/* ==========================================================================
   15. Mobile Responsiveness
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-grid, .why-grid, .portfolio-grid, .team-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .section-head h2 {
    font-size: 2.1rem;
  }
  .problem-grid, .process-row, .services-grid, .why-grid, .portfolio-grid, .team-cards-grid {
    grid-template-columns: 1fr;
  }
  .form-inputs-row {
    grid-template-columns: 1fr;
  }
  .cta-band {
    flex-direction: column;
    padding: 40px 24px;
    text-align: center;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}
