:root {
  --dark: #111827;
  --text: #4b5871;
  --muted: #77839a;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.64);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.82);
  --blue: #4a91ff;
  --purple: #7b3ff4;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-soft: 0 24px 80px rgba(84, 104, 152, 0.14);
  --shadow-card: 0 18px 50px rgba(84, 104, 152, 0.18);
  --content: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
 font-family: 'Roboto', Arial, sans-serif;
  color: var(--dark);
  background:
    radial-gradient(circle at 18% 8%, rgba(182, 225, 255, 0.95) 0, transparent 32%),
    radial-gradient(circle at 88% 4%, rgba(224, 202, 255, 0.94) 0, transparent 34%),
    linear-gradient(112deg, #eef9ff 0%, #e8f4ff 38%, #efe7ff 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -2;
  filter: blur(20px);
}

body::before {
  left: -140px;
  top: 480px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(185, 226, 255, 0.54);
}

body::after {
  right: -180px;
  top: 540px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: rgba(214, 194, 255, 0.62);
}

img {
  display: block;
  max-width: 100%;
}

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

.section {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  width: min(var(--content), calc(100% - 48px));
  min-height: 50px;
  margin: 16px auto 0;
  padding: 9px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  box-shadow: 0 14px 38px rgba(80, 100, 150, 0.10);
  backdrop-filter: blur(18px);
}

.logo {
  justify-self: start;
  width: 83px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.main-nav a {
  padding: 8px 15px;
  border-radius: 999px;
  color: #33405a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 255, 255, 0.72);
  color: #172033;
}

.header-cta {
  justify-self: end;
  min-width: 86px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 12px 26px rgba(99, 91, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover,
.gradient-link:hover,
.white-button:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  appearance: none;
  width: 42px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: #172033;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  padding: 34px 0 44px;
  text-align: center;
}



.hero h1 {
  max-width: 960px;
  margin: 0 auto;
  color: #111827;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, #3988ff 0%, #7d3ff1 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  max-width: 720px;
  margin: 28px auto 0;
  color: #5e6a80;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
}

.section-heading {
  text-align: center;
}

.section-heading h2,
.cta-card h2,
.contacts-text h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 900;
}

/* About Us */

.about {
  padding-top: 100px;
  padding-bottom: 100px;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  margin: 0 0 24px;
  color: #17233c;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
}

.about-content p {
  margin: 0;
  color: #5e6a80;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 500;
}

.products {
  position: relative;
  padding: 0 0 62px;
}

.products::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -54px;
  width: 100vw;
  height: 510px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(203, 230, 251, 0.6), rgba(228, 214, 255, 0.62));
  z-index: -1;
}

.product-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.product-card {
  min-width: 0;
}

.product-topline {
  min-height: 75px;
  align-items: center;
  gap: 14px;
}

.product-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto;
}

.product-icon.square {
  width: 75px;
  height: 75px;
}

.product-logo {
  width: 150px;
  height: auto;
  margin: 0 auto;
}

.product-card h3 {
  margin: 0;
  color: #152033;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
}

.product-card ul {
  margin: 22px 0 18px;
  color: #606d83;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 650;
}

.gradient-link {
  min-height: 32px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(92, 98, 235, 0.23);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta {
  padding: 10px 0 58px;
}

.cta-card {
  min-height: 205px;
  padding: 52px 24px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: linear-gradient(106deg, #4b98ff 0%, #7a3ff0 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 34px 90px rgba(99, 98, 232, 0.30);
}

.cta-card h2 {
  color: #fff;
  font-size: clamp(28px, 3vw, 34px);
}

.cta-card p {
  margin: 14px 0 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 650;
}

.white-button {
  min-height: 42px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: #fff;
  color: #1b2436;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio {
  position: relative;
  padding: 26px 0 74px;
}

.portfolio::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 100vw;
  height: 520px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(206, 232, 253, 0.72), rgba(226, 214, 255, 0.76));
  z-index: -1;
}

.portfolio-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.site-card {
  position: relative;
  min-height: 132px;
  padding: 28px 20px 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 22px 60px rgba(84, 104, 152, 0.23);
}

.site-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.site-card span,
.site-card strong,
.site-card small,
.site-card img {
  position: relative;
  z-index: 1;
}

.site-card span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.site-card strong {
  margin-top: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.site-card small {
  margin-top: auto;
  color: #536078;
  font-size: 11px;
  font-weight: 700;
}

.site-card img {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 15px;
  height: 15px;
  opacity: 0.8;
}

.contacts {
  padding: 0 0 144px;
}

.contacts-card {
  padding: 34px 32px 32px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.contacts-text p {
  max-width: 610px;
  margin: 14px 0 28px;
  color: #5e6a80;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 650;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.contact-item {
  min-height: 58px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.70);
  box-shadow: 0 14px 34px rgba(84, 104, 152, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(84, 104, 152, 0.16);
}

.contact-item span {
  display: block;
  margin-bottom: 6px;
  color: #828ca1;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.contact-item strong {
  color: #111827;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
}

.site-footer {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto 24px;
}

.footer-inner {
    padding: 28px;
    display: grid;
    grid-template-columns: minmax(150px, 0.7fr) minmax(130px, 0.7fr) minmax(150px, 0.8fr);
    gap: 154px;
    border: 1px solid rgba(255, 255, 255, 0.84);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.56);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.footer-brand img {
  width: 83px;
}

.footer-brand p {
  max-width: 315px;
  margin: 0;
  color: #4f5a70;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 650;
}

.footer-column h3 {
  margin: 0 0 14px;
  color: #1d2638;
  font-size: 12px;
  font-weight: 900;
}

.footer-column a,
.footer-column span {
  display: block;
  margin-top: 10px;
  color: #59657a;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 650;
}

.footer-column a:hover {
  color: #2835d8;
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #68758b;
  font-size: 10px;
  font-weight: 700;
}

.desktop-only {
  display: block;
}

@media (max-width: 900px) {
  :root {
    --content: 720px;
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .logo {
    width: 78px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-open .main-nav,
  .menu-open .header-cta {
    display: flex;
  }

  .menu-open .main-nav {
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    padding-top: 6px;
  }

  .menu-open .main-nav a {
    width: 100%;
    padding: 12px 14px;
    text-align: center;
  }

  .menu-open .header-cta {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: center;
  }


  .product-grid,
  .portfolio-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .product-card p {
    min-height: auto;
  }

  .products::before {
    height: 420px;
  }

  .contacts {
    padding-bottom: 96px;
  }

  .footer-brand,
  .footer-bottom {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .section,
  .site-header,
  .site-footer {
    width: min(100% - 28px, var(--content));
  }

  .site-header {
    top: 10px;
    margin-top: 10px;
    border-radius: 20px;
  }

  .hero {
    padding-top: 38px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: clamp(38px, 13vw, 52px);
    line-height: 1.02;
  }

  .hero p {
    margin-top: 22px;
    font-size: 14px;
  }

  .desktop-only {
    display: none;
  }
  
  

  .product-grid,
  .portfolio-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .products {
    padding-bottom: 44px;
  }

  .products::before {
    top: 58px;
    height: calc(100% - 20px);
  }

  .product-grid {
    margin-top: 34px;
    gap: 26px;
  }

  .product-card {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.46);
    box-shadow: 0 16px 40px rgba(84, 104, 152, 0.12);
  }

  .gradient-link {
    width: 100%;
  }

  .cta {
    padding-bottom: 46px;
  }

  .cta-card {
    min-height: 230px;
    padding: 38px 20px;
    border-radius: 22px;
  }

  .portfolio {
    padding-bottom: 54px;
  }

  .portfolio::before {
    height: 100%;
  }

  .site-card {
    min-height: 118px;
  }

  .contacts {
    padding-bottom: 72px;
  }

  .contacts-card {
    padding: 26px 20px 22px;
    border-radius: 22px;
  }

  .contact-item {
    padding: 15px 18px;
  }

  .site-footer {
    margin-bottom: 14px;
  }

  .footer-inner {
    padding: 28px 20px 22px;
    gap: 28px;
  }

  .footer-brand img {
    margin-bottom: 20px;
  }

  .footer-bottom {
    margin-top: 4px;
    align-items: flex-start;
    flex-direction: column;
  }
}


