/* ==========================================================================
   NEXA AGENCY - Modern Digital Solutions
   Core Stylesheet & Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* --- Root Variables & Theme Tokens --- */
:root {
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Color Palette - Light Mode */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.35);
  --secondary: #0ea5e9;
  --accent: #38bdf8;
  --accent-light: #e0f2fe;
  
  --body-bg: #f8fafc;
  --surface-bg: #ffffff;
  --surface-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --border-focus: #93c5fd;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --heading-color: #0f172a;
  
  --nav-bg: rgba(255, 255, 255, 0.85);
  --nav-border: rgba(226, 232, 240, 0.8);
  
  --card-bg: #ffffff;
  --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --card-shadow-hover: 0 25px 40px -12px rgba(37, 99, 235, 0.18), 0 10px 20px -8px rgba(15, 23, 42, 0.08);
  
  --footer-bg: #090e1a;
  --footer-border: #1e293b;
  --footer-text: #94a3b8;
  
  --badge-bg: rgba(37, 99, 235, 0.1);
  --badge-color: #2563eb;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Dark Mode Overrides --- */
[data-theme="dark"],
[data-bs-theme="dark"] {
  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --primary-light: rgba(59, 130, 246, 0.15);
  --primary-glow: rgba(59, 130, 246, 0.45);
  --secondary: #38bdf8;
  --accent: #7dd3fc;
  --accent-light: rgba(56, 189, 248, 0.12);
  
  --body-bg: #080d1a;
  --surface-bg: #0f172a;
  --surface-alt: #162032;
  --border-color: rgba(255, 255, 255, 0.09);
  --border-focus: #3b82f6;
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --heading-color: #ffffff;
  
  --nav-bg: rgba(8, 13, 26, 0.88);
  --nav-border: rgba(255, 255, 255, 0.08);
  
  --card-bg: #0f172a;
  --card-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.5), 0 8px 15px -6px rgba(0, 0, 0, 0.4);
  --card-shadow-hover: 0 25px 45px -10px rgba(59, 130, 246, 0.28), 0 10px 20px -8px rgba(0, 0, 0, 0.6);
  
  --footer-bg: #050811;
  --footer-border: rgba(255, 255, 255, 0.06);
  --footer-text: #94a3b8;
  
  --badge-bg: rgba(59, 130, 246, 0.18);
  --badge-color: #60a5fa;
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--body-bg);
  color: var(--text-main);
  line-height: 1.65;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  transition: color var(--transition-normal);
}

p {
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

::selection {
  background-color: var(--primary);
  color: #ffffff;
}

/* --- Typography Helpers --- */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn-nexa-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px var(--primary-glow);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
}

.btn-nexa-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--primary-glow);
  color: #ffffff !important;
}

.btn-nexa-outline {
  background: transparent;
  color: var(--heading-color) !important;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
}

.btn-nexa-outline:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-nexa-white {
  background: #ffffff;
  color: #0f172a !important;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
}

.btn-nexa-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

/* --- Badge Pills --- */
.nexa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--badge-bg);
  color: var(--badge-color);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.nexa-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  box-shadow: 0 0 8px var(--primary);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* --- Top Announcement Bar --- */
.top-announcement {
  background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 50%, #0284c7 100%);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  text-align: center;
}
.top-announcement a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 0.35rem;
}

/* --- Sticky Modern Navbar --- */
.nexa-navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nav-border);
  transition: all var(--transition-normal);
  padding: 0.85rem 0;
}

.nexa-navbar.scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--heading-color) !important;
  letter-spacing: -0.03em;
}

.navbar-brand .brand-icon {
  width: 36px;
  height: 36px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-main) !important;
  padding: 0.5rem 0.9rem !important;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Dark Mode Switcher Button */
.theme-toggle-btn {
  background: var(--surface-alt);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
  transform: rotate(15deg);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, var(--primary-light) 0%, transparent 60%),
              radial-gradient(circle at 10% 90%, var(--accent-light) 0%, transparent 50%);
}

[data-theme="dark"] .hero-section {
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 10% 90%, rgba(56, 189, 248, 0.1) 0%, transparent 50%);
}

.hero-title {
  font-size: clamp(2.35rem, 5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.35rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

/* Hero Interactive Mockup Card */
.hero-mockup-wrapper {
  position: relative;
}

.hero-mockup-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(37, 99, 235, 0.25), 0 15px 30px -10px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-normal);
}

.hero-mockup-card:hover {
  transform: translateY(-6px);
}

/* Floating Badges in Hero */
.floating-badge {
  position: absolute;
  padding: 0.75rem 1.15rem;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  animation: float-badge 4s infinite ease-in-out;
}

.floating-badge.badge-top-left {
  top: -20px;
  left: -20px;
}

.floating-badge.badge-bottom-right {
  bottom: -25px;
  right: -15px;
  animation-delay: 2s;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* --- Brand Marquee / Logos --- */
.partners-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--surface-bg);
}

.partner-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
  opacity: 0.65;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.partner-logo:hover {
  opacity: 1;
  color: var(--primary);
  transform: scale(1.05);
}

/* --- Section Headers --- */
.section-header {
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 800;
  margin-top: 0.65rem;
}

.section-desc {
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0.75rem auto 0;
  color: var(--text-muted);
}

/* --- Cards Design System --- */
.nexa-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.nexa-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(37, 99, 235, 0.4);
}

.nexa-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.nexa-card:hover::after {
  opacity: 1;
}

/* Icon Boxes */
.icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
  transition: all var(--transition-normal);
}

.nexa-card:hover .icon-box {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 8px 20px var(--primary-glow);
}

/* --- Statistics Section --- */
.stats-section {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, #090e1a 0%, #0f172a 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.stats-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 500;
}

/* --- Portfolio Project Cards --- */
.portfolio-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(37, 99, 235, 0.4);
}

.portfolio-image-wrapper {
  position: relative;
  overflow: hidden;
  background: #090e1a;
  aspect-ratio: 16 / 10;
}

.portfolio-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.portfolio-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #38bdf8;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.portfolio-body {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.portfolio-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: var(--surface-alt);
  color: var(--text-muted);
}

.portfolio-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Portfolio Filter Buttons */
.portfolio-filter-btn {
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.testimonial-quote {
  font-size: 1.025rem;
  line-height: 1.65;
  color: var(--text-main);
  margin-bottom: 1.75rem;
  font-style: italic;
  position: relative;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

/* --- Inner Page Hero / Header Banner --- */
.page-banner {
  padding: 5rem 0 4.5rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(56, 189, 248, 0.05) 100%);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  position: relative;
}

[data-theme="dark"] .page-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.page-title {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.breadcrumb-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 500;
}

/* --- Team Member Cards --- */
.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  text-align: center;
  padding: 2rem 1.5rem;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(37, 99, 235, 0.4);
}

.team-avatar-wrapper {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: 0 8px 20px var(--primary-glow);
}

.team-avatar-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--card-bg);
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.team-social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.team-social-link:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* --- Timeline / Process Steps --- */
.process-step-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  height: 100%;
}

.process-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.step-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-light);
  margin-bottom: 0.8rem;
  -webkit-text-stroke: 1.5px var(--primary);
}

/* --- Pricing / Engagement Cards --- */
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.25);
  transform: scale(1.03);
}

.pricing-card:hover {
  transform: translateY(-6px);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
}

.pricing-price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--heading-color);
  margin: 1rem 0 0.5rem;
}

/* --- Contact Page Styles --- */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.4rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1.2rem;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-fast);
}

.contact-info-card:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.8rem;
  box-shadow: var(--card-shadow-hover);
}

.form-control, .form-select {
  background-color: var(--surface-bg);
  border: 1.5px solid var(--border-color);
  color: var(--text-main);
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-control:focus, .form-select:focus {
  background-color: var(--surface-bg);
  border-color: var(--primary);
  color: var(--text-main);
  box-shadow: 0 0 0 0.25rem var(--primary-glow);
}

/* --- Call To Action (CTA) Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #0369a1 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 4.5rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(30, 58, 138, 0.4);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Modern Footer --- */
.nexa-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid var(--footer-border);
  padding: 4.5rem 0 2rem;
  position: relative;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.4rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.footer-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: var(--footer-text);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 8px 25px var(--primary-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-4px);
  color: #ffffff;
}

/* --- Accordion Customization --- */
.accordion-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.accordion-button {
  background-color: var(--card-bg);
  color: var(--heading-color);
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-light);
  color: var(--primary);
}

.accordion-body {
  color: var(--text-muted);
  line-height: 1.7;
  padding: 1.25rem 1.5rem;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 3.5rem 0 4.5rem;
    text-align: center;
  }
  .hero-mockup-wrapper {
    margin-top: 3.5rem;
  }
  .floating-badge {
    display: none; /* Keep clean on tablet/mobile */
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .contact-form-card {
    padding: 1.75rem 1.25rem;
  }
  .cta-banner {
    padding: 2.75rem 1.5rem;
  }
}
