:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #5f6168;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #dedbd3;
  --red: #d51820;
  --red-dark: #9e1016;
  --mint: #2a9d8f;
  --blue: #3454d1;
  --amber: #c47a11;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(213, 24, 32, 0.12), transparent 30rem),
    linear-gradient(180deg, #fffdf9 0%, var(--paper) 40%, #f2f5f3 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.7rem;
  white-space: nowrap;
  font-weight: 760;
}

.brand {
  font-size: 1.05rem;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #ffffff;
  box-shadow: inset 0 -0.25rem 0 var(--red);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.8rem);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 680;
}

.nav a:hover,
.footer a:hover {
  color: var(--red);
}

.lang-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1rem;
  border: none;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 780;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.lang-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.32);
}

.lang-fab-flag {
  font-size: 1.2rem;
  line-height: 1;
}

.lang-fab-label {
  letter-spacing: 0.06em;
}

.header-cta {
  min-width: 8.8rem;
  padding: 0 1rem;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100svh - 4.5rem);
  padding: clamp(4rem, 8vw, 7rem) 5vw 3rem;
}

.hero-copy {
  max-width: 46rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1rem;
  font-size: clamp(4.6rem, 13vw, 10.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.12rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-subtitle {
  max-width: 42rem;
  color: #202126;
  font-size: clamp(1.22rem, 2vw, 1.65rem);
  line-height: 1.42;
}

.hero-shqip {
  max-width: 36rem;
  padding-left: 1rem;
  border-left: 4px solid var(--red);
}

.hero-actions,
.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.button {
  min-width: 10rem;
  padding: 0 1.15rem;
  border-radius: 8px;
  border: 1px solid var(--ink);
}

.button.primary {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
}

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

.metric-row {
  gap: 1rem;
  margin-top: 2.2rem;
}

.metric-row div {
  min-width: 8.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  font-size: 1.1rem;
}

.metric-row span {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
  min-height: 32rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #272727;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(213, 24, 32, 0.2), transparent 45%),
    linear-gradient(160deg, #141414 0%, #262626 55%, #f5efe3 160%);
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  pointer-events: none;
}

.memory-stack {
  position: relative;
  min-height: 23rem;
}

.iphone-mockup {
  position: absolute;
  right: 0;
  top: 0.4rem;
  z-index: 1;
  width: clamp(9.8rem, 27vw, 14.5rem);
  aspect-ratio: 0.49;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 36%),
    linear-gradient(160deg, #2e3447 0%, #111318 58%, #060607 100%);
  box-shadow:
    inset 0 0 0 0.42rem #090a0d,
    0 1.8rem 4rem rgba(0, 0, 0, 0.42);
  transform: rotate(7deg);
}

.iphone-screen {
  position: absolute;
  inset: 0.78rem;
  border-radius: 1.48rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(213, 24, 32, 0.18), transparent 35%),
    radial-gradient(circle at 72% 55%, rgba(242, 165, 65, 0.3), transparent 22%),
    linear-gradient(180deg, #07080c 0%, #141722 52%, #050507 100%);
}

.iphone-screen::before,
.iphone-screen::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  height: 2.4rem;
  border: 2px solid rgba(255, 139, 78, 0.62);
  border-radius: 1.3rem;
  filter: drop-shadow(0 0 0.85rem rgba(255, 122, 68, 0.35));
}

.iphone-screen::before {
  top: 30%;
}

.iphone-screen::after {
  top: 48%;
}

.dynamic-island {
  position: absolute;
  top: 0.65rem;
  left: 50%;
  width: 4.3rem;
  height: 1.1rem;
  border-radius: 999px;
  background: #020203;
  transform: translateX(-50%);
}

.screen-label,
.screen-line {
  position: absolute;
  left: 12%;
  right: 12%;
  z-index: 1;
}

.screen-label {
  bottom: 4.1rem;
  color: #ffffff;
  font-size: clamp(0.58rem, 1.15vw, 0.78rem);
  font-weight: 820;
  text-align: center;
}

.screen-line {
  bottom: 2.55rem;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.screen-line.short {
  left: 28%;
  right: 28%;
  bottom: 1.75rem;
}

.camera-plate {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.42rem;
  width: 4.65rem;
  height: 4.65rem;
  padding: 0.38rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.camera-plate span,
.camera-plate i {
  border-radius: 999px;
  background:
    radial-gradient(circle at 40% 34%, #4d5a7d 0 15%, #050609 36%, #020203 100%);
  box-shadow:
    inset 0 0 0 0.18rem rgba(255, 255, 255, 0.08),
    0 0.28rem 0.8rem rgba(0, 0, 0, 0.45);
}

.camera-plate span:nth-child(3) {
  grid-column: 1;
}

.camera-plate i {
  width: 0.72rem;
  height: 0.72rem;
  align-self: center;
  justify-self: center;
  background: #d7d1c8;
}

.memory-file {
  position: absolute;
  left: 7%;
  right: 6%;
  top: 18%;
  min-height: 14rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
  transform: rotate(3deg);
}

.memory-file.active {
  z-index: 3;
  left: 0;
  right: 13%;
  top: 4%;
  background: rgba(255, 255, 255, 0.13);
  transform: rotate(-3deg);
}

.file-name {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  margin-bottom: 1rem;
  padding: 0 0.85rem;
  border-radius: 8px;
  background: var(--red);
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 800;
}

.line {
  display: block;
  width: 70%;
  height: 0.72rem;
  margin: 0.75rem 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.line.wide {
  width: 88%;
}

.line.short {
  width: 45%;
}

.rule-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.rule-list span {
  min-height: 2rem;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
}

.agent-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.agent-grid span {
  min-height: 3rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 760;
}

.agent-grid span:nth-child(2) {
  color: #f2a541;
}

.agent-grid span:nth-child(3) {
  color: #82d6c8;
}

.agent-grid span:nth-child(4) {
  color: #93a7ff;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 5vw;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.proof-band span {
  display: grid;
  place-items: center;
  min-height: 5rem;
  padding: 1rem;
  background: #ffffff;
  text-align: center;
  font-weight: 780;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 5vw;
}

.split,
.install,
.deploy {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.section-heading {
  max-width: 58rem;
  margin-bottom: 2rem;
}

.comparison,
.feature-grid,
.use-case-list,
.deploy-options {
  display: grid;
  gap: 1rem;
}

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

.feature-grid,
.use-case-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.comparison article,
.feature-grid article,
.use-case-list article,
.deploy-options article {
  min-height: 12rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.comparison article:first-child {
  border-top: 5px solid var(--amber);
}

.comparison article:last-child {
  border-top: 5px solid var(--mint);
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 820;
}

.feature-grid article:nth-child(2) .feature-index {
  background: var(--red);
}

.feature-grid article:nth-child(3) .feature-index {
  background: var(--blue);
}

.install {
  border-block: 1px solid var(--line);
  background: #111111;
  color: #ffffff;
}

.install p,
.install .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.install .eyebrow {
  color: #ff6b72;
}

pre {
  margin: 0;
  min-height: 8rem;
  display: grid;
  align-items: center;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow-x: auto;
  background: #050505;
}

code {
  padding: 0.08rem 0.24rem;
  border-radius: 5px;
  background: rgba(17, 17, 17, 0.06);
  color: var(--red-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

pre code {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #f5f5f5;
  font-size: 0.98rem;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

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

.deploy-options span {
  display: block;
  margin-top: 1.5rem;
  color: var(--red-dark);
  font-size: 0.92rem;
  font-weight: 760;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 5vw;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer div,
.footer span {
  display: grid;
  gap: 0.25rem;
}

.footer span {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 940px) {
  .site-header {
    flex-wrap: wrap;
    align-content: center;
    padding-block: 0.7rem;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .hero,
  .split,
  .install,
  .deploy {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 28rem;
  }

  .proof-band,
  .feature-grid,
  .use-case-list,
  .deploy-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  .header-cta {
    width: 100%;
  }

  .hero {
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(4.2rem, 22vw, 6.2rem);
  }

  .hero-actions .button,
  .metric-row div {
    width: 100%;
  }

  .hero-visual {
    min-height: 31rem;
  }

  .memory-file,
  .memory-file.active {
    left: 0.5rem;
    right: 3.85rem;
    transform: none;
  }

  .memory-stack {
    min-height: 24.5rem;
  }

  .iphone-mockup {
    right: 0.65rem;
    top: 8.1rem;
    width: 8.9rem;
    opacity: 0.92;
    transform: rotate(4deg);
  }

  .agent-grid,
  .proof-band,
  .comparison,
  .feature-grid,
  .use-case-list,
  .deploy-options {
    grid-template-columns: 1fr;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
