:root {
  color-scheme: dark;
  --bg: #05080d;
  --panel: #0c121b;
  --panel2: #101a27;
  --text: #edf6ff;
  --muted: #9db0c4;
  --blue: #16a9ff;
  --blue2: #68d4ff;
  --line: rgba(103, 201, 255, .20);
  --shadow: 0 24px 80px rgba(0, 0, 0, .40);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 143, 255, .16), transparent 32rem),
    linear-gradient(180deg, #05080d 0%, #07101a 100%);
  color: var(--text);
  line-height: 1.65;
}
a { color: var(--blue2); }
.wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(5, 8, 13, .86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 68px; display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; font-weight: 800; }
.brand img { width: 42px; height: 42px; border-radius: 11px; }
.navlinks { display: flex; flex-wrap: wrap; gap: 18px; }
.navlinks a { color: var(--muted); text-decoration: none; font-weight: 650; }
.navlinks a:hover { color: white; }
.hero { padding: 64px 0 38px; }
.hero-card {
  overflow: hidden; border: 1px solid var(--line); border-radius: 26px;
  background: linear-gradient(145deg, rgba(16,26,39,.96), rgba(7,14,23,.96));
  box-shadow: var(--shadow);
}
.hero-art { width: 100%; display: block; aspect-ratio: 1024/500; object-fit: cover; }
.hero-copy { padding: 28px 30px 34px; }
.eyebrow { color: var(--blue2); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 900; }
h1 { margin: 8px 0 10px; line-height: 1.08; font-size: clamp(2rem, 5vw, 4.4rem); }
.lead { max-width: 800px; color: var(--muted); font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px; border-radius: 13px;
  font-weight: 800; text-decoration: none;
  border: 1px solid var(--line);
  background: var(--panel2); color: white;
}
.btn.primary {
  background: linear-gradient(135deg, #008fea, #16a9ff);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(0, 151, 255, .26);
}
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  padding: 24px 0 68px;
}
.card {
  border: 1px solid var(--line); border-radius: 20px; padding: 24px;
  background: rgba(12, 18, 27, .88);
}
.card h2, .card h3 { margin-top: 0; }
.card p, .card li { color: var(--muted); }
.card ul { padding-left: 20px; }
.page { padding: 54px 0 80px; }
.document {
  max-width: 900px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(22px, 4vw, 48px);
  background: rgba(12, 18, 27, .94);
  box-shadow: var(--shadow);
}
.document h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
.document h2 { margin-top: 2.2rem; padding-top: .5rem; border-top: 1px solid var(--line); }
.document p, .document li { color: #c4d0dc; }
.document code {
  color: #b6e6ff; background: #07101a; padding: .1em .4em; border-radius: 6px;
}
.notice {
  border: 1px solid #ffb84a; background: rgba(255, 184, 74, .10);
  color: #ffe3b6; border-radius: 14px; padding: 14px 16px; margin: 18px 0;
}
footer {
  border-top: 1px solid var(--line); color: var(--muted);
  padding: 26px 0 38px; text-align: center;
}
@media (max-width: 800px) {
  .grid { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; padding: 12px 0; }
  .navlinks { justify-content: flex-end; }
  .hero { padding-top: 28px; }
}


/* Scobasoft application portfolio */
.portfolio-hero {
  padding: 64px 0 54px;
}
.portfolio-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: 38px;
  align-items: center;
}
.title-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 14px 0 18px;
}
.title-row h1 {
  margin: 0;
}
.featured-icon {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 25px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.featured-subtitle {
  margin: 5px 0 0;
  color: var(--blue2);
  font-weight: 750;
}
.feature-list {
  color: #c4d0dc;
  padding-left: 21px;
}
.feature-list li {
  margin: 8px 0;
}
.featured-screen {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(16,26,39,.96), rgba(7,14,23,.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.featured-screen img {
  width: 100%;
  min-height: 410px;
  max-height: 620px;
  display: block;
  object-fit: contain;
  border-radius: 18px;
  background: #03070c;
}
.apps-section {
  padding: 68px 0 78px;
  border-top: 1px solid var(--line);
  background: rgba(3, 8, 14, .38);
}
.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 8px 0 5px;
}
.section-heading p {
  color: var(--muted);
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.app-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(12, 18, 27, .94);
  box-shadow: 0 18px 55px rgba(0,0,0,.20);
}
.app-card.main-app {
  border-color: rgba(22,169,255,.52);
}
.app-media {
  height: 300px;
  background:
    radial-gradient(circle at center, rgba(13,145,255,.12), transparent 66%),
    #03070c;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.app-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.app-media.local-art img {
  object-fit: cover;
}
.app-content {
  padding: 24px 24px 27px;
}
.app-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
}
.app-title img {
  width: 66px;
  height: 66px;
  object-fit: cover;
  border-radius: 15px;
  flex: 0 0 auto;
}
.app-title h3 {
  margin: 0;
  font-size: 1.35rem;
}
.app-title span {
  color: var(--blue2);
  font-size: .9rem;
  font-weight: 700;
}
.app-content p {
  color: var(--muted);
}
.text-link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 850;
  text-decoration: none;
}
.contact-section {
  padding: 62px 0;
}
.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(12,18,27,.90);
  padding: 28px 30px;
}
.contact-card h2 {
  margin: 6px 0 8px;
}
.contact-card p {
  color: var(--muted);
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .portfolio-hero-grid {
    grid-template-columns: 1fr;
  }
  .featured-screen img {
    min-height: 300px;
  }
}
@media (max-width: 720px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
  .title-row {
    align-items: flex-start;
  }
  .featured-icon {
    width: 82px;
    height: 82px;
    border-radius: 19px;
  }
  .app-media {
    height: 250px;
  }
  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
