/* ============================================================
   ncrptx — MAIN STYLESHEET
   ============================================================ */

:root {
  --bg: #07080f;
  --bg2: #0d0f1c;
  --bg3: #13162a;
  --accent: #4f7cff;
  --accent2: #7c3aed;
  --gold: #c9a84c;
  --text: #e8eaf6;
  --text-muted: #8890b5;
  --border: rgba(79, 124, 255, 0.15);
  --card-bg: rgba(255,255,255,0.03);
  --radius: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7,8,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}

nav.scrolled { padding: 14px 60px; }

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.nav-logo-img { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo-img img { height: 28px; width: auto; }

.nav-features {
  display: flex;
  gap: 4px;
  list-style: none;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
}

.nav-feature-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 7px;
  transition: all 0.2s;
  white-space: nowrap;
  display: block;
}

.nav-feature-link:hover,
.nav-feature-link.active {
  background: rgba(79,124,255,0.12);
  color: var(--accent);
}

.nav-links { display: flex; gap: 36px; list-style: none; }

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}

.nav-cta:hover { opacity: 0.85; color: #fff !important; }

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

.nav-action-btn {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.nav-action-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(79,124,255,0.05);
}

/* Hero product links */
.hero-product-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}
.hero-product-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79,124,255,0.08);
  border: 1px solid rgba(79,124,255,0.25);
  border-radius: 10px;
  padding: 11px 20px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
}
.hero-product-btn:hover {
  border-color: var(--accent);
  background: rgba(79,124,255,0.12);
  color: var(--accent);
}

/* ---- HERO ---- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(79,124,255,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(124,58,237,0.1) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,124,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,124,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero-content { position: relative; max-width: 800px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79,124,255,0.1);
  border: 1px solid rgba(79,124,255,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(79,124,255,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79,124,255,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(79,124,255,0.05);
}

/* ---- STATS ---- */
#stats {
  padding: 60px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- SECTIONS ---- */
section { padding: 100px 60px; }

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---- SERVICES ---- */
#services { background: var(--bg2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  border-color: rgba(79,124,255,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* ---- WHY ---- */
#why { background: var(--bg); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.why-item {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}

.why-item:hover { border-color: rgba(79,124,255,0.4); }

.why-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.why-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; }

/* ---- TEAM ---- */
#team { background: var(--bg2); }

.team-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.team-card {
  max-width: 280px;
  width: 100%;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.team-card:hover {
  border-color: rgba(79,124,255,0.4);
  transform: translateY(-4px);
}

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 2px solid var(--border);
  display: block;
}

.team-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 0.8rem; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.team-bio { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ---- CONTACT ---- */
#contact {
  background: var(--bg3);
  text-align: center;
}

.contact-box {
  max-width: 560px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }

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

.contact-form button {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(79,124,255,0.3);
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79,124,255,0.4);
}

/* ---- FOOTER ---- */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 60px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 12px 24px; }
  .nav-links { display: none; }
  section { padding: 70px 24px; }
  #stats { padding: 48px 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  footer { padding: 40px 24px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
