/* =========================================================
   YANTRIC THINGS — CAN VISION
   Design System v2
   ========================================================= */

:root {
  --primary: #0F60E8;
  --navy: #07152D;
  --deep-navy: #041020;

  --text: #162238;
  --body: #526078;
  --muted: #7A8699;

  --surface: #F7F9FC;
  --light-blue: #EDF4FD;
  --border: #E2E7EF;
  --white: #FFFFFF;

  --radius: 8px;
  --radius-card: 12px;

  --font: "Inter", Arial, sans-serif;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family: var(--font);

  color: var(--text);

  background: var(--surface);

  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
  width: min(100% - 96px, 1536px);

  margin: 0 auto;
}


/* =========================================================
   HEADER
   SAME AS MAIN YANTRIC THINGS WEBSITE
   ========================================================= */

.site-header {
  height: 72px;

  background: #07152D;

  color: #FFFFFF;

  position: relative;

  z-index: 1000;
}


.header-inner {
  height: 72px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 32px;
}


/* =========================================================
   BRAND
   ========================================================= */

.brand {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  flex-shrink: 0;

  text-decoration: none;
}


.brand-mark {
  width: 36px;
  height: 36px;

  max-width: 36px;
  max-height: 36px;

  object-fit: contain;

  display: block;

  flex-shrink: 0;
}


.brand-text {
  display: inline-flex;

  align-items: baseline;

  gap: 5px;

  font-family: var(--font);

  font-size: 16px;

  line-height: 20px;

  font-weight: 600;

  letter-spacing: 0.3px;

  white-space: nowrap;
}


.brand-text strong {
  color: #FFFFFF;

  font-weight: 700;
}


.brand-text em {
  color: #0F60E8;

  font-style: normal;

  font-weight: 700;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.site-nav {
  display: flex;

  align-items: center;

  gap: 32px;
}


.site-nav a {
  position: relative;

  color: #FFFFFF;

  font-family: var(--font);

  font-size: 14px;

  line-height: 20px;

  font-weight: 500;

  white-space: nowrap;

  text-decoration: none;

  transition: color 0.2s ease;
}


.site-nav a:hover {
  color: var(--primary);
}


.site-nav a:last-child {
  color: var(--primary);

  font-weight: 600;
}


/* =========================================================
   MOBILE NAV BUTTON
   ========================================================= */

.nav-toggle {
  display: none;

  width: 42px;
  height: 42px;

  padding: 0;

  border: 0;

  background: transparent;

  align-items: center;

  justify-content: center;

  flex-direction: column;

  gap: 5px;

  cursor: pointer;
}


.nav-toggle span {
  width: 22px;
  height: 2px;

  background: #FFFFFF;

  border-radius: 2px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  width: min(100% - 96px, 1536px);

  min-height: 620px;

  margin: 0 auto;

  padding: 80px 0;

  display: grid;

  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

  align-items: center;

  gap: 64px;
}


/* =========================================================
   HERO COPY
   ========================================================= */

.hero-copy {
  max-width: 650px;
}


.eyebrow {
  margin: 0 0 12px;

  color: var(--primary);

  font-size: 12px;

  line-height: 20px;

  font-weight: 600;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}


.hero h1 {
  margin: 0;

  color: var(--text);

  font-size: 52px;

  line-height: 58px;

  font-weight: 700;

  letter-spacing: -0.03em;
}


.hero-subtitle {
  margin: 16px 0 0;

  color: var(--text);

  font-size: 20px;

  line-height: 30px;

  font-weight: 600;
}


.hero-text {
  max-width: 590px;

  margin: 16px 0 0;

  color: var(--body);

  font-size: 16px;

  line-height: 26px;
}


/* =========================================================
   FEATURE LIST
   ========================================================= */

.feature-list {
  list-style: none;

  margin: 28px 0 0;

  padding: 0;

  display: grid;

  gap: 12px;
}


.feature-list li {
  display: flex;

  align-items: center;

  gap: 10px;

  color: var(--body);

  font-size: 15px;

  line-height: 24px;
}


.feature-list li span {
  width: 22px;
  height: 22px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: var(--light-blue);

  color: var(--primary);

  font-size: 13px;

  font-weight: 700;

  flex-shrink: 0;
}


/* =========================================================
   PRODUCT STAGE
   ========================================================= */

.product-stage {
  position: relative;

  min-height: 430px;

  display: flex;

  align-items: center;

  justify-content: center;

  overflow: hidden;

  border-radius: var(--radius-card);

  background: var(--light-blue);
}


.product-glow {
  position: absolute;

  width: 320px;
  height: 320px;

  border-radius: 50%;

  background: rgba(15, 96, 232, 0.12);

  filter: blur(40px);

  pointer-events: none;
}


.product-stage img {
  position: relative;

  z-index: 1;

  width: min(88%, 560px);

  max-height: 400px;

  object-fit: contain;
}


/* =========================================================
   FEATURE STRIP
   ========================================================= */

.feature-strip {
  width: min(100% - 96px, 1536px);

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  border-top: 1px solid var(--border);

  border-bottom: 1px solid var(--border);

  background: var(--white);
}


.feature-strip > div {
  min-height: 120px;

  padding: 24px;

  display: grid;

  grid-template-columns: 40px 1fr;

  grid-template-rows: auto auto;

  column-gap: 12px;

  align-items: center;

  border-right: 1px solid var(--border);
}


.feature-strip > div:last-child {
  border-right: 0;
}


.feature-icon {
  width: 40px;
  height: 40px;

  grid-row: 1 / 3;

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--primary);

  background: var(--light-blue);

  border-radius: 8px;

  font-size: 20px;
}


.feature-icon svg {
  width: 22px;
  height: 22px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.6;
}


.feature-strip b {
  color: var(--text);

  font-size: 15px;

  line-height: 20px;

  font-weight: 600;
}


.feature-strip small {
  color: var(--muted);

  font-size: 13px;

  line-height: 20px;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.product-info-section,
.dashboard-section {
  width: min(100% - 96px, 1536px);

  margin: 0 auto;

  padding: 96px 0 0;
}


.section-heading {
  max-width: 800px;

  margin-bottom: 40px;
}


.section-heading h2,
.about-section h2,
.contact-section h2 {
  margin: 0;

  color: var(--text);

  font-size: 32px;

  line-height: 40px;

  font-weight: 700;

  letter-spacing: -0.02em;
}


.section-lead,
.dashboard-lead {
  margin: 12px 0 0;

  color: var(--body);

  font-size: 16px;

  line-height: 26px;
}


/* =========================================================
   INFO CARDS
   ========================================================= */

.info-grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 16px;
}


.info-card {
  padding: 24px;

  background: var(--white);

  border: 1px solid var(--border);

  border-radius: var(--radius-card);
}


.info-icon {
  width: 40px;
  height: 40px;

  margin-bottom: 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 8px;

  background: var(--light-blue);

  color: var(--primary);

  font-size: 13px;

  font-weight: 700;
}


.info-card h3 {
  margin: 0;

  color: var(--text);

  font-size: 18px;

  line-height: 24px;

  font-weight: 600;
}


.info-card p {
  margin: 12px 0 16px;

  color: var(--body);

  font-size: 14px;

  line-height: 22px;
}


.info-card ul {
  margin: 0;

  padding-left: 18px;

  color: var(--body);

  font-size: 13px;

  line-height: 22px;
}


.info-card li {
  margin-bottom: 4px;
}


/* =========================================================
   SPEC STRIP
   ========================================================= */

.spec-strip {
  margin-top: 32px;

  display: grid;

  grid-template-columns: repeat(5, 1fr);

  border: 1px solid var(--border);

  border-radius: var(--radius-card);

  overflow: hidden;

  background: var(--white);
}


.spec-strip > div {
  min-height: 92px;

  padding: 20px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  gap: 5px;

  border-right: 1px solid var(--border);
}


.spec-strip > div:last-child {
  border-right: 0;
}


.spec-strip span {
  color: var(--muted);

  font-size: 11px;

  line-height: 18px;

  font-weight: 600;

  letter-spacing: 0.06em;
}


.spec-strip b {
  color: var(--text);

  font-size: 14px;

  line-height: 20px;

  font-weight: 600;
}


.spec-note {
  margin: 12px 0 0;

  color: var(--muted);

  font-size: 12px;

  line-height: 20px;
}


/* =========================================================
   DASHBOARD / USAGE
   ========================================================= */

.usage-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 20px;
}


.usage-card {
  overflow: hidden;

  background: var(--white);

  border: 1px solid var(--border);

  border-radius: var(--radius-card);
}


.usage-image {
  height: 320px;

  overflow: hidden;

  background: var(--light-blue);
}


.usage-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


.usage-content {
  padding: 28px;
}


.usage-content h3 {
  margin: 4px 0 10px;

  color: var(--text);

  font-size: 24px;

  line-height: 32px;

  font-weight: 700;
}


.usage-content p {
  margin: 0;

  color: var(--body);

  font-size: 15px;

  line-height: 24px;
}


.usage-tags {
  margin-top: 20px;

  display: flex;

  flex-wrap: wrap;

  gap: 8px;
}


.usage-tags span {
  padding: 7px 10px;

  border-radius: 6px;

  background: var(--light-blue);

  color: var(--primary);

  font-size: 12px;

  line-height: 18px;

  font-weight: 600;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
  width: min(100% - 96px, 1100px);

  margin: 0 auto;

  padding: 96px 0;

  text-align: center;
}


.about-section h2 {
  max-width: 900px;

  margin: 0 auto;
}


.about-section > p {
  max-width: 700px;

  margin: 16px auto 0;

  color: var(--body);

  font-size: 16px;

  line-height: 26px;
}


/* =========================================================
   CONTACT CTA
   ========================================================= */

.contact-section {
  width: min(100% - 96px, 1536px);

  margin: 0 auto 96px;

  padding: 40px 48px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 32px;

  background: var(--navy);

  border-radius: var(--radius-card);

  color: var(--white);
}


.contact-section .eyebrow {
  color: #6BB6FF;
}


.contact-section h2 {
  color: var(--white);
}


.btn {
  min-height: 48px;

  padding: 0 20px;

  border-radius: 8px;

  border: 1px solid transparent;

  font-size: 13px;

  line-height: 20px;

  font-weight: 600;

  cursor: pointer;

  white-space: nowrap;
}


.btn-primary {
  background: var(--primary);

  color: var(--white);
}


.btn-primary:hover {
  background: #0B55CE;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  min-height: 80px;

  padding: 24px 48px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;

  background: var(--deep-navy);

  color: rgba(255, 255, 255, 0.65);

  font-size: 13px;

  line-height: 20px;
}


/* =========================================================
   TOAST
   ========================================================= */

.toast {
  position: fixed;

  left: 50%;

  bottom: 24px;

  transform: translateX(-50%);

  max-width: calc(100% - 40px);

  padding: 12px 16px;

  border-radius: 8px;

  background: var(--navy);

  color: var(--white);

  font-size: 13px;

  line-height: 20px;

  opacity: 0;

  pointer-events: none;

  transition: opacity 0.2s ease;

  z-index: 2000;
}


.toast.show {
  opacity: 1;
}


/* =========================================================
   FOCUS
   ========================================================= */

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(15, 96, 232, 0.3);

  outline-offset: 2px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

  .container,
  .hero,
  .feature-strip,
  .product-info-section,
  .dashboard-section,
  .contact-section {
    width: calc(100% - 80px);
  }


  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  .spec-strip {
    grid-template-columns: repeat(3, 1fr);
  }


  .spec-strip > div:nth-child(3) {
    border-right: 0;
  }


  .spec-strip > div:nth-child(n + 4) {
    border-top: 1px solid var(--border);
  }


  .site-nav {
    gap: 22px;
  }


  .site-nav a {
    font-size: 13px;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

  .site-header {
    height: 68px;
  }


  .container {
    width: calc(100% - 40px);
  }


  .header-inner {
    height: 68px;
  }


  .brand-mark {
    width: 34px;
    height: 34px;
  }


  .brand-text {
    font-size: 15px;
  }


  .nav-toggle {
    display: flex;
  }


  .site-nav {
    position: absolute;

    top: 68px;

    left: 0;

    right: 0;

    padding: 12px 20px 20px;

    display: none;

    flex-direction: column;

    align-items: stretch;

    gap: 0;

    background: var(--navy);

    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }


  .site-nav.open {
    display: flex;
  }


  .site-nav a {
    padding: 15px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);

    font-size: 14px;
  }


  .site-nav a:last-child {
    border-bottom: 0;
  }


  .hero {
    width: calc(100% - 40px);

    padding: 48px 0;

    min-height: auto;

    grid-template-columns: 1fr;

    gap: 40px;
  }


  .hero h1 {
    font-size: 40px;

    line-height: 48px;
  }


  .hero-subtitle {
    font-size: 18px;

    line-height: 28px;
  }


  .product-stage {
    min-height: 320px;
  }


  .product-stage img {
    width: 88%;
  }


  .feature-strip {
    width: calc(100% - 40px);

    grid-template-columns: 1fr 1fr;
  }


  .feature-strip > div {
    border-bottom: 1px solid var(--border);
  }


  .feature-strip > div:nth-child(2) {
    border-right: 0;
  }


  .feature-strip > div:nth-child(3),
  .feature-strip > div:nth-child(4) {
    border-bottom: 0;
  }


  .product-info-section,
  .dashboard-section {
    width: calc(100% - 40px);

    padding-top: 64px;
  }


  .section-heading {
    margin-bottom: 28px;
  }


  .section-heading h2,
  .about-section h2,
  .contact-section h2 {
    font-size: 28px;

    line-height: 36px;
  }


  .info-grid {
    grid-template-columns: 1fr;
  }


  .spec-strip {
    grid-template-columns: 1fr 1fr;
  }


  .spec-strip > div {
    border-right: 1px solid var(--border);
  }


  .spec-strip > div:nth-child(2n) {
    border-right: 0;
  }


  .usage-grid {
    grid-template-columns: 1fr;
  }


  .usage-image {
    height: 260px;
  }


  .about-section {
    width: calc(100% - 40px);

    padding: 64px 0;
  }


  .contact-section {
    width: calc(100% - 40px);

    margin-bottom: 64px;

    padding: 32px 24px;

    flex-direction: column;

    align-items: flex-start;
  }


  .contact-section .btn {
    width: 100%;
  }


  footer {
    padding: 24px 20px;

    flex-direction: column;

    align-items: flex-start;

    gap: 8px;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 390px) {

  .container,
  .hero,
  .feature-strip,
  .product-info-section,
  .dashboard-section,
  .about-section,
  .contact-section {
    width: calc(100% - 32px);
  }


  .hero h1 {
    font-size: 36px;

    line-height: 44px;
  }


  .feature-strip {
    grid-template-columns: 1fr;
  }


  .feature-strip > div {
    border-right: 0 !important;

    border-bottom: 1px solid var(--border);
  }


  .feature-strip > div:last-child {
    border-bottom: 0;
  }


  .spec-strip {
    grid-template-columns: 1fr;
  }


  .spec-strip > div {
    border-right: 0 !important;

    border-bottom: 1px solid var(--border);
  }


  .spec-strip > div:last-child {
    border-bottom: 0;
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}