/* ============================================
   Color Palette - Original Design
   Primary: Deep Forest Green (#1B4D3E)
   Secondary: Coral Sunrise (#E67B3B)
   Accent: Ocean Blue (#2E6B7F)
   Light: Arctic White (#F8FAFB)
   ============================================ */

:root {
    /* Primary Palette */
    --primary: #1B4D3E;
    --primary-light: #2A6B5B;
    --primary-dark: #0F3229;
    
    /* Secondary Palette */
    --secondary: #E67B3B;
    --secondary-light: #F09860;
    --secondary-dark: #C45A1F;
    
    /* Accent Palette */
    --accent: #2E6B7F;
    --accent-light: #4A96B3;
    
    /* Neutral */
    --bg: #F8FAFB;
    --surface: #FFFFFF;
    --text: #1A1A1A;
    --text-dim: #666666;
    --border: #E0E5EA;
    --divider: #D0D8E0;
    
    /* Additional */
    --success: #27AE60;
    --warning: #F39C12;
    --error: #E74C3C;
    
    /* Spacing & Typography */
    --radius: 12px;
    --radius-large: 16px;
    --shadow: 0 8px 24px rgba(27, 77, 62, 0.12);
    --shadow-lg: 0 16px 48px rgba(27, 77, 62, 0.15);
    --container: 1200px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
}

h1 { font-size: 2.75rem; margin-bottom: 1rem; }
h2 { font-size: 2.25rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
h5 { font-size: 1.1rem; margin-bottom: 0.5rem; }
h6 { font-size: 1rem; margin-bottom: 0.5rem; }

p {
    margin: 0 0 1rem 0;
    color: var(--text-dim);
    line-height: 1.7;
}

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

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

strong {
    color: var(--text);
    font-weight: 700;
}

/* ============================================
   Layout & Grid
   ============================================ */

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 3rem;
}

.nav-links a {
    color: var(--text-dim);
    font-weight: 500;
    padding: 0.2rem 0;
    transition: var(--transition);
}

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

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.25rem 0;
    }
    
    .nav-links {
        gap: 1.5rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background-image:
        linear-gradient(135deg, rgba(15, 50, 41, 0.62) 0%, rgba(27, 77, 62, 0.52) 55%, rgba(42, 107, 91, 0.42) 100%),
        url("https://www.bistandsmidler.no/assets/hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-coming {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-ai {
    background: var(--accent);
    color: white;
}

.badge-transparent {
    background: var(--secondary);
    color: white;
}

.hero-grid {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.05) 49%, rgba(255, 255, 255, 0.05) 51%, transparent 52%);
    background-size: 40px 40px;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-grid {
        display: none;
    }
}

/* ============================================
   Main Content
   ============================================ */

.main-content {
    padding: 4rem 0;
}

.section {
    margin-bottom: 4rem;
    padding: 3rem 0;
}

.section:first-child {
    padding-top: 0;
}

.section-alt {
    background: linear-gradient(180deg, transparent 0%, rgba(230, 123, 59, 0.04) 100%);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 3rem 2rem;
}

.section-trygg {
    background: linear-gradient(135deg, #F8FAFB 0%, rgba(46, 107, 127, 0.05) 100%);
    border-radius: var(--radius-large);
    padding: 3rem;
    margin: 4rem 0;
}

/* ============================================
   Card Grid
   ============================================ */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    padding: 2rem;
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.card p {
    color: var(--text-dim);
    margin-bottom: 0;
}

/* ============================================
   Actor List
   ============================================ */

.actor-list {
    margin-top: 2rem;
}

.actor-item {
    background: var(--surface);
    border-left: 4px solid var(--secondary);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.actor-item:hover {
    box-shadow: var(--shadow);
    border-left-color: var(--secondary-light);
}

.actor-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.actor-item em {
    color: var(--text-dim);
    font-style: italic;
}

.actor-item ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: var(--text-dim);
}

.actor-item li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* ============================================
   Stats Grid
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-large);
    text-align: center;
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.stat p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ============================================
   Feature Grid
   ============================================ */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.feature {
    padding: 1.75rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    transition: var(--transition);
}

.feature:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow);
}

.feature h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.feature p {
    margin-bottom: 0;
    color: var(--text-dim);
}

/* ============================================
   Launch Box
   ============================================ */

.launch-box {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: white;
    padding: 2.5rem;
    border-radius: var(--radius-large);
    text-align: center;
    margin-top: 2rem;
}

.launch-box h3 {
    color: white;
    margin-bottom: 0.75rem;
}

.launch-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* ============================================
   Trygg Section
   ============================================ */

.trygg-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.trygg-text h2 {
    color: var(--primary);
}

.trygg-text ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    color: var(--text-dim);
}

.trygg-text li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.trygg-icon {
    font-size: 6rem;
    text-align: center;
    line-height: 1;
}

@media (max-width: 768px) {
    .trygg-content {
        grid-template-columns: 1fr;
    }
    
    .trygg-icon {
        font-size: 3rem;
    }
}

/* ============================================
   CTA Section
   ============================================ */

.section-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    border-radius: var(--radius-large);
    margin: 4rem 0;
}

.section-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.section-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ============================================
   Buttons
   ============================================ */

.cta-button,
.cta-button-large {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.cta-button:hover,
.cta-button-large:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 123, 59, 0.3);
}

.cta-button-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: white;
    color: var(--secondary);
}

.cta-button-large:hover {
    background: var(--bg);
    color: var(--secondary-dark);
}

.section-cta .cta-button-large {
    background: var(--secondary);
    color: white;
}

.section-cta .cta-button-large:hover {
    background: var(--secondary-dark);
    color: white;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--primary);
    color: white;
    padding: 3rem 0 1.5rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ============================================
   Utility & Responsive
   ============================================ */

@media (max-width: 768px) {
    .section {
        margin-bottom: 2.5rem;
        padding: 2rem 0;
    }
    
    .card-grid,
    .stats-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .section-cta {
        padding: 2.5rem 1.5rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.1rem; }
    
    .card,
    .actor-item {
        padding: 1.5rem;
    }
    
    .cta-button,
    .cta-button-large {
        width: 100%;
        text-align: center;
    }
}
}

.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 20px;
}

.shutdown-page {
  min-height: 100vh;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #f8fffd;
  background:
        linear-gradient(
            135deg,
            rgba(15, 50, 41, 0.55) 0%,
            rgba(27, 77, 62, 0.48) 55%,
            rgba(42, 107, 91, 0.4) 100%
        ),
        url("assets/hero.jpg") center / cover no-repeat,
    radial-gradient(
      circle at 12% 20%,
      rgba(242, 182, 50, 0.25),
      transparent 38%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(80, 208, 170, 0.22),
      transparent 42%
    ),
        linear-gradient(
            130deg,
            var(--hero-a, #1b4d3e),
            var(--hero-b, #0f3229)
        );
  padding: 90px 0 74px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -18% -70px;
  height: 180px;
  background: var(--bg);
  border-radius: 100% 100% 0 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  animation: rise-in 600ms ease-out;
}

.eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.05em;
  font-size: 0.88rem;
  text-transform: uppercase;
  color: rgba(248, 255, 253, 0.82);
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.1;
}

.lead {
  margin: 18px 0 26px;
  font-size: 1.15rem;
  color: rgba(248, 255, 253, 0.92);
  max-width: 70ch;
}

.btn {
  display: inline-block;
  background: var(--cta);
  color: #17211f;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 24px;
  transition:
    transform 0.18s ease,
    background-color 0.2s ease;
}

.btn:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
}

.section {
  padding: 34px 0 74px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  background: #eef3ee;
}

.footer-inner {
  padding: 18px 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer p {
  margin: 0;
  color: #41525d;
}

.footer h4,
.footer-section h4 {
    color: #1f2f36;
}

.footer a {
  color: #245a67;
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 840px) {
  .hero {
    padding: 72px 0 60px;
  }

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

  .lead {
    font-size: 1.04rem;
  }
}
