/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:    #4f6ef7;
  --brand-dk: #3b57e0;
  --dark:     #0d1024;
  --dark-2:   #141830;
  --dark-3:   #1b2040;
  --light-bg: #f5f6fc;
  --text:     #2c2f4a;
  --muted:    #6b7090;
  --border:   #e4e6f4;
  --radius:   10px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 16, 36, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

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

.nav-logo-img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-contact {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.nav-contact:hover { color: #fff; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--dark);
  padding: 108px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(79,110,247,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
}

.hero-headline {
  font-size: clamp(38px, 7vw, 62px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  max-width: 540px;
  margin: 0 auto 38px;
  line-height: 1.7;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 13px 28px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover {
  background: var(--brand-dk);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

/* ── Section label ────────────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  text-align: center;
}

/* ── Philosophy ───────────────────────────────────────────── */
.philosophy {
  background: var(--light-bg);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.phil-container {
  max-width: 640px;
  margin: 0 auto;
}

.phil-text { text-align: center; }

.phil-text h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.phil-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.phil-text p:last-of-type { margin-bottom: 0; }

.phil-sign {
  font-size: 14px !important;
  color: #aab0cc !important;
  margin-top: 28px !important;
  font-style: italic;
}

/* ── Products ─────────────────────────────────────────────── */
.products {
  padding: 80px 0;
  background: #fff;
}

/* Unified ENVoice showcase card */
.envoice-card {
  background: var(--dark);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.22);
}

.envoice-info {
  padding: 32px 36px 36px;
}

.envoice-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.product-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(79,110,247,0.18);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.product-name {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0;
}

.product-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.product-features li {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  padding-left: 18px;
  position: relative;
}

.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
  font-size: 12px;
  top: 1px;
}

/* one-time badge in header */
.badge-inner {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-align: center;
  min-width: 110px;
  flex-shrink: 0;
}

.badge-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.badge-model {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

/* ── Carousel ─────────────────────────────────────────────── */
.carousel {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  user-select: none;
}

.carousel-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
  z-index: 2;
}
.carousel-btn:hover { background: rgba(255,255,255,0.25); }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 0 14px;
  background: var(--dark);
}

.carousel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: var(--brand);
  transform: scale(1.25);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 20px;
  width: auto;
  display: block;
}

.footer-sep { color: rgba(255,255,255,0.2); font-size: 14px; }

.footer-link {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color 0.15s;
}
.footer-link:hover { color: #fff; }

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero { padding: 64px 0 72px; }
  .hero-sub { font-size: 15px; }

  .envoice-info { padding: 24px 20px 28px; }

  .envoice-header { flex-direction: column; gap: 12px; }

  .carousel-slide img { height: 220px; }

  .carousel-btn { display: none; }
}
