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

:root {
  --bg-dark: #020817;
  --bg-deep: #061127;
  --surface: rgba(10, 22, 45, 0.72);
  --surface-2: rgba(255, 255, 255, 0.04);
  --text-light: #f8fafc;
  --muted: #cbd5e1;
  --muted-2: #94a3b8;
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --secondary: #2563eb;
  --border: rgba(255, 255, 255, 0.08);
  --white: #ffffff;
  --nav-bg: rgba(12, 18, 32, 0.55);
  --nav-border: rgba(255, 255, 255, 0.06);
  --brand-sub: rgba(231, 238, 252, 0.72);
  --footer-bg: #07111f;
  --footer-border: rgba(255, 255, 255, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-light);
  line-height: 1.5;
  overflow-x: hidden;
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(34, 197, 94, 0.14), transparent 65%),
    radial-gradient(700px 500px at 15% 30%, rgba(99, 102, 241, 0.12), transparent 60%),
    radial-gradient(700px 500px at 85% 35%, rgba(34, 197, 94, 0.1), transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 55%, #040711 100%);
}

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

a {
  text-decoration: none;
  color: inherit;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* =========================
   Navbar
========================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nav-border);
}

.nav-wrapper {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}

.nav-left {
  display: flex;
  align-items: center;
  min-width: 0;
}

.nav-right {
  display: flex;
  align-items: center;
}

.nk-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.nk-logo-ring {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.25), rgba(34, 197, 94, 0.05) 55%, transparent 70%),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 6px rgba(34, 197, 94, 0.08),
    0 10px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  flex-shrink: 0;
}

.nk-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45));
}

.nk-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
}

.nk-brand-title {
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: 15px;
  line-height: 1.1;
  color: #ffffff;
  white-space: nowrap;
}

.nk-brand-sub {
  font-size: 12px;
  color: var(--brand-sub);
  margin-top: 2px;
  white-space: nowrap;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s ease;
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

.menu-toggle i {
  font-size: 18px;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 999px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active {
  color: #ffffff;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.28);
}

/* =========================
   Hero
========================= */

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(2, 8, 23, 0.62), rgba(2, 8, 23, 0.8)),
    url("https://images.unsplash.com/photo-1592982537447-6f2a6a0f7d2a?auto=format&fit=crop&w=1600&q=80")
      center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.12), transparent 30%),
    radial-gradient(circle at 80% 25%, rgba(34, 197, 94, 0.14), transparent 28%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.45));
  z-index: 1;
}

.hero-bg-shapes .blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.blur-one {
  width: 240px;
  height: 240px;
  background: rgba(34, 197, 94, 0.16);
  top: 18%;
  left: 12%;
}

.blur-two {
  width: 260px;
  height: 260px;
  background: rgba(37, 99, 235, 0.14);
  bottom: 15%;
  right: 12%;
}

.blur-three {
  width: 180px;
  height: 180px;
  background: rgba(14, 165, 233, 0.1);
  top: 38%;
  right: 35%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.08;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 22px;
}

.hero h1 span {
  display: block;
}

.hero p {
  max-width: 760px;
  margin: 0 auto 32px;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

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

.btn {
  min-width: 190px;
  padding: 15px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: 0.3s ease;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 14px 35px rgba(34, 197, 94, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(34, 197, 94, 0.3);
}

.hero-stats {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-stat-card {
  min-width: 130px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.hero-stat-card h3 {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
}

.hero-stat-card p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

/* =========================
   Quick Stats
========================= */

.quick-stats {
  padding: 34px 0 24px;
  background: #f8fafc;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.stat-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f9e44;
  font-size: 20px;
  background: #effaf2;
}

.stat-card h3 {
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 4px;
}

.stat-card p {
  color: #6b7280;
  font-size: 14px;
}

/* =========================
   Solutions
========================= */

.solutions-section {
  padding: 72px 0;
  background: #f8fafc;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #1f2937;
  margin-bottom: 12px;
  font-weight: 800;
}

.section-head p {
  color: #6b7280;
  font-size: 1.05rem;
}

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

.solution-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.solution-image {
  position: relative;
  height: 170px;
  overflow: hidden;
}

.solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-icon {
  position: absolute;
  left: 14px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #2f9e44;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 10px 20px rgba(47, 158, 68, 0.2);
}

.solution-body {
  padding: 18px 16px 18px;
}

.solution-body h3 {
  color: #1f2937;
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.solution-body p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tags span {
  font-size: 12px;
  color: #6b7280;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 6px 10px;
  border-radius: 8px;
}

/* =========================
   Assistant Section
========================= */

.assistant-section {
  padding: 78px 0 90px;
  background: #ffffff;
}

.assistant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.assistant-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e5e7eb;
  color: #1f2937;
  background: #ffffff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.assistant-left h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: #1f2937;
  margin-bottom: 18px;
}

.assistant-left > p {
  font-size: 1.1rem;
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 560px;
}

.assistant-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #2f9e44;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: #effaf2;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 1.05rem;
  color: #1f2937;
  margin-bottom: 4px;
}

.feature-item p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
}

.assistant-btn {
  min-width: 170px;
}

.chat-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.chat-avatar img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.chat-header h4 {
  color: #1f2937;
  font-size: 1rem;
  margin-bottom: 4px;
}

.chat-header p {
  color: #6b7280;
  font-size: 13px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  display: inline-block;
  border-radius: 50%;
  margin-right: 6px;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 16px;
}

.message {
  max-width: 92%;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.65;
}

.message.bot {
  background: #f3f4f6;
  color: #374151;
  align-self: flex-start;
  border: 1px solid #e5e7eb;
}

.message.user {
  background: #43a047;
  color: #ffffff;
  align-self: flex-end;
}

/* =========================
   Footer
========================= */

.footer {
  background: var(--footer-bg);
  color: #ffffff;
  padding: 60px 0 0;
  border-top: 1px solid var(--footer-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding-bottom: 32px;
}

.footer-col h3,
.footer-col h4 {
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-col h3 {
  font-size: 24px;
  font-weight: 800;
}

.footer-col h4 {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.footer-col p,
.footer-col a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.8;
}

.footer-col a {
  display: inline-block;
  margin-bottom: 10px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-col a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-brand p {
  max-width: 320px;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 15px;
  transition: all 0.25s ease;
  margin-bottom: 0;
}

.social-icons a:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0 22px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1100px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .assistant-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .nav-wrapper {
    min-height: 78px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-right {
    position: static;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(11, 16, 30, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    border-radius: 12px;
    padding: 12px 14px;
  }

  .hero {
    min-height: auto;
    padding: 90px 0 70px;
  }

  .hero-content {
    padding: 30px 0;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

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

  .solutions-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100%, 92%);
  }

  .nav-wrapper {
    min-height: 72px;
  }

  .nk-logo-ring {
    width: 46px;
    height: 46px;
  }

  .nk-logo {
    width: 30px;
    height: 30px;
  }

  .nk-brand-title {
    font-size: 14px;
  }

  .nk-brand-sub {
    font-size: 11px;
  }

  .section-head h2,
  .assistant-left h2 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p,
  .assistant-left > p {
    font-size: 15px;
    line-height: 1.75;
  }

  .solution-body h3 {
    font-size: 1.2rem;
  }

  .footer {
    padding-top: 50px;
  }

  .footer-col h3 {
    font-size: 22px;
  }

  .footer-col h4 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .nav-wrapper {
    gap: 12px;
  }

  .nk-brand {
    gap: 10px;
  }

  .nk-brand-sub {
    display: none;
  }

  .nk-brand-title {
    font-size: 13px;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .hero h1 {
    font-size: 1.85rem;
    line-height: 1.15;
  }

  .hero p {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .btn {
    min-width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }

  .chat-box {
    padding: 16px;
  }

  .message {
    max-width: 100%;
  }

  .footer-col p,
  .footer-col a,
  .footer-bottom p {
    font-size: 14px;
  }

  .social-icons a {
    width: 40px;
    height: 40px;
  }
}