/* SælgBil.nu - Danish Automotive High-Converting B2C CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --brand-navy: #0F172A;
  --brand-slate: #1E293B;
  --brand-yellow: #FFB703;
  --brand-yellow-hover: #F7A800;
  --accent-green: #16A34A;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --border-light: #E2E8F0;
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--brand-navy);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 900;
  color: #FFFFFF;
  text-decoration: none;
}

.logo-badge {
  background: var(--brand-yellow);
  color: #000000;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: #E2E8F0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.nav-links .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
}

.nav-links .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding-top: 140px;
  padding-bottom: 90px;
  background: var(--brand-navy);
  color: #FFFFFF;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1617814076367-b759c7d7e738?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center right;
  opacity: 0.28;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, transparent 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.hero-title span {
  color: var(--brand-yellow);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #94A3B8;
  margin-bottom: 28px;
  max-width: 520px;
}

.badge-24h {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(22, 163, 74, 0.4);
  color: #4ADE80;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

/* PLATE CARD */
.plate-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--text-dark);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.plate-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.plate-input-wrapper {
  background: #F8FAFC;
  border-radius: 10px;
  padding: 4px;
  display: flex;
  align-items: center;
  border: 3px solid var(--text-dark);
  margin-bottom: 16px;
}

.plate-eu-strip {
  background: #003399;
  width: 44px;
  height: 52px;
  border-radius: 6px 0 0 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-weight: 900;
  font-size: 0.75rem;
  user-select: none;
}

.plate-eu-stars {
  color: #FFCC00;
  font-size: 0.8rem;
  line-height: 1;
}

.plate-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-dark);
  background: transparent;
}

.btn-primary {
  width: 100%;
  background: var(--brand-yellow);
  color: #000000;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 16px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 183, 3, 0.4);
}

.btn-primary:hover {
  background: var(--brand-yellow-hover);
}

.guarantee-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #94A3B8;
  font-size: 0.9rem;
}

.guarantee-item svg {
  color: var(--brand-yellow);
  flex-shrink: 0;
}

/* SECTIONS */
.process-section, .features-section, .trust-section, .faq-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* CARDS */
.glass-panel {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.process-grid, .features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-card, .feature-card {
  padding: 32px;
}

.process-card:hover, .feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.process-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand-yellow);
  margin-bottom: 12px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #FEF3C7;
  color: #D97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* TRUST STATS */
.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  padding: 28px 20px;
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--brand-navy);
  margin-bottom: 4px;
}

/* FAQ SECTION */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  padding: 20px 24px;
  cursor: pointer;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
  color: var(--text-muted);
}

.faq-item.open .faq-answer {
  max-height: 200px;
  margin-top: 12px;
}

/* FOOTER - DARK HIGH CONTRAST */
footer {
  background: var(--brand-navy);
  color: #94A3B8;
  padding: 60px 0 30px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

footer h4 {
  color: #FFFFFF;
  margin-bottom: 16px;
  font-size: 1rem;
}

footer p {
  color: #94A3B8;
  line-height: 1.6;
}

footer a {
  color: #CBD5E1;
  text-decoration: none;
}

footer a:hover {
  color: var(--brand-yellow);
}

/* MODAL WIZARD */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 20px;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: #FFFFFF;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 36px;
  border-radius: var(--radius-lg);
  color: var(--text-dark);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F1F5F9;
  border: none;
  color: var(--text-dark);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stepper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
  position: relative;
}

.stepper::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #E2E8F0;
  z-index: 1;
}

.step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.step-item.active .step-circle {
  border-color: var(--brand-yellow);
  background: var(--brand-yellow);
  color: #000000;
}

.step-item.completed .step-circle {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #FFFFFF;
}

.step-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.form-control {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text-dark);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

.form-control:focus {
  border-color: var(--brand-yellow);
  background: #FFFFFF;
}

.dropzone {
  border: 2px dashed #CBD5E1;
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  background: #F8FAFC;
  cursor: pointer;
}

.dropzone:hover {
  border-color: var(--brand-yellow);
  background: #FEF3C7;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.preview-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-thumb-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.7);
  color: #FFF;
  border: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.7rem;
  cursor: pointer;
}

/* MEDIA QUERIES */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .process-grid, .features-grid {
    grid-template-columns: 1fr;
  }
  .trust-stats {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
