/* ==========================================================================
   NEXATECH ENTERPRISE SOLUTIONS - STYLESHEET (NO SHADOW / CLEAN BORDER EDITION)
   Design System for PT Nexatech Digital Global
   ========================================================================== */

:root {
  --nex-primary: #0056d6;
  --nex-primary-dark: #003893;
  --nex-primary-light: #2563eb;
  --nex-accent: #00d2ff;
  --nex-accent-glow: rgba(0, 210, 255, 0.25);
  --nex-dark: #0a0f1d;
  --nex-dark-card: #11182c;
  --nex-dark-border: rgba(255, 255, 255, 0.08);
  --nex-dark-subtle: #1e293b;
  --nex-text-main: #0f172a;
  --nex-text-muted: #64748b;
  --nex-text-light: #cbd5e1;
  --nex-bg-light: #f8fafc;
  --nex-bg-white: #ffffff;
  --nex-border: #e2e8f0;
  --nex-success: #10b981;
  --nex-warning: #f59e0b;
  --nex-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --nex-font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --nex-radius-sm: 8px;
  --nex-radius-md: 14px;
  --nex-radius-lg: 20px;
  --nex-radius-xl: 28px;
  --nex-radius-full: 9999px;
  --nex-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--nex-transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
}

/* Container */
.nex-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--nex-font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--nex-text-main);
}

.nex-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--nex-radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.nex-badge-blue {
  background: rgba(0, 86, 214, 0.08);
  color: var(--nex-primary);
  border: 1px solid rgba(0, 86, 214, 0.2);
}

.nex-badge-cyan {
  background: rgba(0, 210, 255, 0.12);
  color: #0096c7;
  border: 1px solid rgba(0, 210, 255, 0.25);
}

.nex-badge-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.nex-gradient-text {
  background: linear-gradient(135deg, var(--nex-primary) 0%, #0096c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nex-gradient-text-cyan {
  background: linear-gradient(135deg, #00d2ff 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nex-section-header {
  margin-bottom: 54px;
}

.nex-section-header.text-center {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.nex-section-title {
  font-size: 2.35rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.nex-section-desc {
  font-size: 1.05rem;
  color: var(--nex-text-muted);
  line-height: 1.7;
}

.nex-py {
  padding: 96px 0;
}

.nex-py-sm {
  padding: 60px 0;
}

/* Buttons */
.nex-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--nex-radius-md);
  cursor: pointer;
  transition: var(--nex-transition);
}

.nex-btn-primary {
  background: var(--nex-primary);
  color: #ffffff;
  border: 1px solid var(--nex-primary);
}

.nex-btn-primary:hover {
  background: var(--nex-primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.nex-btn-accent {
  background: #0284c7;
  color: #ffffff;
  border: 1px solid #0284c7;
}

.nex-btn-accent:hover {
  background: #0369a1;
  color: #ffffff;
  transform: translateY(-2px);
}

.nex-btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.nex-btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

.nex-btn-outline-primary {
  background: transparent;
  color: var(--nex-primary);
  border: 1.5px solid var(--nex-primary);
}

.nex-btn-outline-primary:hover {
  background: var(--nex-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.nex-btn-lg {
  padding: 15px 32px;
  font-size: 1.02rem;
  border-radius: var(--nex-radius-md);
}

/* Demo Top Bar */
.demo-top-bar {
  background: #060a14;
  color: #94a3b8;
  font-size: 0.82rem;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1000;
}

.demo-top-bar a.back-link {
  color: #38bdf8;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  transition: var(--nex-transition);
}

.demo-top-bar a.back-link:hover {
  background: #38bdf8;
  color: #060a14;
}

/* Header & Navbar */
.nex-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nex-border);
  z-index: 999;
  transition: var(--nex-transition);
}

.nex-header.scrolled {
  border-color: #cbd5e1;
}

.nex-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nex-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nex-brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--nex-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
}

.nex-brand-text h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--nex-dark);
  letter-spacing: -0.02em;
}

.nex-brand-text span {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--nex-primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  display: block;
}

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

.nex-nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  position: relative;
  padding: 6px 0;
}

.nex-nav-links a:hover,
.nex-nav-links a.active {
  color: var(--nex-primary);
}

.nex-nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--nex-primary);
  border-radius: 2px;
}

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

.nex-mobile-toggle {
  display: none;
  background: none;
  font-size: 1.6rem;
  color: var(--nex-dark);
  cursor: pointer;
}

/* Hero Section */
.nex-hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(0, 86, 214, 0.06) 0%, transparent 60%), #ffffff;
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--nex-border);
}

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

.nex-hero-content h1 {
  font-size: 3.2rem;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  line-height: 1.18;
}

.nex-hero-content p {
  font-size: 1.12rem;
  color: var(--nex-text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 580px;
}

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

.nex-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--nex-border);
}

.nex-stat-item h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--nex-primary);
  margin-bottom: 4px;
}

.nex-stat-item p {
  font-size: 0.82rem;
  color: var(--nex-text-muted);
  line-height: 1.3;
  margin: 0;
}

/* Hero Visual Graphic */
.nex-glass-card {
  background: var(--nex-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--nex-radius-xl);
  padding: 32px;
  color: #ffffff;
  position: relative;
}

.nex-card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nex-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #34d399;
}

.nex-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.nex-server-metric {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--nex-radius-md);
  padding: 16px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nex-metric-label {
  font-size: 0.85rem;
  color: #94a3b8;
}

.nex-metric-value {
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
}

.nex-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}

.nex-progress-fill {
  height: 100%;
  background: var(--nex-primary);
  border-radius: 3px;
}

/* Client Logos */
.nex-clients-section {
  background: var(--nex-bg-light);
  border-top: 1px solid var(--nex-border);
  border-bottom: 1px solid var(--nex-border);
  padding: 40px 0;
}

.nex-clients-title {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--nex-text-muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.nex-logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px 48px;
}

.nex-client-badge {
  font-family: var(--nex-font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--nex-transition);
}

.nex-client-badge:hover {
  color: var(--nex-primary);
  transform: translateY(-2px);
}

/* Services Grid */
.nex-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

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

.nex-service-card:hover {
  transform: translateY(-6px);
  border-color: var(--nex-primary);
}

.nex-service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--nex-radius-md);
  background: rgba(0, 86, 214, 0.08);
  color: var(--nex-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  transition: var(--nex-transition);
}

.nex-service-card:hover .nex-service-icon {
  background: var(--nex-primary);
  color: #ffffff;
}

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

.nex-service-card p {
  font-size: 0.95rem;
  color: var(--nex-text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
  flex-grow: 1;
}

.nex-service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.nex-service-features li {
  font-size: 0.88rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nex-service-features li i {
  color: var(--nex-success);
  font-size: 1rem;
}

/* ==========================================================================
   WORKFLOW PROCESS SECTION
   ========================================================================== */
.nex-workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.nex-workflow-card {
  background: #ffffff;
  border: 1px solid var(--nex-border);
  border-radius: var(--nex-radius-lg);
  padding: 32px 26px;
  position: relative;
  transition: var(--nex-transition);
}

.nex-workflow-card:hover {
  border-color: var(--nex-primary);
  transform: translateY(-4px);
}

.nex-step-num {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--nex-font-heading);
  color: rgba(0, 86, 214, 0.2);
  line-height: 1;
  margin-bottom: 16px;
}

.nex-workflow-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.nex-workflow-card p {
  font-size: 0.9rem;
  color: var(--nex-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   BENEFITS & VALUES SECTION
   ========================================================================== */
.nex-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.nex-benefit-card {
  background: var(--nex-bg-light);
  border: 1px solid var(--nex-border);
  border-radius: var(--nex-radius-lg);
  padding: 32px 26px;
  transition: var(--nex-transition);
}

.nex-benefit-card:hover {
  background: #ffffff;
  border-color: var(--nex-primary);
  transform: translateY(-4px);
}

.nex-benefit-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--nex-radius-md);
  background: rgba(0, 86, 214, 0.1);
  color: var(--nex-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

/* ==========================================================================
   TESTIMONIALS & REVIEWS SECTION
   ========================================================================== */
.nex-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.nex-review-card {
  background: var(--nex-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--nex-radius-lg);
  padding: 32px 28px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nex-stars {
  color: var(--nex-warning);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.nex-review-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.nex-reviewer-info {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nex-reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--nex-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.nex-reviewer-meta h4 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.nex-reviewer-meta p {
  color: #94a3b8;
  font-size: 0.78rem;
  margin: 0;
}

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */
.nex-faq-container {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nex-faq-item {
  background: #ffffff;
  border: 1px solid var(--nex-border);
  border-radius: var(--nex-radius-md);
  overflow: hidden;
  transition: var(--nex-transition);
}

.nex-faq-item.active {
  border-color: var(--nex-primary);
}

.nex-faq-btn {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--nex-text-main);
}

.nex-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--nex-bg-light);
  color: var(--nex-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--nex-transition);
}

.nex-faq-item.active .nex-faq-icon {
  transform: rotate(45deg);
  background: var(--nex-primary);
  color: #ffffff;
}

.nex-faq-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--nex-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.nex-faq-item.active .nex-faq-content {
  padding: 0 24px 22px;
  max-height: 500px;
}

/* ==========================================================================
   PROJECTS & CASE STUDIES
   ========================================================================== */
.nex-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.nex-filter-btn {
  padding: 10px 22px;
  border-radius: var(--nex-radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--nex-bg-light);
  color: var(--nex-text-muted);
  border: 1px solid var(--nex-border);
  cursor: pointer;
  transition: var(--nex-transition);
}

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

.nex-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

.nex-project-card {
  background: #ffffff;
  border: 1px solid var(--nex-border);
  border-radius: var(--nex-radius-xl);
  overflow: hidden;
  transition: var(--nex-transition);
  display: flex;
  flex-direction: column;
}

.nex-project-card:hover {
  transform: translateY(-6px);
  border-color: var(--nex-primary);
}

.nex-project-cover {
  height: 220px;
  background: var(--nex-dark);
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nex-project-tag {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--nex-radius-full);
  z-index: 1;
}

.nex-project-header-info {
  z-index: 1;
}

.nex-project-header-info h4 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.nex-project-header-info span {
  color: #93c5fd;
  font-size: 0.85rem;
}

.nex-project-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.nex-project-body p {
  font-size: 0.92rem;
  color: var(--nex-text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.nex-metric-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.nex-metric-chip {
  background: rgba(0, 86, 214, 0.08);
  color: var(--nex-primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
}

/* ==========================================================================
   CONTACT & RFP PAGE
   ========================================================================== */
.nex-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
}

.nex-contact-info-card {
  background: var(--nex-dark);
  color: #ffffff;
  border-radius: var(--nex-radius-xl);
  padding: 40px 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nex-contact-method {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.nex-contact-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--nex-radius-md);
  background: rgba(255, 255, 255, 0.08);
  color: var(--nex-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.nex-contact-details h5 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 4px;
}

.nex-contact-details p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
}

.nex-rfp-form {
  background: #ffffff;
  border: 1px solid var(--nex-border);
  border-radius: var(--nex-radius-xl);
  padding: 40px;
}

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

.nex-form-group {
  margin-bottom: 20px;
}

.nex-form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.nex-form-input {
  width: 100%;
  padding: 13px 16px;
  background: #f8fafc;
  border: 1.5px solid var(--nex-border);
  border-radius: var(--nex-radius-md);
  font-size: 0.95rem;
  color: var(--nex-text-main);
  transition: var(--nex-transition);
}

.nex-form-input:focus {
  background: #ffffff;
  border-color: var(--nex-primary);
}

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

/* ==========================================================================
   FINAL CTA DARK SECTION
   ========================================================================== */
.nex-final-cta-section {
  background: var(--nex-dark);
  color: #ffffff;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nex-cta-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.nex-cta-inner h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 18px;
}

.nex-cta-inner p {
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.nex-footer {
  background: #060a14;
  color: #94a3b8;
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.nex-footer-brand h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.nex-footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.nex-footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nex-footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
}

.nex-footer-links a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.nex-footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 992px) {
  .nex-hero-grid,
  .nex-contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nex-hero-content h1 {
    font-size: 2.5rem;
  }

  .nex-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nex-nav-links {
    display: none;
  }

  .nex-mobile-toggle {
    display: block;
  }

  .nex-nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 24px;
    border-bottom: 1px solid var(--nex-border);
  }
}

@media (max-width: 640px) {
  .nex-hero-content h1 {
    font-size: 2.1rem;
  }

  .nex-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .nex-form-row {
    grid-template-columns: 1fr;
  }

  .nex-footer-grid {
    grid-template-columns: 1fr;
  }
}
