:root {
  --page-bg: #f3efe6;
  --text-main: #2e3f4f;
  --text-secondary: #5a738a;
  --text-muted: #6b7c72;

  --white: #ffffff;
  --border-soft: rgba(0, 0, 0, 0.08);
  --border-lighter: rgba(0, 0, 0, 0.05);

  --card-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  --panel-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  --image-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);

  --quick-color: #E97132;
  --stock-color: #7FC250;
  --connect-color: #FFC000;
}

/* RESET / BASE */

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--page-bg);
  color: var(--text-main);
}

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

/* LAYOUT */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px;
  text-align: center;
}

main.container {
  margin-top: 0;
}

/* TYPOGRAPHY */

h1 {
  font-size: 48px;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.subtitle {
  font-size: 26px;
  margin: 0 auto 34px;
  max-width: 760px;
  color: var(--text-secondary);
  line-height: 1.2;
}

.description {
  font-size: 18px;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

.small-text {
  font-size: 20px;
}

.muted {
  color: var(--text-muted);
}

.brand-quick {
  color: var(--quick-color);
}
.brand-stock {
  color: var(--stock-color)
}
.brand-connect {
  color: var(--connect-color)
}

/* HEADER / NAVIGATION */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  margin-bottom: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  display: block;
  width: auto;
  height: 45px;
}

.nav-right {
  display: flex;
  gap: 24px;
}

.nav-right a {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 15px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.nav-right a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-main);
}

.nav-right a.active {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-main);
}

/* PRODUCT BAR */

.product-bar {
  position: sticky;
  top: 55px;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
}

.product-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.product-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.4px;
  text-align: left;
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.install-button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 8px;
  background: #5f7fa6;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.install-button:hover {
  background: #4f6f96;
  transform: translateY(-1px);
}

/* HOMEPAGE */

.hero {
  max-width: 820px;
  margin: 0 auto 30px;
}

.card-container {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  flex: 1;
  min-width: 220px;
  max-width: 260px;
  padding: 24px;
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  text-align: center;
  color: var(--white);
  transition: all 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
  background: #4f6f96;
}

.card-quick {
  background: #7f99b8;
}

.card-stock {
  background: #5f7fa6;
}

.card-connect {
  background: #3f5f86;
}

.card-title {
  font-size: 40px;
  font-weight: 600;
}

.card-text {
  margin-top: 10px;
  font-size: 16px;
}

/* PRODUCT PAGE HERO */

.hero-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-top: 20px;
}

.hero-text {
  flex: 1;
  text-align: left;
}

.hero-text .subtitle,
.hero-text .description {
  margin-left: 0;
  margin-right: 0;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.hero-image img {
  width: 100%;
  max-width: 460px;
  height: 320px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: var(--image-shadow);
}

/* BENEFITS SECTION */

.benefits-section {
  margin-top: 50px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.benefit-card {
  padding: 24px;
  border: 1px solid var(--border-lighter);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: var(--panel-shadow);
  text-align: left;
}

.benefit-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
  color: var(--text-main);
}

.benefit-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-main);
}

/* FEATURE SECTIONS */

.feature-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
}

.feature-section.reverse {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.feature-section.reverse .feature-image {
  justify-content: flex-end;
}

.feature-image img {
  width: 100%;
  max-width: 460px;
  height: 320px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: var(--image-shadow);
}

.feature-text {
  flex: 1;
  text-align: left;
}

.feature-text h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.2;
}

.feature-text p {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.6;
}

/* OPTIONAL IMAGE BLOCK */

.image-block {
  margin-top: 60px;
}

.image-block img {
  width: 100%;
  max-width: 700px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  opacity: 0.5;
}

/* FOOTER */

.site-footer {
  margin-top: 80px;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-muted);
}

.footer-right a {
  color: var(--text-muted);
}

.footer-right a:hover {
  color: var(--text-main);
}

/* RESPONSIVE */

@media (max-width: 800px) {
  .container {
    padding: 20px;
  }

  .nav {
    padding: 10px 20px;
  }

  .product-bar-inner {
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .product-actions {
    justify-content: flex-start;
  }

  .hero-split {
    flex-direction: column;
    text-align: center;
  }

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

  .hero-text .subtitle,
  .hero-text .description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image {
    justify-content: center;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .feature-section,
  .feature-section.reverse {
    flex-direction: column;
    text-align: center;
  }

  .feature-image,
  .feature-section.reverse .feature-image {
    justify-content: center;
  }

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}