/* ===============================
   DESIGN SYSTEM — BESA VENTURES
   =============================== */

:root {
  --bg-dark: #0b0e14;
  --bg-darker: #07090d;
  --bg-light: #ffffff;
  --bg-muted: #f4f6fb;
  --bg-elevated: #ffffff;

  --text-dark: #0e1117;
  --text-muted: #5c6470;
  --text-light: #ffffff;

  --primary: #4f6cff;
  --primary-dark: #3c55e6;
  --accent: #00d1b2;

  --border-light: #e3e7ee;
  --border-dark: rgba(255,255,255,0.12);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --shadow-sm: 0 4px 10px rgba(0,0,0,0.04);
  --shadow-md: 0 14px 40px rgba(0,0,0,0.08);
  --shadow-lg: 0 30px 80px rgba(0,0,0,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* LAYOUT */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===============================
   HEADER
   =============================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { height: 42px; }

.main-nav a {
  padding: 0.4rem 0;
  margin-left: 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  text-decoration: none;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

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

/* ===============================
   HERO
   =============================== */

.hero-modern {
  padding: 7rem 0;
  color: var(--text-light);
}

.hero-with-image {
  background:
    linear-gradient(rgba(11,14,20,0.85), rgba(11,14,20,0.95)),
    url("../images/hero-assembly.jpg") center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.hero-tag {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 1.4rem;
}

.hero-text h1 span { color: var(--primary); }

.hero-text p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin-bottom: 2.8rem;
}

.hero-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.tech-card {
  padding: 2.2rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-dark);
  backdrop-filter: blur(10px);
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-md);
}

/* ===============================
   BUTTONS
   =============================== */

.btn {
  display: inline-block;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 12px 30px rgba(79,108,255,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(79,108,255,0.45);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
}

/* ===============================
   SECTIONS
   =============================== */

.section { padding: 6rem 0; }

.section-muted {
  background: linear-gradient(180deg, var(--bg-muted), #ffffff);
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 3.5rem;
  text-align: center;
}

/* ===============================
   CARDS / CAPABILITIES
   =============================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.6rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 2.6rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.2rem;
}

/* ===============================
   STATS / TRUST
   =============================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  text-align: center;
}

.stat span {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

/* ===============================
   STORE
   =============================== */

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2.4rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.product-card img {
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.product-card button { margin-top: auto; }

/* ===============================
   CTA & FOOTER
   =============================== */

.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-align: center;
  padding: 5rem 0;
}

.site-footer {
  background: var(--bg-dark);
  color: #aaa;
  padding: 2.5rem 0;
  text-align: center;
}

/* ===============================
   MOBILE RESPONSIVE FIX — HOME
   =============================== */

@media (max-width: 768px) {

  .hero-modern {
    padding: 4.5rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.3rem;
    line-height: 1.2;
  }

  .hero-text p {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .hero-actions .btn {
    margin: 0;
    width: 100%;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .tech-card {
    padding: 1.6rem;
  }

  /* CAPABILITIES GRID */
  .card-grid {
    grid-template-columns: 1fr;
  }

  /* TRUST STATS */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

}
