:root {
  --bg: #f4f7fb;
  --panel: #ffffff;
  --panel-alt: #eef4fa;
  --text: #182638;
  --muted: #5d6a7d;
  --primary: #1a3658;
  --primary-dark: #102a45;
  --secondary: #d5b5da;
  --accent: #f2c3d1;
  --success: #1d9d6c;
  --line: rgba(24, 38, 56, 0.1);
  --shadow: 0 18px 40px rgba(16, 42, 69, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p, ul, ol {
  margin-top: 0;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 42, 69, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar {
  background: #0d1d2f;
  color: rgba(255,255,255,0.82);
  font-size: 0.85rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 42px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--secondary), #7c90c8);
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  font-weight: 800;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: rgba(255,255,255,0.84);
  font-weight: 600;
}

.primary-nav a {
  transition: color 0.2s ease;
}

.primary-nav a:hover {
  color: white;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f1c3d2, #d4b5df);
  color: #102a45;
  font-weight: 700;
}

.hero {
  background: radial-gradient(circle at top left, rgba(199, 220, 255, 0.8), transparent 35%),
    linear-gradient(135deg, #edf4ff 0%, #f9eaf6 50%, #eff6ff 100%);
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem;
  background: rgba(26, 54, 88, 0.06);
  border: 1px solid rgba(26, 54, 88, 0.08);
  border-radius: 999px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-copy h1,
.page-hero h1,
.section-head h2 {
  margin: 1rem 0 0.8rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 620px;
}

.hero-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #2d5e8d);
  color: #fff;
  box-shadow: 0 18px 30px rgba(26, 54, 88, 0.18);
}

.btn-secondary {
  background: #fff;
  border-color: rgba(26, 54, 88, 0.12);
  color: var(--primary);
}

.hero-visual {
  position: relative;
}

.machine-frame {
  position: relative;
  padding: 1rem;
  border-radius: 36px;
  background: linear-gradient(160deg, rgba(255,255,255,0.8), rgba(221, 233, 244, 0.7));
  box-shadow: var(--shadow);
}

.machine-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 28px;
  border: 1px solid rgba(26, 54, 88, 0.08);
}

.machine-frame img {
  border-radius: 24px;
  min-height: 420px;
  object-fit: cover;
}

.stats {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.1rem;
  box-shadow: 0 8px 24px rgba(16, 42, 69, 0.06);
}

.stat-value {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 740px;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-head p {
  color: var(--muted);
  font-size: 1.03rem;
}

.feature-grid,
.product-grid,
.service-grid,
.contact-grid {
  display: grid;
  gap: 1.4rem;
}

.video-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #dfeaf8;
  border: 1px solid var(--line);
  box-shadow: 0 18px 32px rgba(16, 42, 69, 0.08);
}

.video-panel video {
  width: 100%;
  min-height: 320px;
  height: auto;
  display: block;
  background: #dfeaf8;
}

.machine-product-image {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  background: #f3f7fb;
  display: block;
}

.operation-video {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #dfeaf8;
  display: block;
}

.market-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.market-gallery img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 14px 28px rgba(16, 42, 69, 0.08);
}

.variety-image {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 18px;
  margin: 0 0 1rem;
  background: #f3f7fb;
  box-shadow: 0 12px 22px rgba(16, 42, 69, 0.06);
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card, .product-card, .service-card, .info-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 28px rgba(16,42,69,0.06);
}

.feature-card {
  padding: 1.5rem 1.2rem;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(26,54,88,.1), rgba(213,181,218,.3));
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card h3,
.product-card h3,
.service-card h3 {
  margin: 0 0 0.65rem;
}

.feature-card p,
.product-card p,
.service-card p,
.info-panel p,
.info-panel li,
.contact-card p,
.contact-card li,
.detail-list li {
  color: var(--muted);
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #e7edf5;
}

.product-card .machine-photo,
.product-card .machine-product-image {
  height: auto;
  max-height: 420px;
  object-fit: contain;
  background: #f3f7fb;
}

.product-card .body {
  padding: 1.3rem 1.2rem 1.5rem;
}

.badge {
  display: inline-block;
  padding: 0.38rem 0.7rem;
  background: rgba(26,54,88,0.08);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.product-card ul,
.service-card ul,
.detail-list,
.contact-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), #234a78 45%, #49679d);
  color: #fff;
  border-radius: 28px;
  padding: 2.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.cta-banner h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.page-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, rgba(26,54,88,0.96), rgba(46,73,110,0.92));
  color: #fff;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  max-width: 760px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.6rem;
}

.info-panel {
  padding: 1.6rem;
}

.detail-list {
  display: grid;
  gap: 0.5rem;
  list-style: none;
  padding-left: 0;
}

.detail-list li {
  position: relative;
  padding-left: 1.2rem;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.5rem;
  border-radius: 22px;
}

.contact-card h3 {
  margin-top: 0;
}

.contact-card ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.55rem;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 1.5rem;
}

.service-card .tag {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer {
  background: #0b1728;
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.8rem;
}

.site-footer h4 {
  color: white;
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-bottom {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .hero-grid,
  .feature-grid,
  .product-grid,
  .about-grid,
  .grid-two,
  .footer-grid,
  .contact-grid,
  .market-gallery {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem 0;
  }

  .primary-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .topbar-inner {
    flex-direction: column;
    justify-content: center;
    padding: 0.5rem 0;
  }

  .hero {
    padding-top: 3rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
  }

  .nav-cta {
    width: 100%;
  }

  .primary-nav {
    width: 100%;
    gap: 0.8rem 1.3rem;
  }
}
