/* Kurs spesifikk CSS */

:root {
  --primary-color: #00A7E1;
  --primary-light: rgba(0, 167, 225, 0.1);
  --primary-hover: rgba(0, 167, 225, 0.2);
  --bg-dark: #02111B;
  --bg-darker: #041C2C;
  --bg-hover: #052541;
  --course-color: #FFA726;
  --course-bg: rgba(255, 167, 38, 0.1);
  --course-border: rgba(255, 167, 38, 0.3);
  --text-light: rgba(255, 255, 255, 0.9);
  --text-muted: rgba(255, 255, 255, 0.6);
  --border-color: rgba(0, 167, 225, 0.3);
  --shadow-color: rgba(0, 0, 0, 0.3);
  --card-radius: 8px;
  --transition-speed: 0.3s;
}

/* General layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

/* Hero Section */
.hero {
  padding: 2rem 0 1.5rem;
  text-align: center;
  background-color: rgba(4, 28, 44, 0.6);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #00A7E1;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Course Section - EKSAKT fra produkter.html */
.course-section {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(25, 25, 25, 0.95));
  padding: 3rem 0;
  margin: 3rem 0;
  border-radius: 12px;
  border: 2px solid #FFC107;
}

.course-section .section-title {
  color: #FFC107;
  text-align: center;
}

.course-section .section-intro {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.course-container {
  max-width: 700px;
  margin: 0 auto;
}

.course-card {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(25, 25, 25, 0.9));
  border: 1px solid #FFC107;
  border-radius: 8px;
  padding: 1.5rem;
}

.course-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 193, 7, 0.3);
}

.course-header h3 {
  color: #FFC107;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.course-header p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.95rem;
}

.course-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.course-price {
  text-align: center;
  margin-bottom: 1.5rem;
}

.price-large {
  font-size: 2.5rem;
  font-weight: bold;
  color: #FFC107;
  display: block;
}

.price-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.course-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-features li {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
}

.course-features li:before {
  content: "✓";
  color: #FFC107;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.course-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  margin-top: 1rem;
}

.course-actions .btn {
  padding: 12px 24px !important;
  font-size: 1rem !important;
  width: 100%;
  text-align: center;
  border: 2px solid transparent;
}

.course-actions .btn-buy-now {
  background: linear-gradient(135deg, #FFC107, #FF8F00) !important;
  color: #1a1a1a !important;
  border: 2px solid #FFC107 !important;
  border-top: 1px solid #FFC107 !important;
  margin-top: 6rem;
  font-weight: 600 !important;
}

.course-actions .btn-buy-now:hover {
  background: linear-gradient(135deg, #FF8F00, #FFC107) !important;
  transform: translateY(-2px);
}

.course-actions .btn-learn-more {
  background-color: transparent !important;
  color: #FFC107 !important;
  border: 2px solid #FFC107 !important;
}

.course-actions .btn-learn-more:hover {
  background-color: rgba(255, 193, 7, 0.1) !important;
}

.course-guarantee {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  text-align: center;
  margin: 0.8rem 0 0 0;
  font-style: italic;
}

/* Special Offers Section */
.special-offers {
  padding: 60px 0;
  margin-bottom: 60px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.offer-card {
  background-color: var(--bg-darker);
  border-radius: var(--card-radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px var(--shadow-color);
  border-color: var(--primary-color);
}

.offer-card.new-investors {
  border-color: #4CAF50;
}

.offer-card.new-investors:hover {
  border-color: #4CAF50;
  box-shadow: 0 15px 35px rgba(76, 175, 80, 0.2);
}

.offer-header {
  padding: 25px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-hover);
}

.offer-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.offer-header h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.offer-header p {
  color: var(--text-muted);
  margin: 0;
}

.offer-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.offer-price {
  text-align: center;
  margin-bottom: 20px;
}

.price-large {
  font-size: 2rem;
  font-weight: bold;
  color: #4CAF50;
  display: block;
}

.new-investors .price-large {
  color: #4CAF50;
}

.experienced-investors .price-large {
  color: var(--course-color);
}

.price-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 5px;
}

.offer-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  flex-grow: 1;
}

.offer-benefits li {
  color: var(--text-light);
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
}

.offer-benefits li::before {
  content: "✓";
  color: #4CAF50;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.offer-benefits strong {
  color: var(--primary-color);
}

.offer-card .btn {
  margin-top: auto;
}

/* Course Philosophy Section */
.course-philosophy {
  padding: 40px 0;
  margin-bottom: 40px;
}

.philosophy-content {
  max-width: 1000px;
  margin: 0 auto;
}

.philosophy-intro {
  text-align: center;
  margin-bottom: 40px;
}

.philosophy-intro p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-questions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.question-card {
  background-color: var(--bg-darker);
  border-radius: var(--card-radius);
  padding: 25px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.question-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

.question-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  display: block;
}

.question-card h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.question-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* More Info Section - Samme som porteføljer */
.more-info-section {
  margin-top: 20px;
  border-top: 1px solid var(--border-color);
}

.more-info-btn {
  width: 100%;
  background: none;
  border: none;
  color: var(--primary-color);
  padding: 15px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.more-info-btn:hover {
  background-color: var(--bg-hover);
  color: #ffffff;
}

.more-info-btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.info-icon {
  font-size: 1rem;
}

/* Bottom CTA */
.bottom-cta {
  background-color: var(--bg-darker);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  margin: 40px 0;
  border: 1px solid var(--border-color);
}

.bottom-cta h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.bottom-cta p {
  color: var(--text-light);
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-dark);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border-color: var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.1rem;
}

/* Modal Styles - Samme som porteføljer */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: var(--bg-darker);
  margin: 5% auto;
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 20px 25px 15px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-hover);
}

.modal-header h3 {
  color: var(--primary-color);
  margin: 0;
  font-size: 1.4rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--primary-color);
}

.modal-body {
  padding: 25px;
}

.modal-body p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

.modal-body strong {
  color: var(--primary-color);
}

.modal-body ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.modal-body li {
  color: var(--text-light);
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.modal-body li::before {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Disclaimer - Compact version */
.disclaimer-section {
  margin: 40px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.disclaimer-toggle {
  background-color: var(--bg-darker);
  border: 1px solid rgba(255, 193, 7, 0.4);
  border-radius: 6px;
  padding: 12px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFA726;
  font-weight: 500;
  font-size: 0.9rem;
}

.disclaimer-toggle:hover {
  border-color: #FFA726;
  background-color: rgba(255, 167, 38, 0.05);
}

.disclaimer-toggle .warning-icon {
  color: #FFA726;
  margin-right: 8px;
  font-size: 1rem;
}

.disclaimer-toggle .toggle-text {
  text-align: center;
}

.disclaimer-toggle::after {
  content: "+";
  font-size: 1.1rem;
  color: #FFA726;
  transition: transform 0.3s ease;
  width: 18px;
  text-align: center;
  margin-left: 8px;
}

.disclaimer-toggle.active::after {
  content: "−";
  transform: rotate(180deg);
}

.disclaimer-content {
  background-color: var(--bg-darker);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.disclaimer-toggle.active + .disclaimer-content {
  max-height: 200px;
  padding: 15px 18px;
  border-top: 1px solid rgba(255, 193, 7, 0.2);
}

.disclaimer-message {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-align: left;
  margin: 0;
  line-height: 1.5;
}

.disclaimer-message a {
  color: var(--primary-color);
  text-decoration: none;
}

.disclaimer-message a:hover {
  text-decoration: underline;
}

/* Responsive design */
@media (max-width: 1024px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }
  
  .philosophy-questions {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .modal-content {
    margin: 10% auto;
    width: 95%;
  }

  .course-content {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .course-actions .btn-buy-now {
    margin-top: 1.5rem;
  }
}

@media (max-width: 960px) {
  header .container {
    grid-template-columns: auto auto;
    align-items: center;
    gap: 0.75rem;
  }

  nav {
    grid-column: 1 / -1;
    width: 100%;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }

  nav ul li {
    margin: 0;
  }

  nav ul li a {
    font-size: 1.1rem;
  }

  .header-logo {
    height: 70px;
  }

  .course-section {
    margin: 2.5rem 0;
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .course-card {
    padding: 20px;
  }
  
  .course-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .course-actions .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .course-actions .btn-buy-now {
    margin-top: 0;
  }

  .course-section {
    margin: 2rem 0;
    padding: 2.25rem 1.25rem;
  }

  .course-header h3 {
    font-size: 1.45rem;
  }

  .course-header p {
    font-size: 0.9rem;
  }

  .course-section .section-intro {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .philosophy-questions {
    grid-template-columns: 1fr;
  }
  
  .price-benefits {
    align-items: center;
  }

  .question-card {
    padding: 20px;
  }

  .special-offers {
    padding: 40px 0;
    margin: 40px 0;
  }

  .intro-offer,
  .standard-pricing {
    padding: 24px;
  }

  .intro-offer h3,
  .standard-pricing h3 {
    font-size: 1.5rem;
  }

  .price-display .price-large {
    font-size: 2.4rem;
  }

  .bottom-cta {
    padding: 30px 20px;
  }

  .bottom-cta h2 {
    font-size: 1.6rem;
  }

  .bottom-cta p {
    font-size: 1rem;
  }

  .disclaimer-section {
    margin: 30px auto;
  }

  .disclaimer-toggle {
    padding: 12px;
  }

  .modal-content {
    margin: 12% auto;
    width: 94%;
  }
}

@media (max-width: 600px) {
  header .container {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }

  nav ul li a {
    font-size: 1rem;
    padding: 0.4rem 0;
  }

  .login-btn {
    justify-self: center;
    width: 100%;
    max-width: 200px;
  }

  .special-tag {
    font-size: 0.85rem;
  }

  .intro-offer p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 1.5rem 0;
  }
  
  .course-card {
    padding: 16px;
  }

  .course-section {
    margin: 1.8rem 0;
    padding: 2rem 1.1rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .offer-header,
  .offer-content {
    padding: 20px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .course-content {
    gap: 1.25rem;
  }

  .course-features li {
    font-size: 0.95rem;
  }

  .intro-offer,
  .standard-pricing {
    padding: 20px;
  }

  .special-offers {
    margin: 32px 0;
    padding: 32px 0;
  }

  .price-display .price-large {
    font-size: 2.1rem;
  }

  .question-card {
    padding: 18px;
  }

  .bottom-cta {
    padding: 24px 16px;
  }

  .cta-buttons .btn {
    max-width: 100%;
  }

  .disclaimer-toggle {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .modal-content {
    margin: 15% auto;
    width: 92%;
  }
}

    /* Additional styles for improvements */
    :root {
      --primary-color: #00A7E1;
      --primary-light: rgba(0, 167, 225, 0.1);
      --primary-hover: rgba(0, 167, 225, 0.2);
      --bg-dark: #02111B;
      --bg-darker: #041C2C;
      --bg-hover: #052541;
      --course-color: #FFA726;
      --text-light: rgba(255, 255, 255, 0.9);
      --text-muted: rgba(255, 255, 255, 0.6);
      --border-color: rgba(0, 167, 225, 0.3);
      --success-color: #4CAF50;
    }

    /* Fix viewport issue */
    .special-offers {
      margin-top: 80px;
      padding-top: 40px;
    }

    /* Improved special offers styling */
    .intro-offer {
      background-color: var(--bg-darker);
      border: 2px solid var(--success-color);
      border-radius: 12px;
      padding: 30px;
      text-align: center;
      margin-bottom: 40px;
      position: relative;
      overflow: hidden;
    }

    .intro-offer::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--success-color), #66BB6A);
    }

    .intro-offer h3 {
      color: var(--success-color);
      font-size: 1.8rem;
      margin-bottom: 15px;
    }

    .intro-offer p {
      color: var(--text-light);
      font-size: 1.1rem;
      margin-bottom: 20px;
      line-height: 1.6;
    }

    .special-tag {
      display: inline-block;
      background: linear-gradient(135deg, var(--success-color), #66BB6A);
      color: white;
      padding: 8px 16px;
      border-radius: 20px;
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 20px;
    }

    /* Standard pricing section */
    .standard-pricing {
      background-color: var(--bg-darker);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 30px;
      margin-bottom: 40px;
    }

    .standard-pricing h3 {
      color: var(--primary-color);
      text-align: center;
      margin-bottom: 20px;
      font-size: 1.6rem;
    }

    .price-display {
      text-align: center;
      margin-bottom: 30px;
    }

    .price-display .price-large {
      font-size: 3rem;
      font-weight: bold;
      color: var(--course-color);
      display: block;
    }

    .price-display .price-note {
      color: var(--text-muted);
      font-size: 0.9rem;
      margin-top: 5px;
    }

    /* Philosophy boxes - 4 in a row */
    .philosophy-questions {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      margin-bottom: 30px;
    }

    @media (max-width: 1200px) {
      .philosophy-questions {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .philosophy-questions {
        grid-template-columns: 1fr;
      }
    }

    /* Modal improvements */
    .modal-body {
      padding: 30px;
    }

    .modal-body h4 {
      color: var(--primary-color);
      margin: 25px 0 15px 0;
      font-size: 1.2rem;
    }

    .modal-body h4:first-child {
      margin-top: 0;
    }

    .modal-body .highlight {
      background-color: rgba(0, 167, 225, 0.1);
      padding: 15px;
      border-left: 4px solid var(--primary-color);
      margin: 20px 0;
      border-radius: 0 4px 4px 0;
    }

    .modal-body .quote {
      font-style: italic;
      color: var(--text-muted);
      margin: 15px 0;
      padding-left: 20px;
      border-left: 2px solid var(--primary-color);
    }

    .pricing-button-center {
    text-align: center;
}