:root {
  --primary-color: #2563eb;
  --secondary-color: #3b82f6;
  --text-color: var(--tekst);
  --bg-color: var(--bakgrunnsFarge);
  --heading-color: var(--tekst);
  --button-knapp: var(--buttonKnapp);
  --bg-color: var(--bakgrunnsFarge);
}
body,
html,
#helesiden {
  background: var(--bakgrunn) !important;
  width: 100% !important;
}
#wrapper {
  box-shadow: none !important;
  width: 100% !important;
}
.landing-page {
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
  background-attachment: fixed;
  overflow: hidden;
  transition: background 0.5s ease;
}

.hero-content {
  text-align: center;
  padding: 1rem;
  max-width: 50vw;
}
.hero-content.cta {
  margin-left: -50px !important;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--text-color);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.primary-btn,
.secondary-btn {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  cursor: pointer;
  min-width: 150px;
}

.primary-btn {
  background: var(--buttonKnapp);
  color: var(--buttonTekst);
  border: none;
}

.secondary-btn {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  position: relative;
}

.secondary-btn::before {
  content: "↓";
  position: absolute;
  left: 1.5rem;
  transition: transform 0.3s ease;
  opacity: 0;
}

.secondary-btn::after {
  content: "↓";
  position: absolute;
  right: 1.5rem;
  transition: transform 0.3s ease;
  opacity: 0;
}

.secondary-btn:hover::after,
.secondary-btn:hover::before {
  opacity: 1;
  animation: bounceArrow 1s infinite;
}

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

@keyframes bounceArrow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding: 4rem 2rem;
}

.feature-card {
  margin: 0;
  padding: 1.5rem 1rem;
  border-radius: 12px;
  background: var(--bg-color);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  transition: transform 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(37, 99, 235, 0.1));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.feature-card:hover::before {
  transform: translateX(0);
}

.testimonials {
  padding: 4rem 2rem;
  background: #f8fafc;
}

.slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem;
}

.testimonial-card {
  min-width: 300px;
  padding: 2rem;
  background: var(--bg-color);
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  scroll-snap-align: start;
}

.stats {
  padding: 6rem 2rem;
  background: var(--bakgrunnsFarge);
  color: var(--tekst);
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.2rem;
  opacity: 0.9;
}

.cta-section {
  padding: 8rem 2rem;
  text-align: center;
  background: linear-gradient(
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.9)
  );
  background-size: cover;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--tekst);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.contact {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.contact-grid {
  margin: 0 auto;
}

.trust-bar {
  padding: 2rem;
  background: var(--bg-color);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.trust-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.trust-bar p {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 1rem;
}

.trust-logos {
  display: flex;
  justify-content: center;
  gap: 3rem;
  align-items: center;
}

.trust-logos img {
  height: 30px;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.trust-logos img:hover {
  opacity: 0.8;
}

.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  transition: transform 0.3s;
  z-index: 1000;
}

.sticky-header.visible {
  transform: translateY(0);
}

.header-content {
  max-width: 100vw;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-color);
}

.primary-btn.small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.showcase {
  padding: 2rem 2rem;
  background: linear-gradient(
    to bottom,
    var(--bg-color),
    rgba(37, 99, 235, 0.1)
  );
}

.showcase-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.showcase-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.showcase-dot {
  padding: 0.8rem 1.5rem;
  border: none;
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  position: relative;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.showcase-dot::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.showcase-dot.active {
  opacity: 1;
}

.showcase-dot.active::after {
  transform: scaleX(1);
}

.showcase-content {
  position: relative;
  height: 600px;
  perspective: 1000px;
}

.showcase-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}

.showcase-item.active {
  opacity: 1;
  transform: translateY(0);
}

.showcase-media {
  background: #242526 !important;
  flex: 1;
  max-width: 60%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.3s;
  min-height: 400px;
  display: flex;
}

.showcase-media:hover {
  transform: perspective(1000px) rotateY(0);
}

.showcase-media video,
.showcase-media img {
  width: 100%;
  height: auto;
  max-width: 30vw;
  max-height: 40vh;
  display: block;
}

.showcase-info {
  flex: 1;
  max-width: 40%;
}

.showcase-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.showcase-info p {
  font-size: 1.1rem;
  opacity: 0.8;
  line-height: 1.6;
}

.pricing {
  padding: 6rem 2rem;
  background: linear-gradient(
    to bottom,
    var(--bg-color) 0%,
    rgba(37, 99, 235, 0.05) 100%
  );
}

.pricing-container {
  max-width: 650px;
  margin: 0 auto;
}
.pricing-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.tab {
  padding: 1.5rem;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab.featured {
  border-color: var(--primary-color);
  background: rgba(37, 99, 235, 0.05);
  position: relative;
}

.best-value {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.pricing-card {
  padding: 2rem;
  background: var(--bg-color);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  background: var(--bg-color);
  border-radius: 16px;
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-header h3 {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  max-width: 50%;
}

.amount {
  font-size: 4rem;
  font-weight: bold;
  line-height: 1;
  margin-top: 0.6rem;
  color: var(--text-color);
}

.price-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0.5rem;
  min-width: 80px;
}

.currency {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
}

.period {
  font-size: 1.2rem;
  color: var(--text-color);
  opacity: 0.8;
}

.vat {
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.6;
}

.pricing-features {
  margin: 2rem 0;
  padding: 2rem 0;
  margin: 0 auto;
  text-align: center;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
}

.pricing-features li {
  align-items: left;
  gap: 1rem;
  padding: 0.8rem 0;
  color: var(--text-color);
}

.pricing-features i {
  color: var(--primary-color);
  margin-right: 10px;
}

.pricing-cta {
  text-align: center;
}

.no-card {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.6;
}

@media (max-width: 1024px) {
  .showcase-item {
    flex-direction: column;
    gap: 2rem;
  }

  .showcase-media,
  .showcase-info {
    max-width: 100%;
  }

  .showcase-content {
    height: auto;
    min-height: 500px;
  }
}

@media (max-width: 768px) {
  .hero-cta {
    flex-direction: column;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .trust-logos {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .showcase-nav {
    flex-wrap: wrap;
  }

  .showcase-dot {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }

  .pricing-card {
    padding: 2rem;
  }

  .amount {
    font-size: 3rem;
  }
}

.device.laptop {
  max-width: 700px;
  height: 340px;
  border-bottom: 20px solid #2a2a2a;
  position: relative;
  transform: perspective(2000px) rotateX(5deg);
  background: linear-gradient(45deg, #333, #444);
}

.device.laptop::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 20px;
  bottom: -40px;
  background: linear-gradient(45deg, #222, #2c2c2c);
  transform: skew(-45deg);
  left: 10px;
  border-radius: 0 0 10px 0;
}

.device.laptop::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 5px;
  background: linear-gradient(90deg, #222, #333, #222);
  border-radius: 0 0 10px 10px;
}

.laptop .screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #666;
  border-radius: 50%;
  margin-top: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.device.phone {
  width: 250px;
  height: 500px;
  padding: 12px;
  border-radius: 40px;
  background: linear-gradient(45deg, #3a3a3a, #444);
  box-shadow: -3px 0 10px rgba(255, 255, 255, 0.05),
    3px 0 10px rgba(0, 0, 0, 0.2);
}

.device.phone::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  background: #000;
  border-radius: 20px;
  z-index: 2;
}

.phone .side-button {
  position: absolute;
  right: -2px;
  top: 120px; /* Justert posisjon */
  width: 3px;
  height: 60px; /* Økt høyde */
  background: #2a2a2a;
  border-radius: 3px;
  box-shadow: -1px 0 2px rgba(0, 0, 0, 0.5);
}

.phone .volume-buttons::before,
.phone .volume-buttons::after {
  content: "";
  position: absolute;
  left: -2px;
  width: 3px;
  height: 35px;
  background: #2a2a2a;
  border-radius: 3px;
}

.phone .volume-buttons::before {
  top: 70px;
}

.phone .volume-buttons::after {
  top: 115px;
}

.phone .screen {
  border-radius: 35px;
  height: calc(100% - 2px);
  background: #242526;
  position: relative;
  padding-top: 25px;
}

.phone .screen .content-slider {
  height: calc(100% - 45px);
  width: 100%;
  position: relative;
}

.phone .screen .content-slider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.screen::after {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.01) 50%,
    rgba(255, 255, 255, 0.03) 100%
  );
}

.device:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 20px 30px rgba(0, 0, 0, 0.2);
}

.content-slider img {
  filter: brightness(1.2) contrast(1.1) saturate(1.1);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin: 0 auto;
  padding: 0.5rem;
}

.device-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.device {
  position: relative;
  transition: all 0.3s ease;
}

.device .screen {
  overflow: hidden;
  position: relative;
}
.device .phone .screen {
  background: #242526 !important;
}

.content-slider {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.content-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.laptop {
  width: 600px;
  padding: 20px 20px 40px;
  border-radius: 20px;
  background: linear-gradient(45deg, #3a3a3a, #444);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateX(5deg) rotateY(-5deg);
}

.laptop .screen {
  border-radius: 8px;
  aspect-ratio: 16/10;
}

.phone {
  width: 250px;
  padding: 12px;
  border-radius: 40px;
  background: linear-gradient(45deg, #3a3a3a, #444);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateX(5deg) rotateY(20deg);
  margin-left: -150px;
  margin-top: 100px;
}

.phone .screen {
  border-radius: 30px;
  aspect-ratio: 9/19.5;
}
.screen {
  cursor: pointer;
}
.ssCarousel-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}
.customization {
  padding: 2rem 2rem;
  background: var(--bg-color) !important;
  width: 60%;
  border-radius: 12px;
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.2);
}
.customization .explanation {
  margin: 0 auto;
  text-align: center;
  font-size: 1.2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-color);
  opacity: 0.8;
}

.custom-fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem;
}

.field-type {
  background: var(--bakgrunn);
  color: var(--tekst);
  padding: 2rem;
  border-radius: 12px;
  width: 270px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.field-type:hover,
.alfa-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.field-type i {
  font-size: 2rem;
  color: var(--button-knapp);
  margin-bottom: 1rem;
}

.field-type h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--tekst);
}

.field-type p {
  color: var(--tekst);
  opacity: 0.8;
  font-size: 0.95rem;
}

.alfa-option {
  text-align: center;
  margin: 2rem auto;
  max-width: 800px;
  padding: 2rem;
  background: var(--bakgrunn);
  color: var(--tekst);
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.alfa-option i {
  font-size: 2.5rem;
  color: var(--button-knapp);
  margin-bottom: 1rem;
}
.alfa-option h3 {
  color: var(--tekst);
  font-weight: 600px;
  margin: 10px;
}

.customization-cta {
  text-align: center;
  margin-top: 4rem;
}

.no-setup-fee {
  display: block;
  margin-top: 1rem;
  color: var(--text-color);
  opacity: 0.8;
}

@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .device-showcase {
    margin-left: 0;
    transform: scale(0.8);
  }
  .hero-content.cta {
    margin-left: 0 !important;
    margin: 0 auto !important;
  }

  .hero-content {
    max-width: 100vw !important;
  }
}

@media (max-width: 900px) {
  .login-container {
    padding-top: 20px;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    margin-right: 0;
  }
  .login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 90%;
    max-width: 300px;
    background: var(--bakgrunnsFarge);
    padding: 15px;
    margin-right: 0;
    border: 1px solid var(--tekst);
    border-radius: 6px;
  }
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .form-group input {
    width: 100%;
    padding: 8px;
  }
  .form-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .form-actions button {
    width: 100%;
    padding: 8px;
  }
  .customization {
    padding: 2rem;
    width: 90%;
  }
}
@media (max-width: 768px) {
  .device-showcase {
    transform: scale(0.6);
    margin: -100px 0;
  }
  .hero-content.cta {
    margin-left: 0 !important;
    margin: 0 auto !important;
  }

  .hero-content {
    max-width: 100vw !important;
  }
  .pricing-card {
    padding: 0.5rem !important;
  }
  .pricing-features li {
    margin-right: 20px;
  }
  .phone {
    margin-left: -100px;
  }
  .ssCarousel-thumbnails {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 0px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    border-radius: 5px;
  }
  .ssCarousel-thumbnails .thumbnail {
    transform: scale(0.7) !important;
  }
  .custom-fields-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }
  .field-type {
    width: 100%;
  }
}
@media (max-width: 650px) {
  .pricing-container {
    /* transform: scale(0.8); */
    padding: 1rem;
  }
  .pricing-tabs {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
}

a:hover {
  text-decoration: underline !important;
}
