* {
  box-sizing: border-box;
}

:root {
  --navy: #08183f;
  --blue: #0967ff;
  --blue2: #2679ff;
  --green: #16a94c;
  --text: #17233e;
  --muted: #66748e;
  --line: #dbe6f5;
  --max: 1460px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Inter static", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.5;
}

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

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

.wrap {
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto;
}


/* =========================
   Header
   ========================= */

.topbar {
  position: relative;
  z-index: 20;
  height: 106px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #edf1f7;
}

.topbar-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  height: 100%;
}

.brand {
  display: block;
  justify-self: start;
}

.brand img {
  width: 318px;
  height: auto;
}

.language {
  display: flex;
  align-items: center;
  justify-self: end;
}

.language select {
  display: none;
}

.lang {
  position: relative;
  font-size: 16px;
  font-weight: 700;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 4px;

  font: inherit;
  color: #0b1739;

  background: none;
  border: 0;

  cursor: pointer;
  transition: color 0.2s;
}

.lang-toggle:hover {
  color: var(--blue);
}

.lang-toggle:focus-visible {
  outline: 2px solid rgba(23, 105, 255, 0.4);
  outline-offset: 2px;
  border-radius: 4px;
}

.lang-arrow {
  font-size: 12px;
  transition: transform 0.2s;
}

.lang-toggle[aria-expanded="true"] .lang-arrow {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 30;

  display: flex;

  margin: 0;
  padding: 4px;

  list-style: none;

  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(21, 36, 70, 0.14);

  overflow: hidden;
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu li {
  padding: 6px 14px;

  font: inherit;
  color: #0b1739;
  white-space: nowrap;

  border-radius: 7px;
  cursor: pointer;
  transition: background 0.15s;
}

.lang-menu li:hover {
  background: #f2f5fa;
}


/* =========================
   Hero
   ========================= */

.hero {
  position: relative;
  min-height: 690px;
  overflow-x: clip;
  overflow-y: visible;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.hero-swoosh {
  position: absolute;
  z-index: 0;

  left: 56%;
  bottom: -150px;

  width: 100%;
  max-width: 720px;
  height: 210px;

  background: linear-gradient(
    135deg,
    rgba(80, 145, 255, 0.12),
    rgba(74, 133, 245, 0.28)
  );

  border-radius: 50%;

  transform: translateX(-50%);

  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 50px;

  min-height: 820px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-left: 18px;
}

.hero h1 {
  margin: 0 0 28px;

  color: var(--navy);

  font-size: 63px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-copy > p {
  max-width: 650px;
  margin: 0;

  color: #213352;

  font-size: 21px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;

  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;

  height: 58px;
  padding: 0 24px;

  font-size: 17px;
  font-weight: 700;

  border: 1.6px solid var(--blue);
  border-radius: 9px;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--blue);

  box-shadow:
    0 12px 24px rgba(9, 103, 255, 0.18);
}

.button.secondary {
  color: var(--blue);
  background: #fff;
}

.button-symbol {
  font-size: 22px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;

  margin-top: 42px;
}

.hero-points span {
  display: flex;
  align-items: center;
  gap: 9px;

  font-size: 16px;
}

.hero-points i {
  display: grid;
  place-items: center;

  width: 18px;
  height: 18px;

  color: #fff;
  background: var(--blue);

  border-radius: 50%;

  font-size: 11px;
  font-style: normal;
}

.hero-points b {
  font-weight: 500;
}


/* =========================
   Hero devices
   ========================= */

.hero-devices {
  position: relative;
  z-index: 2;

  min-width: 0;
  height: 620px;
}

.phone {
  position: absolute;
  z-index: 2;

  padding: 9px;

  background: #111;

  border-radius: 44px;

  box-shadow:
    0 26px 45px rgba(21, 36, 70, 0.18),
    0 8px 16px rgba(21, 36, 70, 0.08);

  overflow: hidden;
}

.phone img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  border-radius: 35px;
}


/* Left phone */

.phone-list {
  top: 20px;
  left: 17%;

  width: 315px;
  height: 615px;

  transform: rotate(1.5deg);
}


/* Right phone */

.phone-chat {
  top: 36px;
  right: 4%;

  width: 315px;
  height: 640px;

  transform: rotate(1deg);
}


/* =========================
   Projects
   ========================= */

.projects {
  padding: 30px 0 32px;
  background: linear-gradient(#fbfdff, #fff);
}

.section-title {
  margin: 0 0 34px;

  color: var(--navy);

  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-align: center;
}

.section-title::after {
  content: "";

  display: block;

  width: 58px;
  height: 3px;

  margin: 13px auto 0;

  background: var(--blue);

  border-radius: 5px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.project-card {
  min-height: 625px;
  padding: 32px 28px 24px;

  border: 1px solid var(--line);
  border-radius: 20px;

  overflow: hidden;
}

.mychat-card {
  background: linear-gradient(135deg, #fcfdff, #edf5ff);
}

.mytask-card {
  background: linear-gradient(135deg, #fcfffd, #eefbf1);
}

.project-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.app-icon {
  width: 76px;
  height: 76px;

  object-fit: cover;

  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.11);
}

.project-title-row h3 {
  margin: 0;

  color: #101a37;

  font-size: 34px;
  line-height: 1;
}

.project-sub {
  margin-top: 7px;

  font-size: 18px;
  font-weight: 600;
}

.blue {
  color: var(--blue);
}

.green {
  color: var(--green);
}

.project-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 12px;

  min-height: 490px;
  margin-top: 26px;
}

.project-text {
  display: flex;
  flex-direction: column;

  padding-top: 5px;
}

.project-text p {
  max-width: 390px;
  margin: 0 0 26px;

  font-size: 16px;
  line-height: 1.65;
}

.project-text ul {
  display: grid;
  gap: 17px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.project-text li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.dot {
  display: grid;
  place-items: center;

  flex: 0 0 auto;

  width: 18px;
  height: 18px;
  margin-top: 2px;

  color: #fff;

  border-radius: 50%;

  font-size: 11px;
  font-style: normal;
}

.blue-dot {
  background: var(--blue);
}

.green-dot {
  background: var(--green);
}

.project-link {
  margin-top: auto;

  font-size: 19px;
  font-weight: 700;

  text-decoration: underline;
  text-underline-offset: 6px;
}


/* =========================
   MyChat device mockup
   ========================= */

.mychat-combo {
  position: relative;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  min-height: 455px;
}

.laptop {
  position: absolute;
  bottom: 20px;
  left: 0;

  width: 92%;
}

.laptop-screen {
  background: #101010;

  border: 8px solid #111;
  border-radius: 15px 15px 8px 8px;

  box-shadow: 0 18px 30px rgba(20, 39, 70, 0.18);

  overflow: hidden;
}

.laptop-screen img {
  width: 100%;
  object-fit: cover;
}

.laptop-base {
  width: 112%;
  height: 15px;
  margin-left: -6%;

  background: linear-gradient(#e5e5e5, #a9adb5);

  border-radius: 2px 2px 50% 50%;
  box-shadow: 0 7px 9px rgba(0, 0, 0, 0.16);
}

.project-phone {
  position: absolute;
  right: 0;
  bottom: 0;

  width: 153px;
  height: 290px;
  padding: 7px;

  background: #111;

  border-radius: 33px;
  box-shadow: 0 18px 28px rgba(25, 43, 75, 0.18);

  overflow: hidden;
}

.project-phone img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  border-radius: 26px;
}


/* =========================
   MyTask device mockup
   ========================= */

.mytask-layout {
  grid-template-columns: 0.85fr 1.15fr;
}

.mytask-device {
  position: relative;

  min-height: 455px;
}

.task-phone {
  position: absolute;

  width: 50%;
  height: 430px;
  padding: 7px;

  background: #111;

  border-radius: 33px;
  box-shadow: 0 18px 28px rgba(25, 43, 75, 0.18);

  overflow: hidden;
}

.task-phone img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: top;

  border-radius: 26px;
}

.task-phone-back {
  top: 10px;
  left: 4%;

  transform: rotate(-2deg);
}

.task-phone-front {
  top: 32px;
  right: 0;

  z-index: 2;
  transform: rotate(1.5deg);
}


/* =========================
   Services
   ========================= */

.services {
  padding: 16px 0 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 42px;
}

.service {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
}

.service-icon {
  display: grid;
  place-items: center;

  width: 62px;
  height: 62px;

  color: var(--blue);
  background: linear-gradient(135deg, #edf5ff, #e3efff);

  border-radius: 15px;

  font-size: 25px;
  font-weight: 800;
}

.service h3 {
  margin: 4px 0 9px;

  color: #111b37;

  font-size: 20px;
}

.service p {
  margin: 0;

  color: #2c3e5d;

  font-size: 15px;
  line-height: 1.65;
}


/* =========================
   Contact
   ========================= */

.contact-section {
  padding: 0 0 44px;
}

.contact-box {
  display: grid;
  grid-template-columns: auto 1.15fr 0.8fr auto;
  align-items: center;
  gap: 26px;

  padding: 24px 38px;

  background: linear-gradient(90deg, #f3f7ff, #fbfdff);

  border: 1px solid var(--line);
  border-radius: 18px;
}

.mail-circle {
  display: grid;
  place-items: center;

  width: 72px;
  height: 72px;

  color: #fff;
  background: var(--blue);

  border-radius: 50%;
  box-shadow: 0 11px 25px rgba(9, 103, 255, 0.2);

  font-size: 31px;
}

.contact-copy h3 {
  margin: 0 0 3px;

  color: #111a36;

  font-size: 22px;
}

.contact-copy p {
  margin: 0;
  color: #394a65;
}

.contact-data {
  display: grid;
  gap: 10px;

  font-size: 19px;
}

.contact-data a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-ico {
  flex: 0 0 auto;
  color: var(--blue);
}

.contact-button {
  min-width: 160px;
}


/* =========================
   Responsive — Tablet
   ========================= */

@media (max-width: 1180px) {

  .topbar-inner {
    grid-template-columns: 1fr auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;

    min-height: auto;
    padding: 70px 0 90px;
  }

  .hero-devices {
    height: 620px;
    margin-top: 20px;
  }
  
  .hero-swoosh {
    left: 51%;
    bottom: -80px;

    width: 72%;
    max-width: 700px;
    height: 210px;
  }

  .phone-list {
    left: 20%;

    width: 300px;
    height: 585px;
  }

  .phone-chat {
    right: 18%;

    width: 300px;
    height: 610px;
  }

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

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-box {
    grid-template-columns: auto 1fr;
  }

  .contact-data,
  .contact-button {
    grid-column: 2;
  }
}


/* =========================
   Responsive — Mobile
   ========================= */

@media (max-width: 720px) {

  .wrap {
    width: min(calc(100% - 28px), var(--max));
  }

  .topbar {
    height: 82px;
  }

  .brand img {
    width: 225px;
  }

  .hero-grid {
    padding: 52px 0 50px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-copy > p {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-points {
    gap: 14px;
  }

  .hero-devices {
    height: 445px;
    margin-top: -10px;
  }

  .hero-swoosh {
    left: 50%;
    bottom: -60px;

    width: 100%;
    max-width: 420px;
    height: 140px;
  }

  .phone {
    padding: 6px;
    border-radius: 30px;
  }

  .phone img {
    border-radius: 24px;
  }

  .phone-list {
    top: 8px;
    left: 2%;

    width: 210px;
    height: 410px;
  }

  .phone-chat {
    top: 18px;
    right: 1%;

    width: 215px;
    height: 430px;
  }

  .project-card {
    padding: 24px 18px;
  }

  .project-layout,
  .mytask-layout {
    grid-template-columns: 1fr;
  }

  .project-text {
    min-height: 370px;
  }

  .mychat-combo {
    min-height: 330px;
  }
  
  .mytask-device {
    min-height: 430px;
    margin-top: 30px;
  }

  .task-phone {
    width: 60%;
    height: 390px;
  }

  .task-phone-back {
    left: 0;
  }

  .task-phone-front {
    right: 0;
  }

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

  .contact-box {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .contact-data,
  .contact-button {
    grid-column: auto;
  }

  .mail-circle {
    width: 62px;
    height: 62px;
  }
}
/* Brand palette refinement: shared navy base, restrained blue/green accents */
:root {
  --navy: #0b285e;
  --blue: #1263dc;
  --blue2: #317ce5;
  --green: #13894b;
  --text: #172640;
  --muted: #64738a;
  --line: #d9e4f1;
}
.hero-swoosh {
  background: linear-gradient(135deg, rgba(36, 105, 211, .10), rgba(11, 40, 94, .19));
}
.mychat-card {
  background: linear-gradient(135deg, #fcfdff 0%, #f0f6ff 100%);
  border-color: #d6e3f6;
}
.mytask-card {
  background: linear-gradient(135deg, #fcfefd 0%, #eff9f4 100%);
  border-color: #d6e9df;
}
.service-icon {
  background: linear-gradient(135deg, #eef5ff, #e5efff);
}
.contact-box {
  background: linear-gradient(90deg, #f0f5fc, #fbfdff);
}
.button.primary {
  box-shadow: 0 12px 24px rgba(18, 99, 220, .18);
}
.mail-circle {
  box-shadow: 0 11px 25px rgba(18, 99, 220, .2);
}
