@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Automotive Dark Polish Palette */
  --bg-dark: #09090b;
  /* Jet Black */
  --bg-card: #18181b;
  /* Graphite */
  --bg-glass: rgba(24, 24, 27, 0.6);
  --bg-glass-light: rgba(255, 255, 255, 0.05);

  --text-main: #f4f4f5;
  /* Pure Readability */
  --text-muted: #a1a1aa;
  /* Subtle Secondary */

  --accent-blue: #007AFF;
  /* Electric Azure - High Conversion */
  --accent-blue-hover: #005bb5;
  --accent-glow: rgba(0, 122, 255, 0.3);

  --border-color: rgba(255, 255, 255, 0.1);
  --border-glass: rgba(255, 255, 255, 0.08);

  --font-sans: 'Outfit', sans-serif;

  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;

  --shadow-glow: 0 0 20px var(--accent-glow);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

/* Glassmorphism System for Dark Mode */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.glass-header {
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

/* Functional Input Elements */
.input-premium {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.2s ease;
  outline: none;
}

.input-premium:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15);
}

.input-premium::placeholder {
  color: #52525b;
}

/* Primary Conversion Button */
.btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 16px -4px rgba(0, 122, 255, 0.4);
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(0, 122, 255, 0.5);
}

/* Secondary Button */
.btn-secondary {
  background: var(--bg-glass-light);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Smooth Fade In Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Specification Tags */
.spec-tag {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.spec-tag svg {
  color: var(--text-main);
}

/* Glow effects */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.bg-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Utility to override standard colors */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}