:root {
  --primary-color: #BA0C2F; /* Rouge norvégien */
  --secondary-color: #00205B; /* Bleu norvégien */
  --neutral-color: #FFFFFF; /* Blanc */
  --dark-color: #282828;
  --text-color: #333;
  --light-text: #fff;
  --background: #f5f5f5;
  --card-bg: #fff;
  --shadow: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--light-text);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(186, 12, 47, 0.25);
  color: var(--light-text);
}

/* Header */
.header {
  background-color: var(--neutral-color);
  box-shadow: 0 1px 10px var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.logo-icon {
  width: 36px;
  height: 36px;
}

.logo-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  font-size: 16px;
  color: var(--dark-color);
  position: relative;
  padding: 5px 0;
}

.nav-link:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover:after {
  width: 100%;
}

.toggle-menu {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary-color);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, #002053, #BA0C2F);
  color: var(--light-text);
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 100 100'%3E%3Crect x='25' y='0' width='10' height='100' fill='rgba(255,255,255,0.05)'/%3E%3Crect x='0' y='25' width='100' height='10' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
  opacity: 0.2;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-highlight {
  color: var(--neutral-color);
  position: relative;
  display: inline-block;
}

.hero-highlight:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 8px;
  background-color: rgba(186, 12, 47, 0.4);
  z-index: -1;
}

.hero p {
  font-size: 18px;
  margin-bottom: 35px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-image {
  text-align: right;
}

.hero-image svg {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

/* Benefits Section */
.benefits {
  padding: 100px 0;
  background-color: var(--background);
}

.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.section-heading h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--dark-color);
  position: relative;
  display: inline-block;
}

.section-heading h2:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

.section-heading p {
  max-width: 600px;
  margin: 0 auto;
  color: #666;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(186, 12, 47, 0.15);
}

.benefit-icon {
  background-color: var(--primary-color);
  color: var(--light-text);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 60px;
  height: 60px;
  fill: currentColor;
}

.benefit-content {
  padding: 25px;
  text-align: center;
}

.benefit-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.benefit-content p {
  color: #666;
}

/* How It Works */
.how-it-works {
  padding: 100px 0;
  background-color: #f9f9f9;
  position: relative;
}

.how-it-works:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M29 58.58l7.38-7.39A30.95 30.95 0 0 0 58.58 29.61l-3.01-3.01c-2.78 5.3-6.5 9.61-12.09 13.19L30.66 30.6a9.67 9.67 0 0 1-1.97 3.54zm17.34-33.53l3.01 3.01a31.03 31.03 0 0 0-3.01 3.03c1.3-2.1 2.37-4.25 3.01-6.04zm-35.66 17.18c-1.3 2.07-2.36 4.21-3 6.05l-3.01-3.02c.97-1.97 2.27-3.87 4.01-5.04zm0-30.02l3.01 3.01A31.17 31.17 0 0 0 1.38 29.6l3.01 3.01c2.79-5.29 6.51-9.58 12.1-13.17L29.33 29.6a9.24 9.24 0 0 1 1.96-3.54zm17.34 0A29.81 29.81 0 0 0 29 1.3l-7.39 7.38a30.7 30.7 0 0 0-10.76 10.76L30.66 29.6c.67-1.28 1.23-2.43 1.96-3.54z' fill='%23BA0C2F' fill-opacity='0.05'/%3E%3C/svg%3E");
}

.steps-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.step-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.step-number:before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px dotted var(--primary-color);
  border-radius: 50%;
  opacity: 0.3;
}

.step-content {
  text-align: center;
}

.step-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.steps-divider {
  position: absolute;
  top: 30px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

/* Features */
.features {
  padding: 100px 0;
}

.features-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.features-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.features-list {
  list-style: none;
}

.feature-item {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
}

.feature-icon {
  margin-right: 15px;
  width: 25px;
  height: 25px;
  background-color: rgba(186, 12, 47, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 12px;
  height: 12px;
  fill: var(--primary-color);
}

.feature-text h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.features-image {
  text-align: center;
}

.features-image svg {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

/* CTA */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: var(--light-text);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta:before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta:after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.cta p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: #999;
  padding: 60px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-about h3 {
  color: var(--light-text);
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-about h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

.footer-about p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: var(--light-text);
}

.footer-logo svg {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.footer-logo span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-links h3 {
  color: var(--light-text);
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #999;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--light-text);
  padding-left: 5px;
}

.copyright {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 14px;
}

/* Media Queries */
@media screen and (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-image {
    text-align: center;
    margin-top: 30px;
    order: 2;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-divider {
    display: none;
  }
  
  .steps-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  
  .step-wrapper {
    width: 100%;
    max-width: 350px;
  }
  
  .features-container {
    grid-template-columns: 1fr;
  }
  
  .features-image {
    order: 1;
    margin-bottom: 30px;
  }
  
  .features-content {
    order: 2;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-about {
    grid-column: span 2;
  }
}

@media screen and (max-width: 768px) {
  .header-inner {
    height: 70px;
  }
  
  .toggle-menu {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    flex-direction: column;
    background-color: var(--neutral-color);
    padding: 40px 0;
    transition: 0.4s;
    text-align: center;
    box-shadow: 0 10px 20px var(--shadow);
    z-index: 1000;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .nav-link:hover:after {
    width: 30px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .section-heading h2 {
    font-size: 30px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .hero h1 {
    font-size: 30px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-about {
    grid-column: span 1;
  }
  
  .cta h2 {
    font-size: 30px;
  }
}
