/* =============================================
   NORDIXA.NO - B2B Color System
   =============================================
   Background:      #F9F9FB (light silver gray)
   Primary Accent:  #9D00FF (electric purple)
   Cards/Panels:    #FFFFFF (white)
   Headings:        #212121 (dark charcoal)
   Body Text:       #505050 (dark gray)
   ============================================= */

/* 1. Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.7;
  color: #505050;
  background-color: #F9F9FB;
}

/* 2. Header & Navigation */
header {
  background: #FFFFFF;
  padding: 18px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.logo {
  font-size: 26px;
  font-weight: 700;
  color: #212121;
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
}

.logo:hover {
  color: #9D00FF;
}

.logo span {
  color: #9D00FF;
  font-weight: 500;
}

nav a {
  margin-left: 28px;
  text-decoration: none;
  color: #505050;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

nav a:hover {
  color: #9D00FF;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #9D00FF;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* 3. CTA Buttons & Phone */
.cta-btn {
  background: #9D00FF;
  color: #FFFFFF !important;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(157, 0, 255, 0.25);
}

.cta-btn:hover {
  background: #8500d9;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(157, 0, 255, 0.35);
}

.cta-btn:active {
  transform: translateY(0);
}

/* 4. Hero Section - High Contrast Text */
.hero {
  padding: 70px 5% 80px;
  text-align: center;
  color: white;
  background: linear-gradient(to bottom, rgba(33, 33, 33, 0.7) 0%, rgba(33, 33, 33, 0.6) 100%), url("images/hero.png.png");
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero h1 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  letter-spacing: -1px;
}

.hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 18px;
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero .cta-btn {
  background: #9D00FF !important;
  color: #FFFFFF !important;
  margin-top: 20px !important;
  font-size: 16px;
  padding: 14px 35px;
  box-shadow: 0 4px 20px rgba(157, 0, 255, 0.4);
}

.hero .cta-btn:hover {
  background: #b333ff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(157, 0, 255, 0.5);
}

.hero::after {
  display: none;
}

/* 5. Sections */
section {
  padding: 50px 5%;
  width: 100%;
  clear: both;
  position: relative;
}

section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(157, 0, 255, 0.15), transparent);
}

#kontakt::after {
  display: none;
}

.bg-light {
  background: #FFFFFF;
}

h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 32px;
  color: #212121;
  font-weight: 700;
  letter-spacing: -0.5px;
}

h3 {
  color: #212121;
  font-weight: 600;
}

p {
  color: #505050;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  width: 100%;
  align-items: stretch;
}

/* 6. Service Cards */
.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
}

.card {
  background: #FFFFFF;
  padding: 25px 20px;
  border-radius: 12px;
  border: none;
  border-top: 3px solid #9D00FF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-link:hover .card,
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(157, 0, 255, 0.12);
  border-top-color: #b333ff;
}

.card img {
  max-width: 70px;
  height: auto;
  margin: 0 auto 15px;
  transition: transform 0.3s ease;
}

.card-link:hover .card img {
  transform: scale(1.1);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  color: #212121;
}

.card p {
  font-size: 15px;
  line-height: 1.6;
  color: #505050;
}

/* 7. Process Steps */
.step {
  text-align: center;
  padding: 15px;
}

.step-number {
  background: #9D00FF;
  color: #FFFFFF;
  width: 45px;
  height: 45px;
  line-height: 45px;
  border-radius: 50%;
  margin: 0 auto 12px;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(157, 0, 255, 0.3);
  transition: all 0.3s ease;
}

.step:hover .step-number {
  transform: scale(1.1);
  background: #b333ff;
  box-shadow: 0 6px 25px rgba(157, 0, 255, 0.4);
}

.step h3 {
  font-size: 18px;
  color: #212121;
}

/* 8. Contact Section */
#kontakt {
  background: linear-gradient(135deg, #9D00FF 0%, #7a00cc 100%);
  padding: 50px 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#kontakt::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

#kontakt h2 {
  color: #FFFFFF;
  font-size: 38px;
  margin-bottom: 15px;
}

#kontakt > p {
  color: rgba(255,255,255,0.9);
  text-align: center;
  max-width: 500px;
  margin-bottom: 35px;
  font-size: 17px;
}

form {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #FFFFFF;
  padding: 30px 28px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

input,
textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: #212121;
  background-color: #F9F9FB;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #9D00FF;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(157, 0, 255, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: #888;
}

.submit-btn {
  background: #9D00FF;
  color: #FFFFFF;
  border: none;
  padding: 18px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(157, 0, 255, 0.3);
}

.submit-btn:hover {
  background: #8500d9;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(157, 0, 255, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

/* 9. Footer */
footer {
  background: #212121;
  color: #FFFFFF;
  text-align: center;
  padding: 25px 20px;
  font-size: 14px;
}

footer p {
  color: rgba(255,255,255,0.7);
}

/* 10. Intro Section */
#intro {
  background: #FFFFFF;
}

#intro h2 {
  color: #212121;
}

#intro p {
  font-size: 17px;
  line-height: 1.8;
  color: #505050;
}

/* 11. Why Section */
#why {
  background: #F9F9FB;
}

#why .card {
  border-top: none;
  border-left: 4px solid #9D00FF;
}

#why .card:hover {
  border-left-color: #b333ff;
}

/* 12. How Section */
#how {
  background: #FFFFFF;
}

/* 13. Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 80px 5% 90px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero p {
    font-size: 16px;
  }
  header {
    flex-direction: column;
    gap: 15px;
    padding: 15px 5%;
  }
  nav a {
    margin: 0 12px;
    font-size: 14px;
  }
  nav a::after {
    display: none;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  h2 {
    font-size: 28px;
  }
  form {
    padding: 30px 25px;
  }
  #kontakt h2 {
    font-size: 30px;
  }
  .cta-btn {
    padding: 12px 24px;
  }
}
