.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  color: var(--text);
}

.tri-forms {
  --logo-s: 14px; /* FIGŪRAS MALAS pamata izmērs */
  --logo-g: 4px;
  position: relative;
  width: calc(var(--logo-s) * 2 + var(--logo-g));
  height: calc(var(--logo-s) * 2 + var(--logo-g));
  display: inline-block;
}

.tri-forms i {
  position: absolute;
  display: block;
  width: var(--logo-s);
  height: var(--logo-s);
  background: currentColor;
  transition: transform 0.15s ease;
}

.tri-forms .sq {
  left: 0;
  bottom: 0;
  border-radius: 0px;
  background: currentColor;
  background: color-mix(in srgb, currentColor 88%, white 12%);
}

.tri-forms .circ {
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: currentColor;
}

.tri-forms .tri {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background: currentColor;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.logo:hover .tri-forms i {
  transform: translateY(-1px);
}
.topbar .logo {
  color: var(--accent);
}

body.light-theme .topbar .logo {
  color: black;
}

:root {
  --bg: #121212;
  --surface: #1b1833;
  --card: #24204d;
  --primary: #a084f3;
  --accent: #7c5dfa;
  --text: #ffffff;
  --text-muted: #bbbbbb;
}

body.light-theme {
  --bg: #fafafa;
  --surface: #ffffff;
  --card: #eeeeee;
  --primary: #5a4fcf;
  --accent: #382d9c;
  --text: #111111;
  --text-muted: #555555;
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  transition: all 0.3s ease;
  padding: 2rem;
}

.call-to-action {
  display: flex;
  flex-direction: row;
  max-width: fit-content;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--surface);
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--card);
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a,
.nav-links button {
  color: var(--text);
  text-decoration: none;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

.nav-links a:hover {
  color: var(--primary);
}

.burger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

body.light-theme .hero-wrapper {
  filter: grayscale(1) !important;
}

.hero-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: var(--bg);
  transition: background-image 0.3s ease;
  height: 700px !important;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.hero-content {
  flex: 1;
  min-width: 280px;
  z-index: 2;
  position: relative;
}

.hero-content h1 {
  font-size: 2.5rem;
  color: var(--primary);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.cta-button {
  padding: 0.7rem 1.5rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
}

.cta-button:hover {
  background: var(--primary);
}

.about-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
  position: relative;
  z-index: 2;
}

.price-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
  position: relative;
  z-index: 2;
}

.about-card {
  max-width: 400px;
  background-color: rgba(36, 32, 77, 0.65);
  backdrop-filter: blur(0px);
  padding: 1rem 1.5rem;
  border-radius: 20px;
  color: var(--text);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  top: 0px;
  position: absolute;
  left: 640px;
}

.price-card {
  max-width: 400px;
  background-color: rgba(36, 32, 77, 0.65);
  backdrop-filter: blur(0px);
  padding: 1rem 1.5rem;
  border-radius: 20px;
  color: var(--text);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  top: 0px;
  position: absolute;
  left: 40px;
}

.about-card h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  margin-top: 0px;
}

.about-card p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

body.light-theme .about-card {
  background-color: rgba(255, 255, 255, 0.7);
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-theme .about-card p {
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .call-to-action {
    display: flex;
    flex-direction: row;
    gap: 10px;
    box-sizing: border-box;
    justify-self: center;
  }

  .cta-button {
    padding: 10px;
    background: transparent;
    color: white;
    border: 1px solid var(--accent);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
  }

  body.light-theme .cta-button {
    color: black;
  }

  body.light-theme .cta-button:hover {
    background: none;
  }

  body {
    padding: 1rem;
  }
  .burger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: var(--surface);
    padding: 1rem;
    position: absolute;
    top: 70px;
    right: 20px;
    border-radius: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .hero-wrapper {
    /* padding: 2rem 1rem; */
    background-position: top;
    background-size: cover;
  }
  body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background-color: var(--bg);
    color: var(--text);
    transition: all 0.3s ease;
    padding: 0px;
  }

  .about-card {
    padding: 0.5rem;
  }

  .about-card h2 {
    font-size: 1.6rem;
    margin: 5px;
  }

  .about-card p {
    font-size: 1rem;
    margin: 8px;
  }

  .about-card {
    max-width: 400px;
    background-color: rgba(36, 32, 77, 0.65);
    backdrop-filter: blur(0px);
    border-radius: 20px;
    color: var(--text);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    top: 30px !important;
    position: default !important;
    left: auto !important;
  }

  .price-card {
    max-width: 400px;
    background-color: rgba(36, 32, 77, 0.65);
    backdrop-filter: blur(0px);
    border-radius: 20px;
    color: var(--text);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    top: 230px !important;
    position: default !important;
    left: auto !important;
  }

  .hero-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: var(--bg);
    transition: background-image 0.3s ease;
    height: 900px !important;
    box-sizing: content-box;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
    color: var(--primary);
  }

  .hero-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.2;
  }
}
