/* ==========================
   KDV SoulWorks — UI 2026
   ========================== */

:root {
  --blue: #3d5afe;
  --blue-dk: #1a237e;
  --blue-lt: #e8eaf6;
  --blue-md: #9fa8da;
  --purple: #7c4dff;
  --text: #0d0d2b;
  --muted: #5c5c80;
  --bg: #f5f6ff;
}

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

body {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ---------- Navbar ---------- */
.kdv-navbar {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #d1d5f5;
  box-shadow: 0 2px 12px rgba(61, 90, 254, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
}
.kdv-navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.kdv-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.kdv-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.kdv-brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
}
.kdv-brand-sub {
  font-size: 0.67rem;
  color: var(--muted);
}
.kdv-nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.kdv-nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.kdv-nav-links a:hover {
  opacity: 1;
  color: var(--blue);
}
.kdv-nav-cta {
  background: var(--blue);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.kdv-nav-cta:hover {
  background: var(--blue-dk);
  color: #fff;
}

/* ---------- Hero ---------- */
.kdv-hero {
  min-height: 100vh;
  background: #0a121e;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}
.kdv-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.kdv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 30, 0.45);
  z-index: 1;
}
.kdv-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.kdv-hero-logo {
  width: clamp(220px, 55vw, 620px);
  max-width: 90%;
  height: auto;
  margin-bottom: 32px;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.3));
}
@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.kdv-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  letter-spacing: -1px;
}
.kdv-hero-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 10px;
}
.kdv-hero-tagline {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  font-style: italic;
  letter-spacing: 2px;
  margin-bottom: 44px;
}
.kdv-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #e8eaf6;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}
.kdv-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}
.kdv-btn-run {
  display: inline-block;
  background: #fff;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.97rem;
  padding: 13px 36px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.kdv-btn-run:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  color: var(--blue-dk);
}
.kdv-btn-ghost {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: background 0.2s;
}
.kdv-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.kdv-btn-lg {
  font-size: 1rem;
  padding: 14px 44px;
}

/* ---------- Shared sections ---------- */
.kdv-section {
  padding: 64px 24px;
}
.kdv-container {
  max-width: 1100px;
  margin: 0 auto;
}
.kdv-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  text-align: center;
}
.kdv-divider {
  width: 48px;
  height: 3px;
  background: var(--purple);
  border-radius: 2px;
  margin: 10px auto 42px;
}

/* ---------- Product cards ---------- */
.kdv-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.kdv-product-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #d8dcf5;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(61, 90, 254, 0.07);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.kdv-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(61, 90, 254, 0.14);
}
.kdv-product-banner {
  position: relative;
  overflow: hidden;
  height: 210px;
}
.kdv-product-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}
.kdv-product-card:hover .kdv-product-banner img {
  transform: scale(1.04);
}
.kdv-product-banner-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  backdrop-filter: blur(6px);
}
.kdv-product-banner-badge.agro {
  background: rgba(46, 125, 50, 0.85);
  color: #fff;
}
.kdv-product-banner-badge.forestry {
  background: rgba(27, 94, 32, 0.85);
  color: #fff;
}
.kdv-product-banner-badge.sports {
  background: rgba(106, 27, 154, 0.85);
  color: #fff;
}

.kdv-product-body {
  padding: 26px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.kdv-product-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-dk);
  margin-bottom: 10px;
}
.kdv-product-body > p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.kdv-feat-list {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}
.kdv-feat-list li {
  font-size: 0.84rem;
  color: var(--text);
  padding: 5px 0 5px 20px;
  border-bottom: 1px solid #eef0fb;
  position: relative;
}
.kdv-feat-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.78rem;
}
.kdv-card-btn {
  display: inline-block;
  background: var(--blue-lt);
  color: var(--blue);
  font-weight: 600;
  font-size: 0.87rem;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
  align-self: flex-start;
}
.kdv-card-btn:hover {
  background: var(--blue);
  color: #fff;
}

/* ---------- About ---------- */
.kdv-about-section {
  border-top: 1px solid #ffffff;
  border-bottom: 2px solid #636363;
  position: relative;
  overflow: hidden;
  background: url('../images/bg.jpg') center center / cover no-repeat;
}
.kdv-about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(61, 90, 254, 0.204) 0%,
    rgba(15, 72, 78, 0.35) 50%,
    rgba(10, 18, 30, 0.55) 100%
  );
  z-index: 0;
}

.kdv-about-section .kdv-container {
  position: relative;
  z-index: 1;
}
.kdv-about-section .kdv-section-title {
  color: #fff;
}
.kdv-about-section .kdv-about-tagline {
  color: rgba(255, 255, 255, 0.75);
}
.kdv-about-section .kdv-about-text > p {
  color: rgba(255, 255, 255, 0.85);
}
.kdv-about-section .kdv-focus-item {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}
.kdv-about-section .kdv-focus-item h5 {
  color: #fff;
}
.kdv-about-section .kdv-focus-item p {
  color: rgba(255, 255, 255, 0.72);
}
.kdv-about-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 52px;
  align-items: start;
}
.kdv-about-logo {
  text-align: center;
}
.kdv-about-logo img {
  width: 160px;
  height: auto;
  margin-bottom: 18px;
}
.kdv-about-tagline {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  font-style: italic;
}
.kdv-about-text > p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 32px;
}
.kdv-focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.kdv-focus-item {
  background: var(--blue-lt);
  border-radius: 14px;
  border: 1px solid #c5caf5;
  padding: 22px 18px;
}
.kdv-focus-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.kdv-focus-item h5 {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue-dk);
  margin-bottom: 6px;
}
.kdv-focus-item p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* ---------- CTA ---------- */
.kdv-cta-section {
  background: linear-gradient(135deg, #170828 0%, #0f0f0f 50%, #09114e 100%);
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  padding: 64px 24px;
  text-align: center;
}
.kdv-cta-section h2 {
  color: #fff;
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.kdv-cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 36px;
}

/* ---------- Footer ---------- */
.kdv-footer {
  background: #fff;
  border-top: 1px solid #d8dcf5;
  padding: 28px 24px;
}
.kdv-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.kdv-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.kdv-footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.kdv-footer-brand strong {
  display: block;
  font-size: 0.95rem;
  color: var(--blue);
}
.kdv-footer-brand small {
  font-size: 0.68rem;
  color: var(--muted);
}
.kdv-footer-links {
  display: flex;
  gap: 20px;
}
.kdv-footer-links a {
  font-size: 0.83rem;
  color: var(--muted);
  text-decoration: none;
}
.kdv-footer-links a:hover {
  color: var(--blue);
}
.kdv-footer-copy {
  font-size: 0.78rem;
  color: #bbb;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .kdv-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .kdv-about-grid {
    grid-template-columns: 1fr;
  }
  .kdv-about-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
  }
  .kdv-footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .kdv-footer-links {
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .kdv-section {
    padding: 40px 16px;
  }
  .kdv-hero {
    padding: 60px 16px 40px;
  }
  .kdv-nav-links {
    display: none;
  }
  .kdv-products-grid {
    grid-template-columns: 1fr;
  }
}
