/* VARIABLES */
:root {
  --primary: #111827; /* Dark Tech */
  --secondary: #4b5563; /* Muted Text */
  --accent: #0f766e; /* Nordic Teal */
  --bg-white: #ffffff;
  --bg-alt: #f3f4f6; /* Light Cool Gray */
  --border: #e5e7eb;

  --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  --spacing-section: 6rem;
  --radius: 4px; /* Minimal radius */
  --container: 1200px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--primary);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--secondary);
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--primary);
}

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

ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* UTILS */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.narrow-container {
  max-width: 800px;
}

.section {
  padding: var(--spacing-section) 0;
}
.bg-alt {
  background-color: var(--bg-alt);
}
.text-center {
  text-align: center;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-4 {
  margin-top: 4rem;
}
.mb-5 {
  margin-bottom: 3rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  gap: 0.5rem;
}

.btn--primary {
  background-color: var(--accent);
  color: white;
}

.btn--primary:hover {
  background-color: #0d5e58;
  transform: translateY(-1px);
}

.btn--outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn--outline:hover {
  background-color: var(--primary);
  color: white;
}

.btn--text {
  color: var(--accent);
  padding: 0.8rem 0;
}
.btn--text:hover {
  opacity: 0.8;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}
.full-width {
  width: 100%;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
  height: 80px;
}

.header__container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo__text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 32px;
  width: auto;
}

.logo:hover {
  opacity: 0.5;
}

.nav__list {
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--secondary);
}

.nav__link:hover,
.nav__link.active {
  color: var(--accent);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}

.mobile-menu.active {
  transform: translateY(0);
}

.close-menu {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}
.mobile-nav__link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

/* HERO */
.hero {
  padding-top: 160px; /* Header + spacing */
  padding-bottom: 6rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tag {
  display: inline-block;
  background-color: var(--bg-alt);
  color: var(--accent);
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
}

.hero__actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.img-responsive {
  border-radius: var(--radius);
  /* No heavy shadows for Nordic style */
}

/* SECTIONS */
.features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

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

.feature-item:hover {
  border-color: var(--accent);
}
.feature-item i {
  color: var(--accent);
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
}

/* Benefits */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.clean-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.clean-list i {
  color: var(--accent);
  flex-shrink: 0;
  width: 20px;
}

.stat-card {
  background: var(--bg-alt);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}
.mt-card {
  margin-top: 1.5rem;
  margin-left: 2rem;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.timeline-item {
  position: relative;
  padding-top: 1rem;
  border-top: 2px solid var(--border);
}

.step-num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--bg-alt);
  /* Overlapping number style */
  position: absolute;
  top: -2.5rem;
  left: 0;
  z-index: -1;
  -webkit-text-stroke: 1px var(--border);
}

.link-arrow {
  color: var(--accent);
  font-weight: 500;
  margin-top: 1rem;
  display: inline-block;
  border-bottom: 1px solid var(--accent);
}

/* Grid 3 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  padding: 2rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
}

/* FAQ */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  color: var(--primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-content p {
  padding-bottom: 1.5rem;
}

/* FORM */
.form-wrapper {
  background: white;
  padding: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.clean-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
}

.checkbox-wrapper {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.checkbox-wrapper input {
  margin-top: 0.3rem;
}
.checkbox-wrapper label {
  font-size: 0.85rem;
  color: var(--secondary);
}

/* FOOTER */
.footer {
  background-color: var(--primary);
  color: #9ca3af;
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.text-light {
  color: white;
}

.footer__links li {
  margin-bottom: 0.8rem;
}
.footer__links a:hover {
  color: white;
}

.footer__bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

/* COOKIES */
.cookie-popup {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: white;
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: none;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  z-index: 999;
  max-width: 600px;
  margin: 0 auto;
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  .hero__grid,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero__actions {
    justify-content: center;
  }
  .desktop-nav,
  .desktop-btn {
    display: none;
  }
  .burger-btn {
    display: block;
  }
  .features-row,
  .timeline,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .mt-card {
    margin-left: 0;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .timeline-item {
    border-top: none;
    border-left: 2px solid var(--border);
    padding-left: 2rem;
    padding-top: 0;
    padding-bottom: 2rem;
  }
  .step-num {
    left: -1.3rem;
    top: 0;
  }
}

@media (max-width: 600px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  .btn {
    width: 100%;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
}
