/* ===========================
   MODERN RESET & BASE
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #2e5072;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

/* ===========================
   NAVIGATION - MODERN & CLEAN
   =========================== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.large {
  padding: 4px 0;
}

.navbar.small {
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.small .nav-inner {
  padding: 16px 60px;
}

/* Logo - Premium Feel */
.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.4s ease;
}

.logo img {
  height: 52px;
  width: auto;
  transition: all 0.4s ease;
}

.navbar.small .logo img {
  height: 42px;
}

.logo span {
  font-size: 25px;
  font-weight: 700;
  color: #003d5c !important;
  letter-spacing: -0.5px;
  transition: all 0.4s ease;
}

.navbar.small .logo span {
  font-size: 19px;
}

/* Menu - Refined Typography */
.menu {
  list-style: none;
  display: flex;
  gap: 48px;
  margin: 0;
  padding: 0;
}

.menu > li > a {
  text-decoration: none;
  color: #2c3e50;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
  padding: 10px 0;
  position: relative;
}

.menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #1e628f, #2c7da0);
  transition: width 0.3s ease;
}

.menu > li > a:hover::after {
  width: 100%;
}

.navbar.small .menu > li > a {
  font-size: 15px;
}

.menu > li > a:hover {
  color: #1e628f;
}

/* Navigation Dropdown */
.nav-item {
  position: relative;
}

.nav-item > a {
  position: relative;
  padding-right: 16px;
}

.nav-item > a::before {
  content: "▼";
  font-size: 9px;
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  opacity: 0.6;
}

.nav-item:hover > a::before {
  transform: translateY(-50%) rotate(180deg);
}

/* Premium Dropdown */
.sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  min-width: 260px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  transform: translateX(-50%) translateY(-8px);
}

.sub-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.nav-item:hover .sub-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sub-menu li {
  padding: 0;
}

.sub-menu a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 450;
  font-size: 15px;
  display: block;
  padding: 14px 28px;
  transition: all 0.2s ease;
  cursor: pointer;
  letter-spacing: 0.1px;
}

.sub-menu a:hover {
  background: linear-gradient(90deg, #f0f8ff 0%, #e3f2fd 100%);
  color: #1e628f;
  padding-left: 32px;
}

/* ===========================
   HEADER - HERO SECTION
   =========================== */
header {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 40%, #90caf9 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 140px 40px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle animated pattern overlay */
header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

header * {
  position: relative;
  z-index: 1;
  color: #1e628f;
}

header h3 {
  font-size: 26px;
  margin: 0 0 16px 0;
  font-weight: 400;
  letter-spacing: 1px;
  opacity: 0.9;
  text-transform: uppercase;
  font-size: 14px;
  color: #1565c0;
}

header h1 {
  font-size: 64px;
  margin: 0 0 32px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: #0d47a1;
}

header p {
  font-size: 19px;
  margin-top: 0;
  max-width: 720px;
  line-height: 1.8;
  color: #1565c0;
  font-weight: 400;
}

/* ===========================
   FULL PAGE SECTIONS - PREMIUM
   =========================== */
.full-page-section {
  min-height: 90vh;
  padding: 120px 0 80px 0;
  text-align: center;
  scroll-margin-top: 90px;
  position: relative;
}

/* White section with subtle texture */
#vad-ar-neurofeedback {
  background: #ffffff;
  position: relative;
  min-height: auto;
  padding: 80px 0 60px 0;
  display: block;
}

#vad-ar-neurofeedback::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(30, 98, 143, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(30, 98, 143, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

/* Light blue section */
#for-vem {
  background: #e3f2fd;
  position: relative;
}

#for-vem h2,
#for-vem h3,
#for-vem h4,
#for-vem p,
#for-vem li {
  color: #1565c0;
}

/* Soft mint section */
#hur-gar-det-till {
  background: #fafafa;
}

/* Warm peach section */
#priser {
  background: linear-gradient(180deg, #fff3e0 0%, #fff8f0 50%, #fffaf5 100%);
}

.full-page-section .content-wrapper {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.full-page-section h2 {
  font-size: 48px;
  margin-bottom: 40px;
  color: #0d47a1;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
}

.full-page-section p {
  font-size: 22px;
  line-height: 2.1;
  color: #37474f;
  margin-bottom: 28px;
  font-weight: 400;
}

.full-page-section p strong {
  color: #1e628f;
  font-weight: 600;
}

/* ===========================
   REGULAR SECTIONS
   =========================== */
section {
  scroll-margin-top: 90px;
}

section:not(.full-page-section) {
  max-width: 920px;
  margin: auto;
  padding: 100px 40px;
}

section h2 {
  font-size: 40px;
  margin-bottom: 32px;
  color: #0d47a1;
  font-weight: 700;
  letter-spacing: -0.5px;
}

section p {
  font-size: 18px;
  line-height: 1.9;
  color: #37474f;
  margin-bottom: 20px;
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact {
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
  padding: 120px 40px;
  max-width: 100%;
  text-align: center;
}

.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.contact h2 {
  margin-bottom: 24px;
  font-size: 48px;
  color: #0d47a1;
}

.contact-intro {
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 1.8;
  color: #37474f;
}

.contact-info {
  text-align: left;
  background: rgba(255, 255, 255, 0.8);
  padding: 32px;
  border-radius: 12px;
  margin-top: 40px;
}

.contact-info p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #37474f;
}

.contact-info strong {
  color: #0d47a1;
}

.cta-button {
  display: inline-block;
  margin-top: 32px;
  padding: 16px 48px;
  background: linear-gradient(90deg, #1e628f, #2c7da0);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 98, 143, 0.3);
}

.contact p {
  font-size: 18px;
  margin-bottom: 16px;
}

.contact a {
  color: #1e628f;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.contact a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #1e628f, #2c7da0);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact a:hover::after {
  transform: scaleX(1);
}

/* ===========================
   FOOTER
   =========================== */
footer {
  text-align: center;
  padding: 48px 20px;
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
  color: #ffffff;
  font-size: 15px;
  letter-spacing: 0.3px;
}

/* ===========================
   CARDS & VISUALS (No Icons)
   =========================== */

/* Benefits Grid Cards */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(30, 98, 143, 0.1);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: rgba(30, 98, 143, 0.3);
  box-shadow: 0 12px 32px rgba(30, 98, 143, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.benefit-card p {
  margin: 0;
}

/* Simple Sections - Minimal Design */
.section-subtitle {
  font-size: 20px;
  color: #0d47a1;
  margin: 20px 0 16px 0;
  font-weight: 600;
  text-align: center;
}

.section-intro {
  font-size: 15px;
  color: #37474f;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.simple-sections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.simple-section {
  text-align: left;
}

.simple-section h4 {
  font-size: 17px;
  color: #0d47a1;
  margin: 0 0 16px 0;
  font-weight: 600;
}

.simple-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.simple-section li {
  padding: 8px 0;
  color: #37474f;
  font-size: 15px;
  line-height: 1.6;
}

.simple-section p {
  font-size: 15px;
  color: #37474f;
  line-height: 1.7;
  margin: 0;
}



/* Process Steps */
.process-steps {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 40px 0;
  flex-wrap: wrap;
  align-items: flex-start;
}

.process-step {
  flex: 1;
  min-width: 240px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  border-left: 4px solid #1e628f;
  transition: all 0.3s ease;
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(30, 98, 143, 0.1);
}

.step-content h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #0d47a1;
  font-size: 20px;
}

.step-content p {
  margin: 0;
  font-size: 15px;
  color: #37474f;
}

/* Pricing Cards */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin: 40px 0;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid rgba(30, 98, 143, 0.15);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e628f, #2c7da0);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.pricing-card:hover::before {
  transform: scaleX(1);
}

.pricing-card:hover {
  transform: translateY(-12px);
  border-color: rgba(30, 98, 143, 0.3);
  box-shadow: 0 16px 40px rgba(30, 98, 143, 0.2);
  background: rgba(255, 255, 255, 0.95);
}

.pricing-card.featured {
  background: linear-gradient(135deg, #e3f2fd, #f0f8ff);
  border-color: rgba(30, 98, 143, 0.3);
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(30, 98, 143, 0.15);
}

.pricing-card.featured:hover {
  transform: scale(1.08) translateY(-12px);
  box-shadow: 0 20px 48px rgba(30, 98, 143, 0.25);
}

.pricing-card h3 {
  margin: 0 0 12px 0;
  color: #0d47a1;
  font-size: 22px;
  font-weight: 600;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  text-align: left;
}

.price-list li {
  padding: 8px 0;
  color: #37474f;
  font-size: 15px;
  border-bottom: 1px solid rgba(30, 98, 143, 0.1);
}

.price-list li:last-child {
  border-bottom: none;
}

.price-amount {
  font-size: 36px;
  font-weight: 700;
  color: #1e628f;
  margin: 16px 0 0 0;
}

.pricing-card p {
  font-size: 15px;
  color: #37474f;
  margin: 12px 0;
}

.pricing-card.featured p:last-child {
  font-weight: 500;
  color: #1e628f;
}


.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #2c3e50;
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  color: #1e628f;
}

.menu-toggle.active {
  color: #1e628f;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Tablet & Small Screens */
@media (max-width: 1024px) {
  .nav-inner {
    padding: 16px 40px;
  }

  .menu {
    gap: 32px;
  }
}

/* Medium Tablets */
@media (max-width: 768px) {

  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 32px 0;
  }

  .benefit-card {
    padding: 20px 16px;
  }

  .simple-sections {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 32px 0;
  }

  .process-step {
    padding: 20px;
  }


  .step-content h3 {
    font-size: 18px;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 32px 0;
  }

  .pricing-card {
    padding: 32px 24px;
    transform: scale(1) !important;
  }

  .pricing-card.featured {
    transform: scale(1) !important;
  }

  .pricing-card:hover {
    transform: translateY(-8px) !important;
  }

  .pricing-card.featured:hover {
    transform: scale(1) translateY(-8px) !important;
  }


  .pricing-card h3 {
    font-size: 20px;
  }

  .pricing-card .price {
    font-size: 32px;
  }
  .navbar {
    position: relative;
  }

  .menu-toggle {
    display: block;
  }

  .nav-inner {
    flex-wrap: wrap;
    padding: 16px 24px;
    gap: 16px;
  }

  .logo span {
    font-size: 18px;
  }

  .menu {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    text-align: left;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .menu.active {
    max-height: 500px;
  }

  .menu > li > a {
    font-size: 16px;
    padding: 12px 0;
  }

  /* Hide dropdowns on mobile */
  .sub-menu {
    display: none !important;
    position: static;
    box-shadow: none;
    background: #f5f5f5;
    padding: 8px 16px;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-width: 100%;
    min-width: auto;
  }

  .nav-item:hover .sub-menu {
    display: none !important;
  }

  .nav-item > a::before {
    display: none;
  }

  /* Submenu items */
  .sub-menu a {
    padding: 10px 16px;
    font-size: 14px;
  }

  header {
    padding: 120px 24px 80px;
    min-height: auto;
  }

  header h3 {
    font-size: 12px;
  }

  header h1 {
    font-size: 42px;
    margin-bottom: 24px;
  }

  header p {
    font-size: 16px;
    line-height: 1.6;
  }

  .full-page-section {
    padding: 80px 0 60px 0;
    min-height: auto;
  }
  
  .full-page-section .content-wrapper {
    padding: 0 24px;
  }

  .full-page-section h2 {
    font-size: 34px;
    margin-bottom: 28px;
  }

  .full-page-section p {
    font-size: 16px;
    line-height: 1.8;
  }

  section:not(.full-page-section) {
    padding: 60px 24px;
  }

  section h2 {
    font-size: 30px;
    margin-bottom: 24px;
  }

  section p {
    font-size: 16px;
  }

  .contact {
    padding: 80px 24px;
  }

  .contact h2 {
    margin-bottom: 32px;
  }

  .contact p {
    font-size: 16px;
  }
}

/* Small Phones */
@media (max-width: 480px) {

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .benefit-card {
    padding: 16px;
  }


  .process-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
  }


  .step-content h3 {
    font-size: 16px;
  }


  .pricing-card .price {
    font-size: 28px;
  }
  .logo span {
    font-size: 16px;
  }

  .logo img {
    height: 40px;
  }

  header {
    padding: 100px 16px 60px;
  }

  header h3 {
    font-size: 11px;
    margin-bottom: 12px;
  }

  header h1 {
    font-size: 32px;
    margin-bottom: 18px;
  }

  header p {
    font-size: 15px;
    max-width: 100%;
  }

  .full-page-section {
    padding: 60px 0 40px 0;
  }

  .full-page-section .content-wrapper {
    padding: 0 16px;
  }

  .full-page-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .full-page-section p {
    font-size: 15px;
    margin-bottom: 16px;
  }

  section:not(.full-page-section) {
    padding: 50px 16px;
  }

  section h2 {
    font-size: 26px;
    margin-bottom: 18px;
  }

  section p {
    font-size: 15px;
  }

  .menu > li > a {
    padding: 10px 0;
    font-size: 15px;
  }

  .contact {
    padding: 60px 16px;
  }

  footer {
    padding: 40px 16px;
    font-size: 14px;
  }
}

/* Extra Small Phones */
@media (max-width: 380px) {
  .logo span {
    font-size: 14px;
  }

  header h1 {
    font-size: 28px;
  }

  .full-page-section h2 {
    font-size: 24px;
  }

  section h2 {
    font-size: 22px;
  }
}

/* ===========================
   SMOOTH ANIMATIONS
   =========================== */
@media (prefers-reduced-motion: no-preference) {
  .full-page-section,
  section {
    animation: fadeInUp 0.8s ease-out;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
