:root {
  --bg-dark: #070B14;
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-card-hover: rgba(30, 41, 59, 0.8);
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --accent-primary: #2563eb; /* Blue to match logo */
  --accent-glow: rgba(37, 99, 235, 0.3);
  --border-color: rgba(255, 255, 255, 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-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 50% -20%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo svg {
  width: 32px;
  height: 32px;
  color: var(--accent-primary);
}

.nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-cta,
.nav-link {
  background: transparent;
  color: var(--text-main);
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.nav-cta:hover,
.nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: #60a5fa; /* Lighter blue for contrast */
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(to right, #fff, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.btn-primary {
  background: var(--accent-primary);
  color: #fff;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #1d4ed8;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.2rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text-main);
  background: transparent;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  border-color: rgba(37, 99, 235, 0.5);
  background: rgba(37, 99, 235, 0.08);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* EU Plate Graphic / Animation */
.hero-visual {
  margin-top: 60px;
  position: relative;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.eu-plate {
  display: flex;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
  margin: 12px auto;
  background: #fff;
  border: 2px solid #111;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 60px rgba(37, 99, 235, 0.4);
  position: relative;
  z-index: 2;
}

.ep-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: #003399;
  padding: 5px 7px 6px;
}

.ep-stars {
  width: 20px;
  height: 20px;
  display: block;
}

.ep-country {
  color: #fff;
  font: 700 .72rem/1 'Oswald', sans-serif;
  letter-spacing: .02em;
  margin-top: 2px;
}

.ep-text {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font: 700 3.5rem/1 'Oswald', 'Arial Narrow', sans-serif;
  letter-spacing: .1em;
  padding: 5px 15px;
  white-space: nowrap;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-primary);
  animation: scan 3s infinite ease-in-out;
  z-index: 3;
}

@keyframes scan {
  0% { top: -10px; opacity: 0; }
  10% { opacity: 1; }
  50% { top: 110%; opacity: 1; }
  55% { opacity: 0; top: 110%; }
  100% { top: 110%; opacity: 0; }
}

.success-ring {
  position: absolute;
  width: 250px;
  height: 250px;
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  z-index: 1;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

.teletype-text {
  position: absolute;
  bottom: 20px;
  color: #60a5fa;
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #60a5fa;
  width: 14ch;
  animation: typing 3s steps(12, end) infinite;
  z-index: 10;
}

@keyframes typing {
  0%, 10% { width: 0; opacity: 1; border-color: transparent; }
  15% { border-color: #60a5fa; }
  50% { width: 14ch; opacity: 1; border-color: #60a5fa; }
  85% { width: 14ch; opacity: 1; border-color: transparent; }
  90%, 100% { width: 14ch; opacity: 0; border-color: transparent; }
}

/* Section Titles */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 100px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-bottom: 100px;
  align-items: center;
}

/* Reversed two-column layout: image on the right, text on the left */
.grid-2.reverse > :first-child { order: 2; }
.grid-2.reverse > :last-child { order: 1; }

/* Lead paragraph used across feature/CTA sections (was inline) */
.lead {
  color: var(--text-muted);
  margin: 20px 0;
  font-size: 1.1rem;
}

.lead-center {
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Checklist with accent ticks (was inline ✓ characters) */
.feature-list {
  list-style: none;
  color: var(--text-main);
  line-height: 2;
}

.feature-list li::before {
  content: "✓";
  color: #60a5fa;
  font-weight: 700;
  margin-right: 8px;
}

/* Highlighted partner/white-label card (was inline) */
.card-highlight {
  padding: 20px;
  border-color: var(--accent-primary);
}

.card-highlight h3 {
  color: #60a5fa;
  margin-bottom: 10px;
}

/* Cards (Glassmorphism) */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-5px);
}

.card-icon {
  background: rgba(37, 99, 235, 0.1);
  color: #60a5fa;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Feature specific styling */
.feature-image {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mock-device {
  background: #111;
  border: 2px solid #333;
  padding: 10px;
  border-radius: 8px;
  display: inline-block;
  font-family: monospace;
  color: #60a5fa;
  text-align: left;
}

/* Call to Action */
.cta-section {
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.05));
  border-top: 1px solid var(--border-color);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Respect users who prefer reduced motion: keep content legible, drop motion */
@media (prefers-reduced-motion: reduce) {
  .scan-line,
  .success-ring { display: none; }

  .teletype-text {
    animation: none;
    width: 14ch;
    opacity: 1;
    border-color: transparent;
  }

  .card:hover,
  .btn-primary:hover { transform: none; }
}
