:root {
  --primary-color: #4F46E5;
  --primary-hover: #4338CA;
  --bg-color: #0F172A;
  --card-bg: #1E293B;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --step-bg: #334155;
  --border-color: #334155;
  --accent-color: #10B981;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.15) 0px, transparent 50%);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}

.welcome-container {
  width: 100%;
  max-width: 600px;
  animation: fadeIn 0.6s ease-out;
}

.card {
  background-color: var(--card-bg);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.header {
  text-align: center;
  margin-bottom: 3rem;
}

.icon-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: rgba(79, 70, 229, 0.1);
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.2);
}

.logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
}

h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
  background: linear-gradient(to right, #F8FAFC, #94A3B8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-wrap: balance;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
  text-wrap: balance;
}

.subtitle p {
  margin-bottom: 0.75rem;
}

.instructions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.step {
  display: flex;
  flex-direction: column;
  background-color: rgba(51, 65, 85, 0.3);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.step:hover {
  background-color: rgba(51, 65, 85, 0.5);
  border-color: rgba(79, 70, 229, 0.5);
}

.step-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-right: 1.25rem;
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.4);
}

.step-content {
  flex-grow: 1;
}

.step-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #F8FAFC;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.step-content strong {
  color: #F8FAFC;
}

/* Mockups Styles */
.step-visual {
  background-color: #0F172A;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #1E293B;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.2);
}

.mock-browser-top {
  display: flex;
  background-color: #202124;
  border-radius: 8px;
  padding: 8px 12px;
  width: 100%;
  max-width: 400px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.mock-url-bar {
  background-color: #303134;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.75rem;
  color: #E8EAED;
  flex-grow: 1;
  margin-right: 16px;
  display: flex;
  align-items: center;
}

.mock-lock {
  margin-right: 8px;
  font-size: 0.8rem;
}

.mock-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mock-icon {
  width: 24px;
  height: 24px;
  color: #E8EAED;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-icon svg {
  width: 20px;
  height: 20px;
}

.mock-profile {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #8AB4F8;
}

.mock-menu {
  color: #E8EAED;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
  margin-bottom: 4px;
}

.mock-dropdown {
  background-color: #292A2D;
  border-radius: 8px;
  width: 100%;
  max-width: 280px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
  border: 1px solid #3C4043;
}

.mock-dropdown-header {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: #9AA0A6;
  border-bottom: 1px solid #3C4043;
}

.mock-dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  gap: 12px;
  border-radius: 4px; /* for highlights */
}

.mock-ext-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.mock-ext-icon.generic {
  background-color: #5F6368;
}

.mock-ext-name {
  font-size: 0.9rem;
  color: #E8EAED;
  flex-grow: 1;
}

.mock-pin {
  color: #9AA0A6;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-pin svg {
  width: 16px;
  height: 16px;
}

.single-item {
  border: none;
}

/* Animations and Highlights */
.pulse-highlight {
  color: var(--primary-color) !important;
  animation: pulse-icon 2s infinite;
  filter: drop-shadow(0 0 8px rgba(79, 70, 229, 0.8));
}

.pulse-bg {
  background-color: rgba(79, 70, 229, 0.2);
  border-left: 3px solid var(--primary-color);
  animation: pulse-bg-anim 2s infinite;
}

@keyframes pulse-icon {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes pulse-bg-anim {
  0% { background-color: rgba(79, 70, 229, 0.1); }
  50% { background-color: rgba(79, 70, 229, 0.3); }
  100% { background-color: rgba(79, 70, 229, 0.1); }
}

/* Pointer Styles */
.mock-pointer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mock-pointer-row {
  display: flex;
  align-items: center;
}

.pointer-badge {
  background-color: #FBBF24;
  color: #000;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 4px 10px rgba(251, 191, 36, 0.4);
}

@keyframes pointer-bounce-up {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pointer-bounce-left {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-6px); }
}

.actions {
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.23);
}

.analytics-pixel {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .card {
    padding: 2rem 1.5rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  .step-header {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}
