* {
  box-sizing: border-box;
}

:root {
  --bg: #fefefe;
  --surface: #ffffff;
  --text: #16294b;
  --muted: #384860;
  --line: #dde4ef;
  --blue: #2f80ed;
  --purple: #7b4dff;
  --accent: linear-gradient(90deg, #2f80ed 0%, #7b4dff 100%);
  --shadow-soft: 0 16px 40px rgba(22, 41, 75, 0.08);
  --shadow-card: 0 18px 32px rgba(22, 41, 75, 0.06);
  --radius: 22px;
  --radius-sm: 16px;
  --container: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

/* =========================
   HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fefefe;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(221, 228, 239, 0.9);
}

.nav-wrap {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 0;
}

.brand-logo-only {
  display: inline-flex;
  align-items: center;
}

.logo-full {
  width: 250px;
  height: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  position: relative;
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-cta {
  min-width: 180px;
  min-height: 58px;
  padding: 0 24px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(92, 88, 255, 0.18);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-1px);
}

/* =========================
   HERO
========================= */

.hero {
  padding: 40px 0 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 30px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.76rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(3.4rem, 6.2vw, 4.7rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 800;
}

h1 span {
  display: inline-block;
  background: linear-gradient(180deg, #4d6cff 0%, #6f55ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 30rem;
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-actions {
  margin-top: 24px;
}

.btn {
  min-width: 164px;
  min-height: 56px;
  padding: 0 24px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(92, 88, 255, 0.18);
}

.hero-visual {
  position: relative;
  min-height: 530px;
}

.hero-blob {
  position: absolute;
  inset: 60px 40px 20px 120px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(112, 149, 255, 0.18) 0%,
    rgba(123, 77, 255, 0.14) 60%,
    rgba(112, 149, 255, 0.06) 100%
  );
  filter: blur(0.5px);
}

.hero-person {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(610px, 92%);
}

.hero-float {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #C9C5FF;
    display: grid;
    place-items: center;
    box-shadow: none;
}

.hero-float svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.float-note {
  top: 70px;
  left: 70px;
}

.float-star {
  top: 128px;
  right: 18px;
}

.float-dot {
  left: 18px;
  bottom: 92px;
  width: 18px;
  height: 18px;
  background: #C9C5FF;
  box-shadow: none;
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 26px 0 26px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 30px;
}

.section-title.centered {
  justify-content: center;
}

.section-title.left {
  display: block;
  margin-bottom: 18px;
}

.section-title .line {
  height: 1px;
  flex: 1;
  max-width: 320px;
  background: var(--line);
}

h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.mini-underline {
  width: 74px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6d5eff 0%, #9b73ff 100%);
}

/* =========================
   CARDS
========================= */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(221, 228, 239, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 26px 22px;
  text-align: center;
}

.icon-box {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    180deg,
    rgba(59, 130, 246, 0.16) 0%,
    rgba(123, 77, 255, 0.2) 100%
  );
}

.icon-svg {
  width: 34px;
  height: 34px;
  stroke: #496dff;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 1.06rem;
  line-height: 1.2;
  font-weight: 800;
}

.card p {
  margin-top: 10px;
  font-size: 0.98rem;
  color: var(--muted);
}

/* =========================
   ABOUT
========================= */

.section-about {
  padding-top: 48px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 32px;
}

.about-copy p {
  max-width: 34rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.about-copy p + p {
  margin-top: 18px;
}

.about-visual {
  position: relative;
  min-height: 420px;
}

.about-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.2px);
}

.shape-a {
  left: 18px;
  right: 48px;
  bottom: 46px;
  top: 74px;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(105, 177, 255, 0.18),
    rgba(151, 103, 255, 0.12) 60%,
    rgba(105, 177, 255, 0.05)
  );
}

.shape-b {
  width: 260px;
  height: 180px;
  left: 0;
  bottom: 30px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(204, 168, 255, 0.45),
    rgba(204, 168, 255, 0.08) 70%
  );
}

.about-phones {
  position: absolute;
  right: 10px;
  bottom: 0;
  width: min(520px, 96%);
}

.about-float {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(221, 228, 239, 0.9);
  display: grid;
  place-items: center;
}

.about-float svg {
  width: 22px;
  height: 22px;
  stroke: #6b5cff;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.af-1 {
  left: 36px;
  top: 184px;
}

.af-2 {
  right: 36px;
  top: 146px;
}

.af-3 {
  right: 62px;
  bottom: 74px;
}

/* =========================
   CONTACT
========================= */

.section-contact {
  padding-top: 34px;
  padding-bottom: 40px;
}

.contact-wrap {
  text-align: center;
}

.contact-title {
  display: block;
  margin-bottom: 8px;
}

.contact-title .mini-underline {
  margin-inline: auto;
}

.contact-intro {
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-card {
  width: min(100%, 620px);
  margin: 20px auto 0;
  background: var(--surface);
  border: 1px solid rgba(221, 228, 239, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  text-align: left;
}

.contact-card:hover {
  transform: translateY(-1px);
}

.contact-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(180deg, #6c61ff 0%, #7b4dff 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 14px 24px rgba(123, 77, 255, 0.2);
}

.contact-icon svg {
  width: 30px;
  height: 30px;
  stroke: #fff;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-content strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.contact-content small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.98rem;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: #fefefe;
  border-top: 1px solid rgba(28, 43, 76, 0.08);
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 32px;
}

/* LEFT */
.footer-brand-logo-only {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-logo-full {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* CENTER */
.footer-legal {
  text-align: center;
}

.footer-legal p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #4b5b78;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.footer-legal .footer-company-name {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  color: #1c2b4c;
}

/* RIGHT */
.footer-copy {
  text-align: right;
}

.footer-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #4b5b78;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.footer-copy p + p {
  margin-top: 2px;
}

/* TABLET */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .footer-brand-logo-only,
  .footer-copy {
    justify-content: center;
    text-align: center;
  }

  .footer-logo-full {
    width: 190px;
    margin: 0 auto;
  }

  .footer-copy {
    text-align: center;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .site-footer {
    padding: 36px 0;
  }

  .footer-grid {
    gap: 20px;
  }

  .footer-logo-full {
    width: 170px;
  }

  .footer-legal .footer-company-name {
    font-size: 16px;
  }

  .footer-legal p,
  .footer-copy p {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 480px;
  }

  .about-visual {
    min-height: 360px;
  }

  .footer-brand,
  .footer-legal,
  .footer-copy {
    text-align: center;
    justify-content: center;
  }

  .footer-brand-logo-only {
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .nav-wrap {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .brand {
    justify-content: flex-start;
  }

  .logo-full {
    width: 210px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 22px;
    padding-bottom: 4px;
  }

  .nav-cta {
    min-width: 156px;
    min-height: 52px;
    padding: 0 18px;
  }

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

  .hero-visual {
    min-height: 410px;
  }

  .hero-person {
    width: min(500px, 95%);
  }

  .about-visual {
    min-height: 320px;
  }

  .contact-content strong {
    font-size: 1.35rem;
  }

  .footer-logo-full {
    width: 180px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .hero {
    padding-top: 28px;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 3.8rem);
  }

  .hero-text,
  .about-copy p,
  .contact-intro {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 340px;
  }

  .float-note {
    top: 24px;
    left: 18px;
  }

  .float-star {
    right: 8px;
    top: 84px;
  }

  .float-dot {
    left: 10px;
    bottom: 56px;
  }

  .contact-card {
    padding: 18px;
    gap: 16px;
  }

  .contact-icon {
    width: 62px;
    height: 62px;
  }

  .contact-content strong {
    font-size: 1.18rem;
  }

  .footer-legal {
    font-size: 0.9rem;
  }

  .footer-copy {
    font-size: 0.9rem;
  }

  .logo-full {
    width: 180px;
  }

  .footer-logo-full {
    width: 160px;
  }
}
