:root {
  --bg: #07111f;
  --bg-soft: #0d1728;
  --bg-card: rgba(11, 20, 35, 0.78);
  --bg-card-2: rgba(18, 30, 49, 0.92);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f8fbff;
  --text-soft: #9fb0c7;
  --text-muted: #6d819d;
  --primary: #4f8cff;
  --secondary: #7c5cff;
  --cyan: #14d8ff;
  --success: #2bd576;
  --gradient: linear-gradient(135deg, #5ea0ff 0%, #7c5cff 50%, #14d8ff 100%);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.38);
  --shadow-glow: 0 12px 40px rgba(79, 140, 255, 0.24);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --container: 1240px;
  --transition: 240ms cubic-bezier(.4, 0, .2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(79, 140, 255, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(124, 92, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #07111f 0%, #08101c 100%);
  overflow-x: hidden;
  line-height: 1.65;
}

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

img {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.grid,
.orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, black 50%, transparent 100%);
  opacity: 0.35;
}

.orbs::before,
.orbs::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  animation: floatOrb 18s ease-in-out infinite;
}

.orbs::before {
  top: -180px;
  right: -140px;
  background: #4f8cff;
}

.orbs::after {
  left: -180px;
  bottom: -220px;
  background: #7c5cff;
  animation-delay: -8s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(20px, -20px, 0) scale(1.06); }
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section {
  padding: 110px 0;
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 16px rgba(43, 213, 118, 0.6);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h2 {
  margin-top: 18px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-heading p {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 17px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 17, 31, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-glow);
  font-size: 15px;
  font-weight: 900;
  color: white;
}

.brand-name {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.lang-btn {
  min-width: 42px;
  height: 36px;
  padding: 0 10px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: var(--transition);
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--gradient);
  color: #fff;
}

.ghost-btn,
.primary-btn,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.ghost-btn {
  height: 44px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--text);
}

.primary-btn {
  height: 52px;
  padding: 0 22px;
  background: var(--gradient);
  color: white;
  box-shadow: var(--shadow-glow);
}

.outline-btn {
  height: 52px;
  padding: 0 22px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
}

.primary-btn:hover,
.outline-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
}

.hero {
  padding: 74px 0 40px;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 46px;
  align-items: center;
  min-height: calc(100vh - 140px);
}

.hero-copy h1 {
  margin-top: 22px;
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  max-width: 860px;
}

.hero-copy p {
  margin-top: 22px;
  font-size: 18px;
  color: var(--text-soft);
  max-width: 660px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
  max-width: 760px;
}

.meta-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  backdrop-filter: blur(18px);
}

.meta-card strong {
  display: block;
  font-size: 28px;
  letter-spacing: -0.04em;
  margin-bottom: 2px;
}

.meta-card span {
  color: var(--text-soft);
  font-size: 14px;
}

.hero-panel {
  position: relative;
}

.hero-card {
  background: linear-gradient(180deg, rgba(17, 29, 49, 0.92) 0%, rgba(10, 17, 31, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dots i {
  width: 10px;
  height: 10px;
  display: block;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.window-dots i:nth-child(1) { background: #ff5f57; }
.window-dots i:nth-child(2) { background: #febc2e; }
.window-dots i:nth-child(3) { background: #28c840; }

.hero-card-body {
  padding: 26px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.dashboard-main,
.dashboard-side,
.dashboard-small {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.dashboard-main {
  min-height: 280px;
  padding: 26px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(79, 140, 255, 0.12), transparent 45%),
    rgba(255, 255, 255, 0.03);
}

.dashboard-main h3 {
  font-size: 28px;
  line-height: 1.1;
  max-width: 320px;
  letter-spacing: -0.04em;
}

.dashboard-main p {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 14px;
  max-width: 340px;
}

.ui-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ui-badges span {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #dce8ff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.chart-lines {
  display: flex;
  align-items: end;
  gap: 10px;
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  height: 110px;
}

.chart-lines i {
  flex: 1;
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, rgba(94, 160, 255, 0.95), rgba(124, 92, 255, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.chart-lines i:nth-child(1) { height: 35%; }
.chart-lines i:nth-child(2) { height: 60%; }
.chart-lines i:nth-child(3) { height: 48%; }
.chart-lines i:nth-child(4) { height: 82%; }
.chart-lines i:nth-child(5) { height: 72%; }
.chart-lines i:nth-child(6) { height: 100%; }

.dashboard-side {
  min-height: 280px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.dashboard-small {
  padding: 18px;
  min-height: 88px;
}

.dashboard-small strong {
  font-size: 17px;
  display: block;
  margin-bottom: 8px;
}

.dashboard-small p {
  color: var(--text-soft);
  font-size: 13px;
}

.dashboard-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-status b {
  font-size: 14px;
}

.dashboard-status span {
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
}

.trust-bar {
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0;
  color: var(--text-muted);
  font-weight: 600;
  overflow: hidden;
}

.trust-list {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(18px);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 140, 255, 0.35);
  box-shadow: var(--shadow-glow);
}

.icon-box {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--gradient);
  font-size: 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-glow);
  font-weight: 800;
}

.card h3 {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-soft);
  font-size: 15px;
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.split-panel,
.contact-panel {
  background: var(--bg-card-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.stack-box {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

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

.step-card {
  position: relative;
  padding: 28px;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
}

.step-number {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 18px;
  font-weight: 900;
  font-size: 20px;
  background: var(--gradient);
  color: white;
  box-shadow: var(--shadow-glow);
}

.step-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.step-card p {
  color: var(--text-soft);
  font-size: 14px;
}

.seo-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.seo-main,
.seo-side {
  display: grid;
  gap: 20px;
}

.seo-intro,
.seo-note-card,
.seo-point {
  background: var(--bg-card-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.seo-intro {
  padding: 34px;
}

.seo-label,
.seo-mini-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.seo-intro h3,
.seo-note-card h4 {
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.seo-intro p,
.seo-note-card p,
.seo-point p {
  color: var(--text-soft);
  font-size: 15px;
}

.seo-points {
  display: grid;
  gap: 18px;
}

.seo-point {
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 22px;
}

.seo-point h4 {
  font-size: 20px;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.seo-note-card {
  padding: 28px;
}

.seo-checklist {
  display: grid;
  gap: 12px;
}

.seo-check {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
  position: relative;
  padding-left: 44px;
}

.seo-check::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--success);
  font-weight: 900;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.contact-panel h3 {
  font-size: 30px;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.contact-panel p {
  color: var(--text-soft);
  margin-bottom: 24px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 26px 0 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-item .badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 18px;
}

.contact-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
}

.contact-item span {
  color: var(--text-soft);
  font-size: 14px;
}

.quick-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  transition: var(--transition);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(94, 160, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.12);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-success {
  margin-top: 12px;
  color: var(--success);
  font-size: 14px;
  display: none;
}

.footer {
  padding: 32px 0 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-soft);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}

/* Galvenais fixes, lai saturs nepazūd */
.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .feature-split,
  .contact-wrap,
  .seo-layout {
    grid-template-columns: 1fr;
  }

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

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

  .hero-panel {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 780px) {
  .nav-links {
    display: none;
  }

  .nav-inner {
    min-height: 74px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px 0;
  }

  .nav-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .ghost-btn,
  .primary-btn,
  .outline-btn {
    width: 100%;
  }

  .grid-3,
  .process-grid,
  .hero-meta,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-grid {
    min-height: auto;
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 52px);
    line-height: 1.02;
  }

  .hero-copy p,
  .section-heading p,
  .contact-panel p {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card-body,
  .dashboard-main,
  .dashboard-side {
    padding: 18px;
  }

  .dashboard-main {
    min-height: 220px;
  }

  .dashboard-main h3 {
    font-size: 22px;
    max-width: 100%;
  }

  .chart-lines {
    left: 18px;
    right: 18px;
    bottom: 18px;
    height: 84px;
  }

  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .contact-panel,
  .split-panel,
  .card,
  .step-card,
  .seo-intro,
  .seo-note-card,
  .seo-point {
    padding: 22px;
    border-radius: 22px;
  }

  .seo-intro h3,
  .seo-note-card h4 {
    font-size: 24px;
  }

  .seo-point h4 {
    font-size: 18px;
  }

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

@media (max-width: 520px) {
  .brand {
    font-size: 19px;
    gap: 10px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .pill {
    font-size: 10px;
    letter-spacing: 0.1em;
    padding: 7px 12px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .meta-card strong {
    font-size: 24px;
  }

  .card p,
  .step-card p,
  .contact-item span {
    font-size: 13px;
  }

  .card h3,
  .step-card h3,
  .contact-panel h3 {
    font-size: 24px;
  }

  .icon-box {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .field input,
  .field textarea,
  .field select {
    padding: 12px 14px;
  }
}
