@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark: #0a0d14;
  --bg-card: #111520;
  --bg-card2: #161b2a;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-glow: rgba(37,99,235,0.3);
  --orange: #f97316;
  --orange-light: #fb923c;
  --white: #f8fafc;
  --gray: #94a3b8;
  --gray-light: #cbd5e1;
  --border: rgba(255,255,255,0.07);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 2rem;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,13,20,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.4); }

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 42px; }
.nav-logo span { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--white); letter-spacing: -0.02em; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--gray-light); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }

.nav-cta { background: var(--blue); color: #fff; border: none; padding: 0.65rem 1.4rem; border-radius: 50px; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.nav-cta:hover { background: var(--blue-light); transform: translateY(-1px); box-shadow: 0 6px 20px var(--blue-glow); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 2rem 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(37,99,235,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 80%, rgba(249,115,22,0.1) 0%, transparent 60%),
              var(--bg-dark);
}

.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content { position: relative; z-index: 1; max-width: 860px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.4);
  padding: 0.4rem 1rem; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600; color: var(--blue-light);
  margin-bottom: 1.5rem; letter-spacing: 0.05em; text-transform: uppercase;
}
.hero-badge::before { content: ''; width: 8px; height: 8px; background: var(--blue-light); border-radius: 50%; animation: pulse 2s infinite; }

@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}
.hero h1 .highlight { color: transparent; background: linear-gradient(135deg, var(--blue-light), var(--orange)); -webkit-background-clip: text; background-clip: text; }

.hero p { font-size: 1.15rem; color: var(--gray); max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.7; }

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  color: #fff; border: none; padding: 1rem 2.2rem; border-radius: 50px;
  font-size: 1rem; font-weight: 700; cursor: pointer; text-decoration: none;
  transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 30px var(--blue-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(37,99,235,0.5); }

.btn-secondary {
  background: transparent; color: var(--white); border: 1px solid var(--border);
  padding: 1rem 2.2rem; border-radius: 50px; font-size: 1rem; font-weight: 600;
  cursor: pointer; text-decoration: none; transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }

.hero-stats {
  display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap;
  margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-num { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; color: var(--white); }
.stat-num span { color: var(--blue-light); }
.stat-label { font-size: 0.82rem; color: var(--gray); margin-top: 2px; }

/* ─── SECTIONS ─── */
section { padding: 100px 2rem; }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  display: inline-block; color: var(--blue-light); font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Outfit', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1rem;
}
.section-sub { color: var(--gray); font-size: 1.05rem; max-width: 600px; line-height: 1.7; }

/* ─── WHY SECTION ─── */
#hvorfor { background: var(--bg-card); }

.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 3.5rem;
}
.why-card {
  background: var(--bg-dark); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; transition: all 0.3s; position: relative; overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange)); opacity: 0; transition: opacity 0.3s;
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(37,99,235,0.3); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.why-card:hover::before { opacity: 1; }

.why-icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.2rem;
  background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(249,115,22,0.1));
  border: 1px solid rgba(37,99,235,0.2);
}
.why-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; }
.why-card p { color: var(--gray); font-size: 0.92rem; line-height: 1.65; }

/* ─── HOW IT WORKS ─── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 3.5rem; }
.step { text-align: center; }
.step-num {
  width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 800;
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  margin: 0 auto 1.2rem; box-shadow: 0 8px 25px var(--blue-glow);
}
.step h3 { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p { color: var(--gray); font-size: 0.88rem; line-height: 1.6; }

/* ─── PRICING ─── */
#priser { background: var(--bg-card); }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; margin-top: 3.5rem; }

.price-card {
  background: var(--bg-dark); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.2rem; position: relative; transition: all 0.3s;
}
.price-card.featured {
  border-color: var(--blue); background: var(--bg-card2);
  box-shadow: 0 0 0 1px var(--blue), 0 20px 60px rgba(37,99,235,0.2);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), var(--orange));
  color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 16px; border-radius: 50px;
  white-space: nowrap; letter-spacing: 0.05em;
}
.price-card:hover { transform: translateY(-5px); }

.price-name { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 600; color: var(--gray); margin-bottom: 0.8rem; }
.price-amount { font-family: 'Outfit', sans-serif; font-size: 2.8rem; font-weight: 900; line-height: 1; margin-bottom: 0.3rem; }
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--gray); }
.price-desc { color: var(--gray); font-size: 0.88rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.8rem; }
.price-features li { font-size: 0.9rem; color: var(--gray-light); display: flex; align-items: center; gap: 8px; }
.price-features li::before { content: '✓'; color: var(--blue-light); font-weight: 700; flex-shrink: 0; }

.btn-price {
  display: block; text-align: center; padding: 0.85rem; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: all 0.3s; cursor: pointer; border: none;
}
.btn-price-primary { background: linear-gradient(135deg, var(--blue), #1d4ed8); color: #fff; box-shadow: 0 6px 20px var(--blue-glow); }
.btn-price-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37,99,235,0.5); }
.btn-price-secondary { background: transparent; color: var(--white); border: 1px solid var(--border); }
.btn-price-secondary:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); }

/* ─── TRUST ─── */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 3.5rem; }
.trust-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; text-align: center; transition: all 0.3s;
}
.trust-card:hover { transform: translateY(-4px); border-color: rgba(37,99,235,0.3); }
.trust-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.trust-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.trust-card p { color: var(--gray); font-size: 0.87rem; }

/* ─── CONTACT SECTION ─── */
#kontakt { background: var(--bg-card); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; margin-top: 3.5rem; align-items: start; }

.contact-info h3 { font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; }
.contact-info p { color: var(--gray); font-size: 0.95rem; line-height: 1.7; margin-bottom: 2rem; }

.contact-detail { display: flex; align-items: center; gap: 14px; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.contact-detail:last-child { border-bottom: none; }
.contact-detail-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.25); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-detail-text { font-size: 0.9rem; }
.contact-detail-text strong { display: block; color: var(--white); font-weight: 600; }
.contact-detail-text span { color: var(--gray); font-size: 0.85rem; }
.contact-detail-text a { color: var(--blue-light); text-decoration: none; }
.contact-detail-text a:hover { text-decoration: underline; }

.contact-form-wrap { background: var(--bg-dark); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-light); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--bg-card2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--white); font-family: 'Inter', sans-serif; font-size: 0.95rem;
  padding: 0.8rem 1rem; transition: all 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: var(--bg-card2); }

.btn-submit {
  width: 100%; padding: 1rem; background: linear-gradient(135deg, var(--blue), #1d4ed8);
  color: #fff; border: none; border-radius: 50px; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 8px 25px var(--blue-glow);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 35px rgba(37,99,235,0.5); }

.form-success {
  display: none; text-align: center; padding: 2rem;
  background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.3); border-radius: var(--radius);
}
.form-success .success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 { font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; }
.form-success p { color: var(--gray); }

/* ─── FOOTER ─── */
footer {
  background: var(--bg-dark); border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 36px; }
.footer-logo span { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem; }
.footer-copy { color: var(--gray); font-size: 0.82rem; text-align: center; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--gray); font-size: 0.82rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

/* ─── FLOATING CTA ─── */
.floating-cta {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  background: linear-gradient(135deg, var(--orange), #ea580c);
  color: #fff; border: none; padding: 1rem 1.6rem; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem; cursor: pointer; text-decoration: none;
  box-shadow: 0 8px 30px rgba(249,115,22,0.4); transition: all 0.3s;
  display: flex; align-items: center; gap: 8px;
  animation: floatIn 0.5s 1.5s both;
}
.floating-cta:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 40px rgba(249,115,22,0.5); }
@keyframes floatIn { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* ─── TABLET (max 1024px) ─── */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── MOBILE (max 768px) ─── */
@media (max-width: 768px) {
  /* NAV */
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; inset: 72px 0 0 0;
    background: rgba(10,13,20,0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem; gap: 0;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a { display: block; padding: 1.1rem 0; font-size: 1.15rem; font-weight: 600; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-logo span { font-size: 1rem; }

  /* HERO */
  .hero { padding: 100px 1.5rem 60px; min-height: auto; }
  .hero p { font-size: 1rem; }
  .hero-stats {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1rem; margin-top: 2.5rem;
  }
  .stat { padding: 0.8rem; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius-sm); }
  .stat-num { font-size: 1.5rem; }

  /* SECTIONS */
  section { padding: 70px 1.5rem; }

  /* GRIDS */
  .why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr !important; }
  .trust-grid { grid-template-columns: 1fr 1fr; }

  /* CONTACT */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }

  /* FOOTER */
  .footer-inner { flex-direction: column; text-align: center; gap: 1rem; }
  .footer-links { justify-content: center; }

  /* FLOATING CTA */
  .floating-cta { bottom: 1rem; right: 1rem; padding: 0.85rem 1.2rem; font-size: 0.88rem; }
}

/* ─── SMALL PHONE (max 480px) ─── */
@media (max-width: 480px) {
  section { padding: 60px 1.2rem; }

  .hero { padding: 90px 1.2rem 50px; }
  .hero-badge { font-size: 0.72rem; padding: 0.35rem 0.8rem; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 0.8rem; }

  .steps { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }

  .price-card { padding: 1.6rem; }
  .price-amount { font-size: 2.2rem; }

  .contact-form-wrap { padding: 1.2rem; border-radius: var(--radius-sm); }
  .nav-logo span { font-size: 0.88rem; }
}

/* ─── ANIMATIONS ─── */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Reduce hover-transforms on touch devices */
@media (hover: none) {
  .why-card:hover, .trust-card:hover, .price-card:hover { transform: none; box-shadow: none; }
  .fade-in { transform: translateY(15px); transition-duration: 0.5s; }
}
