﻿:root {
  --c-primary: rgb(62, 183, 208);
  --c-primary-deep: rgb(37, 108, 123);
  --c-accent: rgb(247, 85, 7);
  --c-dark: rgb(44, 45, 53);
  --c-bg: rgb(255, 253, 250);
  --c-line: #d7dde0;
  --c-text: #25272d;
  --radius: 18px;
  --shadow: 0 12px 35px rgba(44, 45, 53, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: "Archivo", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.shape {
  position: fixed;
  z-index: -1;
  pointer-events: none;
}

.shape-a {
  width: 380px;
  height: 380px;
  right: -130px;
  top: -120px;
  border-radius: 44% 56% 65% 35% / 48% 44% 56% 52%;
  background: radial-gradient(circle at 35% 35%, rgba(62, 183, 208, 0.2) 0, rgba(62, 183, 208, 0.04) 65%, transparent 100%);
  filter: blur(2px);
}

.shape-b {
  width: 360px;
  height: 360px;
  left: -130px;
  bottom: -130px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(247, 85, 7, 0.14) 0, rgba(247, 85, 7, 0.03) 58%, transparent 100%);
  filter: blur(2px);
}

.topbar {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: "Krona One", "Segoe UI", sans-serif;
  text-decoration: none;
  color: var(--c-text);
  font-size: 1.05rem;
}

.topbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 600;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 220ms transform ease, 220ms background-color ease, 220ms border-color ease;
}

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

.btn-main {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(62, 183, 208, 0.34);
}

.btn-main:hover {
  background: var(--c-primary-deep);
}

.btn-outline {
  color: var(--c-primary-deep);
  border-color: rgba(62, 183, 208, 0.45);
  background: #fff;
}

.btn-outline.light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
}

.hero {
  margin-top: 6px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 73vh;
  padding: 28px 0 64px;
  position: relative;
}

.hero-inner {
  width: min(1120px, 92vw);
  margin-inline: auto;
  min-height: 73vh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 0;
  background: linear-gradient(320deg, rgba(62, 183, 208, 0.2) 40%, rgb(255, 253, 250) 0%);
  border-top: 1px solid rgba(62, 183, 208, 0.08);
  border-bottom: 1px solid rgba(62, 183, 208, 0.08);
}

.kicker {
  margin: 0 0 8px;
  color: var(--c-accent);
  letter-spacing: 0.13em;
  font-size: 0.77rem;
  font-weight: 700;
}

.hero h1,
.section-head h2,
.dev-offer h2,
.contact h2 {
  margin: 0;
  font-family: "Krona One", "Segoe UI", sans-serif;
  font-size: clamp(1.65rem, 4.8vw, 3.1rem);
  line-height: 1.15;
}

.hero p {
  max-width: 56ch;
  line-height: 1.68;
  color: #48505c;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-collage {
  position: relative;
  height: min(70vh, 620px);
  min-height: 460px;
}

.shot {
  position: absolute;
  margin: 0;
  width: clamp(120px, 14vw, 180px);
  aspect-ratio: 9 / 19.5;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 22px 44px rgba(19, 31, 48, 0.26), 0 8px 18px rgba(19, 31, 48, 0.14);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.shot::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 10px;
  border-radius: 999px;
  background: rgba(18, 28, 41, 0.38);
  z-index: 1;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shot-a {
  left: 4%;
  top: 11%;
  transform: rotate(-11deg);
}

.shot-b {
  left: 26%;
  top: 0;
  transform: rotate(-4deg);
}

.shot-c {
  left: 48%;
  top: 15%;
  transform: rotate(3deg);
}

.shot-d {
  left: 68%;
  top: 3%;
  transform: rotate(10deg);
}

.shot-e {
  left: 34%;
  top: 40%;
  transform: rotate(-2deg);
  width: clamp(128px, 15vw, 190px);
}

.shot:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 56px rgba(19, 31, 48, 0.28), 0 12px 24px rgba(19, 31, 48, 0.16);
  z-index: 2;
}

.principles,
.apps,
.dev-offer,
footer {
  padding: 64px 0;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.principles article {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 22px;
}

.principles h3 {
  margin: 0;
  font-size: 1.06rem;
}

.principles p {
  margin: 10px 0 0;
  color: #5c6572;
  line-height: 1.6;
}

.section-head h2 {
  margin-top: 8px;
}

.grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.app-card {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  position: relative;
  overflow: hidden;
}

.app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 0%, rgba(255, 255, 255, 0.6) 80%);
  pointer-events: none;
}

.app-visual {
  margin: -6px -6px 14px;
  padding: 14px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.app-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  overflow: hidden;
}

.screen {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  padding: 4px;
}

.app-icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.screen-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.therm-card .app-visual {
  background: linear-gradient(135deg, rgba(247, 85, 7, 0.24), rgba(62, 183, 208, 0.18));
}

.sound-card .app-visual {
  background: linear-gradient(135deg, rgba(62, 183, 208, 0.25), rgba(44, 45, 53, 0.14));
}

.ruler-card .app-visual {
  background: linear-gradient(135deg, rgba(67, 217, 185, 0.2), rgba(62, 183, 208, 0.2));
}

.app-card h3 {
  margin: 0;
  font-size: 1.08rem;
  position: relative;
  z-index: 1;
}

.app-card p {
  margin: 10px 0 0;
  color: #5c6572;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.meta {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.meta span {
  font-size: 0.82rem;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(62, 183, 208, 0.12);
  color: var(--c-primary-deep);
}

.app-card a {
  margin-top: auto;
  padding-top: 14px;
  font-weight: 600;
  color: var(--c-accent);
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.dev-offer {
  text-align: center;
}

.dev-offer p {
  max-width: 70ch;
  margin: 14px auto 26px;
  color: #5c6572;
  line-height: 1.7;
}

.seo-copy,
.faq {
  padding: 30px 0 56px;
}

.seo-copy h2,
.faq h2 {
  margin: 0;
  font-family: "Krona One", "Segoe UI", sans-serif;
  font-size: clamp(1.3rem, 3.2vw, 2rem);
  line-height: 1.22;
}

.seo-copy p {
  margin: 14px 0 0;
  max-width: 75ch;
  color: #556171;
  line-height: 1.75;
}

.faq details {
  margin-top: 12px;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(44, 45, 53, 0.07);
  padding: 14px 16px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #26303d;
}

.faq p {
  margin: 10px 0 2px;
  color: #5a6574;
  line-height: 1.65;
}

.contact {
  position: relative;
  color: #fff;
  background: linear-gradient(145deg, rgba(44, 45, 53, 0.95), rgba(44, 45, 53, 0.88));
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 8%, rgba(62, 183, 208, 0.35) 0%, transparent 40%),
              radial-gradient(circle at 10% 90%, rgba(247, 85, 7, 0.24) 0%, transparent 35%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  padding: 76px 0;
}

.contact-inner p {
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.contact-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

footer {
  color: #64707d;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: 560ms opacity ease, 560ms transform ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-collage {
    height: 420px;
    min-height: auto;
    margin-top: 8px;
  }

  .shot {
    width: 130px;
  }

  .shot-a { left: 4%; top: 14%; }
  .shot-b { left: 24%; top: 2%; }
  .shot-c { left: 44%; top: 14%; }
  .shot-d { left: 64%; top: 4%; }
  .shot-e { left: 34%; top: 46%; width: 140px; }

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

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

@media (max-width: 700px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-collage {
    height: 330px;
    overflow: hidden;
  }

  .shot {
    width: 102px;
    border-radius: 16px;
  }

  .shot::before {
    height: 7px;
  }

  .shot-a { left: -2%; top: 24%; }
  .shot-b { left: 18%; top: 8%; }
  .shot-c { left: 40%; top: 18%; }
  .shot-d { left: 62%; top: 6%; }
  .shot-e { left: 30%; top: 50%; width: 112px; }

  .principles,
  .grid {
    grid-template-columns: 1fr;
  }

  .seo-copy,
  .faq {
    padding-top: 18px;
    padding-bottom: 36px;
  }

  .hero,
  .principles,
  .apps,
  .dev-offer,
  .contact-inner,
  footer {
    padding-top: 44px;
    padding-bottom: 44px;
  }
}
