* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #0f172a;
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e2e8f0;
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
  font-weight: 700;
}

.brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #1d4ed8;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-text {
  font-size: 1.2rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.main-nav a {
  color: #334155;
  font-size: 0.97rem;
  font-weight: 600;
}

.main-nav a:hover {
  color: #1d4ed8;
}

/* Home Hero */
.hero {
  padding: 56px 0 72px;
  background:
    radial-gradient(circle at top left, #dbeafe 0%, transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #2563eb;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 4.8vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 620px;
}

.hero-text {
  margin: 0 0 26px;
  max-width: 600px;
  color: #475569;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(29, 78, 216, 0.22);
}

.btn-primary:hover {
  background: #1841b8;
}

.btn-secondary {
  border: 1px solid #cbd5e1;
  color: #0f172a;
  background: #ffffff;
}

.btn-secondary:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-visual {
  background: #ffffff;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
}

.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 18px;
}

/* Intro Strip */
.intro-strip {
  padding: 0 0 26px;
}

.intro-strip-inner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.mini-point {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini-point strong {
  color: #0f172a;
  font-size: 1rem;
}

.mini-point span {
  color: #64748b;
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 86px 0;
}

.soft-bg {
  background: #f8fafc;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-heading p {
  margin: 0;
  color: #64748b;
  font-size: 1.04rem;
}

/* Cards */
.cards {
  display: grid;
  gap: 22px;
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: #64748b;
}

/* Showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}

.showcase-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.showcase-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #f8fafc;
}

.showcase-body {
  padding: 22px;
}

.showcase-body h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.showcase-body p {
  margin: 0;
  color: #64748b;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
}

.cta-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: start;
}

.cta-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
}

.cta-copy p {
  margin: 0;
  color: #cbd5e1;
}

.contact-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 24px;
  color: #ffffff;
}

.contact-card p {
  margin: 0 0 10px;
}

/* Footer */
.site-footer {
  background: #020617;
  color: #94a3b8;
}

.footer-inner {
  padding: 22px 0;
  text-align: center;
  font-size: 0.95rem;
}

/* Install groups */
.install-group + .install-group {
  margin-top: 54px;
}

.group-heading {
  margin-bottom: 18px;
}

.group-heading h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  color: #0f172a;
}

.group-heading p {
  margin: 0;
  color: #64748b;
}

/* Page hero */
.page-hero {
  padding: 56px 0 72px;
  background:
    radial-gradient(circle at top left, #dbeafe 0%, transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.page-hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 680px;
}

.page-hero-copy p {
  color: #475569;
  font-size: 1.08rem;
  max-width: 640px;
}

.page-hero-image {
  background: #ffffff;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
}

.page-hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 18px;
}

/* Case highlight */
.case-highlight-box {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
}

.case-highlight-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.case-highlight-copy {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.case-highlight-copy h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

.case-highlight-copy ul {
  margin: 0;
  padding-left: 20px;
}

.case-highlight-copy li {
  margin-bottom: 10px;
  color: #475569;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

/* Responsive */
@media (max-width: 1100px) {
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .header-inner {
    padding: 16px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-grid,
  .showcase-grid,
  .cta-box,
  .cards-3,
  .cards-4,
  .intro-strip-inner,
  .page-hero-grid,
  .case-highlight-box,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    padding: 42px 0 56px;
  }

  .hero-visual img,
  .page-hero-image img,
  .case-highlight-image img,
  .showcase-card img {
    height: auto;
  }

  .main-nav {
    gap: 16px;
  }
}

.card-link {
  display: block;
  color: inherit;
}

.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 860px) {
  .cards-2 {
    grid-template-columns: 1fr;
  }
}