:root {
    --bg-color: #FEFBF0;
    --text-color: #111111;
    --border-color: #e5e7eb;
    --accent-color: #000000;
    --bread-color: #0F718F;

    --hero-heading: #ffffff;
    --hero-text: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
}

/* ===== HERO ===== */

.hero {
  position: relative;
  overflow: hidden;
  background-image: url("Pictures/Hero.png");
  background-size: cover;
  background-position: center right; /* fokus mot höger där bilden är */
  background-repeat: no-repeat;
  color: var(--hero-text);
}

.hero-inner {
  position: relative;
  width: min(100vw, 2560px);
  margin: 0 auto;

  /* fyller skärmen under topbaren */
  padding-top: calc(100vh / 10);
  padding-bottom: calc(100vh / 10);
  padding-left: calc(100vw / 10);
  padding-right: calc(100vw / 10);

  display: flex;
  flex-direction: column;
  align-items: flex-start;      /* texten börjar vid vänster padding */
  gap: calc(100vh / 30);
  justify-content: center;
  min-height: calc(100vh - 60px);
}

.hero-text {
  max-width: calc(100vw / 2.1);
}

/* 2560px → ~120px, laptop → ~90px, mindre skärmar → nedåt */
.hero-title {
  font-size: clamp(32px, calc(100vw / 21), 120px);
  line-height: 1.03;
  font-weight: 800;
  color: var(--hero-heading);
  margin-bottom: calc(100vh / 35);
}

/* 2560px → ~40px, laptop → ~28–32px, mobil ~18–20px */
.hero-subtitle {
  font-size: clamp(16px, calc(100vw / 70), 40px);
  line-height: 1.6;
  color: var(--hero-text);
  margin-bottom: calc(100vh / 30);
}

.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: calc(100vw / 50);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: calc(100vh / 70) calc(100vw / 75);
  border-radius: 999px;
  font-weight: 600;
  font-size: clamp(13px, calc(100vw / 95), 18px);
  text-decoration: none;
  border-width: 1.5px;
  border-style: solid;
  cursor: pointer;
  white-space: nowrap;
}

.hero-btn-primary {
  background: transparent;
  color: var(--hero-text);
  border-color: var(--hero-text);
}

.hero-btn-primary:hover {
  background: var(--hero-text);
  color: var(--bread-color);
}

.hero-btn-secondary {
  background: transparent;
  color: var(--hero-text);
  border-color: var(--hero-text);
  backdrop-filter: blur(2px);
}

.hero-btn-secondary:hover {
  background: var(--hero-text);
  color: var(--bread-color);
}

.hero-btn-arrow {
  margin-left: calc(100vw / 150);
  font-size: clamp(14px, calc(100vw / 85), 20px);
  line-height: 1;
}

@media (min-width: 900px) {
  .hero-inner {
    /* om du senare vill lägga till en illustration kan du byta till row */
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
}

/* ===== PRICING SECTION ===== */

.pricing-section {
  background-color: #FEFBF0;
  padding-top: calc(100vh / 10);
  padding-bottom: calc(100vh / 10);
}

.pricing-inner {
  width: min(100vw, 2560px);
  margin: 0 auto;
  padding-left: calc(100vw / 10);
  padding-right: calc(100vw / 10);
}

.pricing-header {
  display: flex;
  flex-direction: column;
  gap: calc(100vh / 70);
  align-items: center;
  margin-bottom: calc(100vh / 30);
}

/* 2560px → ~80px, laptop → ~55–60px */
.pricing-title {
  text-align: center;
  font-size: clamp(30px, calc(100vw / 28), 80px);
  font-weight: 800;
  color: var(--bread-color);
}

/* 2560px → ~22px, laptop → ~16–18px */
.pricing-subtitle {
  font-size: clamp(14px, calc(100vw / 90), 22px);
  color: var(--bread-color);
  text-align: center;
}

/* toggle för månads-/årspris */
.billing-toggle {
  margin-top: calc(100vh / 90);
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: #e5e7eb;
}

.billing-toggle button {
  border: none;
  background: transparent;
  padding: clamp(6px, calc(100vh / 120), 9px)
           clamp(12px, calc(100vw / 80), 20px);
  border-radius: 999px;
  font-size: clamp(13px, calc(100vw / 100), 16px);
  font-weight: 600;
  cursor: pointer;
  color: #4b5563;
}

.billing-toggle button.active {
  background: #ffffff;
  color: var(--bread-color);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(100vh / 40);
}

/* korten */
.pricing-card {
  border-radius: 28px;
  background-image: url("Pictures/Background.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;

  padding: clamp(20px, calc(100vh / 40), 30px)
           clamp(18px, calc(100vw / 60), 26px)
           clamp(24px, calc(100vh / 35), 34px);

  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

/* 2560px → ~38–40px */
.pricing-card h3 {
  font-size: clamp(22px, calc(100vw / 55), 40px);
  line-height: 1.1;
  font-weight: 800;
}

/* 2560px → ~28–30px */
.pricing-card .price-line {
  font-size: clamp(18px, calc(100vw / 70), 30px);
  font-weight: 700;
  margin-top: 4px;
  margin-bottom: calc(100vh / 80);
}

.pricing-card ul {
  margin-left: 1.2rem;
  font-size: clamp(14px, calc(100vw / 95), 18px);
  line-height: 1.7;
}

/* desktop: korten i rad */
@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: calc(100vw / 60);
  }
}


/* ===== CTA-SEKTION OVANFÖR FOOTER ===== */

.cta-section {
  background-image: url("Pictures/Background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  text-align: center;

  padding-top: calc(100vh / 9);
  padding-bottom: calc(100vh / 9);
}

.cta-inner {
  width: min(100vw, 2560px);
  margin: 0 auto;
  padding-left: calc(100vw / 10);
  padding-right: calc(100vw / 10);
}

/* 2560px → ~80px */
.cta-title {
  font-size: clamp(26px, calc(100vw / 28), 80px);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: calc(100vh / 40);
}

/* 2560px → ~22px */
.cta-subtitle {
  font-size: clamp(14px, calc(100vw / 90), 22px);
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: calc(100vh / 30);
}

.cta-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: calc(100vw / 80);
  justify-content: center;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: calc(100vh / 65) calc(100vw / 80);
  border-radius: 999px;
  border-width: 1.5px;
  border-style: solid;
  font-weight: 600;
  font-size: clamp(13px, calc(100vw / 95), 19px);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.cta-btn-primary {
  background: #ffffff;
  color: #111827;
  border-color: #ffffff;
}

.cta-btn-primary:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.cta-btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.cta-btn-secondary:hover {
  background: #ffffff;
  color: #000000;
}

.cta-btn-arrow {
  margin-left: calc(100vw / 150);
  font-size: clamp(14px, calc(100vw / 85), 20px);
}
