/* ===== NONETIX — MAIN STYLESHEET ===== */

:root {
  --nx-bg:         #080b12;
  --nx-bg-2:       #0d1117;
  --nx-bg-3:       #111827;
  --nx-border:     rgba(255,255,255,0.06);
  --nx-border-2:   rgba(255,255,255,0.10);
  --nx-primary:    #6366f1;
  --nx-primary-2:  #818cf8;
  --nx-text:       #e2e8f0;
  --nx-text-muted: #64748b;
  --nx-radius:     12px;
  --nx-radius-lg:  20px;
  --nx-shadow:     0 4px 24px rgba(0,0,0,0.4);
  --nx-shadow-lg:  0 8px 48px rgba(0,0,0,0.6);
  --nx-transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --font-main:     'Inter', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--nx-bg);
  color: var(--nx-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.nx-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--nx-transition), padding var(--nx-transition), border-bottom var(--nx-transition);
  border-bottom: 1px solid transparent;
}
.nx-navbar.scrolled {
  background: rgba(8,11,18,0.9) !important;
  backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom-color: var(--nx-border);
}

.nx-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nx-brand-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--nx-primary), #a855f7);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; color: #fff;
  flex-shrink: 0;
}
.nx-brand-text {
  font-family: 'Exo 2', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--nx-text);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  /* geniş aralık son harften sonra sağda boşluk bırakır; görsel dengelemek için */
  padding-left: 0.16em;
}

.nx-navbar .nav-link {
  color: var(--nx-text-muted) !important;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: color var(--nx-transition), background var(--nx-transition);
}
.nx-navbar .nav-link:hover,
.nx-navbar .nav-link.active {
  color: var(--nx-text) !important;
  background: rgba(255,255,255,0.05);
}

/* ===== BUTTONS ===== */
.nx-btn-primary {
  background: linear-gradient(135deg, var(--nx-primary), #7c3aed);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform var(--nx-transition), box-shadow var(--nx-transition), opacity var(--nx-transition);
}
.nx-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(99,102,241,0.4);
  color: #fff !important;
}
.nx-btn-primary:active { transform: translateY(0); }

.nx-btn-ghost {
  background: transparent;
  color: var(--nx-text) !important;
  border: 1px solid var(--nx-border-2);
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: border-color var(--nx-transition), background var(--nx-transition);
}
.nx-btn-ghost:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
  color: var(--nx-text) !important;
}

/* ===== HERO ===== */
.nx-hero {
  position: relative;
  overflow: hidden;
  background: var(--nx-bg);
}
/* Wormhole canvas — replaces static gradient */
#wormhole-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.nx-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* grain texture */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.03;
}
/* Vignette on top of wormhole */
.nx-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(8,7,15,0) 0%, rgba(8,8,18,0.35) 55%, rgba(8,11,18,0.88) 100%);
}

.nx-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--nx-primary-2);
}
.nx-badge-dot {
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.nx-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--nx-text);
}
.nx-gradient-text {
  background: linear-gradient(135deg, var(--nx-primary), #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nx-hero-subtitle {
  font-size: 1.15rem;
  color: var(--nx-text-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* Hero Stats */
.nx-stat-number {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff, var(--nx-primary-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nx-stat-label { font-size: 13px; color: var(--nx-text-muted); }

/* Code Card */
.nx-hero-visual { position: relative; }
.nx-code-card {
  background: var(--nx-bg-3);
  border: 1px solid var(--nx-border-2);
  border-radius: var(--nx-radius-lg);
  overflow: hidden;
  box-shadow: var(--nx-shadow-lg);
  max-width: 420px;
}
.nx-code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--nx-border);
  background: rgba(255,255,255,0.02);
}
.nx-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.nx-dot.red    { background: #ff5f57; }
.nx-dot.yellow { background: #febc2e; }
.nx-dot.green  { background: #28c840; }

.nx-code-body {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  padding: 24px;
  margin: 0;
  color: var(--nx-text);
}
.c-purple { color: #c792ea; }
.c-blue   { color: #82aaff; }
.c-green  { color: #c3e88d; }
.c-orange { color: #f78c6c; }
.c-muted  { color: var(--nx-text-muted); }

/* Float badges */
.nx-float-badge {
  position: absolute;
  background: var(--nx-bg-3);
  border: 1px solid var(--nx-border-2);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--nx-shadow);
}
.nx-float-1 { bottom: -16px; left: -24px; }
.nx-float-2 { top: -16px; right: -24px; }

/* Scroll indicator */
.nx-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.nx-scroll-indicator {
  width: 2px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--nx-primary));
  border-radius: 2px;
  margin: auto;
  animation: scrollAnim 2s infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== SECTIONS ===== */
.nx-section { padding: 100px 0; }
.nx-section-dark { background: var(--nx-bg-2); }

.nx-section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nx-primary-2);
}
.nx-section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* ===== SERVICE CARDS ===== */
.nx-service-card {
  background: var(--nx-bg-3);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  padding: 32px;
  height: 100%;
  transition: border-color var(--nx-transition), transform var(--nx-transition), box-shadow var(--nx-transition);
}
.nx-service-card:hover {
  border-color: rgba(99,102,241,0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.nx-service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.nx-icon-blue   { background: rgba(99,102,241,0.15); color: #818cf8; }
.nx-icon-purple { background: rgba(168,85,247,0.15); color: #c084fc; }
.nx-icon-cyan   { background: rgba(6,182,212,0.15);  color: #22d3ee; }
.nx-icon-green  { background: rgba(34,197,94,0.15);  color: #4ade80; }
.nx-icon-orange { background: rgba(249,115,22,0.15); color: #fb923c; }
.nx-icon-pink   { background: rgba(236,72,153,0.15); color: #f472b6; }

.nx-service-title { font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.nx-service-desc  { color: var(--nx-text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.nx-service-link  {
  font-size: 13px;
  font-weight: 600;
  color: var(--nx-primary-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--nx-transition);
}
.nx-service-link:hover { gap: 10px; color: var(--nx-primary-2); }

/* ===== PROJECT CARDS ===== */
.nx-project-card {
  display: block;
  text-decoration: none;
  color: var(--nx-text);
  background: var(--nx-bg-3);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  overflow: hidden;
  transition: border-color var(--nx-transition), transform var(--nx-transition);
}
.nx-project-card:hover {
  border-color: rgba(99,102,241,0.4);
  transform: translateY(-4px);
  color: var(--nx-text);
}

.nx-project-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--nx-bg-2);
}
.nx-project-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.nx-project-card:hover .nx-project-image img { transform: scale(1.04); }

.nx-project-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: var(--nx-text-muted);
  background: linear-gradient(135deg, var(--nx-bg-3), var(--nx-bg-2));
}

.nx-project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(99,102,241,0.85);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--nx-transition);
}
.nx-project-card:hover .nx-project-overlay { opacity: 1; }
.nx-project-view { color: #fff; font-weight: 700; font-size: 15px; }

.nx-project-info { padding: 24px; }
.nx-project-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nx-primary-2);
}
.nx-project-title { font-weight: 700; font-size: 16px; margin: 8px 0; }
.nx-project-desc  { font-size: 13px; color: var(--nx-text-muted); margin-bottom: 16px; line-height: 1.6; }

.nx-project-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.nx-tag {
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--nx-border-2);
  border-radius: 6px;
  padding: 3px 10px;
  color: var(--nx-text-muted);
}

/* ===== WHY US ===== */
.nx-reason { align-items: flex-start; }
.nx-reason-icon {
  width: 44px; height: 44px;
  background: rgba(99,102,241,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--nx-primary-2);
  flex-shrink: 0;
}
.nx-reason-title { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.nx-reason-desc  { font-size: 13px; color: var(--nx-text-muted); margin-bottom: 0; }

/* Tech Grid */
.nx-tech-grid {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.nx-tech-item {
  padding: 10px 20px;
  background: var(--nx-bg-3);
  border: 1px solid var(--nx-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nx-text-muted);
  transition: border-color var(--nx-transition), color var(--nx-transition);
  cursor: default;
}
.nx-tech-item:hover {
  border-color: rgba(99,102,241,0.4);
  color: var(--nx-text);
}

/* ===== CTA SECTION ===== */
.nx-cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(168,85,247,0.05));
  border-top: 1px solid var(--nx-border);
  border-bottom: 1px solid var(--nx-border);
}
.nx-cta-title    { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; }
.nx-cta-subtitle { font-size: 1.1rem; color: var(--nx-text-muted); }

/* ===== PAGE HERO ===== */
.nx-page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(to bottom, rgba(99,102,241,0.05), transparent);
  border-bottom: 1px solid var(--nx-border);
}
.nx-page-title    { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.nx-page-subtitle { font-size: 1.1rem; color: var(--nx-text-muted); max-width: 560px; }

/* ===== FILTER BAR ===== */
.nx-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-filter-btn {
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--nx-border-2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nx-text-muted);
  text-decoration: none;
  transition: all var(--nx-transition);
}
.nx-filter-btn:hover, .nx-filter-btn.active {
  background: var(--nx-primary);
  border-color: var(--nx-primary);
  color: #fff;
}

/* ===== BREADCRUMB ===== */
.nx-breadcrumb { background: none; padding: 0; margin: 0; }
.nx-breadcrumb .breadcrumb-item { font-size: 13px; color: var(--nx-text-muted); }
.nx-breadcrumb .breadcrumb-item a { color: var(--nx-text-muted); text-decoration: none; }
.nx-breadcrumb .breadcrumb-item a:hover { color: var(--nx-text); }
.nx-breadcrumb .breadcrumb-item.active { color: var(--nx-text); }
.nx-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--nx-text-muted); }

/* ===== PROJECT DETAIL ===== */
.nx-project-hero-image img { border: 1px solid var(--nx-border); }
.nx-prose {
  font-size: 16px;
  line-height: 1.8;
  color: var(--nx-text);
}

/* Sidebar */
.nx-sidebar-card {
  background: var(--nx-bg-3);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  padding: 24px;
}
.nx-sidebar-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nx-text-muted);
  margin-bottom: 0;
}

/* ===== CONTACT ===== */
.nx-form-card {
  background: var(--nx-bg-3);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  padding: 40px;
}
.nx-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--nx-text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nx-input {
  width: 100%;
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-border-2);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--nx-text);
  font-size: 14px;
  font-family: var(--font-main);
  transition: border-color var(--nx-transition), box-shadow var(--nx-transition);
  appearance: none;
}
.nx-input:focus {
  outline: none;
  border-color: var(--nx-primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.nx-input::placeholder { color: var(--nx-text-muted); }

.nx-alert {
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
}
.nx-alert-success { background: rgba(34,197,94,0.1);  border: 1px solid rgba(34,197,94,0.25);  color: #4ade80; }
.nx-alert-error   { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.25);  color: #f87171; }

.nx-contact-info { padding-top: 12px; }
.nx-contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.nx-contact-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.nx-contact-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nx-text-muted); margin-bottom: 4px; }
.nx-contact-value { font-size: 15px; font-weight: 600; color: var(--nx-text); text-decoration: none; }
.nx-contact-value:hover { color: var(--nx-primary-2); }

.nx-response-badge {
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--nx-text-muted);
}

/* ===== FOOTER ===== */
.nx-footer {
  padding: 80px 0 0;
  background: var(--nx-bg-2);
  border-top: 1px solid var(--nx-border);
}
.nx-footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nx-text);
  margin-bottom: 20px;
}
.nx-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nx-footer-links li { font-size: 14px; color: var(--nx-text-muted); }
.nx-footer-links a { color: var(--nx-text-muted); text-decoration: none; transition: color var(--nx-transition); }
.nx-footer-links a:hover { color: var(--nx-text); }

.nx-social-link {
  width: 38px; height: 38px;
  background: var(--nx-bg-3);
  border: 1px solid var(--nx-border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--nx-text-muted);
  text-decoration: none;
  font-size: 16px;
  transition: all var(--nx-transition);
}
.nx-social-link:hover {
  background: var(--nx-primary);
  border-color: var(--nx-primary);
  color: #fff;
}

.nx-footer-bottom {
  padding: 24px 0;
  margin-top: 48px;
  border-top: 1px solid var(--nx-border);
}

/* ===== ERROR PAGE ===== */
.nx-error-page { background: var(--nx-bg); }
.nx-error-code {
  font-size: 8rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--nx-primary), #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--nx-bg); }
::-webkit-scrollbar-thumb { background: var(--nx-border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(99,102,241,0.5); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nx-section  { padding: 64px 0; }
  .nx-page-hero { padding: 120px 0 60px; }
  .nx-form-card { padding: 24px; }
  .nx-float-1, .nx-float-2 { display: none; }
}

/* ===== PACKAGE CARDS ===== */
.nx-pkg-card {
  background: var(--nx-bg-3);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--nx-transition), transform var(--nx-transition);
}
.nx-pkg-card:hover {
  border-color: rgba(99,102,241,0.35);
  transform: translateY(-4px);
}
.nx-pkg-featured {
  border-color: rgba(99,102,241,0.5);
  background: linear-gradient(180deg, rgba(99,102,241,0.06) 0%, var(--nx-bg-3) 100%);
}
.nx-pkg-popular-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--nx-primary), #a855f7);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.nx-pkg-category {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--nx-primary-2);
  display: block; margin-bottom: 10px;
}
.nx-pkg-name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.nx-pkg-desc { font-size: 14px; color: var(--nx-text-muted); line-height: 1.6; margin-bottom: 0; }
.nx-pkg-header { margin-bottom: 24px; }

.nx-pkg-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}
.nx-pkg-amount {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff, var(--nx-primary-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nx-pkg-period { font-size: 13px; color: var(--nx-text-muted); }

.nx-pkg-delivery {
  font-size: 13px;
  color: var(--nx-text-muted);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--nx-border);
}

.nx-pkg-features {
  list-style: none;
  padding: 0; margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.nx-pkg-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--nx-text-muted);
}
.nx-pkg-features li i {
  color: #4ade80;
  font-size: 16px;
  flex-shrink: 0;
}

.nx-pkg-actions { display: flex; flex-direction: column; gap: 10px; }
.nx-pkg-demo-link {
  text-align: center;
  font-size: 13px;
  color: var(--nx-text-muted);
  text-decoration: none;
  padding: 6px;
  transition: color var(--nx-transition);
}
.nx-pkg-demo-link:hover { color: var(--nx-primary-2); }

/* Package Detail */
.nx-check-icon {
  width: 32px; height: 32px;
  background: rgba(34,197,94,0.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #4ade80;
  font-size: 18px;
}
.nx-pkg-quote-card {
  background: var(--nx-bg-3);
  border: 1px solid var(--nx-border-2);
  border-radius: var(--nx-radius-lg);
  padding: 32px;
}
.nx-pkg-quote-price { text-align: center; margin-bottom: 16px; }
.nx-pkg-amount-lg {
  font-size: 3rem; font-weight: 900; letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff, var(--nx-primary-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nx-pkg-quote-delivery {
  text-align: center;
  font-size: 14px;
  color: var(--nx-text-muted);
}

/* ===== LANGUAGE SWITCHER ===== */
.nx-lang-switch {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--nx-border-2);
  border-radius: 8px;
  overflow: hidden;
}
.nx-lang-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--nx-text-muted);
  text-decoration: none;
  transition: all var(--nx-transition);
}
.nx-lang-btn.active,
.nx-lang-btn:hover {
  background: var(--nx-primary);
  color: #fff;
}

/* ===== FLOATING BUTTONS ===== */
.nx-floating-btns {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nx-fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: transform var(--nx-transition), box-shadow var(--nx-transition);
}
.nx-fab:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.nx-fab-wa      { background: #25d366; color: #fff; }
.nx-fab-contact { background: var(--nx-primary); color: #fff; }

/* ===== COOKIE BANNER ===== */
.nx-cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1100;
  max-width: 380px;
  background: var(--nx-bg-3);
  border: 1px solid var(--nx-border-2);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: var(--nx-shadow-lg);
}
.nx-cookie-content p { font-size: 13px; color: var(--nx-text-muted); margin-bottom: 14px; }
.nx-cookie-decline {
  background: none; border: none;
  color: var(--nx-text-muted); font-size: 13px;
  cursor: pointer; padding: 8px 16px;
}
.nx-cookie-decline:hover { color: var(--nx-text); }

/* ===== FAQ ===== */
.nx-faq-item {
  border-bottom: 1px solid var(--nx-border);
  padding: 8px 0;
}
.nx-faq-q {
  width: 100%;
  background: none; border: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  font-size: 16px; font-weight: 600;
  color: var(--nx-text);
  cursor: pointer; text-align: left; gap: 16px;
}
.nx-faq-q i { font-size: 20px; color: var(--nx-primary-2); flex-shrink: 0; }
.nx-faq-a { padding-bottom: 16px; }
.nx-faq-a p { color: var(--nx-text-muted); font-size: 15px; line-height: 1.8; margin: 0; }

/* ===== CLIENTS / TRUSTED BY ===== */
.nx-clients-section {
  padding: 40px 0;
  border-top: 1px solid var(--nx-border);
  border-bottom: 1px solid var(--nx-border);
  overflow: hidden;
}
.nx-clients-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--nx-text-muted);
  margin-bottom: 28px;
}
.nx-clients-track { overflow: hidden; }
.nx-clients-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: nx-marquee 24s linear infinite;
}
@keyframes nx-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.nx-clients-inner:hover { animation-play-state: paused; }
.nx-client-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nx-client-logo img {
  height: 28px;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.4;
  transition: opacity var(--nx-transition);
}
.nx-client-logo img:hover { opacity: 0.9; }
.nx-client-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--nx-text-muted);
  letter-spacing: .02em;
  white-space: nowrap;
}

/* ===== TESTIMONIALS ===== */
.nx-testimonial-card {
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  transition: border-color var(--nx-transition), transform var(--nx-transition);
}
.nx-testimonial-card:hover {
  border-color: var(--nx-border-2);
  transform: translateY(-4px);
}
.nx-testimonial-stars { color: #fbbf24; font-size: 13px; display: flex; gap: 3px; }
.nx-testimonial-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.75;
  color: var(--nx-text-muted);
  font-style: italic;
  margin: 0;
}
.nx-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--nx-border);
}
.nx-testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.nx-testimonial-initials {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: #fff;
  flex-shrink: 0;
}
.nx-testimonial-name { font-size: 14px; font-weight: 700; }
.nx-testimonial-meta { font-size: 12px; color: var(--nx-text-muted); margin-top: 2px; }

/* ===== BLOG ===== */
.nx-blog-cat {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--nx-primary-2);
  margin-bottom: 10px;
}
.nx-blog-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 12px; color: var(--nx-text-muted);
}
.nx-blog-lead {
  font-size: 18px; line-height: 1.7;
  color: var(--nx-text-muted);
  border-left: 3px solid var(--nx-primary);
  padding-left: 20px;
  margin-bottom: 32px;
}
.nx-blog-content {
  font-size: 16px; line-height: 1.85;
  color: #cbd5e1;
}
.nx-blog-content h2 { font-size: 22px; font-weight: 700; margin: 36px 0 16px; color: var(--nx-text); }
.nx-blog-content h3 { font-size: 18px; font-weight: 600; margin: 28px 0 12px; color: var(--nx-text); }
.nx-blog-content p  { margin-bottom: 20px; }
.nx-blog-content a  { color: var(--nx-primary-2); }
.nx-blog-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* Blog Featured */
.nx-blog-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-lg);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: border-color var(--nx-transition);
}
.nx-blog-featured:hover { border-color: var(--nx-border-2); color: inherit; }
.nx-blog-featured-img { overflow: hidden; min-height: 280px; }
.nx-blog-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.nx-blog-featured:hover .nx-blog-featured-img img { transform: scale(1.04); }
.nx-blog-featured-body { padding: 36px 36px 36px 0; display: flex; flex-direction: column; justify-content: center; }
.nx-blog-featured-title { font-size: 24px; font-weight: 800; line-height: 1.3; margin: 0 0 14px; }
.nx-blog-excerpt { color: var(--nx-text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }

/* Blog Card */
.nx-blog-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  overflow: hidden;
  height: 100%;
  transition: border-color var(--nx-transition), transform var(--nx-transition);
}
.nx-blog-card:hover { border-color: var(--nx-border-2); transform: translateY(-4px); color: inherit; }
.nx-blog-card-img { height: 200px; overflow: hidden; }
.nx-blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.nx-blog-card:hover .nx-blog-card-img img { transform: scale(1.04); }
.nx-blog-placeholder { background: var(--nx-bg-3); display: flex; align-items: center; justify-content: center; color: var(--nx-text-muted); font-size: 2rem; }
.nx-blog-card-body { padding: 20px; }
.nx-blog-card-title { font-size: 16px; font-weight: 700; margin: 0 0 10px; line-height: 1.4; }

@media (max-width: 768px) {
  .nx-blog-featured { grid-template-columns: 1fr; }
  .nx-blog-featured-body { padding: 24px; }
}

/* ===== AI SOLUTIONS / AUTOMATION ===== */
.nx-ai-features {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: flex; flex-direction: column; gap: 8px;
}
.nx-ai-features li { font-size: 13px; color: var(--nx-text-muted); }

.nx-platform-card {
  padding: 20px 12px;
  background: var(--nx-bg-3);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  height: 100%;
  transition: border-color var(--nx-transition);
}
.nx-platform-card:hover { border-color: var(--nx-border-2); }

.nx-step-card {
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  padding: 24px;
  height: 100%;
}
.nx-step-num {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: #fff;
  margin-bottom: 14px;
}
.nx-step-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.nx-step-desc  { font-size: 13px; color: var(--nx-text-muted); margin: 0; line-height: 1.6; }

/* Ensure hero content sits above the wormhole canvas (z:0) + vignette (z:2) */
.nx-hero > .container { position: relative; z-index: 3; }
.nx-hero-scroll { z-index: 3; }


/* Navbar dropdown */
.nx-dropdown {
  background: #0d1117 !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 12px !important;
  padding: 8px !important;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5) !important;
}
.nx-dropdown .dropdown-item {
  border-radius: 8px; font-size: 14px; font-weight: 500;
  color: #94a3b8 !important; padding: 10px 14px;
  transition: all .15s;
}
.nx-dropdown .dropdown-item:hover {
  background: rgba(255,255,255,.05) !important;
  color: #e2e8f0 !important;
}

/* ===================================================
   MOBILE DRAWER (sağdan kayarak açılır)
   =================================================== */

/* Hamburger button */
.nx-hamburger {
  background: none; border: none; cursor: pointer;
  padding: 6px; display: flex; flex-direction: column;
  gap: 5px; align-items: center; justify-content: center;
}
.nx-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #e2e8f0; border-radius: 2px;
  transition: all .28s cubic-bezier(.4,0,.2,1);
  transform-origin: center;
}
.nx-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nx-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nx-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay */
.nx-drawer-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 1040;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.nx-drawer-overlay.open { display: block; }

/* Drawer panel */
.nx-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(300px, 88vw);
  background: #0d1117;
  border-left: 1px solid rgba(255,255,255,.09);
  box-shadow: -16px 0 48px rgba(0,0,0,.6);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.nx-drawer.open { transform: translateX(0); }

/* Drawer header */
.nx-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.nx-drawer-close {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: #e2e8f0; font-size: 14px; cursor: pointer;
  transition: background .15s;
}
.nx-drawer-close:hover { background: rgba(255,255,255,.12); }

/* Drawer nav body */
.nx-drawer-nav {
  padding: 14px 14px 20px;
  display: flex; flex-direction: column; flex: 1;
  min-height: 0;
}
.nx-drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; border-radius: 10px;
  color: #94a3b8; text-decoration: none;
  font-weight: 500; font-size: 15px;
  transition: background .15s, color .15s;
  margin-bottom: 1px;
}
.nx-drawer-link:hover { background: rgba(255,255,255,.05); color: #e2e8f0; }
.nx-drawer-divider {
  height: 1px; background: rgba(255,255,255,.07);
  margin: 8px 0;
}
.nx-drawer-section-label {
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #475569;
  padding: 8px 14px 4px;
}

/* ===================================================
   COMPREHENSIVE MOBILE RESPONSIVE
   =================================================== */

/* ── 768px and below ── */
@media (max-width: 768px) {

  /* Navbar */
  .nx-navbar { padding: 12px 0; }
  .nx-brand-text { font-size: 16px; }

  /* Hero — navbar yüksekliği kadar (64px) + soluk nefes boşluğu */
  .nx-hero { padding-top: 72px; }
  .nx-hero .row.min-vh-100 { padding-top: 32px !important; padding-bottom: 48px !important; min-height: auto !important; }
  .nx-hero-title { font-size: clamp(1.8rem, 8vw, 2.6rem) !important; }
  .nx-hero-subtitle { font-size: 1rem; }
  .nx-hero-actions { flex-direction: column; gap: 10px; margin-top: 24px !important; }
  .nx-hero-actions .btn { width: 100%; justify-content: center; }
  .nx-hero-stats { gap: 24px !important; margin-top: 32px !important; }

  /* Sections */
  .nx-section { padding: 56px 0; }
  .nx-section-title { font-size: clamp(1.4rem, 5vw, 2rem); }
  .nx-section-label { font-size: .7rem; }
  .nx-cta-title { font-size: clamp(1.4rem, 5vw, 2rem); }

  /* Service cards */
  .nx-service-card { padding: 20px; }
  .nx-service-icon { width: 44px; height: 44px; font-size: 1.1rem; }

  /* Package cards (old class) */
  .nx-pkg-card { padding: 22px; }
  .nx-pkg-name { font-size: 16px; }

  /* Stats / counters */
  .nx-stat-num, .sol-stat-num { font-size: 1.5rem !important; }
  .nx-stats-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }

  /* CTA section */
  .nx-cta-section { padding: 56px 0; }
  .nx-cta-section .btn { width: 100%; }

  /* Footer */
  .nx-footer { padding: 48px 0 24px; }
  .nx-footer-bottom { text-align: center; gap: 12px; }

  /* Floating buttons — keep but smaller */
  .nx-floating-btns { bottom: 16px; right: 16px; }
  .nx-fab { width: 44px; height: 44px; font-size: 1.1rem; }

  /* ── Solutions index ── */
  .sol-hero { padding: 80px 0 48px; }
  .sol-hero-title { font-size: clamp(1.6rem,7vw,2.4rem); }
  .sol-stats { gap: 24px; }
  .sol-filter { gap: 6px; }
  .sol-filter-btn { padding: 6px 12px; font-size: .78rem; }
  .sol-card-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sol-card-actions { width: 100%; }
  .sol-card-actions a { flex: 1; text-align: center; }

  /* ── Solutions show ── */
  .sol-show-hero { padding: 90px 0 0; }
  .sol-sidebar { position: relative !important; top: auto !important; margin-top: 8px; }
  .sol-mockup-body { height: 200px; }
  .sol-mockup-body i { font-size: 3.5rem; }
  .sol-feature-grid { grid-template-columns: 1fr; }

  /* ── Packages (new design) ── */
  .pkg-hero { padding: 80px 0 48px; }
  .pkg-hero-title { font-size: clamp(1.5rem,6vw,2rem); }
  .pkg-visual { height: 130px; }
  .pkg-footer { padding: 14px 16px 16px; }
  .pkg-price-amount { font-size: 1.2rem; }

  /* ── Projects/Products detail ── */
  .nx-section[style*="padding-top:120px"] { padding-top: 90px !important; }

  /* ── Contact / Forms ── */
  .nx-form-card { padding: 20px; }
  .nx-contact-info { margin-top: 32px; }
}

/* ── 480px and below (small phones) ── */
@media (max-width: 480px) {
  .nx-hero-title { font-size: clamp(1.5rem, 9vw, 2rem) !important; }
  .sol-hero-title { font-size: 1.5rem; }
  .pkg-hero-title { font-size: 1.4rem; }
  .nx-section-title { font-size: 1.3rem; }
  .nx-cta-title { font-size: 1.3rem; }
  .sol-sidebar-card { padding: 18px; }
  .sol-feature-grid { gap: 8px 0; }
  .nx-cta-section .row { gap: 16px; }
  .adm-content { padding: 12px; }
}
